Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 41) 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/hostsidetests/statsd/src/android/cts/statsd/uidmap/
DUidMapTests.java86 boolean found = false; in testChangeFromInstallation()
91 found = true; in testChangeFromInstallation()
94 assertTrue(found); in testChangeFromInstallation()
113 boolean found = false; in testChangeFromReinstall()
118 found = true; in testChangeFromReinstall()
121 assertTrue(found); in testChangeFromReinstall()
139 boolean found = false; in testChangeFromUninstall()
143 found = true; in testChangeFromUninstall()
146 assertTrue(found); in testChangeFromUninstall()
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java139 public boolean found; field in CtsRootlessGpuDebugHostTest.LogScanResult
153 result.found = false; in scanLog()
175 result.found = true; in scanLog()
237 Assert.assertTrue("LayerA was not loaded", resultA.found); in testDebugLayerLoadVulkan()
241 Assert.assertTrue("LayerB was not loaded", resultB.found); in testDebugLayerLoadVulkan()
275 Assert.assertFalse("LayerA was enumerated", resultA.found); in testReleaseLayerLoadVulkan()
307 Assert.assertFalse("LayerA was enumerated", resultA.found); in testDebugNotEnabledVulkan()
339 Assert.assertFalse("LayerA was enumerated", resultA.found); in testDebugWrongAppVulkan()
371 Assert.assertFalse("LayerA was loaded", resultA.found); in testDebugNoLayersEnabledVulkan()
398 Assert.assertFalse("LayerA was enumerated", resultA.found); in testSystemPropertyEnableVulkan()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java266 Set<String> found = new HashSet<String>(); in test() local
277 if (found.contains(tag)) { in test()
281 found.add(ALICE); in test()
284 found.add(BOB); in test()
287 found.add(CHARLIE); in test()
295 pass &= found.size() == 3; in test()
326 Set<String> found = new HashSet<String>(); in test() local
337 if (found.contains(tag)) { in test()
341 found.add(ALICE); in test()
344 found.add(BOB); in test()
[all …]
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DMetricsUtils.java92 boolean found = false; in assertBucketTimePresent()
97 found = true; in assertBucketTimePresent()
100 found = true; in assertBucketTimePresent()
103 found); in assertBucketTimePresent()
/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()
/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/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/backup/src/android/cts/backup/
DBaseBackupHostSideTest.java148 boolean found = false; in assertBackupIsNotAllowed()
155 found = true; in assertBackupIsNotAllowed()
160 assertTrue("Didn't find \'Backup not allowed\' in the output", found); in assertBackupIsNotAllowed()
/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/hostsidetests/jvmti/attaching/app/jni/
Dcts_agent.cpp108 bool found = std::find(gLoadedDescriptors.begin(), gLoadedDescriptors.end(), tmp) != in Java_android_jvmti_JvmtiActivity_didSeeLoadOf() local
110 return found ? JNI_TRUE : JNI_FALSE; in Java_android_jvmti_JvmtiActivity_didSeeLoadOf()
/cts/hostsidetests/incident/src/com/android/server/cts/
DNotificationIncidentTest.java61 boolean found = false; in testNotificationRecords()
64 found = true; in testNotificationRecords()
82 assertTrue(found); in testNotificationRecords()
DActivityManagerIncidentTest.java67 boolean found = false; in testDumpBroadcasts()
72 found = true; in testDumpBroadcasts()
78 found = true; in testDumpBroadcasts()
83 assertTrue(found); in testDumpBroadcasts()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java244 boolean found = false; in testStandbyBucketChangeLog()
250 found |= event.getAppStandbyBucket() == UsageStatsManager.STANDBY_BUCKET_RARE; in testStandbyBucketChangeLog()
254 assertTrue(found); in testStandbyBucketChangeLog()
489 boolean found = false; in testNotificationSeen()
494 found = true; in testNotificationSeen()
497 assertFalse(found); in testNotificationSeen()
505 found = false; in testNotificationSeen()
509 found = true; in testNotificationSeen()
514 assertTrue(found); in testNotificationSeen()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java268 boolean found = false; in testVerifyNoMediaCreated()
272 found = true; in testVerifyNoMediaCreated()
278 if (!found) { in testVerifyNoMediaCreated()
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java368 boolean found = false; in testJoinThreadPool()
371 found = true; in testJoinThreadPool()
375 assertTrue(Arrays.toString(stack), found); in testJoinThreadPool() local
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java304 boolean found = false;
309 found = true;
313 assertTrue(found);
/cts/tests/app/src/android/app/cts/
DServiceTest.java272 StatusBarNotification found = null; in assertNoNotification() local
274 found = null; in assertNoNotification()
278 found = sbn; in assertNoNotification()
282 if (found != null) { in assertNoNotification()
292 + found, found); in assertNoNotification()
/cts/hostsidetests/security/src/android/cts/security/
DFileSystemPermissionTest.java64 String [] found = output.length() > 0 ? output.split("\\s") : new String[0]; in getAllInsecureDevicesInDirAndSubdir() local
65 return new HashSet<String>(Arrays.asList(found)); in getAllInsecureDevicesInDirAndSubdir()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DProcessStatsDumpsysTest.java341 boolean found = false; in getTagValueSum()
351 found = true; in getTagValueSum()
353 assertTrue("Tag '" + tagRegex + "' not found.", found); in getTagValueSum()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerCtsTestsBase.java496 final List<ShortcutInfo> found = getLauncherApps().getShortcuts(q, getUserHandle()); in getIconAsLauncher()
498 assertEquals("Shortcut not found", 1, found.size()); in getIconAsLauncher()
501 ret.set(getLauncherApps().getShortcutBadgedIconDrawable(found.get(0), 0)); in getIconAsLauncher()
503 ret.set(getLauncherApps().getShortcutIconDrawable(found.get(0), 0)); in getIconAsLauncher()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DUidAtomTests.java236 boolean found = false; in testCpuTimePerUid()
240 found = true; in testCpuTimePerUid()
245 assertTrue("found uid " + uid, found); in testCpuTimePerUid()
274 boolean found = false; in testCpuActiveTime()
279 found = true; in testCpuActiveTime()
284 assertTrue("found uid " + uid, found); in testCpuActiveTime()

12