/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | DnsSdTxtRecordListenerTest.java | 120 private boolean equals(String s1, String s2) { in equals() argument 121 if (s1 == null && s2 == null) { in equals() 124 if (s1 == null || s2 == null) { in equals() 127 return s1.equals(s2); in equals() 130 private boolean equals(Map<String, String> s1, Map<String, String> s2) { in equals() argument 131 if (s1 == null && s2 == null) { in equals() 134 if (s1 == null || s2 == null) { in equals() 137 return s1.equals(s2); in equals()
|
D | UPnPServiceResponseListenerTest.java | 108 private boolean equals(String s1, String s2) { in equals() argument 109 if (s1 == null && s2 == null) { in equals() 112 if (s1 == null || s2 == null) { in equals() 115 return s1.equals(s2); in equals()
|
D | DnsSdResponseListenerTest.java | 116 private boolean equals(String s1, String s2) { in equals() argument 117 if (s1 == null && s2 == null) { in equals() 120 if (s1 == null || s2 == null) { in equals() 123 return s1.equals(s2); in equals()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceSpecTest.java | 58 SliceSpec s2 = SliceSpec.CREATOR.createFromParcel(p); in verify() local 60 assertEquals(s.getType(), s2.getType()); in verify() 61 assertEquals(s.getRevision(), s2.getRevision()); in verify() 62 assertEquals(s, s2); in verify()
|
D | SliceBuilderTest.java | 248 private void assertEquivalent(SliceItem s1, SliceItem s2) { in assertEquivalent() argument 249 assertEquals(s1.getFormat(), s2.getFormat()); in assertEquivalent() 250 assertEquals(s1.getSubType(), s2.getSubType()); in assertEquivalent() 251 assertEquivalentHints(s1.getHints(), s2.getHints()); in assertEquivalent()
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/ |
D | ShortcutManagerPostBackupTest.java | 62 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testRestoredOnOldVersion() local 65 assertTrue(getManager().updateShortcuts(list(s2))); in testRestoredOnOldVersion() 93 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testRestoredOnNewVersion() local 96 assertTrue(getManager().updateShortcuts(list(s2))); in testRestoredOnNewVersion() 163 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testRestoreWrongKey() local 166 assertTrue(getManager().updateShortcuts(list(s2))); in testRestoreWrongKey()
|
D | ShortcutManagerPreBackupTest.java | 48 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreBackup() local 61 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/const_string/ |
D | Test_const_string.java | 32 String s2 = t.run(); in testN1() local 33 assertTrue(s == s2); in testN1()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/const_string_jumbo/ |
D | Test_const_string_jumbo.java | 32 String s2 = t.run(); in testN1() local 33 assertTrue(s == s2); in testN1()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_fast_d1new.rscript | 91 x += g_image_size_i4.s2; // margin 92 y += g_image_size_i4.s2; // margin 120 x += g_image_size_i4.s2; // margin 121 y += g_image_size_i4.s2; // margin 246 x += g_image_size_i4.s2; // margin 247 y += g_image_size_i4.s2; // margin 292 x += g_image_size_i4.s2; // margin 293 y += g_image_size_i4.s2; // margin 337 y += g_image_size_i4.s2; // margin 373 y += g_image_size_i4.s2; // margin [all …]
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
D | SeedTest.java | 39 Scanner s2 = new Scanner(out2); in assertOutputs() local 43 String line2 = getNextLine(s2); in assertOutputs()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 2065 Signature[] s2 = {new Signature("1234"), 2087 p.writeParcelableArray(s2, 0); 2090 for (int i = 0; i < s2.length; i++) { 2091 assertEquals(s2[i], s3[i]); 2102 Signature[] s2 = {new Signature("1234"), 2154 s3 = new Signature[s2.length]; 2156 p.writeTypedArray(s2, 0); 2160 assertEquals(s2[i], s3[i]); 2171 Signature[] s2 = { 2195 p.writeTypedArray(s2, 0); [all …]
|
D | BundleTest.java | 566 final short s2 = 1007; in testGetShort2() local 569 mBundle.putShort(KEY, s2); in testGetShort2() 570 assertEquals(s2, mBundle.getShort(KEY, s1)); in testGetShort2() 572 assertEquals(s2, mBundle.getShort(KEY, s1)); in testGetShort2() 577 final short s2 = 1007; in testGetShortArray() local 581 s1, s2 in testGetShortArray() 585 assertEquals(s2, shortArray[1]); in testGetShortArray() 589 assertEquals(s2, shortArray[1]); in testGetShortArray()
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher3/src/android/content/pm/cts/shortcut/backup/publisher3/ |
D | ShortcutManagerPreBackupTest.java | 47 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreBackup() local 58 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/ |
D | ShortcutManagerPreBackupTest.java | 48 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreBackup() local 61 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher2/src/android/content/pm/cts/shortcut/backup/publisher2/ |
D | ShortcutManagerPreBackupTest.java | 48 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreBackup() local 61 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
|
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/ |
D | ShortcutManagerPreUpgradeTest.java | 51 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreUpgrade() local 58 assertTrue(getManager().setDynamicShortcuts(list(s1, s2))); in testPreUpgrade()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | WifiConfigLockdownTest.java | 179 private boolean areMatchingSsids(String s1, String s2) { in areMatchingSsids() argument 180 if (s1 == null || s2 == null) { in areMatchingSsids() 183 return s1.replace("\"", "").equals(s2.replace("\"", "")); in areMatchingSsids()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildCTSMainsSources.java | 81 public int compare(String s1, String s2) { in handleTest() 83 return s1.compareTo(s2); in handleTest()
|
D | BuildCTSHostSources.java | 209 public int compare(String s1, String s2) { in handleTest() 211 return s1.compareTo(s2); in handleTest()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ComputeTest.java | 179 Short2 s2 = new Short2(); in testJavaVectorTypes() local 180 s2.x = 1; in testJavaVectorTypes() 181 s2.y = 2; in testJavaVectorTypes() 182 s2 = new Short2((short)1, (short)2); in testJavaVectorTypes() 183 assertTrue(s2.x == 1); in testJavaVectorTypes() 184 assertTrue(s2.y == 2); in testJavaVectorTypes() 275 avtItem.s2.x = 1; in initializeGlobals() 276 avtItem.s2.y = 2; in initializeGlobals()
|
D | primitives.rscript | 83 _RS_ASSERT(avt->s2.x == 1); 84 _RS_ASSERT(avt->s2.y == 2);
|
D | Matrix2fTest.java | 61 String s2 = getString(data); in checkData() local 62 assertEquals(s2, s1); in checkData()
|
D | Matrix4fTest.java | 63 String s2 = getString(data); in checkData() local 64 assertEquals(s2, s1); in checkData()
|
D | Matrix3fTest.java | 62 String s2 = getString(data); in checkData() local 63 assertEquals(s2, s1); in checkData()
|