Home
last modified time | relevance | path

Searched refs:getAdmin (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DClickableDisabledSwitchPreference.java106 setAppearDisabled(prefState.getAdmin() != null); in setupState()
109 viewModel.handlePrefClick(fragment, prefType, prefState.getAdmin()); in setupState()
113 if (prefState.getAdmin() != null && prefState.getChecked()) { in setupState()
115 } else if (prefState.getAdmin() != null) { in setupState()
DSafetyCenterQsFragment.java656 ? sensorStates.get(groupName).getAdmin()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/
DReviewPermissionsViewModelTest.kt130 doReturn(admin).`when`(spyViewModel).getAdmin(context, permGroup) in getSummary_foregroundFixedPolicy()
156 doReturn(admin).`when`(spyViewModel).getAdmin(context, permGroup) in getSummary_backgroundFixedPolicy_foregroundRequested()
182 doReturn(admin).`when`(spyViewModel).getAdmin(context, permGroup) in getSummary_backgroundFixedPolicy()
209 doReturn(admin).`when`(spyViewModel).getAdmin(context, permGroup) in getSummary_fullyFixedPolicy_hasForegroundGroup()
233 doReturn(admin).`when`(spyViewModel).getAdmin(context, permGroup) in getSummary_fullyFixedPolicy_hasBackgroundGroup()
252 doReturn(admin).`when`(spyViewModel).getAdmin(context, permGroup) in getSummary_fullyFixedPolicy_hasNoBackgroundGroup()
272 doReturn(admin).`when`(spyViewModel).getAdmin(context, permGroup) in getSummary_ForegroundDisabledByPolicy()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DReviewPermissionsViewModel.kt198 val admin = getAdmin(context, permGroup) in <lambda>()
292 fun getAdmin(context: Context, mGroup: LightAppPermGroup): EnforcedAdmin? { in <lambda>() method
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java152 EnforcedAdmin admin = mViewModel.getAdmin(getContext(), mGroup); in updateUi()
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt237 …android.car.user.UserCreationRequest does not declare a `getAdmin()` method matching method androi…