Home
last modified time | relevance | path

Searched refs:isGrantedIncludingAppOp (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt126 permissions.none { !it.value.isOneTime && it.value.isGrantedIncludingAppOp }) || in <lambda>()
172 val isGranted = specialLocationGrant ?: permissions.any { it.value.isGrantedIncludingAppOp } in <lambda>()
184 it.value.isGrantedIncludingAppOp && !it.value.isRevokeWhenRequested in <lambda>()
187 it.value.isGrantedIncludingAppOp && it.value.isRevokeWhenRequested in <lambda>()
199 permissions.none { it.value.isGrantedIncludingAppOp && !it.value.isOneTime } in <lambda>()
DLightPermission.kt40 val isGrantedIncludingAppOp: Boolean, constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPermission
101 (isGrantedIncludingAppOp &&
103 (!isGrantedIncludingAppOp &&
128 if (isGrantedIncludingAppOp) append(", Granted") else append(", NotGranted") in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/grantPermissions/
DStorageGrantBehavior.kt69 if (userSelectedPerm?.isUserFixed == true && userSelectedPerm.isGrantedIncludingAppOp) { in getPrompt()
73 if (userSelectedPerm?.isGrantedIncludingAppOp == true) { in getPrompt()
100 it.name !in getPartialGrantPermissions(group) && it.isGrantedIncludingAppOp in isGroupFullyGranted()
108 userSelectedPerm.isGrantedIncludingAppOp && in isPermissionFixed()
DLocationGrantBehavior.kt41 group.permissions[ACCESS_COARSE_LOCATION]?.isGrantedIncludingAppOp == true in getPrompt()
87 return group.permissions[ACCESS_FINE_LOCATION]?.isGrantedIncludingAppOp == true in isForegroundFullyGranted()
DHealthGrantBehavior.kt50 return requestedPerms.all { group.permissions[it]?.isGrantedIncludingAppOp != false } in isGroupFullyGranted()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt774 perm.isGrantedIncludingAppOp, in <lambda>()
907 if (newGroup.permissions.any { it.value.isOneTime && it.value.isGrantedIncludingAppOp }) { in <lambda>()
969 var isGranted = perm.isGrantedIncludingAppOp in <lambda>()
977 if (!perm.isGrantedIncludingAppOp) { in <lambda>()
1046 if (!perm.isGrantedIncludingAppOp && isGranted) { in <lambda>()
1050 triggerLocationAccessCheck = bgPerm?.isGrantedIncludingAppOp == true in <lambda>()
1053 triggerLocationAccessCheck = fgPerm?.isGrantedIncludingAppOp == true in <lambda>()
1292 var isGranted = perm.isGrantedIncludingAppOp in <lambda>()
1302 if (perm.isGrantedIncludingAppOp || (perm.isCompatRevoked && forceRemoveRevokedCompat)) { in <lambda>()
1366 if (perm.isGrantedIncludingAppOp && !isGranted) { in <lambda>()
[all …]
DSafetyNetLogger.java98 builder.append(permission.isGrantedIncludingAppOp()).append('|'); in buildChangedPermissionForGroup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java790 boolean isGranted = includingAppOp ? permission.isGrantedIncludingAppOp()
945 boolean wasGranted = permission.isGrantedIncludingAppOp();
1023 if (!wasGranted && permission.isGrantedIncludingAppOp()) {
1027 if (bgPerm.isGrantedIncludingAppOp()) {
1039 if (fgPerm.isGrantedIncludingAppOp()) {
1139 boolean wasGranted = permission.isGrantedIncludingAppOp();
1200 if (wasGranted && !permission.isGrantedIncludingAppOp()) {
1204 if (!bgPerm.isGrantedIncludingAppOp()) {
1215 if (!fgPerm.isGrantedIncludingAppOp()) {
DPermission.java139 public boolean isGrantedIncludingAppOp() { in isGrantedIncludingAppOp() method in Permission
236 if (isGrantedIncludingAppOp()) { in isUserSensitive()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt730 fineLocation.isGrantedIncludingAppOp || coarseLocation.isGrantedIncludingAppOp in <lambda>()
732 fineLocation.isGrantedIncludingAppOp in <lambda>()
1385 val numRevoked = group.permissions.filter { !it.value.isGrantedIncludingAppOp }.size in <lambda>()
1457 permission.isGrantedIncludingAppOp != newPermission.isGrantedIncludingAppOp || in <lambda>()
1465 newPermission.isGrantedIncludingAppOp in <lambda>()
1495 permission.isGrantedIncludingAppOp, in <lambda>()
1505 permission.isGrantedIncludingAppOp + in <lambda>()
1547 it.name in partialPerms || (it.name !in partialPerms && !it.isGrantedIncludingAppOp) in <lambda>()
DReviewPermissionsViewModel.kt136 if (!lightPerms[i].isGrantedIncludingAppOp) { in <lambda>()
DGrantPermissionsViewModel.kt341 appPermGroup.permissions[perm]?.isGrantedIncludingAppOp == true && in <lambda>()
595 if (group.permissions[perm]?.isGrantedIncludingAppOp == false) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt495 perm.isGrantedIncludingAppOp, in <lambda>()
572 !perm.isGrantedIncludingAppOp in <lambda>()
673 perm.isGrantedIncludingAppOp, in <lambda>()
DAutoRevokePermissions.kt135 perm.isGrantedIncludingAppOp && perm.name !in AUTO_REVOKE_EXEMPT_PERMISSIONS in <lambda>()
DPermissionControllerServiceImpl.java270 if (perm.isGrantedIncludingAppOp()) { in revokePermissionGroups()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/legacy/
DLegacySafetyNetLogger.java108 builder.append(permission.isGrantedIncludingAppOp()).append('|'); in buildChangedPermissionForGroup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DReviewPermissionsFragment.java270 permission.getName(), permission.isGrantedIncludingAppOp()); in logReviewPermissionsFragmentResult()
274 + permission.getName() + " granted=" + permission.isGrantedIncludingAppOp()); in logReviewPermissionsFragmentResult()
DAllAppPermissionsFragment.java298 if (!current.isGrantedIncludingAppOp()) { in MyMultiTargetSwitchPreference()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/
DReviewPermissionsViewModelTest.kt107 whenever(permission1.isGrantedIncludingAppOp).thenReturn(true) in getSummary_individuallyControllerGroup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java338 if (!current.isGrantedIncludingAppOp()) { in MyMultiTargetSwitchPreference()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/
DGrantRevokeTests.kt295 .that(perms[permName]?.isGrantedIncludingAppOp) in assertGroupPermState()