/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/ |
D | AllAppPermissionsFragment.java | 147 PermissionInfo perm; in updateUi() local 149 perm = pm.getPermissionInfo(mPackageInfo.requestedPermissions[i], 0); in updateUi() 156 if ((perm.flags & PermissionInfo.FLAG_INSTALLED) == 0 in updateUi() 157 || (perm.flags & PermissionInfo.FLAG_REMOVED) != 0) { in updateUi() 161 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) == 0) { in updateUi() 165 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) in updateUi() 170 PermissionGroupInfo group = getGroup(Utils.getGroupOfPermission(perm), pm); in updateUi() 171 if ((perm.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in updateUi() 173 PreferenceGroup pref = findOrCreate(group != null ? group : perm, pm, prefs); in updateUi() 174 pref.addPreference(getPreference(perm, group)); in updateUi() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | AllAppPermissionsFragment.java | 148 PermissionInfo perm; in updateUi() local 150 perm = pm.getPermissionInfo(info.requestedPermissions[i], 0); in updateUi() 157 if ((perm.flags & PermissionInfo.FLAG_INSTALLED) == 0 in updateUi() 158 || (perm.flags & PermissionInfo.FLAG_REMOVED) != 0) { in updateUi() 163 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) in updateUi() 168 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) in updateUi() 173 if ((perm.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in updateUi() 175 PackageItemInfo group = getGroup(Utils.getGroupOfPermission(perm), pm); in updateUi() 177 group = perm; in updateUi() 184 pref.addPreference(getPreference(info, perm, group, pm)); in updateUi() [all …]
|
D | ReviewPermissionsFragment.java | 233 for (String perm : pkg.requestedPermissions) { in confirmPermissionsReview() 235 pm.updatePermissionFlags(perm, pkg.packageName, FLAG_PERMISSION_REVIEW_REQUIRED, in confirmPermissionsReview() 238 Log.e(LOG_TAG, "Cannot unmark " + perm + " requested by " + pkg.packageName in confirmPermissionsReview()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/ |
D | AutoAllAppPermissionsFragment.java | 131 PermissionInfo perm; in updateUi() local 133 perm = pm.getPermissionInfo(info.requestedPermissions[i], /* flags= */ 0); in updateUi() 140 if ((perm.flags & PermissionInfo.FLAG_INSTALLED) == 0 in updateUi() 141 || (perm.flags & PermissionInfo.FLAG_REMOVED) != 0) { in updateUi() 146 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) in updateUi() 151 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) in updateUi() 156 if ((perm.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in updateUi() 158 PackageItemInfo group = getGroup(Utils.getGroupOfPermission(perm), pm); in updateUi() 160 group = perm; in updateUi() 167 pref.addPreference(getPreference(info, perm, group, pm)); in updateUi() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | BackupHelper.java | 452 private static boolean isPermGrantedIncludingAppOp(@NonNull Permission perm) { in isPermGrantedIncludingAppOp() argument 453 return perm.isGranted() && (!perm.affectsAppOp() || perm.isAppOpAllowed()); in isPermGrantedIncludingAppOp() 465 private static @Nullable BackupPermissionState fromPermission(@NonNull Permission perm, in fromPermission() argument 467 int grantFlags = perm.getFlags(); in fromPermission() 473 if (!perm.isUserSet() && perm.isGrantedByDefault()) { in fromPermission() 480 isNotInDefaultGrantState = isPermGrantedIncludingAppOp(perm); in fromPermission() 483 isNotInDefaultGrantState = !isPermGrantedIncludingAppOp(perm); in fromPermission() 484 permissionWasReviewed = !perm.isReviewRequired(); in fromPermission() 487 if (isNotInDefaultGrantState || perm.isUserSet() || perm.isUserFixed() in fromPermission() 489 return new BackupPermissionState(perm.getName(), isPermGrantedIncludingAppOp(perm), in fromPermission() [all …]
|
D | PermissionControllerServiceImpl.java | 195 Permission perm = perms.get(permNum); in revokePermissionGroups() local 198 if (perm.isGrantedIncludingAppOp()) { in revokePermissionGroups() 199 revokedPerms.add(perm.getName()); in revokePermissionGroups() 452 String perm = permissionNames.get(permNum); in onCountPermissionApps() local 461 if (group.hasPermission(perm)) { in onCountPermissionApps() 465 if (bgGroup != null && bgGroup.hasPermission(perm)) { in onCountPermissionApps() 541 Permission perm = group.getPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin() local 542 if (perm == null) { in onSetRuntimePermissionGrantStateByDeviceAdmin() 548 perm.setPolicyFixed(true); in onSetRuntimePermissionGrantStateByDeviceAdmin() 552 perm.setPolicyFixed(true); in onSetRuntimePermissionGrantStateByDeviceAdmin() [all …]
|
D | RuntimePermissionsUpgradeController.java | 243 for (String perm : app.requestedPermissions) { in onUpgradeLocked() 244 String groupName = Utils.getGroupOfPlatformPermission(perm); in onUpgradeLocked() 251 perm, false); in onUpgradeLocked()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/ |
D | AppPermissionsFragmentWear.java | 146 for (PermissionInfo perm : getPermissionInfosFromGroup(group)) { in onResume() 147 setPreferenceCheckedIfPresent(perm.name, in onResume() 148 group.areRuntimePermissionsGranted(new String[]{ perm.name })); in onResume() 180 for (PermissionInfo perm : getPermissionInfosFromGroup(group)) { in initializePermissionGroupList() 181 final SwitchPreference pref = createSwitchPreferenceForPermission(group, perm); in initializePermissionGroupList() 208 PermissionInfo perm) { in createSwitchPreferenceForPermission() argument 210 pref.setKey(perm.name); in createSwitchPreferenceForPermission() 211 pref.setTitle(perm.loadLabel(mPackageManager)); in createSwitchPreferenceForPermission() 212 pref.setChecked(group.areRuntimePermissionsGranted(new String[]{ perm.name })); in createSwitchPreferenceForPermission() 215 group.grantRuntimePermissions(false, new String[]{ perm.name }); in createSwitchPreferenceForPermission() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/ |
D | PerUserUidToSensitivityLiveData.java | 133 for (String perm : platformPerms) { in loadValueInBackground() 134 if (!ArrayUtils.contains(pkg.requestedPermissions, perm)) { in loadValueInBackground() 150 Integer previousFlagsInt = uidPermissions.get(perm); in loadValueInBackground() 162 boolean permGrantedByDefault = (pm.getPermissionFlags(perm, pkg.packageName, in loadValueInBackground() 180 uidPermissions.put(perm, flags); in loadValueInBackground()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/ |
D | AppOpsState.java | 540 String perm = AppOpsManager.opToPermission(tpl.ops[i]); in buildState() local 541 if (perm != null && !perms.contains(perm)) { in buildState() 542 perms.add(perm); in buildState()
|
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
D | AppOpsState.java | 540 String perm = AppOpsManager.opToPermission(tpl.ops[i]); in buildState() local 541 if (perm != null && !perms.contains(perm)) { in buildState() 542 perms.add(perm); in buildState()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchiveFileTestRule.java | 103 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in generateFile() local 104 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in generateFile()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | Utils.java | 802 String perm = uidPermissions.keyAt(permNum); in updateUserSensitive() local 808 if (isAssistantUid && perm.equals(RECORD_AUDIO)) { in updateUserSensitive() 813 pm.updatePermissionFlags(perm, uidPkg, FLAGS_ALWAYS_USER_SENSITIVE, flags, in updateUserSensitive() 818 + uidPkg + " permission " + perm, e); in updateUserSensitive()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStorageSettings.java | 421 for (GrantedUriPermission perm : perms) { in refreshGrantedUriPermissions() 422 String authority = perm.uri.getAuthority(); in refreshGrantedUriPermissions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStorageSettings.java | 421 for (GrantedUriPermission perm : perms) { in refreshGrantedUriPermissions() 422 String authority = perm.uri.getAuthority(); in refreshGrantedUriPermissions()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 5718 final PermissionGroupInfo perm = pm.getPermissionGroupInfo(groupName, 0); in getCollectionIcon() local 5719 return Icon.createWithResource(perm.packageName, perm.icon); in getCollectionIcon()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | fr_wordlist.combined.gz | 1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ... |
D | sl_wordlist.combined.gz | 1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ... |
D | lt_wordlist.combined.gz | 1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ... |
D | tr_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz |
|
D | en_GB_wordlist.combined.gz |
|
D | nb_wordlist.combined.gz | 1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ... |
D | en_wordlist.combined.gz |
|
D | da_wordlist.combined.gz | 1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ... |