Searched refs:permState (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/ |
D | PermissionUtils.java | 128 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/ |
D | AppPermissionsTest.kt | 260 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/ |
D | AutoRevokedPackagesLiveData.kt | 111 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>()
|
D | HibernationSettingStateLiveData.kt | 112 liveData.value?.any { (_, permState) -> in <lambda>() method 113 permState.permFlags and in <lambda>()
|
D | LightAppPermGroupLiveData.kt | 117 for ((permName, permState) in permStates) { in <lambda>() constant 121 LightPermission(packageInfo, permInfo, permState, foregroundPerms) in <lambda>()
|
D | AppPermGroupUiInfoLiveData.kt | 269 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/ |
D | LightPermission.kt | 48 permState: PermState, 50 ) : this(pkgInfo, permInfo, permState.granted, permState.permFlags, foregroundPerms)
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | BackupHelper.java | 595 BackupPermissionState permState = fromPermission(perms.get(i), in fromPermissionGroup() local 597 if (permState != null) { in fromPermissionGroup() 598 permissionsToRestore.add(permState); in fromPermissionGroup()
|