/cts/tests/tests/security/src/android/security/cts/ |
D | SELinuxTest.java | 48 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/ |
D | CarSensorManagerTest.java | 40 boolean found = false; in testDrivingPolicy() 43 found = true; in testDrivingPolicy() 47 assertTrue(found); in testDrivingPolicy()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | NotificationTest.java | 40 boolean found = false; in testNotificationRecords() 43 found = true; in testNotificationRecords() 59 assertTrue(found); in testNotificationRecords()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | AttentionManagementVerifierActivity.java | 248 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 …]
|
D | NotificationListenerVerifierActivity.java | 235 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/ |
D | FileSystemPermissionTest.java | 48 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/ |
D | README | 21 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/ |
D | ShortcutManagerDeviceTestBase.java | 93 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/ |
D | HeadsetHonorSystemActivity.java | 46 private void recordHeadsetPortFound(boolean found) { in recordHeadsetPortFound() argument 49 found ? 1.0 : 0, in recordHeadsetPortFound()
|
D | AudioLoopbackActivity.java | 334 private void recordHeasetPortFound(boolean found) { in recordHeasetPortFound() argument 337 found ? 1.0 : 0, in recordHeasetPortFound()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_DeletedContacts.java | 68 boolean found = false; in testQuery_returnsProperColumns() 71 found = true; in testQuery_returnsProperColumns() 75 assertTrue(found); in testQuery_returnsProperColumns()
|
D | Contacts_PeopleTest.java | 183 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()
|
D | DatabaseAsserts.java | 200 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/ |
D | HostsideNetworkTestCase.java | 105 boolean found = false; in assertPackageUninstalled() 108 found = true; in assertPackageUninstalled() 112 if (!found) { in assertPackageUninstalled()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | NsdManagerTest.java | 388 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/ |
D | Helper.java | 297 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/ |
D | NotificationManagerTest.java | 405 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()
|
D | ServiceTest.java | 235 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/ |
D | WriteExternalStorageTest.java | 263 boolean found = false; in testVerifyNoMediaCreated() 267 found = true; in testVerifyNoMediaCreated() 273 if (!found) { in testVerifyNoMediaCreated()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverSyncTestCase.java | 286 boolean found = false; 291 found = true; 295 assertTrue(found);
|
/cts/tools/cts-test-metrics/ |
D | README | 9 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/ |
D | ShortcutManagerCtsTestsBase.java | 452 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/ |
D | ProcessStatsDumpsysTest.java | 338 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/ |
D | AdbRootDependentCompilationTest.java | 300 boolean found = matcher.find(); in getOdexFilePath() 301 assertTrue("Malformed spec: " + pathSpec, found); in getOdexFilePath()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecCapabilitiesTest.java | 483 boolean found = false; in testAllNonTunneledVideoCodecsSupportFlexibleYUV() 486 found = true; in testAllNonTunneledVideoCodecsSupportFlexibleYUV() 492 found); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() local
|