Searched refs:pkgs (Results 1 – 9 of 9) sorted by relevance
514 List<AppOpsManager.PackageOps> pkgs; in buildState() local516 pkgs = mAppOps.getOpsForPackage(uid, packageName, tpl.ops); in buildState()518 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState()521 if (pkgs != null) { in buildState()522 for (int i=0; i<pkgs.size(); i++) { in buildState()523 AppOpsManager.PackageOps pkgOps = pkgs.get(i); in buildState()
150 String[] pkgs = mIPackageManager.getAppOpPermissionPackages(permission); in getEntries() local151 if (pkgs != null) { in getEntries()152 packagesSet.addAll(Arrays.asList(pkgs)); in getEntries()
436 String[] pkgs = pm.getPackagesForUid(mUid); in ensureLabel() local439 if (pkgs.length == 1) { in ensureLabel()441 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], in ensureLabel()453 for (String name : pkgs) { in ensureLabel()483 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], in ensureLabel()
476 String[] pkgs = mPackageManager.getPackagesForUid(foregroundUids.get(0)); in prepareMessageToSend() local477 if (pkgs != null && pkgs.length >= 1) { in prepareMessageToSend()478 if (!generatePlayLink || beamDefaultDisabled(pkgs[0])) { in prepareMessageToSend()483 mMessageToSend = createDefaultNdef(pkgs[0]); in prepareMessageToSend()
88 String[] pkgs = pm.getPackagesForUid(uid); in check() local89 for (String uidPkg : pkgs) { in check()
98 List<ApplicationInfo> pkgs = context.getPackageManager().getInstalledApplications(0); in AppListAdapter() local99 for (int i=0; i<pkgs.size(); i++) { in AppListAdapter()100 ApplicationInfo ai = pkgs.get(i); in AppListAdapter()
122 String[] pkgs = mPackageManager.getPackagesForUid(uid); in getPackageNameFromUid() local123 ApplicationInfo ai = mPackageManager.getApplicationInfo(pkgs[0], 0); in getPackageNameFromUid()
1951 HashSet<String> pkgs = sPendingPackages.get(user); in loadWorkspace() local1952 if (pkgs == null) { in loadWorkspace()1953 pkgs = new HashSet<String>(); in loadWorkspace()1954 sPendingPackages.put(user, pkgs); in loadWorkspace()1956 pkgs.add(cn.getPackageName()); in loadWorkspace()
317 final List<ApplicationInfo> pkgs = getPackageManager().getInstalledApplications(0); in getDebugAppHeader() local319 for (final ApplicationInfo ai : pkgs) { in getDebugAppHeader()