Home
last modified time | relevance | path

Searched refs:chunks (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DProgramInfoCacheTest.java186 List<ProgramList.Chunk> chunks = in testPurgeUpdateChunks() local
188 assertEquals(2, chunks.size()); in testPurgeUpdateChunks()
189 verifyChunkListFlags(chunks, true, true); in testPurgeUpdateChunks()
190 verifyChunkListModified(chunks, 3, TEST_AM_FM_INFO, TEST_RDS_INFO, TEST_DAB_INFO, in testPurgeUpdateChunks()
192 verifyChunkListRemoved(chunks, 0); in testPurgeUpdateChunks()
221 List<ProgramList.Chunk> chunks = cache.filterAndUpdateFromInternal(halCache, false, 5, 1); in testDeltaUpdateChunksModificationsIncluded() local
225 assertEquals(2, chunks.size()); in testDeltaUpdateChunksModificationsIncluded()
226 verifyChunkListFlags(chunks, false, true); in testDeltaUpdateChunksModificationsIncluded()
227 verifyChunkListModified(chunks, 5, updatedRdsInfo, newHdInfo); in testDeltaUpdateChunksModificationsIncluded()
228 verifyChunkListRemoved(chunks, 1, TEST_DAB_UNIQUE_ID, TEST_VENDOR_UNIQUE_ID); in testDeltaUpdateChunksModificationsIncluded()
[all …]
/frameworks/base/tools/codegen/src/com/android/codegen/
DFileInfo.kt107 val ast = chunk.owner.chunks in <lambda>()
131 is CodeChunk.DataClass -> chunk.chunks.forEach { print(it) } in <lambda>()
208 val chunks: List<CodeChunk>, in <lambda>() constant in com.android.codegen.DataClass
219 val chunks = mutableListOf<CodeChunk>(initial) in <lambda>() constant
223 chunks += DataClass.parse(nestedDataClass) in <lambda>()
224 chunks += Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>()
236 chunks += generatedCode in <lambda>()
237 chunks += ClosingBrace in <lambda>()
241 chunks[chunks.lastIndex] = (chunks.last() as Code) in <lambda>()
252 chunks += generatedCode in <lambda>()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DProgramInfoCacheTest.java466 private void verifyChunkListPurge(List<ProgramList.Chunk> chunks, boolean purge) { in verifyChunkListPurge() argument
467 if (chunks.isEmpty()) { in verifyChunkListPurge()
470 for (int i = 0; i < chunks.size(); i++) { in verifyChunkListPurge()
471 ProgramList.Chunk chunk = chunks.get(i); in verifyChunkListPurge()
479 private void verifyChunkListComplete(List<ProgramList.Chunk> chunks, boolean complete) { in verifyChunkListComplete() argument
480 if (chunks.isEmpty()) { in verifyChunkListComplete()
483 for (int i = 0; i < chunks.size(); i++) { in verifyChunkListComplete()
484 ProgramList.Chunk chunk = chunks.get(i); in verifyChunkListComplete()
485 boolean expectedComplete = (i == chunks.size() - 1 && complete); in verifyChunkListComplete()
492 private void verifyChunkListModified(List<ProgramList.Chunk> chunks, in verifyChunkListModified() argument
[all …]
/frameworks/base/core/java/android/util/jar/
DStrictJarManifestReader.java58 …es(Map<String, Attributes> entries, Map<String, StrictJarManifest.Chunk> chunks) throws IOExceptio… in readEntries() argument
75 if (chunks != null) { in readEntries()
76 if (chunks.get(entryNameValue) != null) { in readEntries()
85 chunks.put(entryNameValue, new StrictJarManifest.Chunk(mark, pos)); in readEntries()
DStrictJarManifest.java66 private HashMap<String, Chunk> chunks; field in StrictJarManifest
113 chunks = new HashMap<String, Chunk>(); in StrictJarManifest()
202 im.readEntries(entries, chunks); in read()
239 return chunks.get(name); in getChunk()
243 chunks = null; in removeChunks()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DRecursiveStringArrayResourceResolver.java128 final var chunks = ref.split(SEPARATOR, 2); in resolveImport() local
129 final var pkg = chunks[0]; in resolveImport()
130 final var name = chunks[1]; in resolveImport()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DTunerSession.java325 private void dispatchClientUpdateChunks(@Nullable List<ProgramList.Chunk> chunks) { in dispatchClientUpdateChunks() argument
326 if (chunks == null) { in dispatchClientUpdateChunks()
329 for (int i = 0; i < chunks.size(); i++) { in dispatchClientUpdateChunks()
333 ConversionUtils.convertChunkToTargetSdkVersion(chunks.get(i), getUid()); in dispatchClientUpdateChunks()
336 mCallback.onProgramListUpdated(chunks.get(i)); in dispatchClientUpdateChunks()
DProgramInfoCache.java342 List<ProgramList.Chunk> chunks = new ArrayList<>(numChunks); in buildChunks() local
356 chunks.add(new ProgramList.Chunk(purge && i == 0, complete && (i == numChunks - 1), in buildChunks()
359 return chunks; in buildChunks()
/frameworks/base/nfc/java/android/nfc/
DNdefRecord.java796 ArrayList<byte[]> chunks = new ArrayList<byte[]>(); in parse() local
850 chunks.clear(); in parse()
855 chunks.add(payload); in parse()
860 for (byte[] p : chunks) { in parse()
866 for (byte[] p : chunks) { in parse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/
DKeyguardTransitionAnimationFlow.kt129 val chunks = (transitionDuration / duration).toFloat() in <lambda>() constant
133 val value = (step.value - start) * chunks in <lambda>()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java293 private void dispatchClientUpdateChunks(@Nullable List<ProgramList.Chunk> chunks) { in dispatchClientUpdateChunks() argument
294 if (chunks == null) { in dispatchClientUpdateChunks()
297 for (ProgramList.Chunk chunk : chunks) { in dispatchClientUpdateChunks()
DProgramInfoCache.java309 List<ProgramList.Chunk> chunks = new ArrayList<ProgramList.Chunk>(numChunks); in buildChunks() local
323 chunks.add(new ProgramList.Chunk(purge && i == 0, complete && (i == numChunks - 1), in buildChunks()
326 return chunks; in buildChunks()
/frameworks/native/libs/debugstore/rust/src/
Dlib.rs67 .chunks(2) in cxx_vec_to_pairs()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DProgramListTest.java293 ProgramList.Chunk[] chunks = ProgramList.Chunk.CREATOR.newArray(CREATOR_ARRAY_SIZE); in newArray_forChunkCreator() local
295 mExpect.withMessage("Chunks").that(chunks).hasLength(CREATOR_ARRAY_SIZE); in newArray_forChunkCreator()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto340 // Length of time used to split an app's top time into chunks.
342 // How much EJ quota to give back to an app based on the number of top app time chunks