Home
last modified time | relevance | path

Searched refs:grantState (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermGroupsPackagesUiInfoLiveData.kt64 private fun isGranted(grantState: AppPermGroupUiInfo.PermGrantState): Boolean { in <lambda>()
65 return grantState != AppPermGroupUiInfo.PermGrantState.PERMS_DENIED && in <lambda>()
66 grantState != AppPermGroupUiInfo.PermGrantState.PERMS_ASK in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java497 @NonNull String packageName, @NonNull String unexpandedPermission, int grantState, in onSetRuntimePermissionGrantStateByDeviceAdmin() argument
500 callerPackageName, packageName, unexpandedPermission, grantState, true))); in onSetRuntimePermissionGrantStateByDeviceAdmin()
516 @NonNull String packageName, @NonNull String unexpandedPermission, int grantState, in onSetRuntimePermissionGrantStateByDeviceAdmin() argument
555 switch (grantState) { in onSetRuntimePermissionGrantStateByDeviceAdmin()
579 app.persistChanges(grantState == PERMISSION_GRANT_STATE_DENIED in onSetRuntimePermissionGrantStateByDeviceAdmin()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DAppPermGroupUiInfo.kt34 enum class PermGrantState(private val grantState: Int) { constant in com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState