Home
last modified time | relevance | path

Searched refs:deserialize (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs64 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self>; in deserialize() method
70 *self = Self::deserialize(parcel)?; in deserialize_from()
310 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> {
443 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
444 i8::deserialize(parcel).map(|v| v as u8) in deserialize()
474 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
475 u16::deserialize(parcel).map(|v| v as i16) in deserialize()
550 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
578 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
579 Deserialize::deserialize(parcel).transpose().unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize()
[all …]
Dfile_descriptor.rs135 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
136 Deserialize::deserialize(parcel).transpose().unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize()
Dparcelable_holder.rs172 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self, StatusCode> { in deserialize() method
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp232 status_t deserialize(const char *configFile, AudioPolicyConfig *config,
240 std::variant<status_t, typename Trait::Element> deserialize(const xmlNode *cur,
327 auto maybeElement = deserialize<Trait>(child, serializingContext); in deserializeCollection()
351 std::variant<status_t, AudioGainTraits::Element> PolicySerializer::deserialize<AudioGainTraits>( in deserialize() function in android::__anona9262ffe0111::PolicySerializer
422 PolicySerializer::deserialize<AudioProfileTraits>( in deserialize() function in android::__anona9262ffe0111::PolicySerializer
447 std::variant<status_t, MixPortTraits::Element> PolicySerializer::deserialize<MixPortTraits>( in deserialize() function in android::__anona9262ffe0111::PolicySerializer
526 std::variant<status_t, DevicePortTraits::Element> PolicySerializer::deserialize<DevicePortTraits>( in deserialize() function in android::__anona9262ffe0111::PolicySerializer
598 std::variant<status_t, RouteTraits::Element> PolicySerializer::deserialize<RouteTraits>( in deserialize() function in android::__anona9262ffe0111::PolicySerializer
667 std::variant<status_t, ModuleTraits::Element> PolicySerializer::deserialize<ModuleTraits>( in deserialize() function in android::__anona9262ffe0111::PolicySerializer
764 PolicySerializer::deserialize<GlobalConfigTraits>( in deserialize() function in android::__anona9262ffe0111::PolicySerializer
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java180 mPasswordVersion = getPasswordVersionFileCodec().deserialize(); in loadStateFromFilesystem()
187 BackupPasswordHash hash = getPasswordHashFileCodec().deserialize(); in loadStateFromFilesystem()
273 public Integer deserialize(DataInputStream dataInputStream) throws IOException { in deserialize() method in BackupPasswordManager.PasswordVersionFileCodec
298 public BackupPasswordHash deserialize( in deserialize() method in BackupPasswordManager.PasswordHashFileCodec
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DDataStreamFileCodec.java53 public T deserialize() throws IOException { in deserialize() method in DataStreamFileCodec
58 return mCodec.deserialize(dataInputStream); in deserialize()
DDataStreamCodec.java38 T deserialize(DataInputStream dataInputStream) throws IOException; in deserialize() method
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp146 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root, Collection &ps);
156 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root, Collection &ps);
168 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
180 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
193 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
207 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
221 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
285 status_t status = Trait::deserialize(doc, child, collection); in deserializeCollection()
395 status_t AttributesGroupTraits::deserialize(_xmlDoc *doc, const _xmlNode *child, in deserialize() function in android::engineConfig::AttributesGroupTraits
422 status_t ValueTraits::deserialize(_xmlDoc */*doc*/, const _xmlNode *child, Collection &values) in deserialize() function in android::engineConfig::ValueTraits
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DDataStreamFileCodecTest.java54 MythicalCreature deserializedUnicorn = newCodecWithSameFile.deserialize(); in serialize_writesToTheFile()
81 public MythicalCreature deserialize(DataInputStream dataInputStream) in deserialize() method in DataStreamFileCodecTest.MythicalCreatureDataStreamCodec
/frameworks/base/core/java/android/gesture/
DGesturePoint.java38 static GesturePoint deserialize(DataInputStream in) throws IOException { in deserialize() method in GesturePoint
DGesture.java268 static Gesture deserialize(DataInputStream in) throws IOException { in deserialize() method in Gesture
277 gesture.addStroke(GestureStroke.deserialize(in)); in deserialize()
292 gesture = deserialize(inStream);
DGestureStroke.java218 static GestureStroke deserialize(DataInputStream in) throws IOException { in deserialize() method in GestureStroke
224 points.add(GesturePoint.deserialize(in)); in deserialize()
DGestureStore.java322 final Gesture gesture = Gesture.deserialize(in); in readFormatV1()
/frameworks/base/services/tests/PackageManagerServiceTests/host/libs/IntentVerifyUtils/src/com/android/server/pm/test/intent/verify/
DVerifyRequest.kt27 fun deserialize(value: String?): VerifyRequest { in deserialize() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
DClockRegistryTest.kt465 val actual = ClockSettings.deserialize("""{ in jsonDeserialization_gotExpectedObject()
477 val actual = ClockSettings.deserialize("{\"clockId\":\"ID\"}") in jsonDeserialization_noTimestamp_gotExpectedObject()
484 val actual = ClockSettings.deserialize("""{ in jsonDeserialization_nullTimestamp_gotExpectedObject()
496 val actual = ClockSettings.deserialize("{\"metadata\":{\"appliedTimestamp\":500}}") in jsonDeserialization_noId_deserializedEmpty()
/frameworks/base/services/core/java/com/android/server/locksettings/
DVersionedPasswordMetrics.java69 public static VersionedPasswordMetrics deserialize(byte[] data) { in deserialize() method in VersionedPasswordMetrics
/frameworks/base/libs/hwui/jni/
DNinePatchPeeker.cpp34 Res_png_9patch::deserialize(patchNew); in readChunk()
DNinePatch.cpp79 return reinterpret_cast<jlong>(Res_png_9patch::deserialize(storage)); in validateNinePatchChunk()
/frameworks/base/core/java/android/metrics/
DLogMaker.java59 deserialize(items); in LogMaker()
410 public void deserialize(Object[] items) { in deserialize() method in LogMaker
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorage.java154 return KeyChainSnapshotDeserializer.deserialize(fileInputStream); in readFromDisk()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DClockProviderPlugin.kt253 fun deserialize(jsonStr: String?): ClockSettings? { in deserialize() method
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java468 private static <T extends Serializable> T deserialize(byte[] array, Class<T> klass) in deserialize() method in RationalTest
481 T serialized = deserialize(arr, klass); in serializeRoundTrip()
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java757 getOrCreateDiscreteUidOps(uid).deserialize(parser, beginTimeMillis); in readFromFile()
935 void deserialize(TypedXmlPullParser parser, long beginTimeMillis) throws Exception { in deserialize() method in DiscreteRegistry.DiscreteUidOps
940 getOrCreateDiscretePackageOps(packageName).deserialize(parser, beginTimeMillis); in deserialize()
1043 void deserialize(TypedXmlPullParser parser, long beginTimeMillis) throws Exception { in deserialize() method in DiscreteRegistry.DiscretePackageOps
1048 getOrCreateDiscreteOp(op).deserialize(parser, beginTimeMillis); in deserialize()
1220 void deserialize(TypedXmlPullParser parser, long beginTimeMillis) throws Exception {
/frameworks/native/libs/binder/rust/src/
Dparcel.rs447 D::deserialize(self) in read()
569 D::deserialize(&self.parcel) in read()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java236 return KeyChainSnapshotDeserializer.deserialize( in roundTrip()

12