Searched refs:pkgs (Results 1 – 8 of 8) sorted by relevance
510 List<AppOpsManager.PackageOps> pkgs; in buildState() local512 pkgs = mAppOps.getOpsForPackage(uid, packageName, tpl.ops); in buildState()514 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState()517 if (pkgs != null) { in buildState()518 for (int i=0; i<pkgs.size(); i++) { in buildState()519 AppOpsManager.PackageOps pkgOps = pkgs.get(i); in buildState()
400 String[] pkgs = pm.getPackagesForUid(mUid); in ensureLabel() local403 if (pkgs.length == 1) { in ensureLabel()405 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], in ensureLabel()417 for (String name : pkgs) { in ensureLabel()447 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], in ensureLabel()
501 String[] pkgs = mPackageManager.getPackagesForUid(foregroundUids.get(0)); in prepareMessageToSend() local502 if (pkgs != null && pkgs.length >= 1) { in prepareMessageToSend()503 if (!generatePlayLink || beamDefaultDisabled(pkgs[0]) in prepareMessageToSend()509 mMessageToSend = createDefaultNdef(pkgs[0]); in prepareMessageToSend()
88 String[] pkgs = pm.getPackagesForUid(uid); in check() local89 for (String uidPkg : pkgs) { in check()
89 List<ApplicationInfo> pkgs = context.getPackageManager().getInstalledApplications(0); in AppListAdapter() local90 for (int i=0; i<pkgs.size(); i++) { in AppListAdapter()91 ApplicationInfo ai = pkgs.get(i); in AppListAdapter()
594 List<ApplicationInfo> pkgs = getPackageManager().getInstalledApplications(0); in getApps() local595 for (int i = 0; i < pkgs.size(); i++) { in getApps()596 ApplicationInfo ai = pkgs.get(i); in getApps()
125 String[] pkgs = mPackageManager.getPackagesForUid(uid); in getPackageNameFromUid() local126 ApplicationInfo ai = mPackageManager.getApplicationInfo(pkgs[0], 0); in getPackageNameFromUid()
2034 HashSet<String> pkgs = sPendingPackages.get(user); in loadWorkspace() local2035 if (pkgs == null) { in loadWorkspace()2036 pkgs = new HashSet<String>(); in loadWorkspace()2037 sPendingPackages.put(user, pkgs); in loadWorkspace()2039 pkgs.add(cn.getPackageName()); in loadWorkspace()