Searched refs:requestedPermissions (Results 1 – 15 of 15) sorted by relevance
177 Set<String> requestedPermissions = new ArraySet<>(); in loadInBackground() local179 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()
108 if (mPackageInfo.requestedPermissions == null) { in loadPermissionGroups()114 for (String requestedPerm : mPackageInfo.requestedPermissions) { in loadPermissionGroups()123 for (String requestedPerm : mPackageInfo.requestedPermissions) { in loadPermissionGroups()
178 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()
122 final int permissionCount = packageInfo.requestedPermissions.length; in create()124 String requestedPermission = packageInfo.requestedPermissions[i]; in create()
106 String[] requestedPermissions = permissionState.packageInfo.requestedPermissions; in getPermissionInfo() local108 if (requestedPermissions != null) { in getPermissionInfo()109 for (int i = 0; i < requestedPermissions.length; i++) { in getPermissionInfo()110 if (doesAnyPermissionMatch(requestedPermissions[i], mPermissions)) { in getPermissionInfo()
82 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()
595 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()
1227 if (mPackageInfo == null || mPackageInfo.requestedPermissions == null) {1230 for (int i = 0; i < mPackageInfo.requestedPermissions.length; i++) {1231 if (mPackageInfo.requestedPermissions[i].equals(permission)) {
264 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()
144 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()
139 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()
117 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()
122 if (pi.requestedPermissions == null) { in onCreateActions()125 for (String requestedPermission : pi.requestedPermissions) { in onCreateActions()
123 if (pi.requestedPermissions == null) { in AppListAdapter()126 for (String requestedPermission : pi.requestedPermissions) { in AppListAdapter()
1595 public java.lang.String[] requestedPermissions;