Home
last modified time | relevance | path

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

12

/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.java249 private void assertEquivalent(SliceItem s1, SliceItem s2) { in assertEquivalent() argument
250 assertEquals(s1.getFormat(), s2.getFormat()); in assertEquivalent()
251 assertEquals(s1.getSubType(), s2.getSubType()); in assertEquivalent()
252 assertEquivalentHints(s1.getHints(), s2.getHints()); in assertEquivalent()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
DShortcutManagerPostBackupTest.java61 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testRestoredOnOldVersion() local
64 assertTrue(getManager().updateShortcuts(list(s2))); in testRestoredOnOldVersion()
91 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testRestoredOnNewVersion() local
94 assertTrue(getManager().updateShortcuts(list(s2))); in testRestoredOnNewVersion()
161 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testRestoreWrongKey() local
164 assertTrue(getManager().updateShortcuts(list(s2))); in testRestoreWrongKey()
244 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testInvisibleIgnored() local
262 assertTrue(getManager().requestPinShortcut(s2, in testInvisibleIgnored()
DShortcutManagerPreBackupTest.java49 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreBackup() local
62 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerMiscTest.java51 final ShortcutInfo s2 = makeShortcutExcludedFromLauncher("s2"); in testExcludedFromFields() local
53 assertTrue(s2.isExcludedFromSurfaces(ShortcutInfo.SURFACE_LAUNCHER)); in testExcludedFromFields()
55 assertEquals(ShortcutInfo.SURFACE_LAUNCHER, s2.getExcludedFromSurfaces()); in testExcludedFromFields()
/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/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DSignalObserver.java254 double s2 = 0; in goertzel() local
259 double s = x + coeff * s1 - s2; in goertzel()
260 s2 = s1; in goertzel()
265 double magnitude = s2 * s2 + s1 * s1 - coeff * s1 * s2; in goertzel()
/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/hostsidetests/shortcuts/deviceside/backup/publisher3/src/android/content/pm/cts/shortcut/backup/publisher3/
DShortcutManagerPreBackupTest.java48 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreBackup() local
59 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher2/src/android/content/pm/cts/shortcut/backup/publisher2/
DShortcutManagerPreBackupTest.java49 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreBackup() local
62 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
DShortcutManagerPreBackupTest.java49 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreBackup() local
62 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPreUpgradeTest.java52 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") in testPreUpgrade() local
59 assertTrue(getManager().setDynamicShortcuts(list(s1, s2))); in testPreUpgrade()
/cts/libs/kernelinfo/src/com/android/cts/kernelinfo/
DKernelInfo.kt36 private fun compareMajorMinorVersion(s1: String, s2: String): Int { in compareMajorMinorVersion()
38 val v2: Pair<Int, Int> = getVersionFromString(s2) in compareMajorMinorVersion()
/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/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/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DWifiConfigLockdownTest.java220 private boolean areMatchingSsids(String s1, String s2) { in areMatchingSsids() argument
221 if (s1 == null || s2 == null) { in areMatchingSsids()
224 return s1.replace("\"", "").equals(s2.replace("\"", "")); in areMatchingSsids()
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java2436 Signature[] s2 = {new Signature("1234"), in testReadParcelableArray() local
2458 p.writeParcelableArray(s2, 0); in testReadParcelableArray()
2461 for (int i = 0; i < s2.length; i++) { in testReadParcelableArray()
2462 assertEquals(s2[i], s3[i]); in testReadParcelableArray()
2519 Signature[] s2 = {new Signature("1234"), in testReadTypedArray() local
2571 s3 = new Signature[s2.length]; in testReadTypedArray()
2573 p.writeTypedArray(s2, 0); in testReadTypedArray()
2577 assertEquals(s2[i], s3[i]); in testReadTypedArray()
2589 Signature[] s2 = { in testReadTypedArray2() local
2613 p.writeTypedArray(s2, 0); in testReadTypedArray2()
[all …]
/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()
DMatrix2fTest.java61 String s2 = getString(data); in checkData() local
62 assertEquals(s2, s1); in checkData()
Dprimitives.rscript83 _RS_ASSERT(avt->s2.x == 1);
84 _RS_ASSERT(avt->s2.y == 2);

12