Home
last modified time | relevance | path

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

123

/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()
112 NinePatchChunk chunk = chunkRef == null ? null : chunkRef.get(); in getChunk() local
139 /*package*/ static boolean isNinePatchChunk(byte[] chunk) { in isNinePatchChunk()
145 /*package*/ static long validateNinePatchChunk(byte[] chunk) { in validateNinePatchChunk()
165 /*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/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DEncryptedChunkEncoder.java32 void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk) throws IOException; in writeChunkToWriter()
38 int getEncodedLengthOfChunk(EncryptedChunk chunk); in getEncodedLengthOfChunk()
DLengthlessEncryptedChunkEncoder.java37 public void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk) throws IOException { in writeChunkToWriter()
43 public int getEncodedLengthOfChunk(EncryptedChunk chunk) { in getEncodedLengthOfChunk()
DInlineLengthsEncryptedChunkEncoder.java40 public void writeChunkToWriter(BackupWriter writer, EncryptedChunk chunk) throws IOException { in writeChunkToWriter()
47 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/packages/BackupEncryption/test/robolectric/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
53 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/services/core/java/com/android/server/broadcastradio/hal2/
DProgramInfoCache.java106 void updateFromHalProgramListChunk( in updateFromHalProgramListChunk()
164 @Nullable List<ProgramList.Chunk> filterAndApplyChunk(@NonNull ProgramList.Chunk chunk) { in filterAndApplyChunk()
170 @Nullable List<ProgramList.Chunk> filterAndApplyChunkInternal(@NonNull ProgramList.Chunk chunk, in filterAndApplyChunkInternal()
/frameworks/base/libs/hwui/jni/
DNinePatch.cpp58 const Res_png_9patch* chunk = reinterpret_cast<const Res_png_9patch*>(array); in isNinePatchChunk() local
87 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/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DProgramInfoCacheTest.java71 ProgramListChunk chunk = new ProgramListChunk(); in testUpdateFromHal() local
235 ProgramList.Chunk chunk = chunks.get(i); in verifyChunkListFlags() local
/frameworks/base/tools/aapt/
Dpseudolocalize.cpp72 String16 chunk = String16(text, size, lastpos); in text() local
274 String16 chunk; in text() 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/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DBackupStreamEncrypterTest.java238 chunksByKey.put(chunk.key(), chunk); in chunksIndexedByKey() local
256 EncryptedChunk chunk = byKey.get(listing.get(i)); in positionOfChunk() 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
/frameworks/base/core/java/android/ddm/
DDdmHandleAppName.java118 Chunk chunk = new Chunk(CHUNK_APNM, out); in sendAPNM() local

123