Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 81) sorted by relevance

1234

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dgetset.rscript34 void __attribute__((kernel)) copy1D_##ty(int idx) { \
35 ty i = rsGetElementAt_##ty(gAlloc1DIn, idx); \
36 rsSetElementAt_##ty(gAlloc1DOut, i, idx); \
38 void __attribute__((kernel)) copy1D_##ty##2(int idx) { \
39 ty##2 i = rsGetElementAt_##ty##2(gAlloc1DIn, idx); \
40 rsSetElementAt_##ty##2(gAlloc1DOut, i, idx); \
42 void __attribute__((kernel)) copy1D_##ty##3(int idx) { \
43 ty##3 i = rsGetElementAt_##ty##3(gAlloc1DIn, idx); \
44 rsSetElementAt_##ty##3(gAlloc1DOut, i, idx); \
46 void __attribute__((kernel)) copy1D_##ty##4(int idx) { \
[all …]
DSampleTest.java40 int idx = 0; 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()
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DOnDeviceFrameworkSessionLimitTest.java76 for (int idx = 0; idx < EXPECTED_RECOGNIZER_COUNT; idx++) { in setup()
77 mActivity.getRecognizerInfo(idx).mRecognizer.setTemporaryOnDeviceRecognizer( in setup()
85 for (int idx = 0; idx < EXPECTED_RECOGNIZER_COUNT; idx++) { in tearDown()
86 mActivity.getRecognizerInfo(idx).mRecognizer.setTemporaryOnDeviceRecognizer( in tearDown()
110 for (int idx = 0; idx < EXPECTED_RECOGNIZER_COUNT; idx++) { in testFrameworkSessionLimit()
111 mActivity.checkRecognitionSupport(START_LISTENING_INTENT, supportCallback, idx); in testFrameworkSessionLimit()
115 for (int idx = 0; idx < EXPECTED_RECOGNIZER_COUNT - 1; idx++) { in testFrameworkSessionLimit()
117 if (mActivity.getRecognizerInfo(idx).mErrorCodesReceived.size() > 0) { in testFrameworkSessionLimit()
118 fail("Recognizer " + idx + " should not have errors"); in testFrameworkSessionLimit()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DObjImporter.java121 int idx; in parse() local
126 idx = Integer.parseInt(subParts.nextToken()); in parse()
128 if (idx < 0) idx = (vertices.size() / 3) + idx; in parse()
129 else idx -= 1; in parse()
131 currObjIndexData.vertexIndices.add(idx); in parse()
133 quadvids[i - 1] = idx; in parse()
135 idx = Integer.parseInt(subParts.nextToken()); in parse()
136 if (idx < 0) idx = (texCoords.size() / 2) + idx; in parse()
137 else idx -= 1; in parse()
139 currObjIndexData.texCoordIndices.add(idx); in parse()
[all …]
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestAnalyzer.java115 int idx = 0; in getDiff() local
117 for (; idx < shortSize; idx++) { in getDiff()
118 if (!shortResult.get(idx).equals(longResult.get(idx))) { in getDiff()
122 for (; idx < longSize; idx++) { in getDiff()
123 diff.add(longResult.get(idx)); in getDiff()
146 for (int idx = shortSize; idx < longSize; idx++) { in getTailDiff()
147 diff.add(longResult.get(idx)); in getTailDiff()
DSilentModeInfo.java81 for (int idx = 0; idx < lines.length; idx++) { in parse()
82 String[] tokens = lines[idx].trim().split(":"); in parse()
85 "SilentModeQueryResult.parse(): malformatted attr line: " + lines[idx]); in parse()
/cts/tests/tests/security/src/android/security/cts/BUG_283103220/
DPipActivity.java67 for (int idx = 1; idx < 1000; ++idx) { in isVulnerable()
69 new Rational(idx /* numerator */, idx + 1 /* denominator */)); in isVulnerable()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2024_31314.java60 for (int idx = 1; idx <= maxShortcutsPerActivity; ++idx) { in testPocCVE_2024_31314()
62 new ShortcutInfo.Builder(context, shortcutName + idx) in testPocCVE_2024_31314()
63 .setShortLabel(shortcutName + "label_" + idx) in testPocCVE_2024_31314()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_short/d/
DT_aget_short_1.java20 public short run(short[] arr, int idx) { in run() argument
21 return arr[idx]; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_char/d/
DT_aget_char_1.java20 public char run(char[] arr, int idx) { in run() argument
21 return arr[idx]; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_wide/d/
DT_aget_wide_2.java21 public double run(double[] arr, int idx) { in run() argument
22 return arr[idx]; in run()
DT_aget_wide_1.java21 public long run(long[] arr, int idx) { in run() argument
22 return arr[idx]; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_byte/d/
DT_aget_byte_1.java20 public byte run(byte[] arr, int idx) { in run() argument
21 return arr[idx]; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget/d/
DT_aget_1.java20 public int run(int[] arr, int idx) { in run() argument
21 return arr[idx]; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_boolean/d/
DT_aget_boolean_1.java20 public boolean run(boolean[] arr, int idx) { in run() argument
21 return arr[idx]; in run()
/cts/tools/incremental-cts/
Dtarget_file_handler.py34 idx = file_name[1:].find('/')+1
35 real_file_name = file_name[1:idx].upper()+file_name[idx:]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_char/d/
DT_aput_char_1.java20 public void run(char[] arr, int idx, char value) { in run() argument
21 arr[idx] = value; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_wide/d/
DT_aput_wide_1.java21 public void run(long[] arr, int idx, long value) { in run() argument
22 arr[idx] = value; in run()
DT_aput_wide_2.java21 public void run(double[] arr, int idx, double value) { in run() argument
22 arr[idx] = value; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_boolean/d/
DT_aput_boolean_1.java20 public void run(boolean[] arr, int idx, boolean value) { in run() argument
21 arr[idx] = value; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_byte/d/
DT_aput_byte_1.java20 public void run(byte[] arr, int idx, byte value) { in run() argument
21 arr[idx] = value; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput/d/
DT_aput_1.java20 public void run(int[] arr, int idx, int value) { in run() argument
21 arr[idx] = value; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_short/d/
DT_aput_short_1.java20 public void run(short[] arr, int idx, short value) { in run() argument
21 arr[idx] = value; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_object/d/
DT_aget_object_1.java21 public String run(String [] arr, int idx) { in run() argument
22 return arr[idx]; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/d/
DT_aput_object_1.java21 public void run(String[] arr, int idx, String value) { in run() argument
22 arr[idx] = value; in run()

1234