Home
last modified time | relevance | path

Searched refs:i2 (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_PinnedPositionsTest.java63 final DatabaseAsserts.ContactIdPair i2 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate() local
71 assertValuesForContact(i2.mContactId, in testPinnedPositionsUpdate()
79 assertValuesForRawContact(i2.mRawContactId, newContentValues(RawContacts.PINNED, unpinned)); in testPinnedPositionsUpdate()
92 assertValuesForContact(i2.mContactId, in testPinnedPositionsUpdate()
101 assertValuesForRawContact(i2.mRawContactId, newContentValues(RawContacts.PINNED, unpinned)); in testPinnedPositionsUpdate()
113 assertValuesForContact(i2.mContactId, in testPinnedPositionsUpdate()
122 assertValuesForRawContact(i2.mRawContactId, in testPinnedPositionsUpdate()
130 ContactUtil.delete(mResolver, i2.mContactId); in testPinnedPositionsUpdate()
141 final DatabaseAsserts.ContactIdPair i2 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit() local
151 operations.add(newPinningOperation(i2.mContactId, 2, true)); in testPinnedPositionsAfterJoinAndSplit()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/
DTestClass.java30 public static int testArgsOrder(int i1, int i2){ in testArgsOrder() argument
33 int i = i1 / i2; in testArgsOrder()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/
DTestClass.java30 public static int testArgsOrder(int i1, int i2){ in testArgsOrder() argument
33 int i = i1 / i2; in testArgsOrder()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DBaseTestActivity.java77 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in onCreate()
80 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in onCreate()
90 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in onCreate()
93 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in onCreate()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_script.cpp120 int i2[1]; in Java_android_cts_rscpp_RSScriptTest_testInstance() local
123 ai2->copy1DTo(i2); in Java_android_cts_rscpp_RSScriptTest_testInstance()
127 passed &= (2 == i2[0]); in Java_android_cts_rscpp_RSScriptTest_testInstance()
129 passed &= (2 == i2[0]); in Java_android_cts_rscpp_RSScriptTest_testInstance()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java125 int i2 = idx; // index of next higher color and position in verifyColors() local
126 double delta = (relPos - positions[i1]) / (positions[i2] - positions[i1]); in verifyColors()
128 delta * Color.alpha(colors[i2])); in verifyColors()
130 delta * Color.red(colors[i2])); in verifyColors()
132 delta * Color.green(colors[i2])); in verifyColors()
134 delta * Color.blue(colors[i2])); in verifyColors()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DComputeTest.java129 Int2 i2 = new Int2(); in testJavaVectorTypes() local
130 i2.x = 1; in testJavaVectorTypes()
131 i2.y = 2; in testJavaVectorTypes()
132 i2 = new Int2(1, 2); in testJavaVectorTypes()
133 assertTrue(i2.x == 1); in testJavaVectorTypes()
134 assertTrue(i2.y == 2); in testJavaVectorTypes()
285 avtItem.i2.x = 1; in initializeGlobals()
286 avtItem.i2.y = 2; in initializeGlobals()
804 int i2[] = new int[1]; in testInstance() local
807 ai2.copyTo(i2); in testInstance()
[all …]
Dprimitives.rscript93 _RS_ASSERT(avt->i2.x == 1);
94 _RS_ASSERT(avt->i2.y == 2);
Dstructs.rsh48 int2 i2;
/cts/tests/tests/slice/src/android/slice/cts/
DSliceBuilderTest.java242 private void assertEquivalent(List<SliceItem> i1, List<SliceItem> i2) { in assertEquivalent() argument
243 assertEquals(i1.size(), i2.size()); in assertEquivalent()
245 assertEquivalent(i1.get(i), i2.get(i)); in assertEquivalent()
/cts/apps/CtsVerifier/include/colorchecker/
Dcolorcheckertest.h83 void findBestMatch(int i1, int i2, int j1, int j2);
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DEnqueueJobWorkTest.java60 private boolean intentEquals(Intent i1, Intent i2) { in intentEquals() argument
61 if (i1 == i2) { in intentEquals()
64 if (i1 == null || i2 == null) { in intentEquals()
67 return i1.filterEquals(i2); in intentEquals()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerStartShortcutTest.java136 Intent i2 = new Intent("a2") in testStartMultiple() local
146 .setIntents(new Intent[]{i1, i2, i3}).build() in testStartMultiple()
DShortcutManagerClientApiTest.java1823 final Intent i2 = new Intent("action2").setFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT) in testDynamicIntents()
1834 .setIntents(new Intent[]{i1, i2}) in testDynamicIntents()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java455 final int i2 = 1007; in testGetInt2() local
458 mBundle.putInt(KEY1, i2); in testGetInt2()
459 assertEquals(i2, mBundle.getInt(KEY1, i2)); in testGetInt2()
461 assertEquals(i2, mBundle.getInt(KEY1, i2)); in testGetInt2()
483 final int i2 = 1007; in testGetIntegerArrayList() local
488 arrayList.add(i2); in testGetIntegerArrayList()
494 assertEquals((Integer)i2, retArrayList.get(1)); in testGetIntegerArrayList()
500 assertEquals((Integer)i2, retArrayList.get(1)); in testGetIntegerArrayList()
DParcelTest.java2897 int i2 = p.dataPosition(); in testHasFileDescriptorInRange_outsideRange() local
2902 assertFalse(p.hasFileDescriptors(i2, i3 - i2)); in testHasFileDescriptorInRange_outsideRange()
2914 int i2 = p.dataPosition(); in testHasFileDescriptorInRange_partiallyInsideRange() local
2919 assertFalse(p.hasFileDescriptors(i1, i2 - i1 - 1)); in testHasFileDescriptorInRange_partiallyInsideRange()
2920 assertFalse(p.hasFileDescriptors(i1 + 1, i2 - i1)); in testHasFileDescriptorInRange_partiallyInsideRange()
2932 int i2 = p.dataPosition(); in testHasFileDescriptorInRange_insideRange() local
2936 assertTrue(p.hasFileDescriptors(i0, i2 - i0)); in testHasFileDescriptorInRange_insideRange()
2937 assertTrue(p.hasFileDescriptors(i1, i2 - i1)); in testHasFileDescriptorInRange_insideRange()
2952 int i2 = p.dataPosition(); in testHasFileDescriptorInRange_zeroLength() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java338 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in setupUserInterface()
341 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in setupUserInterface()
352 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in setupUserInterface()
355 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in setupUserInterface()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DAttachedSurfaceControlTest.java403 public void surfaceChanged(@NonNull SurfaceHolder surfaceHolder, int i, int i1, int i2) { in surfaceChanged() argument
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/
DVehiclePropertyVerifier.java2571 private static boolean integerArrayEquals(Integer[] i1, Integer[] i2) { in integerArrayEquals() argument
2572 return Arrays.equals(i1, i2); in integerArrayEquals()
/cts/tests/tests/security/res/raw/
Dcve_2018_13925.ts5469 ���= bV���@[���i2 ���aA��V��C� D2��zF����t��lb�K�5aa�w����M 0���ˢs(H��LA����G�1(��&�6���j…
6788 �i�[R 6�PfQW��{*�E�5.j'�<� ��w�hm�*�D�i2�Q��
8153 �iY��n։D 2��{�(���t�dȢ� L��i2(2���_�[s+y-�4X
10162 �q�xb��ڟi2(Q�q�htF�m6��d�V�P��ދ��Y�����а��Cʭ��VҤRhq/O��6LQU�b)�Upe
10508 2��i2���S;2`hh: N\��I��A��+q��<��ma��7�[mh�X���^LU���`*6N�� �bF7K��+jV��eG�1n��h-��O:St̍�…
Dcve_2019_2244.ts5472 ���= bV���@[���i2 ���aA��V��C� D2��zF����t��lb�K�5aa�w����M 0���ˢs(H��LA����G�1(��&�6���j…
6791 �i�[R 6�PfQW��{*�E�5.j'�<� ��w�hm�*�D�i2�Q��
8159 �iY��n։D 2��{�(���t�dȢ� L��i2(2���_�[s+y-�4X
10168 �q�xb��ڟi2(Q�q�htF�m6��d�V�P��ދ��Y�����а��Cʭ��VҤRhq/O��6LQU�b)�Upe
10514 2��i2���S;2`hh: N\��I��A��+q��<��ma��7�[mh�X���^LU���`*6N�� �bF7K��+jV��eG�1n��h-��O:St̍�…
Dcve_2019_2245.ts6392 ���)�L ��2�i+{�h�|��Qi�����]Yjq3<t>i2Iz�XaҪ�- )�W:%���^E�T�$��x4��%p�����4O��Kp̍3A���3��…
8054 �iY��n։D 2��{�(���t�dȢ� L��i2(2���_�[s+y-�4X
10062 �q�xb��ڟi2(Q�q�htF�m6��d�V�P��ދ��Y�����а��Cʭ��VҤRhq/O��6LQU�b)�Upe
10408 2��i2���S;2`hh: N\��I��A��+q��<��ma��7�[mh�X���^LU���`*6N�� �bF7K��+jV��eG�1n��h-��O:St̍�…