Searched refs:getAdmin (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | ClickableDisabledSwitchPreference.java | 106 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()
|
D | SafetyCenterQsFragment.java | 656 ? sensorStates.get(groupName).getAdmin()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/ |
D | ReviewPermissionsViewModelTest.kt | 130 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/ |
D | ReviewPermissionsViewModel.kt | 198 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/ |
D | PermissionPreference.java | 152 EnforcedAdmin admin = mViewModel.getAdmin(getContext(), mGroup); in updateUi()
|
/packages/services/Car/car-lib/api/ |
D | system-lint-baseline.txt | 237 …android.car.user.UserCreationRequest does not declare a `getAdmin()` method matching method androi…
|