Home
last modified time | relevance | path

Searched defs:chunk (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/
DChunkTest.java56 Chunk chunk = in testReadFromProto_readsCorrectly() local
73 Chunk chunk = in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly() local
84 Chunk chunk = Chunk.readFromProto(emptyProto); in testReadFromProto_whenEmptyProto_returnsEmptyHash() local
97 Chunk chunk = in testReadFromProto_whenOnlyHashSet_returnsChunkWithOnlyHash() local
111 Chunk chunk = in testReadFromProto_whenOnlyLengthSet_returnsChunkWithOnlyLength() local
/frameworks/layoutlib/bridge/src/android/graphics/
DNinePatch_Delegate.java65 private byte[] chunk; field in NinePatch_Delegate
75 public static byte[] serialize(NinePatchChunk chunk) { in serialize()
111 NinePatchChunk chunk = chunkRef == null ? null : chunkRef.get(); in getChunk() local
138 /*package*/ static boolean isNinePatchChunk(byte[] chunk) { in isNinePatchChunk()
144 /*package*/ static long validateNinePatchChunk(byte[] chunk) { in validateNinePatchChunk()
164 /*package*/ static long nativeGetTransparentRegion(long bitmapHandle, long chunk, in nativeGetTransparentRegion()
/frameworks/base/tools/aapt2/format/binary/
DResChunkPullParser.h71 inline static const T* ConvertTo(const android::ResChunk_header* chunk) { in ConvertTo()
78 inline static const uint8_t* GetChunkData(const android::ResChunk_header* chunk) { in GetChunkData()
82 inline static uint32_t GetChunkDataLen(const android::ResChunk_header* chunk) { in GetChunkDataLen()
109 inline const android::ResChunk_header* ResChunkPullParser::chunk() const { in chunk() function
DBinaryResourceParser.cpp127 bool BinaryResourceParser::ParseTable(const ResChunk_header* chunk) { in ParseTable()
176 bool BinaryResourceParser::ParsePackage(const ResChunk_header* chunk) { in ParsePackage()
279 const ResChunk_header* chunk) { in ParseTypeSpec()
327 const ResChunk_header* chunk) { in ParseType()
423 bool BinaryResourceParser::ParseLibrary(const ResChunk_header* chunk) { in ParseLibrary()
438 bool BinaryResourceParser::ParseOverlayable(const ResChunk_header* chunk) { in ParseOverlayable()
DChunkWriter.h38 T* chunk = buffer_->NextBlock<T>(); in StartChunk() local
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/
DLengthlessEncryptedChunkEncoder.java36 public void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk) throws IOException { in writeChunkToWriter()
42 public int getEncodedLengthOfChunk(EncryptedChunk chunk) { in getEncodedLengthOfChunk()
DEncryptedChunkEncoder.java31 void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk) throws IOException; in writeChunkToWriter()
37 int getEncodedLengthOfChunk(EncryptedChunk chunk); in getEncodedLengthOfChunk()
DInlineLengthsEncryptedChunkEncoder.java39 public void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk) throws IOException { in writeChunkToWriter()
46 public int getEncodedLengthOfChunk(EncryptedChunk chunk) { in getEncodedLengthOfChunk()
DChunker.java44 void accept(byte[] chunk) throws GeneralSecurityException; in accept()
/frameworks/base/graphics/java/android/graphics/
DNinePatch.java104 public NinePatch(Bitmap bitmap, byte[] chunk) { in NinePatch()
116 public NinePatch(Bitmap bitmap, byte[] chunk, String srcName) { in NinePatch()
277 public native static boolean isNinePatchChunk(byte[] chunk); in isNinePatchChunk()
284 private static native long validateNinePatchChunk(byte[] chunk); in validateNinePatchChunk()
285 private static native void nativeFinalize(long chunk); in nativeFinalize()
286 private static native long nativeGetTransparentRegion(long bitmapHandle, long chunk, in nativeGetTransparentRegion()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/
DChunkEncryptorTest.java103 EncryptedChunk chunk = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_withHash_resultContainsHashAsKey() local
110 EncryptedChunk chunk = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_generatesHmacOfPlaintext() local
147 EncryptedChunk chunk = mChunkEncryptor.encrypt(mPlaintextHash, PLAINTEXT_BYTES); in encrypt_decryptedResultCorrespondsToPlaintext() local
/frameworks/base/cmds/idmap2/libidmap2/
DZipFile.cpp28 std::unique_ptr<MemoryChunk> chunk(reinterpret_cast<MemoryChunk*>(ptr)); in Allocate() local
52 std::unique_ptr<MemoryChunk> chunk = MemoryChunk::Allocate(entry.uncompressed_length); in Uncompress() local
/frameworks/base/libs/hwui/
DNinePatchUtils.h22 static inline void SetLatticeDivs(SkCanvas::Lattice* lattice, const Res_png_9patch& chunk, in SetLatticeDivs()
57 int numFlags, const Res_png_9patch& chunk, SkColor* colors) { in SetLatticeFlags()
/frameworks/av/media/extractors/mp4/
DSampleIterator.cpp91 uint32_t chunk = in seekTo() local
202 status_t SampleIterator::getChunkOffset(uint32_t chunk, off64_t *offset) { in getChunkOffset()
/frameworks/base/core/jni/android/graphics/
DNinePatch.cpp60 const Res_png_9patch* chunk = reinterpret_cast<const Res_png_9patch*>(array); in isNinePatchChunk() local
89 Res_png_9patch* chunk = reinterpret_cast<Res_png_9patch*>(chunkHandle); in getTransparentRegion() local
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTunerCallback.java169 ProgramList.Chunk chunk = new ProgramList.Chunk(true, true, modifiedSet, null); in sendProgramListUpdate() local
174 public void onProgramListUpdated(ProgramList.Chunk chunk) { in onProgramListUpdated()
/frameworks/base/libs/androidfw/include/androidfw/
DChunk.h39 explicit Chunk(const ResChunk_header* chunk) : device_chunk_(chunk) {} in Chunk()
/frameworks/base/core/java/android/ddm/
DDdmHandleAppName.java107 Chunk chunk = new Chunk(CHUNK_APNM, out); in sendAPNM() local
/frameworks/base/tools/aapt/
Dpseudolocalize.cpp72 String16 chunk = String16(text, size, lastpos); in text() local
274 String16 chunk; in text() local
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/
DChunkListingMap.java51 Chunk chunk = Chunk.readFromProto(inputStream); in readFromProto() local
/frameworks/base/core/java/android/hardware/radio/
DITunerCallback.aidl36 void onProgramListUpdated(in ProgramList.Chunk chunk); in onProgramListUpdated()
/frameworks/base/libs/protoutil/src/
DProtoFileReader.cpp130 const size_t chunk = in move() local
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer.cpp119 std::string chunk = text.substr(lastpos, size).to_string(); in Text() local
361 std::string chunk; in Text() local
/frameworks/base/libs/androidfw/
DCursorWindow.cpp244 RowSlotChunk* chunk = static_cast<RowSlotChunk*>( in getRowSlot() local
255 RowSlotChunk* chunk = static_cast<RowSlotChunk*>( in allocRowSlot() local
DLoadedArsc.cpp402 std::unique_ptr<const LoadedPackage> LoadedPackage::Load(const Chunk& chunk, in Load()
698 bool LoadedArsc::LoadTable(const Chunk& chunk, const LoadedIdmap* loaded_idmap, in LoadTable()
771 const Chunk chunk = iter.Next(); in Load() local

12