Home
last modified time | relevance | path

Searched refs:restrictionIntent (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/
DWearRoleApplicationPreference.kt33 private var restrictionIntent: Intent? = null variable
36 restrictionIntent?.let { { _ -> context.startActivity(it) } } ?: onDefaultCheckChanged in getOnCheckChanged()
38 override fun setRestrictionIntent(restrictionIntent: Intent?) { in setRestrictionIntent()
39 this.restrictionIntent = restrictionIntent in setRestrictionIntent()
40 setEnabled(restrictionIntent == null) in setRestrictionIntent()
DWearRolePreference.kt31 private var restrictionIntent: Intent? = null variable
38 override fun setRestrictionIntent(restrictionIntent: Intent?) { in setRestrictionIntent()
39 this.restrictionIntent = restrictionIntent in setRestrictionIntent()
40 setEnabled(restrictionIntent == null) in setRestrictionIntent()
46 restrictionIntent?.let { { context.startActivity(it) } } ?: onDefaultClicked in asPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleActivity.java162 Intent restrictionIntent = role.getApplicationRestrictionIntentAsUser(applicationInfo, in onCreate() local
164 if (restrictionIntent != null) { in onCreate()
165 if (Objects.equals(restrictionIntent.getAction(), in onCreate()
176 restrictionIntent.putExtra(EXTRA_IS_ECM_IN_APP, true); in onCreate()
178 startActivity(restrictionIntent); in onCreate()
DRestrictionAwarePreferenceMixin.java46 public void setRestrictionIntent(@Nullable Intent restrictionIntent) { in setRestrictionIntent() argument
47 mRestrictionIntent = restrictionIntent; in setRestrictionIntent()
DRestrictionAwarePreference.java31 void setRestrictionIntent(@Nullable Intent restrictionIntent); in setRestrictionIntent() argument
DRequestRoleFragment.java534 Intent restrictionIntent = mRole.getApplicationRestrictionIntentAsUser( in onItemClicked() local
536 if (restrictionIntent != null) { in onItemClicked()
537 mListView.getContext().startActivity(restrictionIntent); in onItemClicked()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/
DHandheldRadioPreference.java59 public void setRestrictionIntent(@Nullable Intent restrictionIntent) { in setRestrictionIntent() argument
60 mRestrictionAwarePreferenceMixin.setRestrictionIntent(restrictionIntent); in setRestrictionIntent()
DHandheldRolePreference.java97 public void setRestrictionIntent(@Nullable Intent restrictionIntent) { in setRestrictionIntent() argument
98 mRestrictionAwarePreferenceMixin.setRestrictionIntent(restrictionIntent); in setRestrictionIntent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/auto/
DAutoRadioPreference.java63 public void setRestrictionIntent(@Nullable Intent restrictionIntent) { in setRestrictionIntent() argument
64 mRestrictionAwarePreferenceMixin.setRestrictionIntent(restrictionIntent); in setRestrictionIntent()
DAutoSwitchPreference.java61 public void setRestrictionIntent(@Nullable Intent restrictionIntent) { in setRestrictionIntent() argument
62 mRestrictionAwarePreferenceMixin.setRestrictionIntent(restrictionIntent); in setRestrictionIntent()
DAutoRolePreference.java65 public void setRestrictionIntent(@Nullable Intent restrictionIntent) { in setRestrictionIntent() argument
66 mRestrictionAwarePreferenceMixin.setRestrictionIntent(restrictionIntent); in setRestrictionIntent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/handheld/
DHandheldSwitchPreference.java59 public void setRestrictionIntent(@Nullable Intent restrictionIntent) { in setRestrictionIntent() argument
60 mRestrictionAwarePreferenceMixin.setRestrictionIntent(restrictionIntent); in setRestrictionIntent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt689 val restrictionIntent = in <lambda>() constant
697 fragment.startActivity(restrictionIntent) in <lambda>()