Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 53) sorted by relevance

123

/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.java46 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/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.java54 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()
DShortcutManagerPreBackupTest.java37 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testPreBackup() local
61 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.java37 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/
DShortcutManagerPreBackupTest.java37 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/
DShortcutManagerPreBackupTest.java37 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/
DShortcutManagerPreUpgradeTest.java42 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") in testPreUpgrade() local
58 assertTrue(getManager().setDynamicShortcuts(list(s1, s2))); in testPreUpgrade()
/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/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()
DBuildDalvikSuite.java95 public int compare(String s1, String s2) { in handleTest()
97 return s1.compareTo(s2); in handleTest()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DWifiConfigLockdownTest.java206 private boolean areMatchingSsids(String s1, String s2) { in areMatchingSsids() argument
207 if (s1 == null || s2 == null) { in areMatchingSsids()
210 return s1.replace("\"", "").equals(s2.replace("\"", "")); in areMatchingSsids()
/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/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()
DMatrix3fTest.java61 String s1 = getString(m.getArray()); in checkData() local
63 assertEquals(s2, s1); in checkData()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h70 float s1 = a[i]; in calculateNormalizedCorrelation() local
73 sumProducts += s1 * s2; in calculateNormalizedCorrelation()
74 sumSquares += ((s1 * s1) + (s2 * s2)); in calculateNormalizedCorrelation()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java565 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/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java813 Sensor s1 = mSensorManager.getDefaultSensor(type1); in runSingleChannelRateIndependencyTest() local
815 if (s1 == null in runSingleChannelRateIndependencyTest()
816 || s1.getHighestDirectReportRateLevel() < rateLevel1 in runSingleChannelRateIndependencyTest()
817 || !s1.isDirectChannelTypeSupported(memType)) { in runSingleChannelRateIndependencyTest()
835 int token1 = mChannel.configure(s1, rateLevel1); in runSingleChannelRateIndependencyTest()
848 mChannel.configure(s1, SensorDirectChannel.RATE_STOP); in runSingleChannelRateIndependencyTest()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_fast_d1new.rscript417 …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;

123