/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 | 46 ShortcutInfo s1 = makeShortcut("s1", "title1"); in testSpoofingPublisher() 47 getManager().setDynamicShortcuts(list(s1)); in testSpoofingPublisher() 50 ShortcutInfo s1 = makeShortcut("s1", "title2"); in testSpoofingPublisher() 51 getManager().setDynamicShortcuts(list(s1)); in testSpoofingPublisher() 54 ShortcutInfo s1 = makeShortcut("s1", "title3"); in testSpoofingPublisher() 55 getManager().setDynamicShortcuts(list(s1)); in testSpoofingPublisher() 108 ShortcutInfo s1 = makeShortcut("s1", "title1"); in testSpoofingLauncher() 109 getManager().setDynamicShortcuts(list(s1)); in testSpoofingLauncher()
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/ |
D | ShortcutManagerPostBackupTest.java | 54 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testRestoredOnOldVersion() local 60 assertTrue(getManager().addDynamicShortcuts(list(s1))); in testRestoredOnOldVersion() 121 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testBackupDisabled() local 127 assertTrue(getManager().addDynamicShortcuts(list(s1))); in testBackupDisabled() 155 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testRestoreWrongKey() local 161 assertTrue(getManager().addDynamicShortcuts(list(s1))); in testRestoreWrongKey() 203 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testRestoreNoManifestOnOldVersion() local 209 assertTrue(getManager().addDynamicShortcuts(list(s1))); in testRestoreNoManifestOnOldVersion()
|
D | ShortcutManagerPreBackupTest.java | 37 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testPreBackup() local 61 assertTrue(getManager().setDynamicShortcuts(list(s1, s2, s3))); in testPreBackup()
|
/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/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 | 37 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") 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 | 37 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") 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 | 37 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") 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 | 42 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testPreUpgrade() local 58 assertTrue(getManager().setDynamicShortcuts(list(s1, s2))); in testPreUpgrade()
|
/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));
|
D | layered_filter_fast_d1new.rscript | 417 …ernel_info = rsGetElementAt_float4(galloc_kernel_info, sharp_dilated_depth - g_target_layer_i2.s1); 447 …ernel_info = rsGetElementAt_float4(galloc_kernel_info, sharp_dilated_depth - g_target_layer_i2.s1); 498 …float4 alloc_kernel_info = rsGetElementAt_float4(galloc_kernel_info, depth - g_target_layer_i2.s1); 551 …el_info = rsGetElementAt_float4(galloc_kernel_info, in_sharp_dilated_depth - g_target_layer_i2.s1); 786 g_target_layer_i2.s1 = back; 801 g_image_size_i4.s1 = height; 806 g_focal_layer_i2.s1 = back;
|
/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()
|
D | BuildDalvikSuite.java | 95 public int compare(String s1, String s2) { in handleTest() 97 return s1.compareTo(s2); in handleTest()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
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/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 565 final short s1 = 1006; in testGetShort2() local 568 assertEquals(s1, mBundle.getShort(KEY, s1)); in testGetShort2() 570 assertEquals(s2, mBundle.getShort(KEY, s1)); in testGetShort2() 572 assertEquals(s2, mBundle.getShort(KEY, s1)); in testGetShort2() 576 final short s1 = 1006; in testGetShortArray() local 581 s1, s2 in testGetShortArray() 584 assertEquals(s1, shortArray[0]); in testGetShortArray() 588 assertEquals(s1, shortArray[0]); in testGetShortArray()
|
/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()
|
D | Matrix3fTest.java | 61 String s1 = getString(m.getArray()); in checkData() local 63 assertEquals(s2, s1); in checkData()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorDirectReportTest.java | 642 Sensor s1 = mSensorManager.getDefaultSensor(type1); in runSingleChannelRateIndependencyTest() local 644 if (s1 == null in runSingleChannelRateIndependencyTest() 645 || s1.getHighestDirectReportRateLevel() < rateLevel1 in runSingleChannelRateIndependencyTest() 646 || !s1.isDirectChannelTypeSupported(memType)) { in runSingleChannelRateIndependencyTest() 664 int token1 = mChannel.configure(s1, rateLevel1); in runSingleChannelRateIndependencyTest() 677 mChannel.configure(s1, SensorDirectChannel.RATE_STOP); in runSingleChannelRateIndependencyTest()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 406 StrokeDescription s1 = new StrokeDescription( in testContinuedGestures_motionEventsContinue() local 408 StrokeDescription s2 = s1.continueStroke( in testContinuedGestures_motionEventsContinue() 413 GestureDescription gesture1 = new GestureDescription.Builder().addStroke(s1).build(); in testContinuedGestures_motionEventsContinue()
|