/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | AppPermGroupUiInfoLiveData.kt | 57 private val permGroupName: String, in <lambda>() constant in com.android.permissioncontroller.permission.data.AppPermGroupUiInfoLiveData 63 private val permGroupLiveData = PermGroupLiveData[permGroupName] in <lambda>() 64 private val permissionStateLiveData = PermStateLiveData[packageName, permGroupName, user] in <lambda>() 65 private val isStorage = permGroupName == STORAGE in <lambda>() 66 private val isHealth = Utils.isHealthPermissionGroup(permGroupName) in <lambda>() 70 LocationUtils.isLocationGroupAndProvider(app, permGroupName, packageName) || in <lambda>() 73 permGroupName, in <lambda>() 98 invalidateSingle(Triple(packageName, permGroupName, user)) in <lambda>() 208 if (!isPlatformPermissionGroup(permGroupName)) { in <lambda>() 341 if (LocationUtils.isLocationGroupAndProvider(userContext, permGroupName, packageName)) { in <lambda>() [all …]
|
D | SinglePermGroupPackagesUiInfoLiveData.kt | 34 private constructor(private val app: Application, private val permGroupName: String) : in <lambda>() constant in com.android.permissioncontroller.permission.data.SinglePermGroupPackagesUiInfoLiveData 37 private val permGroupLiveData = PermGroupLiveData[permGroupName] in <lambda>() 39 !PermissionMapping.getPlatformPermissionGroups().contains(permGroupName) in <lambda>() 53 invalidateSingle(permGroupName) in <lambda>() 62 val thisPermGroupPackages = permGroupPackagesLiveData.value?.get(permGroupName) in <lambda>() 74 AppPermGroupUiInfoLiveData[key.first, permGroupName, key.second] in <lambda>()
|
D | LightAppPermGroupLiveData.kt | 47 private val permGroupName: String, in <lambda>() constant in com.android.permissioncontroller.permission.data.LightAppPermGroupLiveData 55 private val permStateLiveData = PermStateLiveData[packageName, permGroupName, user, deviceId] in <lambda>() 56 private val permGroupLiveData = PermGroupLiveData[permGroupName] in <lambda>() 62 LocationUtils.isLocationGroupAndProvider(app, permGroupName, packageName) || in <lambda>() 65 permGroupName, in <lambda>() 71 val key = KotlinUtils.Quadruple(packageName, permGroupName, user, deviceId) in <lambda>() 127 if (LocationUtils.isLocationGroupAndProvider(userContext, permGroupName, packageName)) { in <lambda>() 130 LocationUtils.isLocationGroupAndControllerExtraPackage(app, permGroupName, packageName) in <lambda>()
|
D | PermStateLiveData.kt | 45 private val permGroupName: String, in <lambda>() constant in com.android.permissioncontroller.permission.data.PermStateLiveData 59 private val groupLiveData = PermGroupLiveData[permGroupName] in <lambda>() 85 invalidateSingle(KotlinUtils.Quadruple(packageName, permGroupName, user, deviceId)) in <lambda>()
|
D | PermGroupUsageLiveData.kt | 75 .map { (permGroupName, usageLiveData) -> in <lambda>() method 88 permGroupName to lastAccess.values.toList() in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AppPermissionViewModel.kt | 112 private val permGroupName: String, in <lambda>() constant in com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel 170 permGroupName == Manifest.permission_group.STORAGE && !SdkLevel.isAtLeastT() in <lambda>() 197 PermissionMapping.isSafetyLabelAwarePermissionGroup(permGroupName) in <lambda>() 219 permGroupName in <lambda>() 239 val sensor = Utils.getSensorCode(permGroupName) in <lambda>() 240 val isLocation = LOCATION.equals(permGroupName) in <lambda>() 241 val isCamera = CAMERA.equals(permGroupName) in <lambda>() 370 LightAppPermGroupLiveData[packageName, permGroupName, user] in <lambda>() 379 if (permGroupName in PermissionMapping.STORAGE_SUPERGROUP_PERMISSIONS) { in <lambda>() 380 onMediaPermGroupUpdate(permGroupName, appPermGroup) in <lambda>() [all …]
|
D | ReviewPermissionsViewModel.kt | 66 val getPermGroupLiveData = { permGroupName: String -> in <lambda>() method 67 LightAppPermGroupLiveData[packageInfo.packageName, permGroupName, mUser] in <lambda>() 83 .associateBy { it.permGroupName } in <lambda>() 102 !PermissionMapping.isPlatformPermissionGroup(group.permGroupName)) in <lambda>()
|
D | GrantPermissionsViewModel.kt | 399 groupState.group.permGroupName in <lambda>() 479 val oldGroupState = groupStates[group.permGroupName] in <lambda>() 485 val groupState = newGroupStates.getOrPut(group.permGroupName) { GroupState(group) } in <lambda>() 489 currGroupState = storedState.getInt(group.permGroupName, STATE_UNKNOWN) in <lambda>() 807 groupState.group.permGroupName, in <lambda>() 964 groupState.group.permGroupName, in <lambda>() 970 startDrivingDecisionReminderServiceIfNecessary(groupState.group.permGroupName) in <lambda>() 978 private fun startDrivingDecisionReminderServiceIfNecessary(permGroupName: String) { in <lambda>() 985 permGroupName in <lambda>() 1263 return when (group.permGroupName) { in <lambda>()
|
D | PermissionAppsViewModel.kt | 434 permGroupName: String, in <lambda>() 454 permGroupName, in <lambda>() 465 permGroupName + in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearPermissionAppsFragment.kt | 65 val permGroupName = in <lambda>() constant 72 !SdkLevel.isAtLeastT() && permGroupName == Manifest.permission_group.STORAGE in <lambda>() 76 PermissionAppsViewModelFactory(activity.getApplication(), permGroupName, this, Bundle()) in <lambda>() 91 permGroupName, in <lambda>() 118 permGroupName, in <lambda>() 149 permGroupName, in <lambda>()
|
D | WearAppPermissionFragment.kt | 125 val permGroupName = in <lambda>() constant 130 val isStorageGroup = permGroupName == Manifest.permission_group.STORAGE in <lambda>() 137 val permGroupLabel = getPermGroupLabel(activity, permGroupName).toString() in <lambda>() 145 permGroupName, in <lambda>() 194 setResult(param.result, permGroupName) in <lambda>() 277 private fun setResult(@GrantPermissionsViewHandler.Result result: Int, permGroupName: String) { in <lambda>() 282 permGroupName in <lambda>()
|
D | WearManageStandardPermissionScreen.kt | 84 permGroupName = it.key, in getPermGroupChipParams() 117 onClick = { onPermGroupClick(params.permGroupName) } in WearManageStandardPermissionContent() 156 val permGroupName: String, constant in com.android.permissioncontroller.permission.ui.wear.PermGroupChipParam
|
D | WearManageCustomPermissionsFragment.kt | 48 val onPermGroupClick: (String) -> Unit = { permGroupName -> in <lambda>() method 51 PermissionAppsFragment.createArgs(permGroupName, sessionId) in <lambda>()
|
D | WearManageStandardPermissionsFragment.kt | 49 val onPermGroupClick: (String) -> Unit = { permGroupName -> in <lambda>() method 52 PermissionAppsFragment.createArgs(permGroupName, sessionId) in <lambda>()
|
D | WearAppPermissionGroupsHelper.kt | 306 val permGroupName = group.name in <lambda>() constant 312 if (LocationUtils.isLocationGroupAndProvider(context, permGroupName, packageName)) { in <lambda>() 319 permGroupName, in <lambda>() 330 permGroupName, in <lambda>()
|
D | WearPermissionAppsHelper.kt | 38 val permGroupName: String, in <lambda>() constant in com.android.permissioncontroller.permission.ui.wear.WearPermissionAppsHelper 50 fun getTitle() = getPermGroupLabel(application, permGroupName).toString() in <lambda>() 51 fun getSubTitle() = getPermGroupDescription(application, permGroupName).toString() in <lambda>()
|
D | WearManageCustomPermissionScreen.kt | 68 onClick = { onPermGroupClick(params.permGroupName) } in WearManageCustomPermissionContent()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/grantPermissions/ |
D | StorageGrantBehavior.kt | 46 } else if (appSupportsSplitStoragePermissions && group.permGroupName == STORAGE) { in getPrompt() 95 if (!isPhotoPickerPromptSupported() || group.permGroupName != READ_MEDIA_VISUAL) { in isGroupFullyGranted() 123 group.permGroupName == READ_MEDIA_VISUAL && in appSupportsSplitStoragePermissions()
|
D | BackgroundGrantBehavior.kt | 59 val isOneTimeGroup = PermissionMapping.supportsOneTimeGrant(group.permGroupName) in <lambda>() 83 getPromptForNewerApp(group.permGroupName, splitSdk, requestsFg, isFgGranted) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/ |
D | LightAppPermGroup.kt | 59 val permGroupName = permGroupInfo.name in <lambda>() constant 124 (permGroupName != Manifest.permission_group.LOCATION && in <lambda>() 127 (permGroupName == Manifest.permission_group.LOCATION && in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | GrantPermissionsActivity.java | 814 private int getMessageId(String permGroupName, Prompt prompt, Boolean isDeviceAware) { in getMessageId() argument 817 permGroupName, isDeviceAware); in getMessageId() 819 permGroupName, isDeviceAware); in getMessageId() 825 default -> Utils.getRequest(permGroupName, isDeviceAware); in getMessageId() 829 private int getDetailMessageId(String permGroupName, Prompt prompt) { in getDetailMessageId() argument 832 Utils.getUpgradeRequestDetail(permGroupName); in getDetailMessageId() 834 Utils.getBackgroundRequestDetail(permGroupName); in getDetailMessageId()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v33/ |
D | PermissionDecisionStorageImpl.kt | 90 permGroupName: String, in recordPermissionDecision() 100 permGroupName, in recordPermissionDecision()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/ |
D | ReviewOngoingUsageViewModel.kt | 142 for ((permGroupName, usages) in permGroupUsages.value!!) { in <lambda>() constant 143 if (permGroupName == MICROPHONE && isMicMuted.value == true) { in <lambda>() 151 .add(permGroupName) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/auto/ |
D | DrivingDecisionReminderService.kt | 104 permGroupName: String in <lambda>() 122 permGroupName, in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | SafetyCenterQsViewModel.kt | 292 fun navigateToSeeUsage(fragment: Fragment, permGroupName: String) { in navigateToSeeUsage() 294 seeUsageIntent.putExtra(Intent.EXTRA_PERMISSION_GROUP_NAME, permGroupName) in navigateToSeeUsage()
|