Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/security/src/android/security/cts/
DSELinuxTest.java48 String found = KernelSettingsTest.getFile("/proc/self/attr/current"); in testCTSIsUntrustedApp() local
51 ", Found: \"" + found + "\""; in testCTSIsUntrustedApp()
52 assertTrue(msg, found.startsWith(expected)); in testCTSIsUntrustedApp()
57 String found = getFileContext(appDataDir.getAbsolutePath()); in testCTSAppDataContext() local
60 ", Found: \"" + found + "\""; in testCTSAppDataContext()
61 assertTrue(msg, found.startsWith(expected)); in testCTSAppDataContext()
/cts/tests/tests/car/src/android/car/cts/
DCarSensorManagerTest.java40 boolean found = false; in testDrivingPolicy()
43 found = true; in testDrivingPolicy()
47 assertTrue(found); in testDrivingPolicy()
/cts/hostsidetests/incident/src/com/android/server/cts/
DNotificationTest.java40 boolean found = false; in testNotificationRecords()
43 found = true; in testNotificationRecords()
59 assertTrue(found); in testNotificationRecords()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java248 Set<String> found = new HashSet<String>(); in test()
261 if (found.contains(tag)) { in test()
265 found.add(ALICE); in test()
268 found.add(BOB); in test()
271 found.add(CHARLIE); in test()
279 pass &= found.size() == 3; in test()
342 Set<String> found = new HashSet<String>(); in test()
354 if (found.contains(tag)) { in test()
358 found.add(ALICE); in test()
361 found.add(BOB); in test()
[all …]
DNotificationListenerVerifierActivity.java235 Set<String> found = new HashSet<String>(); in test()
249 found.add(mTag1); in test()
259 found.add(mTag2); in test()
269 found.add(mTag3); in test()
288 pass &= found.size() == 3; in test()
/cts/hostsidetests/security/src/android/cts/security/
DFileSystemPermissionTest.java48 String [] found = output.length() > 0 ? output.split("\\s") : new String[0]; in getAllInsecureDevicesInDirAndSubdir() local
49 return new HashSet<String>(Arrays.asList(found)); in getAllInsecureDevicesInDirAndSubdir()
/cts/tools/cts-tradefed/
DREADME21 1. Ensure 'adb' is in your current PATH. adb can be found in the
42 downloaded and extracted the CTS zip, the script can be found at
45 the script can be found at
70 The source for the CTS extensions for tradefed can be found at
73 The source for the tradefed framework can be found on the 'tradefed' branch.
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/
DShortcutManagerDeviceTestBase.java93 final List<ShortcutInfo> found = getLauncherApps().getShortcuts(q, getUserHandle()); in getIconAsLauncher() local
95 assertEquals("Shortcut not found", 1, found.size()); in getIconAsLauncher()
97 return getLauncherApps().getShortcutIconDrawable(found.get(0), 0); in getIconAsLauncher()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHeadsetHonorSystemActivity.java46 private void recordHeadsetPortFound(boolean found) { in recordHeadsetPortFound() argument
49 found ? 1.0 : 0, in recordHeadsetPortFound()
DAudioLoopbackActivity.java334 private void recordHeasetPortFound(boolean found) { in recordHeasetPortFound() argument
337 found ? 1.0 : 0, in recordHeasetPortFound()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_DeletedContacts.java68 boolean found = false; in testQuery_returnsProperColumns()
71 found = true; in testQuery_returnsProperColumns()
75 assertTrue(found); in testQuery_returnsProperColumns()
DContacts_PeopleTest.java183 boolean found = false; in testAddToGroup()
187 found = true; in testAddToGroup()
191 assertTrue(found); in testAddToGroup()
211 found = false; in testAddToGroup()
217 found = true; in testAddToGroup()
221 assertTrue(found); in testAddToGroup()
DDatabaseAsserts.java200 boolean found = false; in assertCursorValuesMatchExactly()
205 found = equalsWithExpectedValues(cursor, v, message); in assertCursorValuesMatchExactly()
206 if (found) { in assertCursorValuesMatchExactly()
212 found); in assertCursorValuesMatchExactly()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java105 boolean found = false; in assertPackageUninstalled()
108 found = true; in assertPackageUninstalled()
112 if (!found) { in assertPackageUninstalled()
/cts/tests/tests/net/src/android/net/wifi/cts/
DNsdManagerTest.java388 boolean found = false; in testNDSManager()
405 found = true; in testNDSManager()
415 assertTrue(found); in testNDSManager()
494 found = false; in testNDSManager()
511 found = true; in testNDSManager()
521 assertTrue(found); in testNDSManager()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DHelper.java297 final ViewNode found = findNodeByResourceId(node.getChildAt(i), resourceId); in findNodeByResourceId() local
298 if (found != null) { in findNodeByResourceId()
299 return found; in findNodeByResourceId()
333 final ViewNode found = findNodeByText(node.getChildAt(i), text); in findNodeByText() local
334 if (found != null) { in findNodeByText()
335 return found; in findNodeByText()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java405 boolean found = false; in checkNotificationExistence()
408 found = false; in checkNotificationExistence()
412 found = true; in checkNotificationExistence()
416 if (found == shouldExist) break; in checkNotificationExistence()
423 return found == shouldExist; in checkNotificationExistence()
DServiceTest.java235 StatusBarNotification found = null; in assertNoNotification() local
237 found = null; in assertNoNotification()
241 found = sbn; in assertNoNotification()
245 if (found != null) { in assertNoNotification()
255 + found, found); in assertNoNotification()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java263 boolean found = false; in testVerifyNoMediaCreated()
267 found = true; in testVerifyNoMediaCreated()
273 if (!found) { in testVerifyNoMediaCreated()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java286 boolean found = false;
291 found = true;
295 assertTrue(found);
/cts/tools/cts-test-metrics/
DREADME9 Test metrics json files can be found in $CTS_ROOT/repository/results/$RESULT_DIR/report-log-files/
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerCtsTestsBase.java452 final List<ShortcutInfo> found = getLauncherApps().getShortcuts(q, getUserHandle()); in getIconAsLauncher()
454 assertEquals("Shortcut not found", 1, found.size()); in getIconAsLauncher()
457 ret.set(getLauncherApps().getShortcutBadgedIconDrawable(found.get(0), 0)); in getIconAsLauncher()
459 ret.set(getLauncherApps().getShortcutIconDrawable(found.get(0), 0)); in getIconAsLauncher()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DProcessStatsDumpsysTest.java338 boolean found = false; in getTagValueSum()
348 found = true; in getTagValueSum()
350 assertTrue("Tag '" + tagRegex + "' not found.", found); in getTagValueSum()
/cts/hostsidetests/compilation/src/android/cts/compilation/
DAdbRootDependentCompilationTest.java300 boolean found = matcher.find(); in getOdexFilePath()
301 assertTrue("Malformed spec: " + pathSpec, found); in getOdexFilePath()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecCapabilitiesTest.java483 boolean found = false; in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
486 found = true; in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
492 found); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() local

12