Home
last modified time | relevance | path

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

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionGroups.java160 Set<String> requestedPermissions = new ArraySet<>(); in loadInBackground() local
162 if (installedPackage.requestedPermissions == null) { in loadInBackground()
165 for (String requestedPermission : installedPackage.requestedPermissions) { in loadInBackground()
166 requestedPermissions.add(requestedPermission); in loadInBackground()
188 if (!requestedPermissions.contains(permissionInfo.name)) { in loadInBackground()
DAppPermissions.java113 if (mPackageInfo.requestedPermissions == null) { in loadPermissionGroups()
119 for (String requestedPerm : mPackageInfo.requestedPermissions) { in loadPermissionGroups()
139 for (String requestedPerm : mPackageInfo.requestedPermissions) { in loadPermissionGroups()
DPermissionApps.java161 if (app.requestedPermissions == null) { in loadPermissionApps()
165 for (int j = 0; j < app.requestedPermissions.length; j++) { in loadPermissionApps()
166 String requestedPerm = app.requestedPermissions[j]; in loadPermissionApps()
DAppPermissionGroup.java118 final int permissionCount = packageInfo.requestedPermissions.length; in create()
120 String requestedPermission = packageInfo.requestedPermissions[i]; in create()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java98 String[] requestedPermissions = permissionState.packageInfo.requestedPermissions; in getPermissionInfo() local
100 if (requestedPermissions != null) { in getPermissionInfo()
101 for (int i = 0; i < requestedPermissions.length; i++) { in getPermissionInfo()
102 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.java594 if (appInfo.requestedPermissions != null) { in buildState()
595 for (int j=0; j<appInfo.requestedPermissions.length; j++) { in buildState()
600 + appInfo.requestedPermissions[j] + " not granted; skipping"); in buildState()
605 + appInfo.requestedPermissions[j]); in buildState()
607 if (!perms.get(k).equals(appInfo.requestedPermissions[j])) { in buildState()
DInstalledAppDetails.java946 if (mPackageInfo == null || mPackageInfo.requestedPermissions == null) {
949 for (int i = 0; i < mPackageInfo.requestedPermissions.length; i++) {
950 if (mPackageInfo.requestedPermissions[i].equals(permission)) {
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DAllAppPermissionsFragment.java114 if (info.requestedPermissions != null) { in updateUi()
115 for (int i = 0; i < info.requestedPermissions.length; i++) { in updateUi()
118 perm = pm.getPermissionInfo(info.requestedPermissions[i], 0); in updateUi()
121 "Can't get permission info for " + info.requestedPermissions[i], e); in updateUi()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java103 if (callingPackageInfo == null || callingPackageInfo.requestedPermissions == null in onCreate()
104 || callingPackageInfo.requestedPermissions.length <= 0) { in onCreate()
313 for (int i = 0; i < callingPackageInfo.requestedPermissions.length; i++) { in computePermissionGrantState()
314 if (permission.equals(callingPackageInfo.requestedPermissions[i])) { in computePermissionGrantState()
/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/wear/
DWearPackageInstallerService.java256 List<String> wearablePerms = pkg.requestedPermissions; in installPackage()
278 if (existingPkgInfo.requestedPermissions != null) { in installPackage()
279 for (int i = 0; i < existingPkgInfo.requestedPermissions.length; ++i) { in installPackage()
284 Log.d(TAG, existingPkgInfo.requestedPermissions[i] + in installPackage()
287 wearablePerms.remove(existingPkgInfo.requestedPermissions[i]); in installPackage()
/packages/apps/Settings/src/com/android/settings/
DAppPicker.java122 if (pi.requestedPermissions == null) { in AppListAdapter()
125 for (String requestedPermission : pi.requestedPermissions) { in AppListAdapter()
/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()