/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | PermissionGroupPreferenceUtils.java | 40 List<PermGroupPackagesUiInfo> permissionGroups) { in updateGroupOfPermissionPreferences() argument 41 if (!(permissionGroups instanceof ArrayList)) { in updateGroupOfPermissionPreferences() 42 permissionGroups = new ArrayList<>(permissionGroups); in updateGroupOfPermissionPreferences() 44 if (!hasPermissionsListChanged(preferenceGroup, permissionGroups)) { in updateGroupOfPermissionPreferences() 46 updatePreferenceSummaries(preferenceGroup, permissionGroups); in updateGroupOfPermissionPreferences() 57 for (int i = 0; i < permissionGroups.size(); i++) { in updateGroupOfPermissionPreferences() 58 final PermGroupPackagesUiInfo info = permissionGroups.get(i); in updateGroupOfPermissionPreferences() 77 List<PermGroupPackagesUiInfo> permissionGroups) { in hasPermissionsListChanged() argument 78 if (preferenceGroup.getPreferenceCount() != permissionGroups.size()) { in hasPermissionsListChanged() 82 for (int i = 0, size = permissionGroups.size(); i < size; i++) { in hasPermissionsListChanged() [all …]
|
D | ReviewPermissionsViewModel.kt | 56 val permissionGroups = mutableMapOf<String, LightAppPermGroupLiveData>() in <lambda>() constant 69 setSourcesToDifference(filteredGroups, permissionGroups, getPermGroupLiveData) in <lambda>() 71 permissionGroups.values.all { it.isInitialized } && in <lambda>() 72 permissionGroups.values.all { !it.isStale } in <lambda>() 75 permissionGroups.values.map { it.value } in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoManageOtherPermissionsFragment.java | 97 private void onUnusedPermissionGroupsChanged(List<PermGroupPackagesUiInfo> permissionGroups) { in onUnusedPermissionGroupsChanged() argument 98 updateCategory(mUnusedCategory, permissionGroups); in onUnusedPermissionGroupsChanged() 102 List<PermGroupPackagesUiInfo> permissionGroups) { in onAdditionalPermissionGroupsChanged() argument 103 updateCategory(mAdditionalCategory, permissionGroups); in onAdditionalPermissionGroupsChanged() 114 List<PermGroupPackagesUiInfo> permissionGroups) { in updateCategory() argument 121 permissionGroups); in updateCategory() 123 category.setVisible(!permissionGroups.isEmpty()); in updateCategory()
|
D | AutoManageStandardPermissionsFragment.java | 87 private void onPermissionGroupsChanged(List<PermGroupPackagesUiInfo> permissionGroups) { in onPermissionGroupsChanged() argument 117 permissionGroups); in onPermissionGroupsChanged()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | ManagePermissionsOtherFragment.java | 102 private void onUnusedPermissionGroupsChanged(List<PermGroupPackagesUiInfo> permissionGroups) { in onUnusedPermissionGroupsChanged() argument 103 updateCategory(mUnusedCategory, permissionGroups); in onUnusedPermissionGroupsChanged() 107 List<PermGroupPackagesUiInfo> permissionGroups) { in onAdditionalPermissionGroupsChanged() argument 108 updateCategory(mAdditionalCategory, permissionGroups); in onAdditionalPermissionGroupsChanged() 122 List<PermGroupPackagesUiInfo> permissionGroups) { in updateCategory() argument 129 permissionGroups); in updateCategory() 131 category.setVisible(!permissionGroups.isEmpty()); in updateCategory()
|
D | ManagePermissionsFragment.java | 84 private void onPermissionGroupsChanged(List<PermGroupPackagesUiInfo> permissionGroups) { in onPermissionGroupsChanged() argument 113 ArrayList<PermGroupPackagesUiInfo> filteredGroups = new ArrayList<>(permissionGroups); in onPermissionGroupsChanged()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/dashboard/ |
D | AutoPermissionUsageFragment.kt | 62 private var permissionGroups: List<PermGroupPackagesUiInfo> = listOf() variable in com.android.permissioncontroller.permission.ui.auto.dashboard.AutoPermissionUsageFragment 110 private fun onPermissionGroupsChanged(permissionGroups: List<PermGroupPackagesUiInfo>) { in onPermissionGroupsChanged() 111 this.permissionGroups = permissionGroups in onPermissionGroupsChanged() 167 if (permissionGroups.isEmpty() || appPermissionUsages.isEmpty()) { in updateUI() 205 permissionGroups in addUIContent()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearManageStandardPermissionScreen.kt | 46 val permissionGroups = viewModel.uiDataLiveData.observeAsState(emptyMap()) in <lambda>() constant 53 getPermGroupChipParams(permissionGroups.value), in <lambda>() 61 if (isLoading && permissionGroups.value.isNotEmpty()) { in <lambda>() 68 permissionGroups: Map<String, PermGroupPackagesUiInfo?> in getPermGroupChipParams() 78 return permissionGroups in getPermGroupChipParams()
|
D | WearManageCustomPermissionScreen.kt | 36 val permissionGroups = viewModel.uiDataLiveData.observeAsState(emptyMap()) in WearManageCustomPermissionScreen() constant 41 getPermGroupChipParams(permissionGroups.value), in WearManageCustomPermissionScreen() 45 if (isLoading && permissionGroups.value.isNotEmpty()) { in WearManageCustomPermissionScreen()
|
D | WearAppPermissionGroupsHelper.kt | 77 val groups: List<AppPermissionGroup> = appPermissions.permissionGroups in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | ManageCustomPermissionsFragment.java | 61 mViewModel.getUiDataLiveData().observe(this, permissionGroups -> { in onCreate() 62 if (permissionGroups == null) { in onCreate() 65 mPermissionGroups = permissionGroups; in onCreate()
|
D | ManageStandardPermissionsFragment.java | 71 mViewModel.getUiDataLiveData().observe(this, permissionGroups -> { in onCreate() 75 if (permissionGroups != null) { in onCreate() 76 mPermissionGroups = permissionGroups; in onCreate()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/appops/data/repository/v31/ |
D | AppOpRepository.kt | 189 val permissionGroups = permissionRepository.getPermissionGroupsForPrivacyDashboard() in getPrivacyDashboardAppOpNames() constant 191 for (permissionGroup in permissionGroups) { in getPrivacyDashboardAppOpNames()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | AutoRevokePermissions.kt | 157 val permissionGroups = in <lambda>() constant 162 for (permissionGroup in permissionGroups) { in <lambda>()
|
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/ |
D | PermissionPolicyTest.java | 355 ArraySet<String> permissionGroups = new ArraySet<>(); in loadExpectedPermissionGroupNames() local 368 permissionGroups.add(parser.getAttributeValue(null, ATTR_NAME)); in loadExpectedPermissionGroupNames() 374 return permissionGroups; in loadExpectedPermissionGroupNames()
|