Home
last modified time | relevance | path

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

12

/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.java208 public boolean found; field in CtsRootlessGpuDebugHostTest.LogScanResult
222 result.found = false; in scanLog()
249 result.found = true; in scanLog()
337 Assert.assertTrue("LayerA was not loaded", resultA.found); in testDebugLayerLoadVulkan()
341 Assert.assertTrue("LayerB was not loaded", resultB.found); in testDebugLayerLoadVulkan()
373 Assert.assertFalse("LayerA was enumerated", resultA.found); in testReleaseLayerLoadVulkan()
403 Assert.assertFalse("LayerA was enumerated", resultA.found); in testDebugNotEnabledVulkan()
433 Assert.assertFalse("LayerA was enumerated", resultA.found); in testDebugWrongAppVulkan()
463 Assert.assertFalse("LayerA was loaded", resultA.found); in testDebugNoLayersEnabledVulkan()
487 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.java149 boolean found = false; in assertBucketTimePresent()
154 found = true; in assertBucketTimePresent()
157 found = true; in assertBucketTimePresent()
160 found); in assertBucketTimePresent()
/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/libs/rollback/src/com/android/cts/rollback/lib/
DUtils.java76 RollbackInfo found = null; in getRollback() local
80 if (found != null) { in getRollback()
83 found = rollback; in getRollback()
88 return found; in getRollback()
/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/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/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.java359 boolean found = false; in testCpuTimePerUid()
363 found = true; in testCpuTimePerUid()
368 assertTrue("found uid " + uid, found); in testCpuTimePerUid()
394 boolean found = false; in testCpuActiveTime()
399 found = true; in testCpuActiveTime()
404 assertTrue("found uid " + uid, found); in testCpuActiveTime()
992 boolean found = false; in testBinderStats()
1003 found = true; in testBinderStats()
1017 assertTrue("Did not find a matching atom for uid " + uid, found); in testBinderStats()
1044 boolean found = false; in testLooperStats()
[all …]
/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.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/incident/src/com/android/server/cts/
DNotificationIncidentTest.java73 boolean found = false; in testNotificationRecords()
76 found = true; in testNotificationRecords()
94 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.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.java365 boolean found = false; in assertAppOrTokenUsed()
369 found = true; in assertAppOrTokenUsed()
373 return found == expected; in assertAppOrTokenUsed()
/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/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/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.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()
/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()

12