Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/pm/
DParceledListSliceTest.java19 ParceledListSlice<SmallObject> slice; in testSmallList() local
25 slice = parcel.readParcelable(getClass().getClassLoader()); in testSmallList()
30 assertNotNull(slice); in testSmallList()
31 assertNotNull(slice.getList()); in testSmallList()
32 assertEquals(objectCount, slice.getList().size()); in testSmallList()
35 assertEquals(i * 2, slice.getList().get(i).mFieldA); in testSmallList()
36 assertEquals((i * 2) + 1, slice.getList().get(i).mFieldB); in testSmallList()
70 ParceledListSlice<LargeObject> slice; in testLargeList() local
76 slice = parcel.readParcelable(getClass().getClassLoader()); in testLargeList()
81 assertNotNull(slice); in testLargeList()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dbricked.rs78 uint slice;
89 slice = 0x80000000 & rsGetElementAt_uint(bricks, slice_pos - BRICK_SIZE);
90 out |= slice >> 31;
93 slice = 1 & rsGetElementAt_uint(bricks, slice_pos + BRICK_SIZE);
94 out |= slice << 31;
107 slice = rsGetElementAt_uint(bricks, slice_pos + off_neg_y);
108 out |= slice;
118 slice = rsGetElementAt_uint(bricks, slice_pos + off_pos_y);
119 out |= slice;
128 slice = rsGetElementAt_uint(bricks, slice_pos + off_neg_z);
[all …]
Dvr.rs92 uint slice = rsGetElementAt_uint(bricks, off);
93 return slice & (1 << (p.x & 0x1F));
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_slice_data.c120 pStorage->slice->sliceId++; in h264bsdDecodeSliceData()
124 pStorage->slice->lastMbAddr = 0; in h264bsdDecodeSliceData()
140 pStorage->slice->sliceId, pStorage->activePps->chromaQpIndexOffset); in h264bsdDecodeSliceData()
207 pStorage->slice->lastMbAddr = currMbAddr; in h264bsdDecodeSliceData()
221 if ((pStorage->slice->numDecodedMbs + mbCount) > pStorage->picSizeInMbs) in h264bsdDecodeSliceData()
227 pStorage->slice->numDecodedMbs += mbCount; in h264bsdDecodeSliceData()
313 sliceId = pStorage->slice->sliceId; in h264bsdMarkSliceCorrupted()
317 if (pStorage->slice->lastMbAddr) in h264bsdMarkSliceCorrupted()
319 ASSERT(pStorage->mb[pStorage->slice->lastMbAddr].sliceId == sliceId); in h264bsdMarkSliceCorrupted()
320 i = pStorage->slice->lastMbAddr - 1; in h264bsdMarkSliceCorrupted()
Dh264bsd_storage.h99 sliceStorage_t slice[1]; member
Dh264bsd_storage.c469 pStorage->slice->numDecodedMbs = 0; in h264bsdResetStorage()
470 pStorage->slice->sliceId = 0; in h264bsdResetStorage()
557 if (pStorage->slice->numDecodedMbs == pStorage->picSizeInMbs) in h264bsdIsEndOfPicture()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java136 ParceledListSlice<UsageStats> slice = mService.queryUsageStats(intervalType, beginTime, in queryUsageStats() local
138 if (slice != null) { in queryUsageStats()
139 return slice.getList(); in queryUsageStats()
161 ParceledListSlice<ConfigurationStats> slice = mService.queryConfigurationStats( in queryConfigurations() local
163 if (slice != null) { in queryConfigurations()
164 return slice.getList(); in queryConfigurations()
/frameworks/base/services/core/java/com/android/server/
DConsumerIrService.java79 for (int slice : pattern) { in transmit()
80 if (slice <= 0) { in transmit()
83 totalXmitTime += slice; in transmit()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp398 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_general_foreach() local
400 if (!SelectOuterSlice(mtls, &fep, slice)) { in walk_general_foreach()
425 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_2d_foreach() local
426 uint32_t yStart = mtls->start.y + slice * mtls->mSliceSize; in walk_2d_foreach()
450 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_1d_foreach() local
451 uint32_t xStart = mtls->start.x + slice * mtls->mSliceSize; in walk_1d_foreach()
546 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_1d_reduce() local
547 uint32_t xStart = mtls->start.x + slice * mtls->mSliceSize; in walk_1d_reduce()
585 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_2d_reduce() local
586 uint32_t yStart = mtls->start.y + slice * mtls->mSliceSize; in walk_2d_reduce()
[all …]
DrsCpuIntrinsicBLAS.cpp167 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_tiled_gemm() local
169 uint32_t mStart = (slice % mtls->numTileM) * mtls->tileSizeM; in walk_tiled_gemm()
176 uint32_t nStart = (slice / mtls->numTileM) * mtls->tileSizeN; in walk_tiled_gemm()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderRaw.java116 short[] slice = new short[v.mDimy * v.mDimx]; in buildRSVolume() local
117 mbb.asShortBuffer().get(slice); in buildRSVolume()
133 alloc_slice.copyFromUnchecked(slice); in buildRSVolume()
DLoaderDicom.java410 short[] slice = (short[]) data.get(0x7fe0, 0x10).mValue; in buildRSVolume()
447 alloc_slice.copyFromUnchecked(slice); in buildRSVolume()
550 short[] slice = (short[]) data.get(0x7fe0, 0x10).mValue; in buildRSVolume2() local
586 alloc_slice.copyFromUnchecked(slice); in buildRSVolume2()
/frameworks/compile/libbcc/lib/
DRSUtils.h68 return T->getStructName().slice(0, LastDot); in getUnsuffixedStructName()
/frameworks/base/core/java/android/util/apk/
DZipUtils.java133 ByteBuffer eocd = buf.slice(); in findZipEndOfCentralDirectoryRecord()
DApkSignatureSchemeV2Verifier.java775 ByteBuffer result = source.slice(); in sliceFromTo()
807 ByteBuffer result = source.slice(); in getByteBuffer()
1088 mBuf = buf.slice(); in ByteBufferDataSource()
1112 region = mBuf.slice(); in feedIntoMessageDigests()
/frameworks/base/services/net/java/android/net/util/
DConnectivityPacketSummary.java85 final ByteBuffer srcMac = (ByteBuffer) mPacket.slice().limit(ETHER_ADDR_LEN); in parseEther()
90 final ByteBuffer dstMac = (ByteBuffer) mPacket.slice().limit(ETHER_ADDR_LEN); in parseEther()
/frameworks/multidex/library/test/src/android/support/multidex/
DZipUtilTest.java86 buffer = buffer.slice(); in testCrcRange()
/frameworks/compile/slang/
Drs_cc_options.cpp105 ArgVector.append(ArgsIn.slice(1).begin(), ArgsIn.end()); in ParseArguments()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java784 ParceledListSlice<InstantAppInfo> slice = in getInstantApps() local
786 if (slice != null) { in getInstantApps()
787 return slice.getList(); in getInstantApps()
1068 ParceledListSlice<ProviderInfo> slice = in queryContentProviders() local
1070 return slice != null ? slice.getList() : Collections.<ProviderInfo>emptyList(); in queryContentProviders()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java1004 ParceledListSlice<ApplicationInfo> slice = AppGlobals.getPackageManager() in getIdleUidsForUser() local
1006 if (slice == null) { in getIdleUidsForUser()
1009 apps = slice.getList(); in getIdleUidsForUser()
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp168 llvm::StringRef prefix = prog_name_ref.slice(0, last_component); in ParseProgName()
1009 opt_table.ParseArgs(argv.slice(1), missing_arg_idx, missing_arg_count); in Create()
/frameworks/av/media/libstagefright/codec2/include/
DC2Buffer.h1702 C2ReadCursor slice(uint32_t size) const;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java723 final ParceledListSlice<PackageInfo> slice = in runListPackages() local
725 final List<PackageInfo> packages = slice.getList(); in runListPackages()
/frameworks/base/media/java/android/media/
DMediaCodec.java3617 mPlanes[ix] = new MediaPlane(buffer.slice(), rowInc, colInc); in MediaImage()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java2343 ParceledListSlice<ServiceStartArgs> slice = new ParceledListSlice<>(args); in sendServiceArgsLocked() local
2344 slice.setInlineCountLimit(4); in sendServiceArgsLocked()
2347 r.app.thread.scheduleServiceArgs(r, slice); in sendServiceArgsLocked()

12