Home
last modified time | relevance | path

Searched refs:requestedPermissions (Results 1 – 15 of 15) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionGroups.java177 Set<String> requestedPermissions = new ArraySet<>(); in loadInBackground() local
179 if (installedPackage.requestedPermissions == null) { in loadInBackground()
182 for (String requestedPermission : installedPackage.requestedPermissions) { in loadInBackground()
183 requestedPermissions.add(requestedPermission); in loadInBackground()
206 if (!requestedPermissions.contains(permissionInfo.name)) { in loadInBackground()
DAppPermissions.java108 if (mPackageInfo.requestedPermissions == null) { in loadPermissionGroups()
114 for (String requestedPerm : mPackageInfo.requestedPermissions) { in loadPermissionGroups()
123 for (String requestedPerm : mPackageInfo.requestedPermissions) { in loadPermissionGroups()
DPermissionApps.java178 if (app.requestedPermissions == null) { in loadPermissionApps()
182 for (int j = 0; j < app.requestedPermissions.length; j++) { in loadPermissionApps()
183 String requestedPerm = app.requestedPermissions[j]; in loadPermissionApps()
DAppPermissionGroup.java122 final int permissionCount = packageInfo.requestedPermissions.length; in create()
124 String requestedPermission = packageInfo.requestedPermissions[i]; in create()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java106 String[] requestedPermissions = permissionState.packageInfo.requestedPermissions; in getPermissionInfo() local
108 if (requestedPermissions != null) { in getPermissionInfo()
109 for (int i = 0; i < requestedPermissions.length; i++) { in getPermissionInfo()
110 if (doesAnyPermissionMatch(requestedPermissions[i], mPermissions)) { in getPermissionInfo()
DAppPermissions.java82 if (mPackageInfo.requestedPermissions == null) { in loadPermissionGroups()
89 for (int i = 0; i < mPackageInfo.requestedPermissions.length; i++) { in loadPermissionGroups()
90 String requestedPerm = mPackageInfo.requestedPermissions[i]; in loadPermissionGroups()
DAppOpsState.java595 if (appInfo.requestedPermissions != null) { in buildState()
596 for (int j=0; j<appInfo.requestedPermissions.length; j++) { in buildState()
601 + appInfo.requestedPermissions[j] + " not granted; skipping"); in buildState()
606 + appInfo.requestedPermissions[j]); in buildState()
608 if (!perms.get(k).equals(appInfo.requestedPermissions[j])) { in buildState()
DInstalledAppDetails.java1227 if (mPackageInfo == null || mPackageInfo.requestedPermissions == null) {
1230 for (int i = 0; i < mPackageInfo.requestedPermissions.length; i++) {
1231 if (mPackageInfo.requestedPermissions[i].equals(permission)) {
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java264 List<String> wearablePerms = pkg.requestedPermissions; in installPackage()
294 if (existingPkgInfo.requestedPermissions != null) { in installPackage()
295 for (int i = 0; i < existingPkgInfo.requestedPermissions.length; ++i) { in installPackage()
300 Log.d(TAG, existingPkgInfo.requestedPermissions[i] + in installPackage()
303 wearablePerms.remove(existingPkgInfo.requestedPermissions[i]); in installPackage()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java144 if (mPackageInfo.requestedPermissions != null) { in updateUi()
145 for (int i = 0; i < mPackageInfo.requestedPermissions.length; i++) { in updateUi()
148 perm = pm.getPermissionInfo(mPackageInfo.requestedPermissions[i], 0); in updateUi()
151 + mPackageInfo.requestedPermissions[i], e); in updateUi()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DAllAppPermissionsFragment.java139 if (info.requestedPermissions != null) { in updateUi()
140 for (int i = 0; i < info.requestedPermissions.length; i++) { in updateUi()
143 perm = pm.getPermissionInfo(info.requestedPermissions[i], 0); in updateUi()
146 "Can't get permission info for " + info.requestedPermissions[i], e); in updateUi()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java117 if (callingPackageInfo == null || callingPackageInfo.requestedPermissions == null in onCreate()
118 || callingPackageInfo.requestedPermissions.length <= 0) { in onCreate()
393 for (int i = 0; i < callingPackageInfo.requestedPermissions.length; i++) { in computePermissionGrantState()
394 if (permission.equals(callingPackageInfo.requestedPermissions[i])) { in computePermissionGrantState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DAppPicker.java122 if (pi.requestedPermissions == null) { in onCreateActions()
125 for (String requestedPermission : pi.requestedPermissions) { in onCreateActions()
/packages/apps/Settings/src/com/android/settings/development/
DAppPicker.java123 if (pi.requestedPermissions == null) { in AppListAdapter()
126 for (String requestedPermission : pi.requestedPermissions) { in AppListAdapter()
/packages/services/Car/car-support-lib/
Dproguard-release.flags1595 public java.lang.String[] requestedPermissions;