/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/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerSpoofingTest.java | 47 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()
|
D | ShortcutManagerMiscTest.java | 50 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/ |
D | SignalObserver.java | 253 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/ |
D | ShortcutManagerSecondaryUserTest.java | 60 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/ |
D | ShortcutManagerPostBackupTest.java | 53 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()
|
D | ShortcutManagerPreBackupTest.java | 38 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/ |
D | SeedTest.java | 38 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/ |
D | ShortcutManagerPreBackupTest.java | 38 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/ |
D | ShortcutManagerPreBackupTest.java | 38 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/ |
D | ShortcutManagerPreBackupTest.java | 38 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/ |
D | LauncherAppsTest.java | 73 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/ |
D | WaveTableSource.cpp | 72 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/ |
D | ShortcutManagerPreUpgradeTest.java | 43 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/ |
D | KernelInfo.kt | 36 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/ |
D | layer_info_fast.rsh | 33 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/ |
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/slice/src/android/slice/cts/ |
D | SliceBuilderTest.java | 249 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/ |
D | WifiConfigLockdownTest.java | 220 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/ |
D | Matrix2fTest.java | 60 String s1 = getString(m.getArray()); in checkData() local 62 assertEquals(s2, s1); in checkData()
|
D | Matrix4fTest.java | 62 String s1 = getString(m.getArray()); in checkData() local 64 assertEquals(s2, s1); in checkData()
|
/cts/tests/tests/content/ContentUriTestApp/src/android/content/cts/contenturitestapp/ |
D | TestProvider.java | 62 public Cursor query(Uri uri, String[] strings, String s, String[] strings1, String s1) { in query() argument
|