Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DAppPermGroupUiInfoLiveData.kt55 private val permGroupName: String, in <lambda>() constant in com.android.permissioncontroller.permission.data.AppPermGroupUiInfoLiveData
61 private val permGroupLiveData = PermGroupLiveData[permGroupName] in <lambda>()
62 private val permissionStateLiveData = PermStateLiveData[packageName, permGroupName, user] in <lambda>()
63 private val isStorage = permGroupName == STORAGE in <lambda>()
67 permGroupName, packageName) || in <lambda>()
68 LocationUtils.isLocationGroupAndControllerExtraPackage(app, permGroupName, packageName) in <lambda>()
94 invalidateSingle(Triple(packageName, permGroupName, user)) in <lambda>()
195 if (!isModernPermissionGroup(permGroupName)) { in <lambda>()
304 if (LocationUtils.isLocationGroupAndProvider(userContext, permGroupName, packageName)) { in <lambda>()
310 permGroupName, packageName)) { in <lambda>()
[all …]
DLightAppPermGroupLiveData.kt45 private val permGroupName: String, in <lambda>() constant in com.android.permissioncontroller.permission.data.LightAppPermGroupLiveData
52 private val permStateLiveData = PermStateLiveData[packageName, permGroupName, user] in <lambda>()
53 private val permGroupLiveData = PermGroupLiveData[permGroupName] in <lambda>()
59 permGroupName, packageName) || in <lambda>()
60 LocationUtils.isLocationGroupAndControllerExtraPackage(app, permGroupName, packageName) in <lambda>()
66 val key = Triple(packageName, permGroupName, user) in <lambda>()
120 if (LocationUtils.isLocationGroupAndProvider(userContext, permGroupName, packageName)) { in <lambda>()
122 } else if (LocationUtils.isLocationGroupAndControllerExtraPackage(app, permGroupName, in <lambda>()
DSinglePermGroupPackagesUiInfoLiveData.kt35 private val permGroupName: String in <lambda>() constant in com.android.permissioncontroller.permission.data.SinglePermGroupPackagesUiInfoLiveData
38 private val permGroupLiveData = PermGroupLiveData[permGroupName] in <lambda>()
39 private val isCustomGroup = !Utils.getPlatformPermissionGroups().contains(permGroupName) in <lambda>()
57 invalidateSingle(permGroupName) in <lambda>()
68 val thisPermGroupPackages = permGroupPackagesLiveData.value?.get(permGroupName) in <lambda>()
82 AppPermGroupUiInfoLiveData[key.first, permGroupName, key.second] in <lambda>()
DPermStateLiveData.kt43 private val permGroupName: String, in <lambda>() constant in com.android.permissioncontroller.permission.data.PermStateLiveData
50 private val groupLiveData = PermGroupLiveData[permGroupName] in <lambda>()
78 invalidateSingle(Triple(packageName, permGroupName, user)) in <lambda>()
DPermGroupUsageLiveData.kt71 value = permGroupUsages.map { (permGroupName, usageLiveData) -> in <lambda>() method
82 permGroupName to lastAccess.values.toList() in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt86 private val permGroupName: String, in <lambda>() constant in com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel
134 private val isStorage = permGroupName == Manifest.permission_group.STORAGE in <lambda>()
190 private val appPermGroupLiveData = LightAppPermGroupLiveData[packageName, permGroupName, in <lambda>()
230 askState.isShown = Utils.supportsOneTimeGrant(permGroupName) && in <lambda>()
263 } else if (Utils.areGroupPermissionsIndividuallyControlled(app, permGroupName)) { in <lambda>()
288 if (isForegroundGroupSpecialCase(permGroupName)) { in <lambda>()
328 shouldShowLocationAccuracy = group.permGroupName == LOCATION && in <lambda>()
492 if (LocationUtils.isLocationGroupAndProvider(context, permGroupName, packageName)) { in <lambda>()
798 uid, packageName, permGroupName) in <lambda>()
801 "permGroupName=$permGroupName") in <lambda>()
[all …]
DGrantPermissionsViewModel.kt309 if (groupState.group.permGroupName in <lambda>()
311 groupState.group.permGroupName in <lambda>()
420 if (groupState.group.permGroupName == LOCATION && isLocationAccuracyEnabled()) { in <lambda>()
516 val groupStateInfo = groupStates.getOrPut(group.permGroupName to isBackground) { in <lambda>()
522 currGroupState = storedState.getInt(getInstanceStateKey(group.permGroupName, in <lambda>()
532 if (group.permGroupName in permGroupsToSkip) { in <lambda>()
665 if (group.permGroupName == LOCATION && in <lambda>()
DReviewOngoingUsageViewModel.kt152 for ((permGroupName, usages) in permGroupUsages.value!!) { in <lambda>() constant
153 if (permGroupName == MICROPHONE && isMicMuted.value == true) { in <lambda>()
160 { mutableSetOf() }).add(permGroupName) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt62 val permGroupName = permGroupInfo.name in <lambda>() constant
124 val isOneTime = (permGroupName != Manifest.permission_group.LOCATION && in <lambda>()
126 (permGroupName == Manifest.permission_group.LOCATION && in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionControlPreference.java85 @NonNull String packageName, @NonNull String permGroupName, @NonNull UserHandle user, in PermissionControlPreference() argument
96 mPermGroupName = permGroupName; in PermissionControlPreference()
DPermissionAppsFragment.java112 public static Bundle createArgs(String permGroupName, long sessionId) { in createArgs() argument
114 arguments.putString(Intent.EXTRA_PERMISSION_GROUP_NAME, permGroupName); in createArgs()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionUsageV2Fragment.java373 String permGroupName = groupUsagesList in getAdvancedInfoSummaryString() local
375 return KotlinUtils.INSTANCE.getPermGroupLabel(context, permGroupName); in getAdvancedInfoSummaryString()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt262 when (group.permGroupName) { in <lambda>()