Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 40) 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/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerSpoofingTest.java47 ShortcutInfo s1 = makeShortcut("s1", "title1"); in testSpoofingPublisher()
48 getManager().setDynamicShortcuts(list(s1)); in testSpoofingPublisher()
51 ShortcutInfo s1 = makeShortcut("s1", "title2"); in testSpoofingPublisher()
52 getManager().setDynamicShortcuts(list(s1)); in testSpoofingPublisher()
55 ShortcutInfo s1 = makeShortcut("s1", "title3"); in testSpoofingPublisher()
56 getManager().setDynamicShortcuts(list(s1)); in testSpoofingPublisher()
109 ShortcutInfo s1 = makeShortcut("s1", "title1"); in testSpoofingLauncher()
110 getManager().setDynamicShortcuts(list(s1)); in testSpoofingLauncher()
DShortcutManagerMiscTest.java50 final ShortcutInfo s1 = makeShortcut("s1"); in testExcludedFromFields() local
52 assertFalse(s1.isExcludedFromSurfaces(ShortcutInfo.SURFACE_LAUNCHER)); in testExcludedFromFields()
54 assertEquals(0, s1.getExcludedFromSurfaces()); in testExcludedFromFields()
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DSignalObserver.java253 double s1 = 0; in goertzel() local
259 double s = x + coeff * s1 - s2; in goertzel()
260 s2 = s1; in goertzel()
261 s1 = s; in goertzel()
265 double magnitude = s2 * s2 + s1 * s1 - coeff * s1 * s2; in goertzel()
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/
DShortcutManagerSecondaryUserTest.java60 final ShortcutInfo s1 = list.get(0); in testCreateAndStart() local
63 getLauncherApps().getShortcutIconDrawable(s1, DisplayMetrics.DENSITY_DEFAULT); in testCreateAndStart()
64 getLauncherApps().getShortcutBadgedIconDrawable(s1, DisplayMetrics.DENSITY_DEFAULT); in testCreateAndStart()
69 getLauncherApps().startShortcut(s1, null, null); in testCreateAndStart()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
DShortcutManagerPostBackupTest.java53 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testRestoredOnOldVersion() local
59 assertTrue(getManager().addDynamicShortcuts(list(s1))); in testRestoredOnOldVersion()
119 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testBackupDisabled() local
125 assertTrue(getManager().addDynamicShortcuts(list(s1))); in testBackupDisabled()
153 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testRestoreWrongKey() local
159 assertTrue(getManager().addDynamicShortcuts(list(s1))); in testRestoreWrongKey()
DShortcutManagerPreBackupTest.java38 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testPreBackup() local
62 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DSeedTest.java38 Scanner s1 = new Scanner(out1); in assertOutputs() local
42 String line1 = getNextLine(s1); in assertOutputs()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher3/src/android/content/pm/cts/shortcut/backup/publisher3/
DShortcutManagerPreBackupTest.java38 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") 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.java38 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") 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.java38 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testPreBackup() local
62 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DLauncherAppsTest.java73 final ShortcutInfo s1 = new ShortcutInfo.Builder(mContext, "s1") in addDynamicShortcuts() local
79 shortcutManager.addDynamicShortcuts(Collections.singletonList(s1)); in addDynamicShortcuts()
80 shortcutManager.updateShortcuts(Collections.singletonList(s1)); in addDynamicShortcuts()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DWaveTableSource.cpp72 float s1 = mWaveTable[srcIndex + 1]; in pull() local
73 float value = s0 + ((s1 - s0) * delta); in pull()
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPreUpgradeTest.java43 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") 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()
37 val v1: Pair<Int, Int> = getVersionFromString(s1) in compareMajorMinorVersion()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayer_info_fast.rsh33 return (layer_info_i2.s1 <= depth && depth <= layer_info_i2.s0);
45 ((depth < layer_info_f2.s1) | (depth > layer_info_f2.s0));
/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/slice/src/android/slice/cts/
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/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/renderscript/src/android/renderscript/cts/
DMatrix2fTest.java60 String s1 = getString(m.getArray()); in checkData() local
62 assertEquals(s2, s1); in checkData()
DMatrix4fTest.java62 String s1 = getString(m.getArray()); in checkData() local
64 assertEquals(s2, s1); in checkData()
/cts/tests/tests/content/ContentUriTestApp/src/android/content/cts/contenturitestapp/
DTestProvider.java62 public Cursor query(Uri uri, String[] strings, String s, String[] strings1, String s1) { in query() argument

12