Searched refs:testArray (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/instantapp/src/android/cts/instantapp/resolver/ |
D | ResolverServiceMethodFallbackTest.kt | 72 private val testArray = IntArray(10) { Random.nextInt() } in <lambda>() constant 75 private val testInfoWeb = InstantAppRequestInfo(testIntentWeb, testArray, testUser, in <lambda>() 77 private val testInfoNotWeb = InstantAppRequestInfo(testIntentNotWeb, testArray, testUser, in <lambda>() 83 private val infoOne: Method = { onGetInstantAppResolveInfo(testArray, testToken, in <lambda>() 85 private val infoTwo: Method = { onGetInstantAppResolveInfo(it.intent, testArray, testToken, in <lambda>() 87 private val infoThree: Method = { onGetInstantAppResolveInfo(it.intent, testArray, testUser, in <lambda>() 91 private val filterOne: Method = { onGetInstantAppIntentFilter(testArray, testToken, in <lambda>() 93 private val filterTwo: Method = { onGetInstantAppIntentFilter(it.intent, testArray, in <lambda>() 95 private val filterThree: Method = { onGetInstantAppIntentFilter(it.intent, testArray, in <lambda>()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/ |
D | ComplexMovementTest.java | 90 ArrayList<Ring> testArray = ((ComplexMovementPath) mTestPath).getRings(); in testRings() local 92 for (int i = 0; i < testArray.size(); i++) { in testRings() 93 if (!testArray.get(i).isEntered()) { in testRings()
|
/cts/tests/tests/media/decoder/jni/ |
D | native-media-jni.cpp | 472 const std::vector<u_long>& testArray) { in arePtsListsIdentical() argument 475 if (refArray.size() != testArray.size()) { in arePtsListsIdentical() 478 ALOGE("Received pts list size is %zu", testArray.size()); in arePtsListsIdentical() 482 if (refArray[i] != testArray[i]) { in arePtsListsIdentical() 489 for (i = 0; i < std::min(refArray.size(), testArray.size()); i++) { in arePtsListsIdentical() 491 testArray[i]); in arePtsListsIdentical() 493 if (refArray.size() < testArray.size()) { in arePtsListsIdentical() 494 for (i = refArray.size(); i < testArray.size(); i++) { in arePtsListsIdentical() 496 testArray[i]); in arePtsListsIdentical() 498 } else if (refArray.size() > testArray.size()) { in arePtsListsIdentical() [all …]
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 60 const std::vector<int64_t>& testArray, in arePtsListsIdentical() argument 63 if (refArray.size() != testArray.size()) { in arePtsListsIdentical() 66 logs->append(StringFormat("test pts list size is %zu \n", testArray.size())); in arePtsListsIdentical() 69 for (int i = 0; i < std::min(refArray.size(), testArray.size()); i++) { in arePtsListsIdentical() 70 if (refArray[i] != testArray[i]) { in arePtsListsIdentical() 72 refArray[i], testArray[i])); in arePtsListsIdentical() 76 if (refArray.size() < testArray.size()) { in arePtsListsIdentical() 77 for (auto i = refArray.size(); i < testArray.size(); i++) { in arePtsListsIdentical() 79 StringFormat("Frame idx %d, ref pts EMPTY, test pts %dus \n", i, testArray[i])); in arePtsListsIdentical() 81 } else if (refArray.size() > testArray.size()) { in arePtsListsIdentical() [all …]
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmMockTest.java | 117 byte testArray[] = {0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x10, 0x11, 0x12}; in testByteArrayProperties() 118 md.setPropertyByteArray("test-array", testArray); in testByteArrayProperties() 119 assertTrue(Arrays.equals(md.getPropertyByteArray("test-array"), testArray)); in testByteArrayProperties()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 1742 int testArray[] = new int[] { PREMUL_COLOR }; in testSetPremultipliedData() local 1743 bitmap.setPixels(testArray, 0, 1, 0, 0, 1, 1); in testSetPremultipliedData() 1744 bitmap.getPixels(testArray, 0, 1, 0, 0, 1, 1); in testSetPremultipliedData()
|