Searched refs:requestedPermissions (Results 1 – 14 of 14) sorted by relevance
160 Set<String> requestedPermissions = new ArraySet<>(); in loadInBackground() local162 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()
113 if (mPackageInfo.requestedPermissions == null) { in loadPermissionGroups()119 for (String requestedPerm : mPackageInfo.requestedPermissions) { in loadPermissionGroups()139 for (String requestedPerm : mPackageInfo.requestedPermissions) { in loadPermissionGroups()
161 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()
118 final int permissionCount = packageInfo.requestedPermissions.length; in create()120 String requestedPermission = packageInfo.requestedPermissions[i]; in create()
98 String[] requestedPermissions = permissionState.packageInfo.requestedPermissions; in getPermissionInfo() local100 if (requestedPermissions != null) { in getPermissionInfo()101 for (int i = 0; i < requestedPermissions.length; i++) { in getPermissionInfo()102 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()
594 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()
946 if (mPackageInfo == null || mPackageInfo.requestedPermissions == null) {949 for (int i = 0; i < mPackageInfo.requestedPermissions.length; i++) {950 if (mPackageInfo.requestedPermissions[i].equals(permission)) {
114 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()
103 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()
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()
256 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()
122 if (pi.requestedPermissions == null) { in AppListAdapter()125 for (String requestedPermission : pi.requestedPermissions) { in AppListAdapter()
122 if (pi.requestedPermissions == null) { in onCreateActions()125 for (String requestedPermission : pi.requestedPermissions) { in onCreateActions()