Home
last modified time | relevance | path

Searched refs:permState (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DPermissionUtils.java128 PermissionState permState = in getPackagesWithPermissionGroup() local
130 if (permState == null) { in getPackagesWithPermissionGroup()
134 boolean isUserSensitive = ((permState.mGranted && (permState.mPermissionFlags in getPackagesWithPermissionGroup()
136 || (!permState.mGranted && (permState.mPermissionFlags in getPackagesWithPermissionGroup()
213 PermissionState permState = in getPermissionGroupGrantStatus() local
215 if (permState != null) { in getPermissionGroupGrantStatus()
216 permissionNameToState.put(permissionName, permState); in getPermissionGroupGrantStatus()
230 PermissionState permState = permissionNameToState.valueAt(i); in getPermissionGroupGrantStatus() local
231 if ((permState.mPermissionInfo.backgroundPermission != null)) { in getPermissionGroupGrantStatus()
234 permState.mPermissionInfo.backgroundPermission); in getPermissionGroupGrantStatus()
[all …]
/packages/modules/Permission/tests/cts/permissionmultidevice/src/android/permissionmultidevice/cts/
DAppPermissionsTest.kt260 val permState = getPermState() in verifyAskSelection() constant
261 assertEquals(false, permState[DEVICE_AWARE_PERMISSION]!!.isGranted) in verifyAskSelection()
263 permState[DEVICE_AWARE_PERMISSION]!!.flags and in verifyAskSelection()
287 val permState = getPermState() in verifyDenySelection() constant
288 assertEquals(false, permState[DEVICE_AWARE_PERMISSION]!!.isGranted) in verifyDenySelection()
290 permState[DEVICE_AWARE_PERMISSION]!!.flags and in verifyDenySelection()
314 val permState = getPermState() in verifyAllowedSelection() constant
315 assertEquals(true, permState[DEVICE_AWARE_PERMISSION]!!.isGranted) in verifyAllowedSelection()
317 permState[DEVICE_AWARE_PERMISSION]!!.flags and in verifyAllowedSelection()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DAutoRevokedPackagesLiveData.kt111 addSource(permStateLiveData) { permState -> in <lambda>() method
113 if (permState == null && permStateLiveData.isInitialized) { in <lambda>()
116 } else if (permState != null) { in <lambda>()
117 for ((_, state) in permState) { in <lambda>()
DHibernationSettingStateLiveData.kt112 liveData.value?.any { (_, permState) -> in <lambda>() method
113 permState.permFlags and in <lambda>()
DLightAppPermGroupLiveData.kt117 for ((permName, permState) in permStates) { in <lambda>() constant
121 LightPermission(packageInfo, permInfo, permState, foregroundPerms) in <lambda>()
DAppPermGroupUiInfoLiveData.kt269 for ((permName, permState) in permissionState) { in <lambda>() variable
284 permState.permFlags and PackageManager.FLAG_PERMISSION_USER_FIXED != 0 in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPermission.kt48 permState: PermState,
50 ) : this(pkgInfo, permInfo, permState.granted, permState.permFlags, foregroundPerms)
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DBackupHelper.java595 BackupPermissionState permState = fromPermission(perms.get(i), in fromPermissionGroup() local
597 if (permState != null) { in fromPermissionGroup()
598 permissionsToRestore.add(permState); in fromPermissionGroup()