/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/ |
D | HealthConnectAllAppPermissionFragmentTest.kt | 28 import com.android.compatibility.common.util.UiAutomatorUtils2.waitFindObjectOrNull 77 assertNull(waitFindObjectOrNull(By.text(HEALTH_CONNECT_LABEL), TIMEOUT_SHORT)) in invalidUngrantedUsedHealthConnectPermissionsAreNotListed() 79 waitFindObjectOrNull( in invalidUngrantedUsedHealthConnectPermissionsAreNotListed() 85 waitFindObjectOrNull( in invalidUngrantedUsedHealthConnectPermissionsAreNotListed()
|
D | AppPermissionFragmentTest.kt | 28 import com.android.compatibility.common.util.UiAutomatorUtils2.waitFindObjectOrNull 91 eventually { assertNull(waitFindObjectOrNull(By.text(APP_PERMISSIONS))) } in activityIsClosedWhenUserIsUninstalled() 98 eventually { assertNull(waitFindObjectOrNull(By.text(APP_PERMISSIONS))) } in activityIsClosedWhenDefinerIsUninstalled()
|
D | AllAppPermissionsFragmentTest.kt | 27 import com.android.compatibility.common.util.UiAutomatorUtils2.waitFindObjectOrNull 105 eventually { assertNull(waitFindObjectOrNull(By.text(SECOND_PERM_LABEL), TIMEOUT_SHORT)) } in permissionsAreRemovedWhenAppIsUpdated() 111 eventually { assertNull(waitFindObjectOrNull(By.text(ALL_PERMISSIONS), TIMEOUT_SHORT)) } in activityIsClosedWhenUserIsUninstalled()
|
D | CustomPermissionAppsFragmentTest.kt | 23 import com.android.compatibility.common.util.UiAutomatorUtils2.waitFindObjectOrNull 51 eventually { assertNull(waitFindObjectOrNull(By.text(PERMISSION_APPS_DESCRIPTION))) } in fragmentIsClosedWhenPermissionIsRemoved()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | ReviewAccessibilityServicesTest.kt | 36 import com.android.compatibility.common.util.UiAutomatorUtils2.waitFindObjectOrNull 201 waitFindObjectOrNull(containsWithoutCaseSelector) in findObjectByTextWithoutRetry() 203 waitFindObjectOrNull(containsWithoutCaseSelector, EXPECTED_TIMEOUT_MS) in findObjectByTextWithoutRetry() 230 val view = waitFindObjectOrNull(selector) in findPCObjectByClassAndText()
|
D | BasePermissionTest.kt | 324 protected fun waitFindObjectOrNull(selector: BySelector): UiObject2? { in <lambda>() method in android.permissionui.cts.BasePermissionTest 325 return findObjectWithRetry({ t -> UiAutomatorUtils2.waitFindObjectOrNull(selector, t) }) in <lambda>() 328 protected fun waitFindObjectOrNull(selector: BySelector, timeoutMillis: Long): UiObject2? { in <lambda>() method 330 { t -> UiAutomatorUtils2.waitFindObjectOrNull(selector, t) }, in <lambda>()
|
D | PermissionTest30.kt | 79 waitFindObjectOrNull( in testRequestFgLocationAndNoAccuracyOptions()
|
D | PermissionDecisionsTest.kt | 84 waitFindObjectOrNull( in testAppUninstallRemovesDecision()
|
D | PermissionTapjackingTest.kt | 79 waitFindObjectOrNull(By.text(getPermissionControllerString(ALLOW_ONE_TIME_BUTTON_TEXT))) in testTapjackGrantDialog_partialOverlay()
|
D | SensorBlockedBannerTest.kt | 158 waitFindObjectOrNull(By.text(closePattern), DELAY_MILLIS)?.click() in setSensor()
|
D | CameraMicIndicatorsPermissionTest.kt | 462 val iconView = UiAutomatorUtils2.waitFindObjectOrNull(By.descContains(WEAR_MIC_LABEL)) in <lambda>() 569 val privacyChip = UiAutomatorUtils2.waitFindObjectOrNull(By.res(PRIVACY_CHIP_ID)) in <lambda>()
|
D | EnhancedConfirmationManagerTest.kt | 272 waitFindObjectOrNull(By.res(ALERT_DIALOG_OK_BUTTON), UNEXPECTED_TIMEOUT_MILLIS.toLong()) in assertNoEcmDialogShown()
|
D | PhotoPickerPermissionTest.kt | 137 assertNotNull(waitFindObjectOrNull(By.res(SELECT_BUTTON))) in testAppWithUserSelectedPermShowsSelectOption()
|
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/handheld/ |
D | ManageStandardPermissionsFragmentTest.kt | 32 import com.android.compatibility.common.util.UiAutomatorUtils2.waitFindObjectOrNull 93 waitFindObjectOrNull(By.textContains(ADDITIONAL_PERMISSIONS_LABEL)) ?: return 0 in getAdditionalPermissionCount() 97 waitFindObjectOrNull(By.textContains(ADDITIONAL_PERMISSIONS_SUMMARY)) ?: return 0 in getAdditionalPermissionCount()
|
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 24 import static com.android.compatibility.common.util.UiAutomatorUtils2.waitFindObjectOrNull; 357 UiObject2 cancelButton = waitFindObjectOrNull(NEGATIVE_BUTTON_SELECTOR); in requestRoleAndDenyWithDontAskAgainAndClearDataThenShowsUiWithoutDontAskAgain() 393 UiObject2 cancelButton = waitFindObjectOrNull(NEGATIVE_BUTTON_SELECTOR); in requestRoleAndDenyWithDontAskAgainAndReinstallThenShowsUiWithoutDontAskAgain() 465 : waitFindObjectOrNull(DONT_ASK_AGAIN_TOGGLE_SELECTOR, UNEXPECTED_TIMEOUT_MILLIS); in findDontAskAgainCheck() 807 assertThat(waitFindObjectOrNull(By.text(APP_LABEL), UNEXPECTED_TIMEOUT_MILLIS)) in openDefaultAppListThenIsNotDefaultAppInList()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | UiTestUtils.kt | 165 waitFindObjectOrNull(selector, it.toMillis()) == null in waitNotDisplayed()
|