/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | AttentionManagementVerifierActivity.java | 257 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/ |
D | CtsRootlessGpuDebugHostTest.java | 185 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/ |
D | ApplicationVisibilityCrossUserTest.java | 162 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/ |
D | MediaSessionManagerTest.java | 79 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/ |
D | CameraUtils.java | 141 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/ |
D | DeviceOwnerTest.java | 145 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/ |
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/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioWiredDeviceBaseActivity.java | 45 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/ |
D | LegacyNotificationManager20Test.java | 200 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/ |
D | GnssStatsTests.java | 86 boolean found = false; in testGnssStats() 89 found = true; in testGnssStats() 112 .that(found).isTrue(); in testGnssStats()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/binderstats/ |
D | LooperStatsTests.java | 78 boolean found = false; in testLooperStats() 91 found = true; in testLooperStats() 106 .that(found).isTrue(); in testLooperStats()
|
D | BinderStatsTests.java | 84 boolean found = false; in testBinderStats() 94 found = true; in testBinderStats() 104 .that(found).isTrue(); in testBinderStats()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | RegexUtils.java | 64 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/ |
D | ShortcutManagerDeviceTestBase.java | 102 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/ |
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/tests/tests/contactsprovider/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/time/host/src/android/time/cts/host/ |
D | TimeZoneDetectorStatsTest.java | 89 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/ |
D | RollbackUtils.java | 162 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/ |
D | CpuStatsTests.java | 75 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/ |
D | DeviceTest.java | 132 boolean found = false; in searchAndClick() 140 found=true; in searchAndClick() 151 if(!found) { in searchAndClick()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ |
D | ProcessMemoryStatsTests.java | 78 boolean found = false; in testProcessMemoryState() 84 found = true; in testProcessMemoryState() 94 .that(found).isTrue(); in testProcessMemoryState()
|
/cts/hostsidetests/jvmti/attaching/app/jni/ |
D | cts_agent.cpp | 108 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/ |
D | WriteExternalStorageTest.java | 299 boolean found = false; in testVerifyNoMediaCreated() 303 found = true; in testVerifyNoMediaCreated() 309 if (expectNoMediaFileExists && !found) { in testVerifyNoMediaCreated() 312 } else if (!expectNoMediaFileExists && found) { in testVerifyNoMediaCreated()
|