Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DAppPermGroupUiInfoLiveData.kt29 …t com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState in <lambda>()
247 ): PermGrantState { in <lambda>()
250 return PermGrantState.PERMS_ALLOWED in <lambda>()
261 return PermGrantState.PERMS_ALLOWED_ALWAYS in <lambda>()
278 PermGrantState.PERMS_ASK in <lambda>()
280 PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY in <lambda>()
284 PermGrantState.PERMS_ASK in <lambda>()
286 PermGrantState.PERMS_ALLOWED in <lambda>()
290 return PermGrantState.PERMS_DENIED in <lambda>()
293 return PermGrantState.PERMS_ASK in <lambda>()
[all …]
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/ui/model/
DPermissionAppsViewModel.kt36 …t com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState in <lambda>()
154 if (uiInfo.permGrantState == PermGrantState.PERMS_ALLOWED_ALWAYS || in <lambda>()
155 uiInfo.permGrantState == PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY) { in <lambda>()
160 PermGrantState.PERMS_ALLOWED -> Category.ALLOWED in <lambda>()
161 PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY -> Category.ALLOWED_FOREGROUND in <lambda>()
162 PermGrantState.PERMS_ALLOWED_ALWAYS -> Category.ALLOWED in <lambda>()
163 PermGrantState.PERMS_DENIED -> Category.DENIED in <lambda>()
164 PermGrantState.PERMS_ASK -> Category.ASK in <lambda>()
DAppPermissionGroupsViewModel.kt45 …t com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState in <lambda>()
158 PermGrantState.PERMS_ALLOWED -> { in <lambda>()
171 PermGrantState.PERMS_ALLOWED_ALWAYS -> groupGrantStates[ in <lambda>()
174 PermGrantState.PERMS_ALLOWED_FOREGROUND_ONLY -> groupGrantStates[ in <lambda>()
177 PermGrantState.PERMS_DENIED -> groupGrantStates[Category.DENIED]!!.add( in <lambda>()
179 PermGrantState.PERMS_ASK -> groupGrantStates[Category.ASK]!!.add( 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.kt35 …t com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState in <lambda>()
210 val granted = uiInfo.permGrantState != PermGrantState.PERMS_DENIED && in <lambda>()
211 uiInfo.permGrantState != PermGrantState.PERMS_ASK in <lambda>()
DPermissionControllerServiceImpl.java58 … com.android.permissioncontroller.permission.model.livedatatypes.AppPermGroupUiInfo.PermGrantState;
440 uiInfo.getPermGrantState() != PermGrantState.PERMS_DENIED in onGetAppPermissions()
441 && uiInfo.getPermGrantState() != PermGrantState.PERMS_ASK, in onGetAppPermissions()