Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java514 List<AppOpsManager.PackageOps> pkgs; in buildState() local
516 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()
DAppStateAppOpsBridge.java150 String[] pkgs = mIPackageManager.getAppOpPermissionPackages(permission); in getEntries() local
151 if (pkgs != null) { in getEntries()
152 packagesSet.addAll(Arrays.asList(pkgs)); in getEntries()
DRunningState.java436 String[] pkgs = pm.getPackagesForUid(mUid); in ensureLabel() local
439 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()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java476 String[] pkgs = mPackageManager.getPackagesForUid(foregroundUids.get(0)); in prepareMessageToSend() local
477 if (pkgs != null && pkgs.length >= 1) { in prepareMessageToSend()
478 if (!generatePlayLink || beamDefaultDisabled(pkgs[0])) { in prepareMessageToSend()
483 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.java98 List<ApplicationInfo> pkgs = context.getPackageManager().getInstalledApplications(0); in AppListAdapter() local
99 for (int i=0; i<pkgs.size(); i++) { in AppListAdapter()
100 ApplicationInfo ai = pkgs.get(i); in AppListAdapter()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipSettings.java122 String[] pkgs = mPackageManager.getPackagesForUid(uid); in getPackageNameFromUid() local
123 ApplicationInfo ai = mPackageManager.getApplicationInfo(pkgs[0], 0); in getPackageNameFromUid()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java1951 HashSet<String> pkgs = sPendingPackages.get(user); in loadWorkspace() local
1952 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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDeveloperOptionsActivity.java317 final List<ApplicationInfo> pkgs = getPackageManager().getInstalledApplications(0); in getDebugAppHeader() local
319 for (final ApplicationInfo ai : pkgs) { in getDebugAppHeader()