Home
last modified time | relevance | path

Searched refs:PermGrantState (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DAppPermGroupUiInfoLiveData.kt30 …t com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState in <lambda>()
260 ): PermGrantState { in <lambda>()
263 return PermGrantState.PERMS_ALLOWED in <lambda>()
279 return PermGrantState.PERMS_ALLOWED_ALWAYS in <lambda>()
315 PermGrantState.PERMS_ASK in <lambda>()
317 PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY in <lambda>()
321 PermGrantState.PERMS_ASK in <lambda>()
323 PermGrantState.PERMS_ALLOWED in <lambda>()
327 return PermGrantState.PERMS_DENIED in <lambda>()
330 return PermGrantState.PERMS_ASK in <lambda>()
[all …]
DPermGroupsPackagesUiInfoLiveData.kt82 private fun isGranted(grantState: AppPermGroupUiInfo.PermGrantState): Boolean { in <lambda>()
83 return grantState != AppPermGroupUiInfo.PermGrantState.PERMS_DENIED && in <lambda>()
84 grantState != AppPermGroupUiInfo.PermGrantState.PERMS_ASK in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v35/
DPackagePermissionsExternalDeviceLiveData.kt54 val permGrantState: AppPermGroupUiInfo.PermGrantState, in <lambda>()
93 private fun getGrantState(permissionState: PermissionState): AppPermGroupUiInfo.PermGrantState = in <lambda>()
95 AppPermGroupUiInfo.PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY in <lambda>()
97 AppPermGroupUiInfo.PermGrantState.PERMS_ASK in <lambda>()
99 AppPermGroupUiInfo.PermGrantState.PERMS_DENIED in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionGroupsViewModel.kt50 …t com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState in <lambda>()
203 PermGrantState.PERMS_ALLOWED -> { in <lambda>()
222 PermGrantState.PERMS_ALLOWED_ALWAYS -> in <lambda>()
226 PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY -> in <lambda>()
230 PermGrantState.PERMS_DENIED -> in <lambda>()
234 PermGrantState.PERMS_ASK -> in <lambda>()
248 PermGrantState.PERMS_ALLOWED -> { in <lambda>()
258 PermGrantState.PERMS_ALLOWED_ALWAYS -> in <lambda>()
267 PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY -> in <lambda>()
276 PermGrantState.PERMS_DENIED -> in <lambda>()
[all …]
DPermissionAppsViewModel.kt51 …t com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState in <lambda>()
240 uiInfo.permGrantState == PermGrantState.PERMS_ALLOWED_ALWAYS || in <lambda>()
241 uiInfo.permGrantState == PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY in <lambda>()
248 PermGrantState.PERMS_ALLOWED -> Category.ALLOWED in <lambda>()
249 PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY -> Category.ALLOWED_FOREGROUND in <lambda>()
250 PermGrantState.PERMS_ALLOWED_ALWAYS -> Category.ALLOWED in <lambda>()
251 PermGrantState.PERMS_DENIED -> Category.DENIED in <lambda>()
252 PermGrantState.PERMS_ASK -> Category.ASK in <lambda>()
DAppPermissionViewModel.kt445 AppPermGroupUiInfo.PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY -> in <lambda>()
447 AppPermGroupUiInfo.PermGrantState.PERMS_ASK -> askState.isChecked = true in <lambda>()
448 AppPermGroupUiInfo.PermGrantState.PERMS_DENIED -> in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DAppPermGroupUiInfo.kt30 val permGrantState: PermGrantState,
34 enum class PermGrantState(private val grantState: Int) { class in com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceModel.kt39 …t com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState in <lambda>()
217 uiInfo.permGrantState != PermGrantState.PERMS_DENIED && in <lambda>()
218 uiInfo.permGrantState != PermGrantState.PERMS_ASK in <lambda>()
DPermissionControllerServiceImpl.java65 … com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState;
452 uiInfo.getPermGrantState() != PermGrantState.PERMS_DENIED in onGetAppPermissions()
453 && uiInfo.getPermGrantState() != PermGrantState.PERMS_ASK, in onGetAppPermissions()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v34/
DAppDataSharingUpdatesViewModel.kt41 …rmissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState.PERMS_ALLOWED_… in <lambda>()
42 …rmissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState.PERMS_ALLOWED_… in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v34/
DSafetyLabelChangesJobService.kt65 …rmissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState.PERMS_ALLOWED_… in <lambda>()
66 …rmissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState.PERMS_ALLOWED_… in <lambda>()