Home
last modified time | relevance | path

Searched refs:serialize (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs34 fn serialize(&self, parcel: &mut Parcel) -> Result<()>; in serialize() method
88 slice[index].serialize(&mut parcel) in serialize_element()
252 fn serialize(&self, parcel: &mut Parcel) -> Result<()> {
392 fn serialize(&self, parcel: &mut Parcel) -> Result<()> { in serialize() method
393 (*self as i8).serialize(parcel) in serialize()
423 fn serialize(&self, parcel: &mut Parcel) -> Result<()> { in serialize() method
424 (*self as u16).serialize(parcel) in serialize()
492 fn serialize(&self, parcel: &mut Parcel) -> Result<()> { in serialize() method
493 Some(self).serialize(parcel) in serialize()
500 fn serialize(&self, parcel: &mut Parcel) -> Result<()> { in serialize() method
[all …]
Dfile_descriptor.rs52 fn serialize(&self, parcel: &mut Parcel) -> Result<()> { in serialize() method
71 f.serialize(parcel) in serialize_option()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DTuple.java125 public void serialize(XmlSerializer serializer) throws IOException { in serialize() method in Tuple
134 mStatus.serialize(serializer); in serialize()
138 mServiceDescription.serialize(serializer); in serialize()
143 mServiceCaps.serialize(serializer); in serialize()
148 mContact.serialize(serializer); in serialize()
153 note.serialize(serializer); in serialize()
158 mTimestamp.serialize(serializer); in serialize()
DPresence.java106 public void serialize(XmlSerializer serializer) throws IOException { in serialize() method in Presence
116 tuple.serialize(serializer); in serialize()
121 note.serialize(serializer); in serialize()
DStatus.java64 public void serialize(XmlSerializer serializer) throws IOException { in serialize() method in Status
71 mBasic.serialize(serializer); in serialize()
/frameworks/base/libs/hwui/jni/
DPicture.cpp85 void Picture::serialize(SkWStream* stream) const { in serialize() function in android::Picture
87 this->makePartialCopy()->serialize(stream); in serialize()
89 mPicture->serialize(stream); in serialize()
94 recorder.finishRecordingAsPicture()->serialize(stream); in serialize()
DPicture.h53 virtual void serialize(SkWStream* stream) const;
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/omapres/
DServiceDescription.java76 public void serialize(XmlSerializer serializer) throws IOException { in serialize() method in ServiceDescription
84 mServiceId.serialize(serializer); in serialize()
87 mVersion.serialize(serializer); in serialize()
90 mDescription.serialize(serializer); in serialize()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/
DRuleBinarySerializerTest.java117 () -> binarySerializer.serialize(null, /* formatVersion= */ Optional.empty())); in testBinaryString_serializeNullRules()
126 binarySerializer.serialize( in testBinaryString_emptyRules()
170 binarySerializer.serialize( in testBinaryStream_serializeValidCompoundFormula()
251 binarySerializer.serialize( in testBinaryString_serializeValidCompoundFormula_notConnector()
301 binarySerializer.serialize( in testBinaryString_serializeValidCompoundFormula_andConnector()
351 binarySerializer.serialize( in testBinaryString_serializeValidCompoundFormula_orConnector()
384 binarySerializer.serialize( in testBinaryString_serializeValidAtomicFormula_stringValue()
418 binarySerializer.serialize( in testBinaryString_serializeValidAtomicFormula_hashedValue()
447 binarySerializer.serialize( in testBinaryString_serializeValidAtomicFormula_integerValue()
475 binarySerializer.serialize( in testBinaryString_serializeValidAtomicFormula_booleanValue()
[all …]
/frameworks/base/services/core/java/com/android/server/integrity/serializer/
DRuleSerializer.java29 void serialize( in serialize() method
37 byte[] serialize(List<Rule> rules, Optional<Integer> formatVersion) in serialize() method
/frameworks/base/core/tests/coretests/src/android/metrics/
DLogMakerTest.java32 Object[] out = builder.serialize(); in testSerialize()
60 Object[] out = builder.serialize(); in testSerializeDeserialize()
99 assertEquals(2, builder.serialize().length); in testInvalidInputThrows()
109 Object[] out = builder.serialize(); in testValidInputTypes()
118 Object[] out = builder.serialize(); in testCategoryDefault()
202 assertTrue(badBuilder.serialize().length < LogMaker.MAX_SERIALIZED_SIZE); in testGiantLogOmitted()
DMetricsReaderTest.java47 new LogMaker(i).serialize()); in FakeLogReader()
64 .serialize()); in writeCheckpoint()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java122 getPasswordVersionFileCodec().serialize(BACKUP_PW_FILE_VERSION); in setBackupPassword()
138 getPasswordHashFileCodec().serialize(new BackupPasswordHash(newPwHash, salt)); in setBackupPassword()
267 public void serialize(Integer integer, DataOutputStream dataOutputStream) in serialize() method in BackupPasswordManager.PasswordVersionFileCodec
290 public void serialize(BackupPasswordHash backupPasswordHash, in serialize() method in BackupPasswordManager.PasswordHashFileCodec
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DDataStreamFileCodec.java68 public void serialize(T t) throws IOException { in serialize() method in DataStreamFileCodec
74 mCodec.serialize(t, dataOutputStream); in serialize()
DDataStreamCodec.java33 void serialize(T t, DataOutputStream dataOutputStream) throws IOException; in serialize() method
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DFactoryResetProtectionPolicyTest.java101 ByteArrayOutputStream outStream = serialize(policy); in testSerializationAndDeserialization()
112 ByteArrayOutputStream outStream = serialize(policy); in testInvalidXmlSerializationAndDeserialization()
122 private ByteArrayOutputStream serialize(FactoryResetProtectionPolicy policy) in serialize() method in FactoryResetProtectionPolicyTest
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DDataStreamFileCodecTest.java50 mythicalCreatureCodec.serialize(unicorn); in serialize_writesToTheFile()
74 public void serialize(MythicalCreature mythicalCreature, in serialize() method in DataStreamFileCodecTest.MythicalCreatureDataStreamCodec
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/capabilities/
DServiceCaps.java61 public void serialize(XmlSerializer serializer) throws IOException { in serialize() method in ServiceCaps
69 element.serialize(serializer); in serialize()
/frameworks/base/startop/scripts/iorap/
Ddump_compiled_pb38 gqui "rawproto:$filename" proto "$path_to_proto":iorap.serialize.proto.TraceFile "$@"
/frameworks/rs/
DrsAnimation.cpp24 void Animation::serialize(Context *rsc, OStream *stream) const { in serialize() function in android::renderscript::Animation
DrsScriptGroupBase.h14 virtual void serialize(Context *rsc, OStream *stream) const {} in serialize() function
DrsAnimation.h39 virtual void serialize(Context *rsc, OStream *stream) const;
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DBasicTest.java74 basic.serialize(serializer); in testSerializingWithBasicOpen()
93 basic.serialize(serializer); in testSerializingWithBasicClosed()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java204 KeyChainSnapshotSerializer.serialize( in serialize_doesNotThrowForTestSnapshotWithoutKeyMetadata()
211 KeyChainSnapshotSerializer.serialize( in serialize_doesNotThrowForTestSnapshotWithKeyMetadata()
235 KeyChainSnapshotSerializer.serialize(snapshot, byteArrayOutputStream); in roundTrip()
/frameworks/base/core/java/android/gesture/
DGesture.java254 void serialize(DataOutputStream out) throws IOException { in serialize() method in Gesture
264 strokes.get(i).serialize(out); in serialize()
320 serialize(outStream); in writeToParcel()

12345