Home
last modified time | relevance | path

Searched refs:Chunk (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/ddm/
DDdmHandleHeap.java19 import org.apache.harmony.dalvik.ddmc.Chunk;
79 public Chunk handleChunk(Chunk request) { in handleChunk()
111 private Chunk handleHPIF(Chunk request) { in handleHPIF()
129 private Chunk handleHPSGNHSG(Chunk request, boolean isNative) { in handleHPSGNHSG()
155 private Chunk handleHPDU(Chunk request) { in handleHPDU()
179 return new Chunk(CHUNK_HPDU, reply, 0, reply.length); in handleHPDU()
189 private Chunk handleHPDS(Chunk request) { in handleHPDS()
217 private Chunk handleHPGC(Chunk request) { in handleHPGC()
230 private Chunk handleREAE(Chunk request) { in handleREAE()
247 private Chunk handleREAQ(Chunk request) { in handleREAQ()
[all …]
DDdmHandleProfiling.java19 import org.apache.harmony.dalvik.ddmc.Chunk;
74 public Chunk handleChunk(Chunk request) { in handleChunk()
102 private Chunk handleMPRS(Chunk request) { in handleMPRS()
124 private Chunk handleMPRE(Chunk request) { in handleMPRE()
138 return new Chunk(CHUNK_MPRE, reply, 0, reply.length); in handleMPRE()
144 private Chunk handleMPSS(Chunk request) { in handleMPSS()
166 private Chunk handleMPSEOrSPSE(Chunk request, String type) { in handleMPSEOrSPSE()
186 private Chunk handleMPRQ(Chunk request) { in handleMPRQ()
191 return new Chunk(CHUNK_MPRQ, reply, 0, reply.length); in handleMPRQ()
197 private Chunk handleSPSS(Chunk request) { in handleSPSS()
DDdmHandleThread.java19 import org.apache.harmony.dalvik.ddmc.Chunk;
67 public Chunk handleChunk(Chunk request) { in handleChunk()
87 private Chunk handleTHEN(Chunk request) { in handleTHEN()
100 private Chunk handleTHST(Chunk request) { in handleTHST()
108 return new Chunk(CHUNK_THST, status, 0, status.length); in handleTHST()
123 private Chunk handleSTKL(Chunk request) { in handleSTKL()
145 private Chunk createStackChunk(StackTraceElement[] trace, int threadId) { in createStackChunk()
178 return new Chunk(CHUNK_STKL, out); in createStackChunk()
DDdmHandleHello.java25 import org.apache.harmony.dalvik.ddmc.Chunk;
71 Chunk testChunk = in connected()
72 new Chunk(ChunkHandler.type("TEST"), data, 1, data.length-2); in connected()
89 public Chunk handleChunk(Chunk request) { in handleChunk()
109 private Chunk handleHELO(Chunk request) { in handleHELO()
165 Chunk reply = new Chunk(CHUNK_HELO, out); in handleHELO()
180 private Chunk handleFEAT(Chunk request) { in handleFEAT()
206 return new Chunk(CHUNK_FEAT, out); in handleFEAT()
215 Chunk waitChunk = new Chunk(CHUNK_WAIT, data, 0, 1); in sendWAIT()
DDdmHandleViewDebug.java25 import org.apache.harmony.dalvik.ddmc.Chunk;
110 public Chunk handleChunk(Chunk request) { in handleChunk()
162 private Chunk listWindows() { in listWindows()
180 return new Chunk(CHUNK_VULW, out); in listWindows()
216 private Chunk dumpHierarchy(View rootView, ByteBuffer in) { in dumpHierarchy()
239 return new Chunk(CHUNK_VURT, data, 0, data.length); in dumpHierarchy()
243 private Chunk captureLayers(View rootView) { in captureLayers()
260 return new Chunk(CHUNK_VURT, data, 0, data.length); in captureLayers()
266 private Chunk dumpTheme(View rootView) { in dumpTheme()
276 return new Chunk(CHUNK_VURT, data, 0, data.length); in dumpTheme()
[all …]
DDdmHandleNativeHeap.java19 import org.apache.harmony.dalvik.ddmc.Chunk;
59 public Chunk handleChunk(Chunk request) { in handleChunk()
74 private Chunk handleNHGT(Chunk request) { in handleNHGT()
82 return new Chunk(ChunkHandler.type("NHGT"), data, 0, data.length); in handleNHGT()
DDdmHandleAppName.java22 import org.apache.harmony.dalvik.ddmc.Chunk;
64 public Chunk handleChunk(Chunk request) { in handleChunk()
107 Chunk chunk = new Chunk(CHUNK_APNM, out); in sendAPNM()
DDdmHandleExit.java19 import org.apache.harmony.dalvik.ddmc.Chunk;
60 public Chunk handleChunk(Chunk request) { in handleChunk()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/
DChunkTest.java51 out.write(ChunksMetadataProto.Chunk.HASH, mChunkHashA.getHash()); in testReadFromProto_readsCorrectly()
52 out.write(ChunksMetadataProto.Chunk.LENGTH, CHUNK_A_LENGTH); in testReadFromProto_readsCorrectly()
56 Chunk chunk = in testReadFromProto_readsCorrectly()
57 Chunk.readFromProto(new ProtoInputStream(new ByteArrayInputStream(protoBytes))); in testReadFromProto_readsCorrectly()
68 out.write(ChunksMetadataProto.Chunk.LENGTH, CHUNK_A_LENGTH); in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly()
69 out.write(ChunksMetadataProto.Chunk.HASH, mChunkHashA.getHash()); in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly()
73 Chunk chunk = in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly()
74 Chunk.readFromProto(new ProtoInputStream(new ByteArrayInputStream(protoBytes))); in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly()
84 Chunk chunk = Chunk.readFromProto(emptyProto); in testReadFromProto_whenEmptyProto_returnsEmptyHash()
93 out.write(ChunksMetadataProto.Chunk.HASH, mChunkHashA.getHash()); in testReadFromProto_whenOnlyHashSet_returnsChunkWithOnlyHash()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/
DChunk.java11 public class Chunk { class
20 static Chunk readFromProto(ProtoInputStream inputStream) throws IOException { in readFromProto()
21 Chunk result = new Chunk(); in readFromProto()
25 case (int) ChunksMetadataProto.Chunk.HASH: in readFromProto()
26 result.mHash = inputStream.readBytes(ChunksMetadataProto.Chunk.HASH); in readFromProto()
28 case (int) ChunksMetadataProto.Chunk.LENGTH: in readFromProto()
29 result.mLength = inputStream.readInt(ChunksMetadataProto.Chunk.LENGTH); in readFromProto()
41 private Chunk() { in Chunk() method in Chunk
DChunkListingMap.java51 Chunk chunk = Chunk.readFromProto(inputStream); in readFromProto()
/frameworks/compile/mclinker/include/mcld/Support/
DAllocators.h25 class Chunk {
30 Chunk() : next(NULL), bound(0) {} in Chunk() function
43 Chunk* next;
49 class Chunk<DataType, 0> {
54 Chunk() : next(NULL), bound(0) { in Chunk() function
61 ~Chunk() { in ~Chunk()
79 Chunk* next;
86 size_t Chunk<DataType, 0>::m_Size = 0;
273 : public LinearAllocatorBase<Chunk<DataType, ChunkSize> > {
281 LinearAllocator() : LinearAllocatorBase<Chunk<DataType, ChunkSize> >() {} in LinearAllocator()
[all …]
/frameworks/base/core/java/android/hardware/radio/
DProgramList.java176 void apply(@NonNull Chunk chunk) { in apply()
377 public static final class Chunk implements Parcelable { class in ProgramList
383 public Chunk(boolean purge, boolean complete, in Chunk() method in ProgramList.Chunk
392 private Chunk(@NonNull Parcel in) { in Chunk() method in ProgramList.Chunk
412 … final @android.annotation.NonNull Parcelable.Creator<Chunk> CREATOR = new Parcelable.Creator<Chun…
413 public Chunk createFromParcel(Parcel in) {
414 return new Chunk(in);
417 public Chunk[] newArray(int size) {
418 return new Chunk[size];
DProgramList.aidl23 parcelable ProgramList.Chunk;
DITunerCallback.aidl36 void onProgramListUpdated(in ProgramList.Chunk chunk); in onProgramListUpdated()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h136 struct Chunk {
142 Chunk(): mTrack(NULL), mTimeStampUs(0) {}
144 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples)
151 List<Chunk> mChunks; // Remaining chunks to be written
218 void bufferChunk(const Chunk& chunk);
225 bool findChunkToWrite(Chunk *chunk);
228 void writeChunkToFile(Chunk* chunk);
/frameworks/compile/mclinker/include/mcld/Script/
DOperand.h58 friend class Chunk<SymOperand, MCLD_SYMBOLS_PER_INPUT>;
93 friend class Chunk<IntOperand, MCLD_SYMBOLS_PER_INPUT>;
124 friend class Chunk<SectOperand, MCLD_SECTIONS_PER_INPUT>;
157 friend class Chunk<SectDescOperand, MCLD_SECTIONS_PER_INPUT>;
192 friend class Chunk<FragOperand, MCLD_SYMBOLS_PER_INPUT>;
DFileToken.h25 friend class Chunk<FileToken, MCLD_SYMBOLS_PER_INPUT>;
DNameSpec.h25 friend class Chunk<NameSpec, MCLD_SYMBOLS_PER_INPUT>;
/frameworks/base/libs/androidfw/include/androidfw/
DChunk.h37 class Chunk {
39 explicit Chunk(const ResChunk_header* chunk) : device_chunk_(chunk) {} in Chunk() function
97 Chunk Next();
/frameworks/base/core/java/android/util/jar/
DStrictJarManifest.java53 static final class Chunk { class in StrictJarManifest
57 Chunk(int start, int end) { in Chunk() method in StrictJarManifest.Chunk
63 private HashMap<String, Chunk> chunks;
110 chunks = new HashMap<String, Chunk>(); in StrictJarManifest()
235 Chunk getChunk(String name) { in getChunk()
DStrictJarManifestReader.java58 …public void readEntries(Map<String, Attributes> entries, Map<String, StrictJarManifest.Chunk> chun… in readEntries()
85 chunks.put(entryNameValue, new StrictJarManifest.Chunk(mark, pos)); in readEntries()
/frameworks/base/libs/androidfw/
DChunkIterator.cpp23 Chunk ChunkIterator::Next() { in Next()
39 return Chunk(this_chunk); in Next()
DLoadedArsc.cpp402 std::unique_ptr<const LoadedPackage> LoadedPackage::Load(const Chunk& chunk, in Load()
452 const Chunk child_chunk = iter.Next(); in Load()
611 const Chunk overlayable_child_chunk = overlayable_iter.Next(); in Load()
698 bool LoadedArsc::LoadTable(const Chunk& chunk, const LoadedIdmap* loaded_idmap, in LoadTable()
713 const Chunk child_chunk = iter.Next(); in LoadTable()
771 const Chunk chunk = iter.Next(); in Load()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTunerCallback.java169 ProgramList.Chunk chunk = new ProgramList.Chunk(true, true, modifiedSet, null); in sendProgramListUpdate()
174 public void onProgramListUpdated(ProgramList.Chunk chunk) { in onProgramListUpdated()

12