Home
last modified time | relevance | path

Searched refs:pkgs (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java510 List<AppOpsManager.PackageOps> pkgs; in buildState() local
512 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()
DRunningState.java400 String[] pkgs = pm.getPackagesForUid(mUid); in ensureLabel() local
403 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()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java501 String[] pkgs = mPackageManager.getPackagesForUid(foregroundUids.get(0)); in prepareMessageToSend() local
502 if (pkgs != null && pkgs.length >= 1) { in prepareMessageToSend()
503 if (!generatePlayLink || beamDefaultDisabled(pkgs[0]) in prepareMessageToSend()
509 mMessageToSend = createDefaultNdef(pkgs[0]); in prepareMessageToSend()
DNfceeAccessControl.java88 String[] pkgs = pm.getPackagesForUid(uid); in check() local
89 for (String uidPkg : pkgs) { in check()
/packages/apps/Settings/src/com/android/settings/
DAppPicker.java89 List<ApplicationInfo> pkgs = context.getPackageManager().getInstalledApplications(0); in AppListAdapter() local
90 for (int i=0; i<pkgs.size(); i++) { in AppListAdapter()
91 ApplicationInfo ai = pkgs.get(i); in AppListAdapter()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDeveloperOptionsActivity.java594 List<ApplicationInfo> pkgs = getPackageManager().getInstalledApplications(0); in getApps() local
595 for (int i = 0; i < pkgs.size(); i++) { in getApps()
596 ApplicationInfo ai = pkgs.get(i); in getApps()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipSettings.java125 String[] pkgs = mPackageManager.getPackagesForUid(uid); in getPackageNameFromUid() local
126 ApplicationInfo ai = mPackageManager.getApplicationInfo(pkgs[0], 0); in getPackageNameFromUid()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java2034 HashSet<String> pkgs = sPendingPackages.get(user); in loadWorkspace() local
2035 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()