Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 52) sorted by relevance

123

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DGetSetTest.java86 int tmp[] = new int[tw]; in createWalk() local
105 tmp[i++] = x; in createWalk()
109 walkAlloc.copy1DRangeFrom(0, tw, tmp); in createWalk()
294 byte tmp[] = randomByteArray(gCount); in testGetSet_char()
298 verify(tmp, tmp2, out1DAlloc, "Data mismatch char: ", 1); in testGetSet_char()
300 verify(tmp, tmp2, out1DAlloc, "Data mismatch relaxed char: ", 1); in testGetSet_char()
303 verify(tmp, tmp2, out2DAlloc, "Data mismatch char: ", 1); in testGetSet_char()
305 verify(tmp, tmp2, out2DAlloc, "Data mismatch relaxed char: ", 1); in testGetSet_char()
308 verify(tmp, tmp2, out3DAlloc, "Data mismatch char: ", 1); in testGetSet_char()
310 verify(tmp, tmp2, out3DAlloc, "Data mismatch relaxed char: ", 1); in testGetSet_char()
[all …]
DKernelInputTest.java70 Allocation tmp = Allocation.createSized(mRS, Element.I8(mRS), 1); in testInputNotModified_char() local
74 script.forEach_clear_input_char(ain, tmp); in testInputNotModified_char()
80 tmp.destroy(); in testInputNotModified_char()
87 Allocation tmp = Allocation.createSized(mRS, Element.I8_2(mRS), 1); in testInputNotModified_char2() local
91 script.forEach_clear_input_char2(ain, tmp); in testInputNotModified_char2()
97 tmp.destroy(); in testInputNotModified_char2()
104 Allocation tmp = Allocation.createSized(mRS, Element.I8_3(mRS), 1); in testInputNotModified_char3() local
108 script.forEach_clear_input_char3(ain, tmp); in testInputNotModified_char3()
114 tmp.destroy(); in testInputNotModified_char3()
121 Allocation tmp = Allocation.createSized(mRS, Element.I8_4(mRS), 1); in testInputNotModified_char4() local
[all …]
DVLoadTest.java58 int tmp[] = new int[w]; in createWalk() local
90 tmp[i] = x | (maxsize << 16); in createWalk()
96 walkAlloc.copy1DRangeFrom(0, i, tmp); in createWalk()
212 byte tmp[] = randomByteArray(w); in testVload_char()
215 verify(tmp, tmp2, "Data mismatch char: "); in testVload_char()
220 byte tmp[] = randomByteArray(w); in testVload_uchar()
223 verify(tmp, tmp2, "Data mismatch uchar: "); in testVload_uchar()
228 byte tmp[] = randomByteArray(w); in testVload_char_relaxed()
231 verify(tmp, tmp2, "Data mismatch relaxed char: "); in testVload_char_relaxed()
236 byte tmp[] = randomByteArray(w); in testVload_uchar_relaxed()
[all …]
DYuvTest.java102 byte tmp[] = new byte[(width * height) + (getCWidth() * getCHeight() * 2)]; in testV17()
105 tmp[i++] = by[j]; in testV17()
108 tmp[i++] = bv[j]; in testV17()
109 tmp[i++] = bu[j]; in testV17()
112 Allocation ta = Allocation.createSized(mRS, Element.U8(mRS), tmp.length); in testV17()
113 ta.copyFrom(tmp); in testV17()
153 byte tmp[] = new byte[(width * height) + (getCWidth() * getCHeight() * 2)]; in test_NV21()
156 tmp[i++] = by[j]; in test_NV21()
159 tmp[i++] = bv[j]; in test_NV21()
160 tmp[i++] = bu[j]; in test_NV21()
[all …]
Dintrinsic_lut.rscript25 uchar4 tmp;
26 tmp.r = red[in.r];
27 tmp.g = green[in.g];
28 tmp.b = blue[in.b];
29 tmp.a = alpha[in.a];
30 return tmp;
DAtomicTest.rscript114 int tmp = gISum;
115 while (rsAtomicCas(&gISum, tmp, tmp + 1) != tmp) {
116 tmp = gISum;
120 uint tmp = gUSum;
121 while (rsAtomicCas(&gUSum, tmp, tmp + 1) != tmp) {
122 tmp = gUSum;
DSampleTest.java39 int[] tmp = new int[t.getCount()]; in createAlloc() local
47 tmp[idx++] = 0x0000ffff; in createAlloc()
51 tmp[idx++] = 0x00ff00ff; in createAlloc()
55 tmp[idx++] = 0x00ffff00; in createAlloc()
59 tmp[idx++] = 0xffffff00; in createAlloc()
61 a.copyFromUnchecked(tmp); in createAlloc()
/cts/tests/tests/graphics/src/android/graphics/cts/
DANativeWindowTest.java139 float[] tmp = new float[16]; in testSetBuffersTransform() local
148 matrixMultiply(computedTransform, computedTransform, MIRROR_HORIZONTAL_MATRIX, tmp); in testSetBuffersTransform()
151 matrixMultiply(computedTransform, computedTransform, MIRROR_VERTICAL_MATRIX, tmp); in testSetBuffersTransform()
154 matrixMultiply(computedTransform, computedTransform, ROTATE_90_MATRIX, tmp); in testSetBuffersTransform()
224 private void matrixMultiply(float[] result, float[] a, float[] b, float[] tmp) { in matrixMultiply() argument
225 tmp[ 0] = a[ 0]*b[ 0] + a[ 4]*b[ 1] + a[ 8]*b[ 2] + a[12]*b[ 3]; in matrixMultiply()
226 tmp[ 1] = a[ 1]*b[ 0] + a[ 5]*b[ 1] + a[ 9]*b[ 2] + a[13]*b[ 3]; in matrixMultiply()
227 tmp[ 2] = a[ 2]*b[ 0] + a[ 6]*b[ 1] + a[10]*b[ 2] + a[14]*b[ 3]; in matrixMultiply()
228 tmp[ 3] = a[ 3]*b[ 0] + a[ 7]*b[ 1] + a[11]*b[ 2] + a[15]*b[ 3]; in matrixMultiply()
230 tmp[ 4] = a[ 0]*b[ 4] + a[ 4]*b[ 5] + a[ 8]*b[ 6] + a[12]*b[ 7]; in matrixMultiply()
[all …]
/cts/tests/tests/media/res/raw/
Dvp90_2_08_tile_1x8_frame_parallel_vp9_md51 f91ceda125d592a3f9537d02df06c4f3 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0001.i420
2 563dae097075cd4002b16ffb2be42cf2 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0002.i420
3 1f035d79632516b58c56813c113e0f23 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0003.i420
4 0db334dafa73ec37699a96e21bf065d0 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0004.i420
5 445a1d62a17f7362c1a14179bededcab /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0005.i420
6 4c80d03262518f957c54afd6e02d3610 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0006.i420
7 bc6be97c7e509af0903509a260f5ccb6 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0007.i420
8 27a679a8bbf2eef3eb1dc6cb221ec467 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0008.i420
9 eb3b064727f265bd29407f334a51c1ab /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0009.i420
10 3e0caeeef59797f9ec278e190170c285 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0010.i420
Dvp90_2_08_tile_1x8_vp9_md51 f91ceda125d592a3f9537d02df06c4f3 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0001.i420
2 a911be78a743ed0f21463bfb82efbd44 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0002.i420
3 85d7cddba48b9e26b089da7f40fd4c71 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0003.i420
4 39241fe3e171fafbc95966c03042699d /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0004.i420
5 7b8500c53fce2702d204b6fc888f33fb /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0005.i420
6 8197c61dcecdbd975fe54771f34c5df2 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0006.i420
7 f28ebf18412521df51b9d6a3ffd44f4b /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0007.i420
8 0d576800a02952e825f1721fc13ac695 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0008.i420
9 0eb34a14d7a89ee4c951759a35673b13 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0009.i420
10 11fb21038d63e3b431f92e0a4152c2f4 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0010.i420
Dvp90_2_08_tile_1x4_frame_parallel_vp9_md51 c8a7f0299fb945318bbb6fd531885339 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0001…
2 88001dece48c52b0f34afc9137915c9e /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0002…
3 71c3bc238c76f1e3a81bc70aa7dcacfc /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0003…
4 32726efd04e67dc09c055481f0189c76 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0004…
5 7c8fa7372885d16b73f79cbddfd7d45c /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0005…
6 0d9a3324f574bccd9903ee040eee1787 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0006…
7 630fb9507a52803b50ea959a36ff60b8 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0007…
8 d5d7b249db773ec3c5b49567aff761e9 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0008…
9 b480f582b52d291aeffb97e6d572731b /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0009…
10 be72a4c2f29317441344cc4d73b24333 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0010…
Dvp90_2_08_tile_1x2_frame_parallel_vp9_md51 124dcaf4393bbc676cefc1dcfc1474b9 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0001…
2 02e0c145da3e3c711f13dad6d5d9f2ec /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0002…
3 bd276b44124d01ea89cb428a3532a87e /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0003…
4 fc1eb96ba3b93382a8cf3dee39928d85 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0004…
5 0b7b92b084684377795f6fcc549f7677 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0005…
6 208972b2d34f0a7a6616570d8279c1f1 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0006…
7 33f15b325f9367cf1f58e2e25ccc7bed /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0007…
8 d7f75036195e89dcbcaba566c1d6cad8 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0008…
9 bdc3a5b228f0afa3f969d5f99685a501 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0009…
10 d436084146d6be84df15f5fb94067d53 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0010…
Dvp90_2_08_tile_1x4_vp9_md51 c8a7f0299fb945318bbb6fd531885339 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0001.i420
2 22dde3e7feb2177aa350db7331e8fa8f /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0002.i420
3 ba644eea2bd5cded05a7b82224a02d30 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0003.i420
4 0611f83948b22eb4bd5973fa0485dcda /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0004.i420
5 a8eea6193af51dbd06d953165b3de261 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0005.i420
6 1e76d8ec66941c9185e0747307a1496c /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0006.i420
7 d8404c3e80c2773173e362ff622b6f3c /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0007.i420
8 beed5600864a9b961c983d7a7a670bc1 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0008.i420
9 9efbe9228f6a437fe450215f711ea429 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0009.i420
10 1b65f47a5c11c5b763123d337482bd92 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0010.i420
Dvp90_2_08_tile_1x2_vp9_md51 124dcaf4393bbc676cefc1dcfc1474b9 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0001.i420
2 5f3357dc102c9db11e7b68d277f31f99 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0002.i420
3 a5fb34b4a52fbc7b8290bffe988ffb01 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0003.i420
4 1405fa1086ac63d4f5e8ed1ca0ad192a /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0004.i420
5 0ead62c1d7c7c44f316e601d8fea16ba /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0005.i420
6 204e05b399becce6e936bb3ac739fbe3 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0006.i420
7 a27c70e46f6b2c40d6d0a13befede3ac /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0007.i420
8 71434072992ec693ae809086760cad22 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0008.i420
9 790a525234048c0645cc81f6a042c9c3 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0009.i420
10 751b37a7b9401a5ca30dc2673070f881 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0010.i420
/cts/tests/tests/content/src/android/content/cts/
DCursorWindowContentProvider.java78 Parcel tmp = Parcel.obtain(); in writeToParcel() local
80 super.writeToParcel(tmp, flags); in writeToParcel()
81 tmp.setDataPosition(0); in writeToParcel()
84 while (tmp.dataAvail() > 0) { in writeToParcel()
85 fdPos = tmp.dataPosition(); in writeToParcel()
86 int frameworkFdMarker = tmp.readInt(); in writeToParcel()
92 tmp.recycle(); in writeToParcel()
99 dest.appendFrom(tmp, 0, fdPos); in writeToParcel()
101 tmp.setDataPosition(dest.dataPosition()); in writeToParcel()
102 dest.appendFrom(tmp, dest.dataPosition(), tmp.dataAvail()); in writeToParcel()
[all …]
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSYuvTest.java88 byte tmp[] = new byte[(width * height) + (getCWidth() * getCHeight() * 2)]; in testV17()
91 tmp[i++] = by[j]; in testV17()
94 tmp[i++] = bv[j]; in testV17()
95 tmp[i++] = bu[j]; in testV17()
98 Allocation ta = Allocation.createSized(mRS, Element.U8(mRS), tmp.length); in testV17()
99 ta.copyFrom(tmp); in testV17()
106 yuvTest(this.getContext().getCacheDir().toString(), width, height, tmp, nativeByteAlloc, 0); in testV17() local
127 byte tmp[] = new byte[(width * height) + (getCWidth() * getCHeight() * 2)]; in test_YV12()
130 tmp[i++] = by[j]; in test_YV12()
133 tmp[i++] = bu[j]; in test_YV12()
[all …]
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
Dbuild_libs.sh30 mkdir -p tmp/$arch/raw/lib/$arch/
31 mv libs/$arch/* tmp/$arch/raw/lib/$arch/
38 </manifest>" > tmp/$arch/AndroidManifest.xml
40 cp NativeTemplate.mk tmp/$arch/Android.mk
41 sed -i -r "s/ARCHARCH/$arch/" tmp/$arch/Android.mk
46 echo "include \$(call all-subdir-makefiles)" > tmp/Android.mk
51 mv tmp libs
/cts/tools/vm-tests-tf/build/src/util/build/
DFileUtil.java29 byte tmp[] = new byte[(int)f.length()]; in readFile()
32 while (pos != tmp.length) { in readFile()
33 int read = fis.read(tmp, pos, tmp.length - pos); in readFile()
39 return new String(tmp); in readFile()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.cpp67 int32_t tmp; in dynamicParamsOfKind() local
68 … if (AMediaFormat_getInt32(d->param(), TBD_AMEDIACODEC_PARAMETER_KEY_REQUEST_SYNC_FRAME, &tmp)) { in dynamicParamsOfKind()
74 int32_t tmp; in dynamicParamsOfKind() local
75 … if (AMediaFormat_getInt32(d->param(), TBD_AMEDIACODEC_PARAMETER_KEY_VIDEO_BITRATE, &tmp)) { in dynamicParamsOfKind()
146 std::vector<DParamRef> tmp; in checkOverallBitrate() local
147 if (config.dynamicParamsOfKind(TBD_AMEDIACODEC_PARAMETER_KEY_VIDEO_BITRATE, tmp) > 0) { in checkOverallBitrate()
256 char tmp[128]; in checkDynamicKeyFrames() local
257 snprintf(tmp, 128, " %d/%d,", generatedKeyLocation, d->frameNum()); in checkDynamicKeyFrames()
258 debugStr = debugStr + std::string(tmp); in checkDynamicKeyFrames()
313 char tmp[128]; in checkDynamicBitrate() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java333 BluetoothServerSocket tmp = null; in AcceptThread() local
340 tmp = mAdapter.listenUsingL2capChannel(); in AcceptThread()
342 tmp = mAdapter.listenUsingInsecureL2capChannel(); in AcceptThread()
346 tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE, mUuid); in AcceptThread()
348tmp = mAdapter.listenUsingInsecureRfcommWithServiceRecord(NAME_INSECURE, mUuid); in AcceptThread()
354 mmServerSocket = tmp; in AcceptThread()
450 BluetoothSocket tmp = null; in connectThreadCommon() local
458 tmp = device.createL2capChannel(psm); in connectThreadCommon()
460 tmp = device.createInsecureL2capChannel(psm); in connectThreadCommon()
464 tmp = device.createRfcommSocketToServiceRecord(mUuid); in connectThreadCommon()
[all …]
/cts/tests/openglperf2/jni/reference/scene/flocking/
DBoid.cpp37 Vector2D tmp = mPosition.copy(); in flock() local
38 tmp.sub(b->mPosition); in flock()
39 tmp.normalize(); in flock()
40 tmp.scale(1.0f / dist); in flock()
41 separation.add(tmp); in flock()
/cts/tools/vm-tests-tf/etc/
Dvmtests-cfassembler.sh48 $soong_zip -o $out -C $gen_dir/tmp -D $gen_dir/tmp || exit 1
49 rm -rf $gen_dir/tmp || exit 1
Dvmtests-dasm.sh52 $soong_zip -o $out -C $gen_dir/tmp -D $gen_dir/tmp || exit 1
53 rm -rf $gen_dir/tmp || exit 1
/cts/tests/tests/os/jni/
Dandroid_os_cts_TaggedPointer.cpp39 uintptr_t tmp; in android_os_cts_TaggedPointer_hasTaggedPointer() local
45 tmp = TAG_MASK | (uintptr_t)(&data); in android_os_cts_TaggedPointer_hasTaggedPointer()
46 tagged = (uint32_t *)tmp; in android_os_cts_TaggedPointer_hasTaggedPointer()
/cts/tests/tests/selinux/common/jni/
Dandroid_security_SELinuxTargetSdkTest.cpp78 security_context_t tmp = NULL; in getFileContext() local
79 int ret = getfilecon(path.c_str(), &tmp); in getFileContext()
80 Unique_SecurityContext context(tmp); in getFileContext()

123