/packages/modules/HealthFitness/testapps/toolbox/tests/src/com/android/healthconnect/testapps/toolbox/ |
D | DataTypeListFragmentTest.kt | 47 for (permissionGroup in VITALS_PERMISSION_GROUPS) { in <lambda>() method 48 onView(withText(permissionGroup.title)).check(matches(isDisplayed())) in <lambda>() 69 for (permissionGroup in BODY_MEASUREMENTS_PERMISSION_GROUPS) { in <lambda>() method 70 onView(withText(permissionGroup.title)).check(matches(isDisplayed())) in <lambda>() 78 for (permissionGroup in SLEEP_PERMISSION_GROUPS) { in <lambda>() method 79 onView(withText(permissionGroup.title)).check(matches(isDisplayed())) in <lambda>() 87 for (permissionGroup in CYCLE_TRACKING_PERMISSION_GROUPS) { in <lambda>() method 88 onView(withText(permissionGroup.title)).check(matches(isDisplayed())) in <lambda>() 96 for (permissionGroup in NUTRITION_PERMISSION_GROUPS) { in <lambda>() method 97 onView(withText(permissionGroup.title)).check(matches(isDisplayed())) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/domain/usecase/v31/ |
D | GetPermissionGroupUsageUseCase.kt | 93 val permissionGroup = in <lambda>() constant 95 if (permissionGroup != null) { in <lambda>() 96 Pair(permissionGroup, it.lastAccessTimestampMillis) in <lambda>() 165 permissionGroup: String, in <lambda>() 168 if (isTelecomPackage(packageName, permissionGroup)) { in <lambda>() 179 if (PermissionMapping.getGroupOfPlatformPermission(permissionName) == permissionGroup) { in <lambda>() 194 private fun isTelecomPackage(packageName: String, permissionGroup: String): Boolean { in <lambda>() 196 (permissionGroup == Manifest.permission_group.CAMERA || in <lambda>() 197 permissionGroup == Manifest.permission_group.MICROPHONE) in <lambda>()
|
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/ |
D | RequiredInfotainmentAppsUtils.java | 54 String permissionGroup, boolean showSummary) { in createRequiredAppPreference() argument 62 setAppPreference(context, packageManager, pkgName, userHandle, permissionGroup, showSummary, in createRequiredAppPreference() 93 String permissionGroup, boolean showSummary) { in createInfotainmentAppPreference() argument 100 setAppPreference(context, packageManager, pkgName, userHandle, permissionGroup, showSummary, in createInfotainmentAppPreference() 119 String permissionGroup, boolean showSummary, CarUiPreference pref, in setAppPreference() argument 131 intent.putExtra(Intent.EXTRA_PERMISSION_GROUP_NAME, permissionGroup); in setAppPreference() 148 context, packageInfo, permissionGroup, userHandle); in setAppPreference()
|
D | PermissionUtils.java | 116 String permissionGroup, UserHandle userHandle, boolean showSystem) { in getPackagesWithPermissionGroup() argument 118 List<String> permissionNames = PERMISSION_GROUP_TO_PERMISSIONS.get(permissionGroup); in getPackagesWithPermissionGroup() 209 String permissionGroup, UserHandle userHandle) { in getPermissionGroupGrantStatus() argument 211 List<String> permissionNames = PERMISSION_GROUP_TO_PERMISSIONS.get(permissionGroup); in getPermissionGroupGrantStatus() 221 permissionGroup, userHandle); in getPermissionGroupGrantStatus() 270 Manifest.permission_group.CAMERA.equals(permissionGroup) in getPermissionGroupGrantStatus() 271 || Manifest.permission_group.MICROPHONE.equals(permissionGroup); in getPermissionGroupGrantStatus() 293 String permissionGroup, UserHandle userHandle) { in getSpecialLocationState() argument 294 if (!Manifest.permission_group.LOCATION.equals(permissionGroup)) { in getSpecialLocationState()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/viewmodel/v31/ |
D | PermissionUsageViewModel.kt | 110 for (permissionGroup in dashboardPermissionGroups) { in <lambda>() constant 111 permissionUsageCountMap[permissionGroup] = 0 in <lambda>() 118 permissionUsageCountMap[it.permissionGroup] = in <lambda>() 119 permissionUsageCountMap.getOrDefault(it.permissionGroup, 0) + 1 in <lambda>() 147 fun getPermissionGroupLabel(context: Context, permissionGroup: String): String { in <lambda>() 150 permissionGroup, in <lambda>() 151 permissionRepository.getPermissionGroupLabel(context, permissionGroup).toString() in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/ |
D | PermissionUsageDetailsViewModel.kt | 73 private val permissionGroup: String, in <lambda>() constant in com.android.permissioncontroller.permission.ui.model.v31.PermissionUsageDetailsViewModel 162 PermissionMapping.getGroupOfPlatformPermission(it) == appPermissionId.permissionGroup in <lambda>() 179 (appPermissionId.permissionGroup == Manifest.permission_group.CAMERA || in <lambda>() 180 appPermissionId.permissionGroup == Manifest.permission_group.MICROPHONE) in <lambda>() 272 .filter { it.appPermissionId.permissionGroup == permissionGroup } in <lambda>() 410 permissionGroup, in <lambda>() 470 if (permissionGroup == Manifest.permission_group.LOCATION) { in <lambda>() 526 val permissionGroup: String, in <lambda>() constant in com.android.permissioncontroller.permission.ui.model.v31.PermissionUsageDetailsViewModel.AppPermissionAccessUiInfo 589 appPermissionId.permissionGroup, in <lambda>() 715 permissionGroup: String, in <lambda>() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/auto/ |
D | DrivingDecisionReminderService.kt | 58 val permissionGroup: String, in <lambda>() constant in com.android.permissioncontroller.auto.DrivingDecisionReminderService.PermissionReminder 87 permissionGroup: String, in <lambda>() 92 intent.putExtra(EXTRA_PERMISSION_GROUP, permissionGroup) in <lambda>() 220 val permissionGroup = intent.getStringExtra(EXTRA_PERMISSION_GROUP) in <lambda>() constant 222 return PermissionReminder(packageName!!, permissionGroup!!, user!!) in <lambda>() 258 getPermGroupLabel(applicationContext, permissionReminder.permissionGroup).toString() in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/ |
D | PermissionUsageDetailsViewModelLegacy.kt | 59 private val permissionGroup: String, in <lambda>() constant in com.android.permissioncontroller.permission.ui.legacy.PermissionUsageDetailsViewModelLegacy 123 extractAppPermissionTimelineUsagesForGroup(appPermissionUsages, permissionGroup) in <lambda>() 163 permissionGroup, in <lambda>() 377 if (permissionGroup == Manifest.permission_group.LOCATION) { in <lambda>() 458 AppPermissionTimelineUsage(permissionGroup, app, it, it.label) in <lambda>() 463 AppPermissionTimelineUsage(permissionGroup, app, groupUsage, Resources.ID_NULL) in <lambda>() 502 val permissionGroup: String, in <lambda>() constant in com.android.permissioncontroller.permission.ui.legacy.PermissionUsageDetailsViewModelLegacy.HistoryPreferenceData 563 val permissionGroup: String, in <lambda>() constant in com.android.permissioncontroller.permission.ui.legacy.PermissionUsageDetailsViewModelLegacy.AppPermissionTimelineUsage
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearPermissionUsageDetailsFragment.kt | 48 val permissionGroup = in onCreateView() constant 63 permissionGroup in onCreateView() 71 setContent { WearPermissionUsageDetailsScreen(permissionGroup, viewModel) } in onCreateView()
|
D | WearPermissionUsageDetailsScreen.kt | 45 permissionGroup: String, in <lambda>() 57 KotlinUtils.getPermGroupLabel(context, permissionGroup) in <lambda>() 70 uiInfo.permissionGroup, in <lambda>() 82 .putExtra(Intent.EXTRA_PERMISSION_NAME, permissionGroup) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v31/ |
D | AdminRestrictedPermissionsUtils.java | 82 public static boolean mayAdminGrantPermission(String permission, String permissionGroup, in mayAdminGrantPermission() argument 91 boolean isAdminRestrictedSensorPermissionGroup = permissionGroup != null in mayAdminGrantPermission() 92 && PermissionMapping.getPlatformPermissionNamesOfGroup(permissionGroup).stream() in mayAdminGrantPermission()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SafetyCenterQsFragment.java | 752 private CharSequence getPermGroupLabel(String permissionGroup) { 753 switch (permissionGroup) { 759 return KotlinUtils.INSTANCE.getPermGroupLabel(mContext, permissionGroup); 762 private static int getRemovePermissionText(String permissionGroup) { 763 return CAMERA.equals(permissionGroup) 768 private static int getSeeUsageText(String permissionGroup) { 769 return CAMERA.equals(permissionGroup) 774 private static int getBlockedIconResId(String permissionGroup) { 775 switch (permissionGroup) { 786 private static int getSensorStatusTextResId(String permissionGroup, boolean enabled) { [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PermStateLiveData.kt | 83 val permissionGroup = groupLiveData.value in <lambda>() constant 84 if (packageInfo == null || permissionGroup == null) { in <lambda>() 91 permissionGroup.permissionInfos[permissionName]?.let { permInfo -> in <lambda>()
|
D | AppPermGroupUiInfoLiveData.kt | 89 val permissionGroup = permGroupLiveData.value in <lambda>() constant 92 if (packageInfo == null || permissionGroup == null || permissionState == null) { in <lambda>() 107 permissionGroup.groupInfo, in <lambda>() 108 permissionGroup.permissionInfos, in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | AutoRevokePermissions.kt | 162 for (permissionGroup in permissionGroups) { in <lambda>() constant 163 revocableGroups.remove(permissionGroup) in <lambda>() 180 for (permissionGroup in newPermissionGroups) { in <lambda>() constant 181 revocableGroups.remove(permissionGroup) in <lambda>()
|
D | SplitPermissionIndex.kt | 113 fun getSplitPermissionGroups(permissionGroup: String, appTargetSdk: Int): List<String> { in getSplitPermissionGroups() 115 .filter { it.newPermissionGroup == permissionGroup && appTargetSdk < it.targetSdk } in getSplitPermissionGroups()
|
D | RuntimePermissionsUpgradeController.kt | 805 permissionGroup: LightAppPermGroup, in <lambda>() 808 val uid = permissionGroup.packageInfo.uid in <lambda>() 809 val packageName = permissionGroup.packageName in <lambda>() 811 val permission = permissionGroup.permissions[permName] ?: continue in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/v31/ |
D | LightPackageOps.kt | 64 for (permissionGroup in in createLastPermissionGroupAccessTimesMap() 66 lastAccessTimeMs[permissionGroup] = -1 in createLastPermissionGroupAccessTimesMap()
|
D | AppPermissionId.kt | 9 val permissionGroup: String, constant in com.android.permissioncontroller.permission.model.livedatatypes.v31.AppPermissionId
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/dashboard/ |
D | AutoPermissionHistoryPreference.kt | 60 permissionGroup = historyPreferenceData.permissionGroup, in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | PermissionMapping.kt | 186 for ((permission, permissionGroup) in PLATFORM_PERMISSIONS) { constant 187 PLATFORM_PERMISSION_GROUPS.getOrPut(permissionGroup) { mutableListOf() }.add(permission) in <lambda>() 305 fun supportsOneTimeGrant(permissionGroup: String?): Boolean { in supportsOneTimeGrant() 306 return ONE_TIME_PERMISSION_GROUPS.contains(permissionGroup) in supportsOneTimeGrant()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/appops/data/repository/v31/ |
D | AppOpRepository.kt | 191 for (permissionGroup in permissionGroups) { in getPrivacyDashboardAppOpNames() constant 193 PermissionMapping.getPlatformPermissionNamesOfGroup(permissionGroup) in getPrivacyDashboardAppOpNames()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | SensorBlockedBannerTest.kt | 80 val permissionGroup = sensorToPermissionGroup.getOrDefault(sensor, "Break") in navigateAndTest() constant 83 .putExtra(Intent.EXTRA_PERMISSION_GROUP_NAME, permissionGroup) in navigateAndTest()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/domain/model/v31/ |
D | PermissionGroupUsageModel.kt | 21 val permissionGroup: String, constant in com.android.permissioncontroller.permission.domain.model.v31.PermissionGroupUsageModel
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v33/ |
D | PermissionDecisionStorageImpl.kt | 159 val permissionGroup = parser.getAttributeValueNullSafe(ns, ATTR_PERMISSION_GROUP) in readPermissionDecision() constant 167 decision = PermissionDecision(packageName, decisionTime, permissionGroup, isGranted) in readPermissionDecision()
|