Home
last modified time | relevance | path

Searched refs:permissionControllerManager (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DHibernationSwitchPreference.kt47 import com.android.settingslib.spaprivileged.framework.common.permissionControllerManager in <lambda>()
100 private val permissionControllerManager = in isArchivingEnabled() constant
101 context.asUser(app.userHandle).permissionControllerManager in isArchivingEnabled()
121 permissionControllerManager.getHibernationEligibility(app.packageName, executor) { in isArchivingEnabled()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DHibernationSwitchPreferenceTest.kt57 import com.android.settingslib.spaprivileged.framework.common.permissionControllerManager
91 private lateinit var permissionControllerManager: PermissionControllerManager variable in com.android.settings.spa.app.appinfo.HibernationSwitchPreferenceTest
112 whenever(context.permissionControllerManager).thenReturn(permissionControllerManager) in setUp()
128 }.`when`(permissionControllerManager).getHibernationEligibility( in mockHibernationEligibility()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/privacy/
DManageMicPermissionsPreferenceControllerTest.java205 PermissionControllerManager permissionControllerManager = mock( in setupUser() local
208 permissionControllerManager); in setupUser()
209 return permissionControllerManager; in setupUser()
DManageCameraPermissionsPreferenceControllerTest.java205 PermissionControllerManager permissionControllerManager = mock( in setupUser() local
208 permissionControllerManager); in setupUser()
209 return permissionControllerManager; in setupUser()