Home
last modified time | relevance | path

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

1234

/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.h52 void serialize(SkWStream* stream) const;
/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
DRuleBinarySerializer.java67 public byte[] serialize(List<Rule> rules, Optional<Integer> formatVersion) in serialize() method in RuleBinarySerializer
71 serialize(rules, formatVersion, rulesOutputStream, new ByteArrayOutputStream()); in serialize()
80 public void serialize( in serialize() method in RuleBinarySerializer
DRuleMetadataSerializer.java35 public static void serialize(RuleMetadata ruleMetadata, OutputStream outputStream) in serialize() method in RuleMetadataSerializer
/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.java99 ByteArrayOutputStream outStream = serialize(policy); in testSerializationAndDeserialization()
110 ByteArrayOutputStream outStream = serialize(policy); in testInvalidXmlSerializationAndDeserialization()
120 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/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;
DrsComponent.h48 void serialize(OStream *stream) const;
DrsMesh.cpp81 void Mesh::serialize(Context *rsc, OStream *stream) const { in serialize() function in android::renderscript::Mesh
89 mHal.state.vertexBuffers[vCount]->serialize(rsc, stream); in serialize()
99 mHal.state.indexBuffers[pCount]->serialize(rsc, stream); in serialize()
DrsProgramFragment.h37 virtual void serialize(Context *rsc, OStream *stream) const;
DrsProgramRaster.h51 virtual void serialize(Context *rsc, OStream *stream) const;
DrsScriptIntrinsic.h39 void serialize(Context *rsc, OStream *stream) const override;
/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()
/frameworks/base/services/core/java/com/android/server/integrity/
DIntegrityFileManager.java137 mRuleSerializer.serialize( in writeRules()
215 RuleMetadataSerializer.serialize(mRuleMetadataCache, outputStream); in writeMetadata()

1234