Home
last modified time | relevance | path

Searched refs:permGroupName (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DAppPermGroupUiInfoLiveData.kt57 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 …]
DSinglePermGroupPackagesUiInfoLiveData.kt34 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>()
DLightAppPermGroupLiveData.kt47 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>()
DPermStateLiveData.kt45 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>()
DPermGroupUsageLiveData.kt75 .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/
DAppPermissionViewModel.kt112 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 …]
DReviewPermissionsViewModel.kt66 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>()
DGrantPermissionsViewModel.kt399 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>()
DPermissionAppsViewModel.kt434 permGroupName: String, in <lambda>()
454 permGroupName, in <lambda>()
465 permGroupName + in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearPermissionAppsFragment.kt65 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>()
DWearAppPermissionFragment.kt125 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>()
DWearManageStandardPermissionScreen.kt84 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
DWearManageCustomPermissionsFragment.kt48 val onPermGroupClick: (String) -> Unit = { permGroupName -> in <lambda>() method
51 PermissionAppsFragment.createArgs(permGroupName, sessionId) in <lambda>()
DWearManageStandardPermissionsFragment.kt49 val onPermGroupClick: (String) -> Unit = { permGroupName -> in <lambda>() method
52 PermissionAppsFragment.createArgs(permGroupName, sessionId) in <lambda>()
DWearAppPermissionGroupsHelper.kt306 val permGroupName = group.name in <lambda>() constant
312 if (LocationUtils.isLocationGroupAndProvider(context, permGroupName, packageName)) { in <lambda>()
319 permGroupName, in <lambda>()
330 permGroupName, in <lambda>()
DWearPermissionAppsHelper.kt38 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>()
DWearManageCustomPermissionScreen.kt68 onClick = { onPermGroupClick(params.permGroupName) } in WearManageCustomPermissionContent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/grantPermissions/
DStorageGrantBehavior.kt46 } 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()
DBackgroundGrantBehavior.kt59 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/
DLightAppPermGroup.kt59 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/
DGrantPermissionsActivity.java814 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/
DPermissionDecisionStorageImpl.kt90 permGroupName: String, in recordPermissionDecision()
100 permGroupName, in recordPermissionDecision()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DReviewOngoingUsageViewModel.kt142 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/
DDrivingDecisionReminderService.kt104 permGroupName: String in <lambda>()
122 permGroupName, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterQsViewModel.kt292 fun navigateToSeeUsage(fragment: Fragment, permGroupName: String) { in navigateToSeeUsage()
294 seeUsageIntent.putExtra(Intent.EXTRA_PERMISSION_GROUP_NAME, permGroupName) in navigateToSeeUsage()

12