Home
last modified time | relevance | path

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

123

/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java207 public boolean found; field in CtsRootlessGpuDebugHostTest.LogScanResult
221 result.found = false; in scanLog()
248 result.found = true; in scanLog()
336 Assert.assertTrue("LayerA was not loaded", resultA.found); in testDebugLayerLoadVulkan()
340 Assert.assertTrue("LayerB was not loaded", resultB.found); in testDebugLayerLoadVulkan()
372 Assert.assertFalse("LayerA was enumerated", resultA.found); in testReleaseLayerLoadVulkan()
402 Assert.assertFalse("LayerA was enumerated", resultA.found); in testDebugNotEnabledVulkan()
432 Assert.assertFalse("LayerA was enumerated", resultA.found); in testDebugWrongAppVulkan()
462 Assert.assertFalse("LayerA was loaded", resultA.found); in testDebugNoLayersEnabledVulkan()
486 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 …]
DNotificationListenerVerifierActivity.java585 Set<String> found = new HashSet<String>(); in test() local
598 found.add(mTag1); in test()
608 found.add(mTag2); in test()
618 found.add(mTag3); in test()
634 pass &= found.size() >= 3; in test()
664 Set<String> found = new HashSet<>(); in test() local
674 found.add(mTag4); in test()
683 found.add(tag); in test()
699 pass &= found.size() >= 4; in test()
/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/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java209 boolean found = false; in checkNotificationExistence()
212 found = false; in checkNotificationExistence()
217 found = true; in checkNotificationExistence()
221 if (found == shouldExist) break; in checkNotificationExistence()
228 return found == shouldExist; in checkNotificationExistence()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DMetricsUtils.java149 boolean found = false; in assertBucketTimePresent()
154 found = true; in assertBucketTimePresent()
157 found = true; in assertBucketTimePresent()
160 found); in assertBucketTimePresent()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
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()
DContactsContract_DeletedContacts.java68 boolean found = false; in testQuery_returnsProperColumns()
71 found = true; in testQuery_returnsProperColumns()
75 assertTrue(found); in testQuery_returnsProperColumns()
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/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackUtils.java154 RollbackInfo found = null; in getUniqueRollbackInfoForPackage() local
158 assertThat(found).isNull(); in getUniqueRollbackInfoForPackage()
159 found = rollback; in getUniqueRollbackInfoForPackage()
164 return found; in getUniqueRollbackInfoForPackage()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DRegexUtils.java64 boolean found = matcher.find(); in assertFind()
72 if (found && shouldFind) { // failed notContains in assertFind()
78 } else if (!found && !shouldFind) { // failed contains in assertFind()
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/
DShortcutManagerDeviceTestBase.java103 final List<ShortcutInfo> found = getLauncherApps().getShortcuts(q, getUserHandle()); in getIconAsLauncher() local
105 assertEquals("Shortcut not found", 1, found.size()); in getIconAsLauncher()
107 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()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DUidAtomTests.java357 boolean found = false; in testCpuTimePerUid()
361 found = true; in testCpuTimePerUid()
366 assertTrue("found uid " + uid, found); in testCpuTimePerUid()
962 boolean found = false; in testBinderStats()
973 found = true; in testBinderStats()
987 assertTrue("Did not find a matching atom for uid " + uid, found); in testBinderStats()
1014 boolean found = false; in testLooperStats()
1027 found = true; in testLooperStats()
1055 assertTrue("Did not find a matching atom for uid " + uid, found); in testLooperStats()
1086 boolean found = false; in testProcessMemoryState()
[all …]
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DNsdManagerTest.java390 boolean found = false; in testNDSManager()
407 found = true; in testNDSManager()
417 assertTrue(found); in testNDSManager()
496 found = false; in testNDSManager()
513 found = true; in testNDSManager()
523 assertTrue(found); in testNDSManager()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java106 boolean found = false; in assertPackageUninstalled()
109 found = true; in assertPackageUninstalled()
113 if (!found) { in assertPackageUninstalled()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java313 boolean found = false; in testStandbyBucketChangeLog()
319 found |= event.getAppStandbyBucket() == UsageStatsManager.STANDBY_BUCKET_RARE; in testStandbyBucketChangeLog()
323 assertTrue(found); in testStandbyBucketChangeLog()
561 boolean found = false; in testNotificationSeen()
566 found = true; in testNotificationSeen()
569 assertFalse(found); in testNotificationSeen()
577 found = false; in testNotificationSeen()
581 found = true; in testNotificationSeen()
586 assertTrue(found); in testNotificationSeen()
1228 boolean found = false; in assertAppOrTokenUsed()
[all …]
DUsageReportingTest.java367 boolean found = false; in assertAppOrTokenUsed()
371 found = true; in assertAppOrTokenUsed()
375 return found == expected; in assertAppOrTokenUsed()
/cts/hostsidetests/incident/src/com/android/server/cts/
DActivityManagerIncidentTest.java67 boolean found = false; in testDumpBroadcasts()
72 found = true; in testDumpBroadcasts()
78 found = true; in testDumpBroadcasts()
83 assertTrue(found); in testDumpBroadcasts()
DNotificationIncidentTest.java78 boolean found = false; in testNotificationRecords()
81 found = true; in testNotificationRecords()
99 assertTrue(found); in testNotificationRecords()
/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/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/common/device-side/nativetesthelper/jni/
Dgtest_wrapper.cpp225 auto found = gNativeTestNames.find(testNameChars); in Java_com_android_gtestrunner_GtestRunner_nAddTest() local
226 if (found != gNativeTestNames.end()) { in Java_com_android_gtestrunner_GtestRunner_nAddTest()
227 found->second.run = true; in Java_com_android_gtestrunner_GtestRunner_nAddTest()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java306 boolean found = false;
311 found = true;
315 assertTrue(found);
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java275 boolean found = false; in testVerifyNoMediaCreated()
279 found = true; in testVerifyNoMediaCreated()
285 if (!found) { in testVerifyNoMediaCreated()

123