Home
last modified time | relevance | path

Searched refs:readFromProto (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/
DChunkListingMapTest.java66 ChunkListingMap.readFromProto( in testHasChunk_whenChunkInListing_returnsTrue()
85 ChunkListingMap.readFromProto( in testHasChunk_whenChunkNotInListing_returnsFalse()
103 ChunkListingMap.readFromProto( in testGetChunkEntry_returnsEntryWithCorrectLength()
122 ChunkListingMap.readFromProto( in testGetChunkEntry_returnsEntryWithCorrectStart()
141 ChunkListingMap.readFromProto( in testGetChunkEntry_returnsNullForNonExistentChunk()
155 ChunkListingMap chunkListingMap = ChunkListingMap.readFromProto(emptyProto); in testReadFromProto_whenEmptyProto_returnsChunkListingMapWith0Chunks()
168 ChunkListingMap.readFromProto( in testReadFromProto_returnsChunkListingWithCorrectSize()
DChunkTest.java57 Chunk.readFromProto(new ProtoInputStream(new ByteArrayInputStream(protoBytes))); in testReadFromProto_readsCorrectly()
74 Chunk.readFromProto(new ProtoInputStream(new ByteArrayInputStream(protoBytes))); in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly()
84 Chunk chunk = Chunk.readFromProto(emptyProto); in testReadFromProto_whenEmptyProto_returnsEmptyHash()
98 Chunk.readFromProto(new ProtoInputStream(new ByteArrayInputStream(protoBytes))); in testReadFromProto_whenOnlyHashSet_returnsChunkWithOnlyHash()
112 Chunk.readFromProto(new ProtoInputStream(new ByteArrayInputStream(protoBytes))); in testReadFromProto_whenOnlyLengthSet_returnsChunkWithOnlyLength()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/
DChunkListingMap.java43 public static ChunkListingMap readFromProto(ProtoInputStream inputStream) throws IOException { in readFromProto() method in ChunkListingMap
51 Chunk chunk = Chunk.readFromProto(inputStream); in readFromProto()
DChunk.java20 static Chunk readFromProto(ProtoInputStream inputStream) throws IOException { in readFromProto() method in Chunk
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java92 readFromProto(proto, read); in testReadWriteProto()
123 private void readFromProto(File f, Configuration config) throws Exception { in readFromProto() method in ConfigurationTest
130 config.readFromProto(protoIn, IntervalStatsProto.Configuration.CONFIG); in readFromProto()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java605 public void readFromProto(ProtoInputStream proto, long fieldId) in readFromProto() method in WindowConfiguration
613 mAppBounds.readFromProto(proto, APP_BOUNDS); in readFromProto()
617 mBounds.readFromProto(proto, BOUNDS); in readFromProto()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProto.java250 config.readFromProto(proto, IntervalStatsProto.Configuration.CONFIG); in loadConfigStats()
261 config.readFromProto(proto, IntervalStatsProto.Configuration.CONFIG); in loadConfigStats()
DIntervalStats.java198 event.mConfiguration.readFromProto(parser, IntervalStatsProto.Event.CONFIG); in buildEvent()
/frameworks/base/graphics/java/android/graphics/
DRect.java259 public void readFromProto(@NonNull ProtoInputStream proto, long fieldId) throws IOException, in readFromProto() method in Rect
/frameworks/base/core/java/android/content/res/
DConfiguration.java1173 public void readFromProto(ProtoInputStream protoInputStream, long fieldId) throws IOException { in readFromProto() method in Configuration
1286 windowConfiguration.readFromProto(protoInputStream, WINDOW_CONFIGURATION); in readFromProto()
/frameworks/base/config/
Dboot-image-profile.txt2491 HSPLandroid/app/WindowConfiguration;->readFromProto(Landroid/util/proto/ProtoInputStream;J)V
4786 HSPLandroid/content/res/Configuration;->readFromProto(Landroid/util/proto/ProtoInputStream;J)V
5970 HSPLandroid/graphics/Rect;->readFromProto(Landroid/util/proto/ProtoInputStream;J)V