Home
last modified time | relevance | path

Searched refs:dontAskAgainCheck (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleManagerTest.java286 UiObject2 dontAskAgainCheck = findDontAskAgainCheck(false); in requestRoleFirstTimeNoDontAskAgain() local
288 assertThat(dontAskAgainCheck).isNull(); in requestRoleFirstTimeNoDontAskAgain()
300 UiObject2 dontAskAgainCheck = findDontAskAgainCheck(); in requestRoleAndDenyThenHasDontAskAgain() local
302 assertThat(dontAskAgainCheck).isNotNull(); in requestRoleAndDenyThenHasDontAskAgain()
362 UiObject2 dontAskAgainCheck = findDontAskAgainCheck(false); in requestRoleAndDenyWithDontAskAgainAndClearDataThenShowsUiWithoutDontAskAgain()
364 assertThat(dontAskAgainCheck).isNull(); in requestRoleAndDenyWithDontAskAgainAndClearDataThenShowsUiWithoutDontAskAgain()
398 UiObject2 dontAskAgainCheck = findDontAskAgainCheck(false); in requestRoleAndDenyWithDontAskAgainAndReinstallThenShowsUiWithoutDontAskAgain()
400 assertThat(dontAskAgainCheck).isNull(); in requestRoleAndDenyWithDontAskAgainAndReinstallThenShowsUiWithoutDontAskAgain()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleFragment.java171 CheckBox dontAskAgainCheck = viewLayout.requireViewById(R.id.dont_ask_again); in onCreateDialog() local
174 dontAskAgainCheck.setVisibility(isDeniedOnce ? View.VISIBLE : View.GONE); in onCreateDialog()
176 mDontAskAgainCheck = dontAskAgainCheck; in onCreateDialog()