/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | GrantPermissionsViewModel.kt | 390 if (groupState.group.isOneTime) { in <lambda>() 432 if (coarseLocationPerm.isOneTime) { in <lambda>() 436 if (coarseLocationPerm?.isOneTime == false && in <lambda>() 768 affectedForegroundPermissions, granted = true, isOneTime = false, in <lambda>() 773 affectedForegroundPermissions, granted = true, isOneTime = false, in <lambda>() 780 affectedForegroundPermissions, granted = true, isOneTime = false, in <lambda>() 785 affectedForegroundPermissions, granted = false, isOneTime = false, in <lambda>() 792 affectedForegroundPermissions, granted = true, isOneTime = true, in <lambda>() 797 affectedForegroundPermissions, granted = false, isOneTime = true, in <lambda>() 804 affectedForegroundPermissions, granted = false, isOneTime = false, in <lambda>() [all …]
|
D | AppPermissionViewModel.kt | 229 askOneTimeState.isShown = group.foreground.isGranted && group.isOneTime in <lambda>() 231 !(group.foreground.isGranted && group.isOneTime) in <lambda>() 244 !group.background.isGranted && !group.isOneTime in <lambda>() 245 askState.isChecked = !group.foreground.isGranted && group.isOneTime in <lambda>() 246 askOneTimeState.isChecked = group.foreground.isGranted && group.isOneTime in <lambda>() 248 deniedState.isChecked = !group.foreground.isGranted && !group.isOneTime in <lambda>() 272 askState.isChecked = !group.foreground.isGranted && group.isOneTime in <lambda>() 273 askOneTimeState.isChecked = group.foreground.isGranted && group.isOneTime in <lambda>() 275 deniedState.isChecked = !group.foreground.isGranted && !group.isOneTime in <lambda>() 498 if (!group.isOneTime) { in <lambda>() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | KotlinUtils.kt | 467 isOneTime: Boolean = false in <lambda>() 469 return grantRuntimePermissions(app, group, false, isOneTime, filterPermissions) in <lambda>() 498 isOneTime: Boolean = false, in <lambda>() 501 val wasOneTime = group.isOneTime in <lambda>() 508 val (newPerm, shouldKill) = grantRuntimePermission(app, perm, isOneTime, group) in <lambda>() 521 if (newGroup.permissions.any { it.value.isOneTime && it.value.isGrantedIncludingAppOp }) { in <lambda>() 544 isOneTime: Boolean, in <lambda>() 597 newFlags = if (isOneTime) { in <lambda>() 689 val wasOneTime = group.isOneTime in <lambda>() 733 if (group?.isOneTime == true) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/ |
D | LightAppPermGroup.kt | 124 val isOneTime = (permGroupName != Manifest.permission_group.LOCATION && in <lambda>() constant 125 permissions.any { it.value.isOneTime }) || in <lambda>() 127 permissions[ACCESS_COARSE_LOCATION]?.isOneTime == true) in <lambda>()
|
D | LightPermission.kt | 71 val isOneTime = flags and PackageManager.FLAG_PERMISSION_ONE_TIME != 0 constant 118 if (isOneTime) append(", OneTime") in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | AppPermGroupUiInfoLiveData.kt | 269 val isOneTime = permissionState.any { in <lambda>() constant 277 return if (isOneTime) { in <lambda>() 283 return if (isOneTime) { in <lambda>() 292 if (isOneTime) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 1161 public void setOneTime(boolean isOneTime) { 1166 permission.setOneTime(isOneTime); 1301 public boolean isOneTime() { 1305 if (permission.isOneTime()) { 1438 | (permission.isOneTime() ? PackageManager.FLAG_PERMISSION_ONE_TIME : 0); 1477 if (isOneTime() && areRuntimePermissionsGranted()) {
|
D | Permission.java | 260 public boolean isOneTime() { in isOneTime() method in Permission
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceImpl.java | 655 if (group != null && group.isOneTime()) { in onOneTimePermissionSessionTimeout() 665 .filter(Permission::isOneTime).filter(Permission::isGranted) in onOneTimePermissionSessionTimeout()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | PermissionAppsFragment.java | 208 app.areRuntimePermissionsGranted() && !app.getPermissionGroup().isOneTime(); in updateCategories()
|
D | AppPermissionsFragment.java | 393 if (group.isOneTime()) { in setPreferencesCheckedState()
|