/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
AppBackupUtils.java | 77 public static boolean appGetsFullBackup(PackageInfo pkg) { 78 if (pkg.applicationInfo.backupAgentName != null) { 80 return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_FULL_BACKUP_ONLY) != 0; 91 public static boolean appIsKeyValueOnly(PackageInfo pkg) { 92 return !appGetsFullBackup(pkg);
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
SdCardAvailableReceiver.java | 64 for (String pkg : new HashSet<>(entry.getValue())) { 65 if (!launcherApps.isPackageEnabledForProfile(pkg, user)) { 66 if (pmHelper.isAppOnSdcard(pkg, user)) { 67 packagesUnavailable.add(pkg); 69 packagesRemoved.add(pkg);
|
/frameworks/base/core/java/com/android/internal/content/ |
PackageMonitor.java | 301 String pkg = uri != null ? uri.getSchemeSpecificPart() : null; local 302 return pkg; 321 String pkg = getPackageName(intent); local 327 if (pkg != null) { 329 mTempArray[0] = pkg; 333 onPackageUpdateFinished(pkg, uid); 334 onPackageModified(pkg); 337 onPackageAdded(pkg, uid); 339 onPackageAppeared(pkg, mChangeType); 342 mUpdatingPackages.remove(pkg); 347 String pkg = getPackageName(intent); local 373 String pkg = getPackageName(intent); local 387 String pkg = getPackageName(intent); local [all...] |
/external/doclava/src/com/google/doclava/ |
AtLinksNavTree.java | 81 for (PackageInfo pkg : Doclava.choosePackages()) { 82 if (!pkg.name().contains(".internal.")) { 86 buf.append("\n \"" + pkg.name() + "\": {"); 89 is_first_class = addClasses(buf, pkg.annotations(), is_first_class); 90 is_first_class = addClasses(buf, pkg.interfaces(), is_first_class); 91 is_first_class = addClasses(buf, pkg.ordinaryClasses(), is_first_class); 92 is_first_class = addClasses(buf, pkg.enums(), is_first_class); 93 is_first_class = addClasses(buf, pkg.exceptions(), is_first_class); 94 addClasses(buf, pkg.errors(), is_first_class);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ForegroundServiceControllerImpl.java | 131 public void addNotification(String pkg, String key) { 132 if (mNotifications.get(pkg) == null) { 133 mNotifications.put(pkg, new ArraySet<String>()); 135 mNotifications.get(pkg).add(key); 137 public boolean removeNotification(String pkg, String key) { 139 final ArraySet<String> keys = mNotifications.get(pkg); 145 mNotifications.remove(pkg); 154 for (String pkg : mRunning) { 155 final ArraySet<String> set = mNotifications.get(pkg);
|
/prebuilts/go/darwin-x86/src/cmd/link/internal/ld/ |
ld.go | 48 pkg := name 49 if len(pkg) >= 2 && pkg[len(pkg)-2] == '.' { 50 pkg = pkg[:len(pkg)-2] 55 if ctxt.Library[i].Pkg == pkg { 68 pname = dir + "/" + pkg + ".shlibname [all...] |
/prebuilts/go/linux-x86/src/cmd/link/internal/ld/ |
ld.go | 48 pkg := name 49 if len(pkg) >= 2 && pkg[len(pkg)-2] == '.' { 50 pkg = pkg[:len(pkg)-2] 55 if ctxt.Library[i].Pkg == pkg { 68 pname = dir + "/" + pkg + ".shlibname [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageDexOptimizer.java | 105 static boolean canOptimizePackage(PackageParser.Package pkg) { 106 return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) != 0; 116 int performDexOpt(PackageParser.Package pkg, String[] sharedLibraries, 119 if (!canOptimizePackage(pkg)) { 123 final long acquireTime = acquireWakeLockLI(pkg.applicationInfo.uid); 125 return performDexOptLI(pkg, sharedLibraries, instructionSets, 138 private int performDexOptLI(PackageParser.Package pkg, String[] sharedLibraries, 142 targetInstructionSets : getAppDexInstructionSets(pkg.applicationInfo); 144 final List<String> paths = pkg.getAllCodePaths(); 145 final int sharedGid = UserHandle.getSharedAppGid(pkg.applicationInfo.uid) [all...] |
InstantAppRegistry.java | 137 PackageParser.Package pkg = mService.mPackages.get(packageName); local 138 if (pkg == null) { 142 byte[] pendingCookie = mCookiePersistence.getPendingPersistCookieLPr(pkg, userId); 170 PackageParser.Package pkg = mService.mPackages.get(packageName); local 171 if (pkg == null) { 175 mCookiePersistence.schedulePersistLPw(userId, pkg, cookie); 261 public void onPackageInstalledLPw(@NonNull PackageParser.Package pkg, @NonNull int[] userIds) { 262 PackageSetting ps = (PackageSetting) pkg.mExtras; 269 if (mService.mPackages.get(pkg.packageName) == null || !ps.getInstalled(userId)) { 274 propagateInstantAppPermissionsIfNeeded(pkg.packageName, userId) 673 final PackageParser.Package pkg = mService.mPackages.valueAt(i); local 800 final PackageParser.Package pkg = mService.mPackages.valueAt(i); local 1243 PackageParser.Package pkg = (PackageParser.Package) message.obj; local [all...] |
KeySetManagerService.java | 130 PackageSetting pkg = mPackages.get(packageName); local 131 if (pkg == null) { 134 if (pkg.keySetData == null) { 141 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); 156 PackageSetting pkg = mPackages.get(packageName); local 157 if (pkg == null) { 160 if (pkg.keySetData == null 161 || pkg.keySetData.getProperSigningKeySet() 169 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); 183 public void assertScannedPackageValid(PackageParser.Package pkg) 541 PackageSetting pkg = mPackages.get(packageName); local 581 PackageSetting pkg = e.getValue(); local [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
AppStateBaseBridge.java | 64 public void forceUpdate(String pkg, int uid) { 65 mHandler.obtainMessage(BackgroundHandler.MSG_FORCE_LOAD_PKG, uid, 0, pkg).sendToTarget(); 109 protected abstract void updateExtraInfo(AppEntry app, String pkg, int uid); 142 String pkg = (String) msg.obj; local 146 if (app.info.uid == uid && pkg.equals(app.info.packageName)) { 147 updateExtraInfo(app, pkg, uid);
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
AppStateBaseBridge.java | 64 public void forceUpdate(String pkg, int uid) { 65 mHandler.obtainMessage(BackgroundHandler.MSG_FORCE_LOAD_PKG, uid, 0, pkg).sendToTarget(); 109 protected abstract void updateExtraInfo(AppEntry app, String pkg, int uid); 142 String pkg = (String) msg.obj; local 146 if (app.info.uid == uid && pkg.equals(app.info.packageName)) { 147 updateExtraInfo(app, pkg, uid);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenAccessSettings.java | 136 final String pkg = app.packageName; local 142 pref.setChecked(hasAccess(pkg)); 143 if (autoApproved.contains(pkg)) { 153 .setPkgInfo(pkg, label) 157 .setPkgInfo(pkg, label) 188 private boolean hasAccess(String pkg) { 189 return mNoMan.isNotificationPolicyAccessGrantedForPackage(pkg); 192 private static void setAccess(final Context context, final String pkg, final boolean access) { 193 logSpecialPermissionChange(access, pkg, context); 198 mgr.setNotificationPolicyAccessGranted(pkg, access) 257 final String pkg = args.getString(KEY_PKG); local [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
object.go | 24 Pkg() *Package // nil for objects in the Universe scope and labels 45 // sameId reports whether obj.Id() and Id(pkg, name) are the same. 46 sameId(pkg *Package, name string) bool 57 func Id(pkg *Package, name string) string { 67 // TODO(gri): shouldn't !ast.IsExported(name) => pkg != nil be an precondition? 68 // if pkg == nil { 71 if pkg != nil { 72 path = pkg.path 84 pkg *Package 93 func (obj *object) Pkg() *Package { return obj.pkg [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
object.go | 24 Pkg() *Package // nil for objects in the Universe scope and labels 45 // sameId reports whether obj.Id() and Id(pkg, name) are the same. 46 sameId(pkg *Package, name string) bool 57 func Id(pkg *Package, name string) string { 67 // TODO(gri): shouldn't !ast.IsExported(name) => pkg != nil be an precondition? 68 // if pkg == nil { 71 if pkg != nil { 72 path = pkg.path 84 pkg *Package 93 func (obj *object) Pkg() *Package { return obj.pkg [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
XmlReport.java | 61 for (ApiPackage pkg : packages) { 62 if (packageFilter.accept(pkg.getName()) && pkg.getTotalMethods() > 0) { 63 int pkgTotal = pkg.getTotalMethods(); 65 int pkgTotalCovered = pkg.getNumCoveredMethods(); 67 out.println("<package name=\"" + pkg.getName() 71 + Math.round(pkg.getCoveragePercentage()) 74 List<ApiClass> classes = new ArrayList<ApiClass>(pkg.getClasses());
|
/external/harfbuzz_ng/ |
autogen.sh | 16 echo -n "checking for pkg-config... " 17 which pkg-config || { 18 echo "*** No pkg-config found, please install it ***"
|
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationDelegate.java | 27 String pkg, String tag, int id, int userId); 29 String pkg, String tag, int id,
|
/frameworks/base/test-runner/src/android/test/ |
SingleLaunchActivityTestCase.java | 44 * <b>NOTE:</b> The parameter <i>pkg</i> must refer to the package identifier of the 48 * @param pkg The package hosting the activity to be launched. 51 public SingleLaunchActivityTestCase(String pkg, Class<T> activityClass) { 52 mPackage = pkg;
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
fix.go | 24 for _, pkg := range packages(args) { 25 // Use pkg.gofiles instead of pkg.Dir so that 28 run(stringList(buildToolExec, tool("fix"), relPaths(pkg.allgofiles)))
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug206.go | 36 throw+0x33 /home/gri/go/src/pkg/runtime/runtime.c:71 38 sys·throwindex+0x1c /home/gri/go/src/pkg/runtime/runtime.c:45 44 mainstart+0xf /home/gri/go/src/pkg/runtime/amd64/asm.s:55 46 goexit /home/gri/go/src/pkg/runtime/proc.c:133
|
bug380.go | 9 package pkg package
|
/prebuilts/go/darwin-x86/test/fixedbugs/bug369.dir/ |
pkg.go | 5 package pkg package
|
/prebuilts/go/darwin-x86/test/fixedbugs/bug382.dir/ |
pkg.go | 5 package pkg package
|
/prebuilts/go/linux-x86/src/cmd/go/ |
fix.go | 24 for _, pkg := range packages(args) { 25 // Use pkg.gofiles instead of pkg.Dir so that 28 run(stringList(buildToolExec, tool("fix"), relPaths(pkg.allgofiles)))
|