/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
PluginManagerImpl.java | 216 String pkg = data.getEncodedSchemeSpecificPart(); local 217 if (mOneShotPackages.contains(pkg)) { 222 String label = pkg; 225 label = pm.getApplicationInfo(pkg, 0).loadLabel(pm).toString(); 240 Uri.parse("package://" + pkg)); 243 mContext.getSystemService(NotificationManager.class).notifyAsUser(pkg, 246 if (clearClassLoader(pkg)) { 247 Toast.makeText(mContext, "Reloading " + pkg, Toast.LENGTH_LONG).show(); 251 manager.onPackageChange(pkg); 255 manager.onPackageRemoved(pkg); [all...] |
/platform_testing/libraries/app-helpers/common/src/android/platform/test/helpers/common/ |
AbstractStandardAppHelper.java | 70 String pkg = getPackage(); local 72 if (!mDevice.hasObject(By.pkg(pkg).depth(0))) { 73 mLauncherStrategy.launch(id, pkg); 74 Log.i(LOG_TAG, "Launched package: id=" + id + ", pkg=" + pkg); 100 String pkg = getPackage(); local 102 if (null == pkg || pkg.isEmpty()) { 106 PackageInfo pInfo = pm.getPackageInfo(pkg, 0) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
NotificationBackendTest.java | 49 appRow.pkg = packageName; 70 channelBlockApp.pkg = channelBlockName; 78 pkgBlock.pkg = pkgBlockName; 85 otherAppRow.pkg ="foo.bar.nothingBlocked"; 96 appRow.pkg = packageName; 112 appRow.pkg = packageName; 125 appRow.pkg = packageName;
|
/sdk/eclipse/scripts/ |
collect_sources_for_sdk.py | 115 pkg = checkJavaFile(fp) 116 if pkg: 117 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view 118 copy(p, fp, f, pkg) 148 def copy(p, fp, f, pkg): 149 dstdir = os.path.join(p.DST, pkg)
|
/frameworks/base/services/core/java/com/android/server/pm/ |
BackgroundDexOptService.java | 192 for (String pkg : pkgs) { 214 Log.i(TAG, "Updating package " + pkg); 226 pkg, 230 updatedPackages.add(pkg); 295 for (String pkg : pkgs) { 302 if (failedPackageNames.contains(pkg)) { 311 if (unusedPackages.contains(pkg) && shouldDowngrade) { 314 if (is_for_primary_dex && !pm.canHaveOatDir(pkg)) { 317 pm.deleteOatArtifactsOfPackage(pkg); 334 failedPackageNames.add(pkg); [all...] |
PackageManagerService.java | 1023 PackageParser.Package pkg; field in class:PackageManagerService.IFVerificationParams 3136 final PackageParser.Package pkg = mPackages.get(pkgName); local 3648 PackageParser.Package pkg = mPackages.get(packageName); local 4342 final PackageParser.Package pkg = mPackages.get(packageName); local 5655 final PackageParser.Package pkg = mPackages.get(packageName); local 5784 final PackageParser.Package pkg = mPackages.get(packageName); local 5930 PackageParser.Package pkg = mPackages.valueAt(i); local 5955 final PackageParser.Package pkg = mPackages.get(packageName); local 5997 final PackageParser.Package pkg = mPackages.get(packageName); local 6055 final PackageParser.Package pkg = mPackages.valueAt(pkgIndex); local 7349 final PackageParser.Package pkg = mPackages.get(pkgName); local 8235 final PackageParser.Package pkg = mPackages.get(pkgName); local 8336 final PackageParser.Package pkg = mPackages.get(pkgName); local 8456 final PackageParser.Package pkg = mPackages.get(pkgName); local 8741 PackageParser.Package pkg = mPackages.get(packageName); local 8812 PackageParser.Package pkg = mPackages.get(packageName); local 9232 final PackageParser.Package pkg; local 10206 PackageParser.Package pkg; local 10239 PackageParser.Package pkg; local 12567 final PackageParser.Package pkg = ps.pkg; local 14972 PackageParser.Package pkg = mPackages.get(packageName); local 15301 PackageParser.Package pkg = mPackages.get(packageName); local 15447 final PackageParser.Package pkg = mPackages.get(verifierInfo.packageName); local 15654 PackageParser.Package pkg = mPackages.get(packageName); local 16956 final PackageLite pkg = PackageParser.parsePackageLite(codeFile, 0); local 17235 final PackageLite pkg = PackageParser.parsePackageLite(codeFile, 0); local 17497 PackageParser.Package pkg; field in class:PackageManagerService.PackageInstalledInfo 18446 final PackageParser.Package pkg; local 18829 startIntentFilterVerifications(args.user.getIdentifier(), replace, pkg); local 19416 PackageParser.Package pkg = null; local 20027 PackageParser.Package pkg = mPackages.get(packageName); local 20258 final PackageParser.Package pkg; local 20378 final PackageParser.Package pkg; local 20452 PackageParser.Package pkg; local 20500 PackageParser.Package pkg = mPackages.valueAt(i); local 20548 PackageSetting pkg = ps.sharedUser.packages.valueAt(j); local 20672 final PackageParser.Package pkg; local 20933 PackageParser.Package pkg = mPackages.get(packageName); local 21002 PackageParser.Package pkg = mPackages.valueAt(i); local 22036 PackageParser.Package pkg = pkgSetting.pkg; local 22587 String pkg = args[opti]; local 23557 PackageParser.Package pkg = null; local 23735 final PackageParser.Package pkg; local 24421 final PackageParser.Package pkg = mPackages.get(packageName); local 24903 final PackageParser.Package pkg = mPackages.get(packageName); local 24926 final PackageParser.Package pkg = mPackages.get(packageName); local 24957 final PackageParser.Package pkg = mPackages.get(packageName); local 24983 final PackageParser.Package pkg = mPackages.get(packageName); local 25476 PackageParser.Package pkg = mPackages.get(packageName); local 25491 PackageInfo pkg = generatePackageInfo((PackageSetting)p.mExtras, 0, userId); local 25528 final PackageParser.Package pkg = mPackages.get(packageName); local 25807 final PackageParser.Package pkg; local [all...] |
OtaDexoptService.java | 153 for (PackageParser.Package pkg : others) { 154 mPackageManagerService.deleteOatArtifactsOfPackage(pkg.packageName); 247 private synchronized List<String> generatePackageDexopts(PackageParser.Package pkg, 312 String[] libraryDependencies = pkg.usesLibraryFiles; 313 if (pkg.isSystemApp()) { 319 optimizer.performDexOpt(pkg, libraryDependencies, 322 mPackageManagerService.getDexManager().getPackageUseInfoOrDefault(pkg.packageName), 323 new DexoptOptions(pkg.packageName, compilationReason, 348 for (PackageParser.Package pkg : pkgs) { 349 if (pkg == null) [all...] |
PackageUsage.java | 69 for (PackageParser.Package pkg : packages.values()) { 70 if (pkg.getLatestPackageUseTimeInMills() == 0L) { 74 sb.append(pkg.packageName); 75 for (long usageTimeInMillis : pkg.mLastPackageUsageTimeInMills) { 131 PackageParser.Package pkg = packages.get(packageName); local 132 if (pkg == null) { 140 pkg.mLastPackageUsageTimeInMills[reason] = timestamp; 157 PackageParser.Package pkg = packages.get(packageName); local 158 if (pkg == null) { 165 pkg.mLastPackageUsageTimeInMills[reason] = parseAsLong(tokens[reason + 1]) [all...] |
DefaultPermissionGrantPolicy.java | 222 private void grantRuntimePermissionsForPackageLocked(int userId, PackageParser.Package pkg) { 224 for (String permission : pkg.requestedPermissions) { 231 grantRuntimePermissionsLPw(pkg, permissions, true, userId); 238 for (PackageParser.Package pkg : mService.mPackages.values()) { 239 grantRuntimePermissionsForPackageLocked(userId, pkg); 252 for (PackageParser.Package pkg : mService.mPackages.values()) { 253 if (!isSysComponentOrPersistentPlatformSignedPrivAppLPr(pkg) 254 || !doesPackageSupportRuntimePermissions(pkg) 255 || pkg.requestedPermissions.isEmpty()) { 258 grantRuntimePermissionsForPackageLocked(userId, pkg); 943 PackageParser.Package pkg = getPackageLPr(packageName); local 1081 PackageParser.Package pkg = getSystemPackageLPr(packageName); local 1178 PackageParser.Package pkg = getSystemPackageLPr(packageName); local [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationManagerService.java | 552 private boolean checkNotificationOp(String pkg, int uid) { 553 return mAppOps.checkOp(AppOpsManager.OP_POST_NOTIFICATION, uid, pkg) 554 == AppOpsManager.MODE_ALLOWED && !isPackageSuspendedForUser(pkg, uid); 560 final String pkg; field in class:NotificationManagerService.ToastRecord 565 ToastRecord(int pid, String pkg, ITransientNotification callback, int duration, 568 this.pkg = pkg; 583 if (filter != null && !filter.matches(pkg)) return; 592 + " pkg=" + pkg [all...] |
/development/build/tools/ |
mk_sources_zip.py | 140 pkg = checkJavaFile(filepath) 141 if not pkg: 143 if pkg: 145 pkg2 = pkg 150 verbose("Ignore package %s [%s]", pkg, filepath) 151 pkg = None 154 if pkg: 155 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view 156 copy(p, filepath, pkg) [all...] |
/external/deqp/external/ |
fetch_sources.py | 74 archiveDir = os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.archiveDir) 79 archiveFile = os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.archiveDir, pkg.filename) 86 return os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.archiveDir, "extracted") 209 for pkg in PACKAGES: 211 pkg.clean() 213 pkg.update( [all...] |
/external/bison/build-aux/ |
gnu-web-doc-update | 3 # http://www.gnu.org/software/$pkg/manual/ 38 http://www.gnu.org/software/\$pkg/manual/ 134 pkg=$(sed -n 's/^PACKAGE = \(.*\)/\1/p' $builddir/Makefile) \ 169 && $CVS -d $USER@cvs.sv.gnu.org:/webcvs/$pkg co $pkg ) 170 $RSYNC -avP "$builddir"/doc/manual/ $tmp/$pkg/manual 173 cd $tmp/$pkg/manual
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
KeyValueAdbRestoreEngine.java | 73 String pkg = info.packageName; local 74 File restoreDataName = new File(mDataDir, pkg + ".restore"); 75 File sortedDataName = new File(mDataDir, pkg + ".sorted"); 86 String pkg = info.packageName; local 87 File newStateName = new File(mDataDir, pkg + ".new"); 95 Slog.i(TAG, "Starting restore of package " + pkg + " for version code "
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue5963.go | 38 /Users/rsc/g/go/src/pkg/runtime/mheap.c:438 40 /Users/rsc/g/go/src/pkg/runtime/proc.c:1313 42 /Users/rsc/g/go/src/pkg/runtime/proc.c:165
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue5963.go | 38 /Users/rsc/g/go/src/pkg/runtime/mheap.c:438 40 /Users/rsc/g/go/src/pkg/runtime/proc.c:1313 42 /Users/rsc/g/go/src/pkg/runtime/proc.c:165
|
/build/make/tools/ |
java-layers.py | 94 # Lookup the dep object for the given package. If pkg is a subpackage 97 def lookup(self, pkg): 99 def compare_parts(parts, pkg): 100 if len(parts) > len(pkg): 104 if parts[i] != pkg[i]: 108 pkg = pkg.split(".") 112 x = compare_parts(parts, pkg) 212 pkg = m.group(1) 222 print "'%s' --> %s" % (pkg, imports [all...] |
/frameworks/base/core/java/android/content/pm/split/ |
DefaultSplitAssetLoader.java | 40 public DefaultSplitAssetLoader(PackageParser.PackageLite pkg, int flags) { 41 mBaseCodePath = pkg.baseCodePath; 42 mSplitCodePaths = pkg.splitCodePaths;
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldAndroidClassTest.java | 232 String pkg = (clazz.getPackage() == null ? "" : clazz.getPackage().getName() + "."); local 236 assertEquals(pkg + "OldAndroidClassTest", clazz.getName()); 238 assertEquals(pkg + "OldAndroidClassTest", clazz.getCanonicalName()); 242 assertEquals(pkg + "OldAndroidClassTest$MemberClass", clazz.getName()); 244 assertEquals(pkg + "OldAndroidClassTest.MemberClass", clazz.getCanonicalName()); 252 assertEquals(pkg + "OldAndroidClassTest$1LocalClass", clazz.getName()); 258 assertEquals(pkg + "OldAndroidClassTest$1", clazz.getName()); 266 assertEquals(pkg + "Mou$$aka", clazz.getName()); 268 assertEquals(pkg + "Mou$$aka", clazz.getCanonicalName()); 272 assertEquals(pkg + "OldAndroidClassTest$Mi$o$oup", clazz.getName()) [all...] |
/system/libvintf/ |
VintfObject.cpp | 133 static status_t getMissing(const T *pkg, bool mount, 137 if (pkg != nullptr) { 138 *updated = pkg; 180 PackageInfo pkg; // All information from package. local 185 parseStatus = tryParse(xml, gHalManifestConverter, &pkg.fwk.manifest, &pkg.dev.manifest); 193 parseStatus = tryParse(xml, gCompatibilityMatrixConverter, &pkg.fwk.matrix, &pkg.dev.matrix); 210 pkg.fwk.manifest.get(), mount, mountSystem, &updated.fwk.manifest, 215 pkg.dev.manifest.get(), mount, mountVendor, &updated.dev.manifest [all...] |
/prebuilts/go/darwin-x86/src/go/internal/gcimporter/ |
bimport.go | 120 pkg := p.pkg() 155 pkg.SetImports(list) 158 pkg.MarkComplete() 160 return p.read, pkg, nil 167 func (p *importer) pkg() *types.Package { func 191 errorf("package path %q for pkg index %d", path, len(p.pkgList)) 198 pkg := p.imports[path] 199 if pkg == nil { 200 pkg = types.NewPackage(path, name [all...] |
/prebuilts/go/linux-x86/src/go/internal/gcimporter/ |
bimport.go | 120 pkg := p.pkg() 155 pkg.SetImports(list) 158 pkg.MarkComplete() 160 return p.read, pkg, nil 167 func (p *importer) pkg() *types.Package { func 191 errorf("package path %q for pkg index %d", path, len(p.pkgList)) 198 pkg := p.imports[path] 199 if pkg == nil { 200 pkg = types.NewPackage(path, name [all...] |
/external/doclava/src/com/google/doclava/ |
Doclava.java | 284 for (String pkg : a[1].split(":")) { 285 stubPackages.add(pkg); 289 for (String pkg : a[1].split(":")) { 290 stubImportPackages.add(pkg); 291 hiddenPackages.add(pkg); 925 PackageInfo pkg = cl.containingPackage(); local 927 if (pkg == null) { 930 name = pkg.name(); 932 sorted.put(name, pkg); 938 PackageInfo pkg = entry.getValue() local 1111 PackageInfo pkg = cl.containingPackage(); local 1134 PackageInfo pkg = (PackageInfo) o; local 1326 PackageInfo pkg = cl.containingPackage(); local 1339 PackageInfo pkg = sorted.get(s); local 1481 PackageInfo pkg = ((ClassInfo) sorted[j].data).containingPackage(); local [all...] |
/external/objenesis/tck/src/main/java/org/objenesis/tck/search/ |
ClassEnumerator.java | 84 * @param pkg the searched package 87 public static SortedSet<String> getClassesForPackage(Package pkg) { 88 return getClassesForPackage(pkg, ClassEnumerator.class.getClassLoader()); 94 * @param pkg the searched package 97 public static SortedSet<String> getClassesForPackage(Package pkg, ClassLoader classLoader) { 110 String pkgname = pkg.getName();
|
/frameworks/base/core/java/com/android/internal/util/ |
DumpUtils.java | 123 for (String pkg : pkgs) { 124 switch (appOps.checkOpNoThrow(AppOpsManager.OP_GET_USAGE_STATS, uid, pkg)) { 126 if (DEBUG) Slog.v(TAG, "Found package " + pkg + " with " 130 if (DEBUG) Slog.v(TAG, "Found package " + pkg + " with "
|