/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 | 237 for (String perm : pkg.requestedPermissions) { in confirmPermissionsReview() 239 pm.updatePermissionFlags(perm, pkg.packageName, FLAG_PERMISSION_REVIEW_REQUIRED, in confirmPermissionsReview() 242 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 | RuntimePermissionsUpgradeController.java | 252 for (String perm : app.requestedPermissions) { in onUpgradeLocked() 253 String groupName = Utils.getGroupOfPlatformPermission(perm); in onUpgradeLocked() 260 perm, false); in onUpgradeLocked() 302 final Permission perm = group.getPermission( in onUpgradeLocked() local 305 if (!perm.isUserSet() && !perm.isSystemFixed() && !perm.isPolicyFixed() in onUpgradeLocked() 306 && !perm.isGrantedIncludingAppOp()) { in onUpgradeLocked()
|
D | PermissionControllerServiceImpl.java | 194 Permission perm = perms.get(permNum); in revokePermissionGroups() local 197 if (perm.isGrantedIncludingAppOp()) { in revokePermissionGroups() 198 revokedPerms.add(perm.getName()); in revokePermissionGroups() 451 String perm = permissionNames.get(permNum); in onCountPermissionApps() local 460 if (group.hasPermission(perm)) { in onCountPermissionApps() 464 if (bgGroup != null && bgGroup.hasPermission(perm)) { in onCountPermissionApps() 539 Permission perm = group.getPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin() local 540 if (perm == null) { in onSetRuntimePermissionGrantStateByDeviceAdmin() 546 perm.setPolicyFixed(true); in onSetRuntimePermissionGrantStateByDeviceAdmin() 550 perm.setPolicyFixed(true); in onSetRuntimePermissionGrantStateByDeviceAdmin() [all …]
|
/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/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/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/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 | 796 String perm = uidPermissions.keyAt(permNum); in updateUserSensitive() local 802 if (isAssistantUid && perm.equals(RECORD_AUDIO)) { in updateUserSensitive() 807 pm.updatePermissionFlags(perm, uidPkg, FLAGS_ALWAYS_USER_SENSITIVE, flags, in updateUserSensitive() 812 + uidPkg + " permission " + perm, e); in updateUserSensitive()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStorageSettings.java | 417 for (GrantedUriPermission perm : perms) { in refreshGrantedUriPermissions() 418 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 | 5734 final PermissionGroupInfo perm = pm.getPermissionGroupInfo(groupName, 0); in getCollectionIcon() local 5735 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 | 1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ... |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |
D | nb_wordlist.combined.gz | 1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ... |
D | cs_wordlist.combined.gz | 1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ... |