/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/ |
D | PermissionMappingTest.kt | 23 import com.android.permissioncontroller.permission.utils.PermissionMapping 33 PermissionMapping.getPlatformPermissionGroupForOp( in testGetPlatformPermissionGroupForOp_healthPermissionGroup() 43 PermissionMapping.getPlatformPermissionGroupForOp( in testGetPlatformPermissionGroupForOp_microphone() 53 PermissionMapping.getPlatformPermissionGroupForOp( in testGetPlatformPermissionGroupForOp_camera() 63 assertThat(PermissionMapping.getPlatformPermissionGroupForOp("invalid_opName")) in testGetPlatformPermissionGroupForOp_InvalidOpName() 73 PermissionMapping.getPlatformPermissionGroupForOp(AppOpsManager.OPSTR_READ_CONTACTS) in testGetPlatformPermissionGroupForOp_readContacts() 76 PermissionMapping.getGroupOfPlatformPermission(Manifest.permission.READ_CONTACTS) in testGetPlatformPermissionGroupForOp_readContacts()
|
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/ |
D | GetPermissionGroupInfoTest.kt | 23 import com.android.permissioncontroller.permission.utils.PermissionMapping 37 val groups = PermissionMapping.getPlatformPermissionGroups() in assertAllPlatformPermGroupPermListsMatch() 47 .isEqualTo(PermissionMapping.getPlatformPermissionNamesOfGroup(group)) in assertAllPlatformPermGroupPermListsMatch() 53 val groups = PermissionMapping.getPlatformPermissionGroups() in assertAllPlatformPermGroupsMatch() 55 val perms = PermissionMapping.getPlatformPermissionNamesOfGroup(group) in assertAllPlatformPermGroupsMatch() 65 .isEqualTo(PermissionMapping.getGroupOfPlatformPermission(permName)) in assertAllPlatformPermGroupsMatch()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/data/repository/ |
D | FakePermissionRepository.kt | 23 import com.android.permissioncontroller.permission.utils.PermissionMapping 44 PermissionMapping.getPlatformPermissionGroups().filter { in getPermissionGroupsForPrivacyDashboard() 48 PermissionMapping.getPlatformPermissionGroups() in getPermissionGroupsForPrivacyDashboard()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | SplitPermissionIndex.kt | 20 import com.android.permissioncontroller.permission.utils.PermissionMapping 41 PermissionMapping.getGroupOfPlatformPermission(splitPermission) 42 val newPermGroup = PermissionMapping.getGroupOfPlatformPermission(newPerm)
|
D | PermissionSearchIndexablesProvider.java | 34 import com.android.permissioncontroller.permission.utils.PermissionMapping; 52 List<String> permissionGroupNames = PermissionMapping.getPlatformPermissionGroups(); in queryRawData()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PackagePermissionsLiveData.kt | 25 import com.android.permissioncontroller.permission.utils.PermissionMapping 59 var groupName = PermissionMapping.getGroupOfPlatformPermission(permName) in loadDataAndPostValue() 101 groupName = PermissionMapping.getGroupOfPermission(permInfo) ?: permName in loadDataAndPostValue()
|
D | StandardPermGroupNamesLiveData.kt | 20 import com.android.permissioncontroller.permission.utils.PermissionMapping 26 postValue(PermissionMapping.getPlatformPermissionGroups())
|
D | ForegroundPermNamesLiveData.kt | 21 import com.android.permissioncontroller.permission.utils.PermissionMapping 39 val systemGroups = PermissionMapping.getPlatformPermissionGroups() in loadDataAndPostValue()
|
D | CustomPermGroupNamesLiveData.kt | 22 import com.android.permissioncontroller.permission.utils.PermissionMapping 38 val platformGroupNames = PermissionMapping.getPlatformPermissionGroups() in onUpdate()
|
D | SinglePermGroupPackagesUiInfoLiveData.kt | 23 import com.android.permissioncontroller.permission.utils.PermissionMapping in <lambda>() 39 !PermissionMapping.getPlatformPermissionGroups().contains(permGroupName) in <lambda>()
|
D | AutoRevokedPackagesLiveData.kt | 25 import com.android.permissioncontroller.permission.utils.PermissionMapping in <lambda>() 66 PermissionMapping.getGroupOfPlatformPermission(requestedPerm) ?: continue in <lambda>()
|
D | UserSensitivityLiveData.kt | 29 import com.android.permissioncontroller.permission.utils.PermissionMapping in <lambda>() 101 val runtimePerms = PermissionMapping.getRuntimePlatformPermissionNames() in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/repository/v31/ |
D | PermissionRepository.kt | 26 import com.android.permissioncontroller.permission.utils.PermissionMapping 129 PermissionMapping.getPlatformPermissionGroups().filter { in getPermissionGroupsForPrivacyDashboard() 133 PermissionMapping.getPlatformPermissionGroups() in getPermissionGroupsForPrivacyDashboard()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ecm/ |
D | EnhancedConfirmationDialogActivity.kt | 46 import com.android.permissioncontroller.permission.utils.PermissionMapping in <lambda>() 121 PermissionMapping.getGroupOfPlatformPermission(settingIdentifier)!! in <lambda>() 168 PermissionMapping.isRuntimePlatformPermission(settingIdentifier) && in <lambda>() 169 PermissionMapping.getGroupOfPlatformPermission(settingIdentifier) != null -> in <lambda>() 171 PermissionMapping.isPlatformPermissionGroup(settingIdentifier) -> in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/domain/usecase/v31/ |
D | GetPermissionGroupUsageUseCase.kt | 32 import com.android.permissioncontroller.permission.utils.PermissionMapping in <lambda>() 94 PermissionMapping.getPlatformPermissionGroupForOp(it.appOpName) in <lambda>() 130 PermissionMapping.getGroupOfPlatformPermission(permission) in <lambda>() 179 if (PermissionMapping.getGroupOfPlatformPermission(permissionName) == permissionGroup) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | AllAppPermissionsFragment.java | 51 import com.android.permissioncontroller.permission.utils.PermissionMapping; 174 getGroup(PermissionMapping.getGroupOfPermission(perm), pm); in updateUi() 205 } else if (PermissionMapping.isPlatformPermissionGroup(lKey) in updateUi() 206 != PermissionMapping.isPlatformPermissionGroup(rKey)) { in updateUi() 207 return PermissionMapping.isPlatformPermissionGroup(lKey) ? -1 : 1; in updateUi()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAllAppPermissionsFragment.java | 51 import com.android.permissioncontroller.permission.utils.PermissionMapping; 163 getGroup(PermissionMapping.getGroupOfPermission(perm), pm); in updateUi() 197 } else if (PermissionMapping.isPlatformPermissionGroup(lKey) in updateUi() 198 != PermissionMapping.isPlatformPermissionGroup(rKey)) { in updateUi() 199 return PermissionMapping.isPlatformPermissionGroup(lKey) ? -1 : 1; in updateUi()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v34/ |
D | SafetyLabelUtils.kt | 28 import com.android.permissioncontroller.permission.utils.PermissionMapping in <lambda>() 43 PermissionMapping.getDataCategoriesForPermissionGroup(groupName) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | AllAppPermissionsFragment.java | 50 import com.android.permissioncontroller.permission.utils.PermissionMapping; 219 if (PermissionMapping.isPlatformPermissionGroup(lKey) in comparePreferences() 220 != PermissionMapping.isPlatformPermissionGroup(rKey)) { in comparePreferences() 221 return PermissionMapping.isPlatformPermissionGroup(lKey) ? -1 : 1; in comparePreferences()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v35/ |
D | PackagePermissionsExternalDeviceLiveData.kt | 32 import com.android.permissioncontroller.permission.utils.PermissionMapping in <lambda>() 79 PermissionMapping.getGroupOfPlatformPermission(permissionName)?.let { groupName -> in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v31/ |
D | AdminRestrictedPermissionsUtils.java | 28 import com.android.permissioncontroller.permission.utils.PermissionMapping; 92 && PermissionMapping.getPlatformPermissionNamesOfGroup(permissionGroup).stream() in mayAdminGrantPermission()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/ |
D | PermissionUsageViewModelTest.kt | 34 import com.android.permissioncontroller.permission.utils.PermissionMapping 81 PermissionMapping.addHealthPermissionsToPlatform(setOf("health1")) in setup() 124 val expectedPermissions = PermissionMapping.getPlatformPermissionGroups().toMutableSet() in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/grantPermissions/ |
D | BackgroundGrantBehavior.kt | 26 import com.android.permissioncontroller.permission.utils.PermissionMapping in <lambda>() 59 val isOneTimeGroup = PermissionMapping.supportsOneTimeGrant(group.permGroupName) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionGroups.java | 42 import com.android.permissioncontroller.permission.utils.PermissionMapping; 191 && !PermissionMapping.isPlatformPermissionGroup(groupInfo.name)) { in getPermissionGroups() 269 if (!getNonPlatformPermissions && !PermissionMapping.isPlatformPermissionGroup( in getPermissionGroups()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v33/ |
D | ReviewPermissionDecisionsViewModel.kt | 39 import com.android.permissioncontroller.permission.utils.PermissionMapping 91 PermissionMapping.getGroupOfPermission( in loadDataAndPostValue()
|