Home
last modified time | relevance | path

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

12

/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs113 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self>; in deserialize() method
119 *self = Self::deserialize(parcel)?; in deserialize_from()
384 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> {
525 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
526 i8::deserialize(parcel).map(|v| v as u8) in deserialize()
564 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
565 u16::deserialize(parcel).map(|v| v as i16) in deserialize()
648 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
684 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
685 Deserialize::deserialize(parcel).transpose().unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize()
[all …]
Dfile_descriptor.rs137 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize() method
138 Deserialize::deserialize(parcel).transpose().unwrap_or(Err(StatusCode::UNEXPECTED_NULL)) in deserialize()
Dparcelable_holder.rs189 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::__anonaf21c8190111::PolicySerializer
422 PolicySerializer::deserialize<AudioProfileTraits>( in deserialize() function in android::__anonaf21c8190111::PolicySerializer
447 std::variant<status_t, MixPortTraits::Element> PolicySerializer::deserialize<MixPortTraits>( in deserialize() function in android::__anonaf21c8190111::PolicySerializer
526 std::variant<status_t, DevicePortTraits::Element> PolicySerializer::deserialize<DevicePortTraits>( in deserialize() function in android::__anonaf21c8190111::PolicySerializer
598 std::variant<status_t, RouteTraits::Element> PolicySerializer::deserialize<RouteTraits>( in deserialize() function in android::__anonaf21c8190111::PolicySerializer
671 std::variant<status_t, ModuleTraits::Element> PolicySerializer::deserialize<ModuleTraits>( in deserialize() function in android::__anonaf21c8190111::PolicySerializer
774 PolicySerializer::deserialize<GlobalConfigTraits>( in deserialize() function in android::__anonaf21c8190111::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.cpp169 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root, Collection &ps);
179 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root, Collection &ps);
191 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
203 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
216 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
230 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
244 static android::status_t deserialize(_xmlDoc *doc, const _xmlNode *root,
308 status_t status = Trait::deserialize(doc, child, collection); in deserializeCollection()
418 status_t AttributesGroupTraits::deserialize(_xmlDoc *doc, const _xmlNode *child, in deserialize() function in android::engineConfig::AttributesGroupTraits
445 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/com/android/internal/vibrator/persistence/
DXmlSerializedVibration.java43 T deserialize(); in deserialize() method
DSerializedVibrationEffect.java57 public VibrationEffect deserialize() { in deserialize() method in SerializedVibrationEffect
DXmlValidator.java89 T deserializedVibration = requireNonNull(serializedVibration.deserialize()); in checkSerializedVibration()
/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.kt473 val actual = ClockSettings.deserialize("""{ in jsonDeserialization_gotExpectedObject()
485 val actual = ClockSettings.deserialize("{\"clockId\":\"ID\"}") in jsonDeserialization_noTimestamp_gotExpectedObject()
492 val actual = ClockSettings.deserialize("""{ in jsonDeserialization_nullTimestamp_gotExpectedObject()
504 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.cpp77 return reinterpret_cast<jlong>(Res_png_9patch::deserialize(storage)); in validateNinePatchChunk()
/frameworks/base/core/java/android/metrics/
DLogMaker.java60 deserialize(items); in LogMaker()
411 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/clocks/
DClockProviderPlugin.kt335 fun deserialize(jsonStr: String?): ClockSettings? { in deserialize() method
/frameworks/base/core/java/android/os/vibrator/persistence/
DVibrationXmlParser.java343 return VibrationEffectXmlParser.parseTag(parser, parserFlags).deserialize(); in parseVibrationEffectInternal()

12