Lines Matching refs:Pkg
1554 String pkg = bundle.getString("pkg");
1556 forceStopPackageLocked(pkg, appid, restart, false, true, false,
5340 * The pkg name and app id have to be specified.
5343 public void killApplicationWithAppId(String pkg, int appid, String reason) {
5344 if (pkg == null) {
5349 Slog.w(TAG, "Invalid appid specified for pkg : " + pkg);
5360 bundle.putString("pkg", pkg);
5365 throw new SecurityException(callerUid + " cannot kill pkg: " +
5366 pkg);
6178 for (String pkg : pkgs) {
6180 if (forceStopPackageLocked(pkg, -1, false, false, false, false, false,
8379 final String pkg = component.getPackageName();
8395 if (!proc.pkgList.containsKey(pkg)) {
8759 private boolean isLockTaskAuthorized(String pkg) {
8763 int uid = mContext.getPackageManager().getPackageUid(pkg,
8765 return (uid == Binder.getCallingUid()) && dpm != null && dpm.isLockTaskPermitted(pkg);
8772 final String pkg;
8774 pkg = task.intent.getComponent().getPackageName();
8777 if (!isSystemInitiated && !isLockTaskAuthorized(pkg)) {
8865 String pkg =
8867 int uid = mContext.getPackageManager().getPackageUid(pkg,
10743 BatteryStatsImpl.Uid.Pkg pkg =
10746 pkg.incWakeupsLocked();
11056 String pkg = dis.readUTF();
11058 lastDoneReceivers.add(new ComponentName(pkg, cls));
11874 String pkg = process.pkgList.keyAt(ip);
11875 sb.append("Package: ").append(pkg);
11877 PackageInfo pi = pm.getPackageInfo(pkg, 0, UserHandle.getCallingUserId());
11885 Slog.e(TAG, "Error getting package info: " + pkg, e);
12294 for (String pkg : app.pkgList) {
12295 extList.add(pkg);
12300 for (String pkg : extList) {
12302 ApplicationInfo info = pm.getApplicationInfo(pkg, 0, UserHandle.getCallingUserId());
13042 String pkg = entry.getKey();
13044 if (dumpPackage != null && !dumpPackage.equals(pkg)) {
13051 pw.print(" "); pw.print(pkg); pw.print(": ");
15380 BatteryStatsImpl.Uid.Pkg.Serv ss = null;
15979 removed ? "pkg removed" : "pkg changed");
18106 String pkg;
18109 pkg = act.packageName;
18112 pkg = null;
18116 if (uid != mCurResumedUid || (pkg != mCurResumedPackage
18117 && (pkg == null || !pkg.equals(mCurResumedPackage)))) {
18122 mCurResumedPackage = pkg;