Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 55) 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()
Dfloat16_gen.sh21 TMPDIR=`mktemp -d /tmp/float16_gen.XXXXXXXX`
22 TMPFILE=$TMPDIR/tmp.java
/cts/tests/tests/os/src/android/os/cts/
DVibrationAttributesTest.java57 AudioAttributes tmp = new AudioAttributes.Builder() in testCreate() local
60 VibrationAttributes attr = new VibrationAttributes.Builder(tmp, null).build(); in testCreate()
69 AudioAttributes tmp = new AudioAttributes.Builder() in testGetAudioUsageReturnOriginalUsage() local
72 VibrationAttributes attr = new VibrationAttributes.Builder(tmp, null).build(); in testGetAudioUsageReturnOriginalUsage()
87 AudioAttributes tmp = createAudioAttributes(TEST_USAGE); in testEquals() local
88 VibrationAttributes attr = new VibrationAttributes.Builder(tmp, null).build(); in testEquals()
89 VibrationAttributes attr2 = new VibrationAttributes.Builder(tmp, null).build(); in testEquals()
95 AudioAttributes tmp = createAudioAttributes( in testNotEqualsDifferentAudioUsage() local
97 VibrationAttributes attr = new VibrationAttributes.Builder(tmp, null).build(); in testNotEqualsDifferentAudioUsage()
118 AudioAttributes tmp = createAudioAttributes(TEST_USAGE); in testNotEqualsDifferentFlags() local
[all …]
/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/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/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/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/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/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/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/hostsidetests/appsecurity/test-apps/SplitApp/
Dbuild_libs.sh149 mkdir -p tmp/$arch/raw/lib/$arch/
150 mv libs/$arch/* tmp/$arch/raw/lib/$arch/
153 mkdir -p tmp/$arch/raw_revision/lib/$arch/
154 mv tmp/$arch/raw/lib/$arch/libsplitappjni_revision.so \
155 tmp/$arch/raw_revision/lib/$arch/libsplitappjni.so
169 mv tmp libs
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2228/
Dpoc.c46 void *tmp = real_malloc(size); in malloc() local
48 check_ptr = tmp; in malloc()
50 return tmp; in malloc()
/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/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/
DREADME.md4 adb shell profman --generate-test-profile=/data/local/tmp/primary.prof
5 adb pull /data/local/tmp/primary.prof
/cts/hostsidetests/jvmti/attaching/app/jni/
Dcts_agent.cpp46 std::string tmp(name); in GetClassName() local
49 return tmp; in GetClassName()
107 std::string tmp = str.c_str(); in Java_android_jvmti_JvmtiActivity_didSeeLoadOf() local
108 bool found = std::find(gLoadedDescriptors.begin(), gLoadedDescriptors.end(), tmp) != in Java_android_jvmti_JvmtiActivity_didSeeLoadOf()
/cts/tests/tests/selinux/common/jni/
Dandroid_security_SELinuxTargetSdkTest.cpp109 security_context_t tmp = NULL; in getFileContext() local
110 int ret = getfilecon(path.c_str(), &tmp); in getFileContext()
111 Unique_SecurityContext context(tmp); in getFileContext()
/cts/tests/sensor/jni/
DnativeTestHelper.h54 const char *tmp = a; \
55 ASSERT(tmp != nullptr, \
58 ASSERT(tmp[0] == '\0', \
/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/
DJvmtiTaggingTest.java160 List<Pair> tmp = new ArrayList<>(l); in check() local
162 tmp.add(new Pair(objects == null ? null : objects[i], tags == null ? 0 : tags[i])); in check()
164 Collections.sort(tmp); in check()
167 if (!expectations.equals(tmp)) { in check()
170 Pair p2 = tmp.get(i); in check()
179 assertEquals(expectations, tmp); in check()

123