Home
last modified time | relevance | path

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

123

/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java257 Set<String> found = new HashSet<String>(); in test() local
268 if (found.contains(tag)) { in test()
272 found.add(ALICE); in test()
275 found.add(BOB); in test()
278 found.add(CHARLIE); in test()
286 pass &= found.size() == 3; in test()
317 Set<String> found = new HashSet<String>(); in test() local
328 if (found.contains(tag)) { in test()
332 found.add(ALICE); in test()
335 found.add(BOB); in test()
[all …]
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java185 Assert.assertTrue(layerName + " was not loaded", result.found); in assertVkLayerLoading()
187 Assert.assertFalse(layerName + " was loaded", result.found); in assertVkLayerLoading()
198 Assert.assertTrue(layerName + " was not enumerated", result.found); in assertVkLayerEnumeration()
200 Assert.assertFalse(layerName + " was enumerated", result.found); in assertVkLayerEnumeration()
210 …ertTrue(extensionName + "with spec version: " + specVersion + " was not advertised", result.found); in assertVkExtension()
217 public boolean found; field in CtsRootlessGpuDebugHostTest.LogScanResult
231 result.found = false; in scanLog()
258 result.found = true; in scanLog()
359 Assert.assertTrue("LayerA was not loaded", resultA.found); in testDebugLayerLoadVulkan()
363 Assert.assertTrue("LayerB was not loaded", resultB.found); in testDebugLayerLoadVulkan()
[all …]
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/
DApplicationVisibilityCrossUserTest.java162 boolean found = false; in testGetPackagesForUidVisibility_currentUser()
164 found = isAppInPackageNamesArray(TINY_PKG, pm.getPackagesForUid(appUid)); in testGetPackagesForUidVisibility_currentUser()
165 if (found) break; in testGetPackagesForUidVisibility_currentUser()
167 assertFalse(found); in testGetPackagesForUidVisibility_currentUser()
174 boolean found = false; in testGetPackagesForUidVisibility_anotherUserCrossUserGrant()
177 found = isAppInPackageNamesArray(TINY_PKG, pm.getPackagesForUid(appUid)); in testGetPackagesForUidVisibility_anotherUserCrossUserGrant()
178 if (found) break; in testGetPackagesForUidVisibility_anotherUserCrossUserGrant()
180 assertTrue(found); in testGetPackagesForUidVisibility_anotherUserCrossUserGrant()
/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/
DMediaSessionManagerTest.java79 boolean found = false; in testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper()
83 if (found) { in testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper()
86 found = true; in testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper()
89 if (!found) { in testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper()
/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java141 boolean found = false; in matchParametersToCharacteristics()
144 found = true; in matchParametersToCharacteristics()
148 return found; in matchParametersToCharacteristics()
185 boolean found = false; in isExternal()
189 found = true; in isExternal()
193 if (!found) { in isExternal()
/cts/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/
DDeviceOwnerTest.java145 boolean found = null != mDevice.wait(Until.findObject(By.text(mWorkPolicyInfoText)), in launchPrivacyAndCheckWorkPolicyInfo()
149 if (!found) { in launchPrivacyAndCheckWorkPolicyInfo()
154 found = scroller.scrollTextIntoView(mWorkPolicyInfoText); in launchPrivacyAndCheckWorkPolicyInfo()
158 Log.d(TAG, "Message found: " + found); in launchPrivacyAndCheckWorkPolicyInfo()
159 return found; in launchPrivacyAndCheckWorkPolicyInfo()
/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/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioWiredDeviceBaseActivity.java45 private void recordWiredPortFound(boolean found) { in recordWiredPortFound() argument
48 found ? 1.0 : 0, in recordWiredPortFound()
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java200 boolean found = false; in checkNotificationExistence()
203 found = false; in checkNotificationExistence()
208 found = true; in checkNotificationExistence()
212 if (found == shouldExist) break; in checkNotificationExistence()
219 return found == shouldExist; in checkNotificationExistence()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/gnss/
DGnssStatsTests.java86 boolean found = false; in testGnssStats()
89 found = true; in testGnssStats()
112 .that(found).isTrue(); in testGnssStats()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/binderstats/
DLooperStatsTests.java78 boolean found = false; in testLooperStats()
91 found = true; in testLooperStats()
106 .that(found).isTrue(); in testLooperStats()
DBinderStatsTests.java84 boolean found = false; in testBinderStats()
94 found = true; in testBinderStats()
104 .that(found).isTrue(); in testBinderStats()
/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.java102 final List<ShortcutInfo> found = getLauncherApps().getShortcuts(q, getUserHandle()); in getIconAsLauncher() local
104 assertEquals("Shortcut not found", 1, found.size()); in getIconAsLauncher()
106 return getLauncherApps().getShortcutIconDrawable(found.get(0), 0); in getIconAsLauncher()
/cts/hostsidetests/security/src/android/security/cts/
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/tests/tests/contactsprovider/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/time/host/src/android/time/cts/host/
DTimeZoneDetectorStatsTest.java89 boolean found = false; in testAtom_TimeZoneDetectorState()
141 found = true; in testAtom_TimeZoneDetectorState()
146 .that(found).isTrue(); in testAtom_TimeZoneDetectorState()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackUtils.java162 RollbackInfo found = null; in getUniqueRollbackInfoForPackage() local
166 assertThat(found).isNull(); in getUniqueRollbackInfoForPackage()
167 found = rollback; in getUniqueRollbackInfoForPackage()
172 return found; in getUniqueRollbackInfoForPackage()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/cpu/
DCpuStatsTests.java75 boolean found = false; in testCpuTimePerUid()
81 found = true; in testCpuTimePerUid()
83 assertWithMessage("Found no CpuTimePerUid atoms from uid " + appUid).that(found).isTrue(); in testCpuTimePerUid()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0481/src/android/security/cts/CVE_2021_0481/
DDeviceTest.java132 boolean found = false; in searchAndClick()
140 found=true; in searchAndClick()
151 if(!found) { in searchAndClick()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/
DProcessMemoryStatsTests.java78 boolean found = false; in testProcessMemoryState()
84 found = true; in testProcessMemoryState()
94 .that(found).isTrue(); in testProcessMemoryState()
/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/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java299 boolean found = false; in testVerifyNoMediaCreated()
303 found = true; in testVerifyNoMediaCreated()
309 if (expectNoMediaFileExists && !found) { in testVerifyNoMediaCreated()
312 } else if (!expectNoMediaFileExists && found) { in testVerifyNoMediaCreated()

123