Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 111) sorted by relevance

12345

/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DDnsSdTxtRecordListenerTest.java120 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()
DUPnPServiceResponseListenerTest.java108 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()
DDnsSdResponseListenerTest.java116 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/
DSliceSpecTest.java58 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()
DSliceBuilderTest.java248 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/
DShortcutManagerPostBackupTest.java62 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()
DShortcutManagerPreBackupTest.java48 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/
DTest_const_string.java32 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/
DTest_const_string_jumbo.java32 String s2 = t.run(); in testN1() local
33 assertTrue(s == s2); in testN1()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_fast_d1new.rscript91 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/
DSeedTest.java39 Scanner s2 = new Scanner(out2); in assertOutputs() local
43 String line2 = getNextLine(s2); in assertOutputs()
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java2065 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 …]
DBundleTest.java566 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/
DShortcutManagerPreBackupTest.java47 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/
DShortcutManagerPreBackupTest.java48 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/
DShortcutManagerPreBackupTest.java48 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/
DShortcutManagerPreUpgradeTest.java51 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/
DWifiConfigLockdownTest.java179 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/
DBuildCTSMainsSources.java81 public int compare(String s1, String s2) { in handleTest()
83 return s1.compareTo(s2); in handleTest()
DBuildCTSHostSources.java209 public int compare(String s1, String s2) { in handleTest()
211 return s1.compareTo(s2); in handleTest()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DComputeTest.java179 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()
Dprimitives.rscript83 _RS_ASSERT(avt->s2.x == 1);
84 _RS_ASSERT(avt->s2.y == 2);
DMatrix2fTest.java61 String s2 = getString(data); in checkData() local
62 assertEquals(s2, s1); in checkData()
DMatrix4fTest.java63 String s2 = getString(data); in checkData() local
64 assertEquals(s2, s1); in checkData()
DMatrix3fTest.java62 String s2 = getString(data); in checkData() local
63 assertEquals(s2, s1); in checkData()

12345