Home
last modified time | relevance | path

Searched refs:Package (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java70 private static void filterRecentlyUsedApps(Collection<PackageParser.Package> pkgs, in filterRecentlyUsedApps()
76 for (Iterator<PackageParser.Package> i = pkgs.iterator(); i.hasNext();) { in filterRecentlyUsedApps()
77 PackageParser.Package pkg = i.next(); in filterRecentlyUsedApps()
102 public static List<PackageParser.Package> getPackagesForDexopt( in getPackagesForDexopt()
103 Collection<PackageParser.Package> packages, in getPackagesForDexopt()
105 ArrayList<PackageParser.Package> remainingPkgs = new ArrayList<>(packages); in getPackagesForDexopt()
106 LinkedList<PackageParser.Package> result = new LinkedList<>(); in getPackagesForDexopt()
109 for (PackageParser.Package pkg : remainingPkgs) { in getPackagesForDexopt()
122 for (PackageParser.Package pkg : remainingPkgs) { in getPackagesForDexopt()
134 for (PackageParser.Package pkg : remainingPkgs) { in getPackagesForDexopt()
[all …]
DDefaultPermissionGrantPolicy.java219 for (PackageParser.Package pkg : mService.mPackages.values()) { in grantPermissionsToSysComponentsAndPrivApps()
277 PackageParser.Package installerPackage = getSystemPackageLPr( in grantDefaultSystemHandlerPermissions()
285 PackageParser.Package verifierPackage = getSystemPackageLPr( in grantDefaultSystemHandlerPermissions()
295 PackageParser.Package setupPackage = getSystemPackageLPr( in grantDefaultSystemHandlerPermissions()
307 PackageParser.Package cameraPackage = getDefaultSystemHandlerActivityPackageLPr( in grantDefaultSystemHandlerPermissions()
317 PackageParser.Package mediaStorePackage = getDefaultProviderAuthorityPackageLPr( in grantDefaultSystemHandlerPermissions()
324 PackageParser.Package downloadsPackage = getDefaultProviderAuthorityPackageLPr( in grantDefaultSystemHandlerPermissions()
332 PackageParser.Package downloadsUiPackage = getDefaultSystemHandlerActivityPackageLPr( in grantDefaultSystemHandlerPermissions()
340 PackageParser.Package storagePackage = getDefaultProviderAuthorityPackageLPr( in grantDefaultSystemHandlerPermissions()
348 PackageParser.Package certInstallerPackage = getDefaultSystemHandlerActivityPackageLPr( in grantDefaultSystemHandlerPermissions()
[all …]
DPackageUsage.java39 class PackageUsage extends AbstractStatsBase<Map<String, PackageParser.Package>> {
55 protected void writeInternal(Map<String, PackageParser.Package> packages) { in writeInternal()
69 for (PackageParser.Package pkg : packages.values()) { in writeInternal()
93 protected void readInternal(Map<String, PackageParser.Package> packages) { in readInternal()
117 private void readVersion0LP(Map<String, PackageParser.Package> packages, InputStream in, in readVersion0LP()
131 PackageParser.Package pkg = packages.get(packageName); in readVersion0LP()
145 private void readVersion1LP(Map<String, PackageParser.Package> packages, InputStream in, in readVersion1LP()
157 PackageParser.Package pkg = packages.get(packageName); in readVersion1LP()
DOtaDexoptService.java96 final List<PackageParser.Package> important; in prepare()
97 final List<PackageParser.Package> others; in prepare()
110 for (PackageParser.Package p : important) { in prepare()
122 for (PackageParser.Package p : others) { in prepare()
199 private synchronized List<String> generatePackageDexopts(PackageParser.Package pkg, in generatePackageDexopts()
234 Collection<PackageParser.Package> pkgs = mPackageManagerService.getPackages(); in moveAbArtifacts()
235 for (PackageParser.Package pkg : pkgs) { in moveAbArtifacts()
DPackageDexOptimizer.java81 static boolean canOptimizePackage(PackageParser.Package pkg) { in canOptimizePackage()
92 int performDexOpt(PackageParser.Package pkg, String[] sharedLibraries, in performDexOpt()
130 void dumpDexoptState(IndentingPrintWriter pw, PackageParser.Package pkg) { in dumpDexoptState()
153 private int performDexOptLI(PackageParser.Package pkg, String[] sharedLibraries, in performDexOptLI()
300 private String createOatDirIfSupported(PackageParser.Package pkg, String dexInstructionSet) { in createOatDirIfSupported()
332 public static boolean isUsedByOtherApps(PackageParser.Package pkg) { in isUsedByOtherApps()
DPackageManagerService.java570 final ArrayMap<String, PackageParser.Package> mPackages =
571 new ArrayMap<String, PackageParser.Package>();
577 final ArrayMap<String, ArrayMap<String, PackageParser.Package>> mOverlays =
578 new ArrayMap<String, ArrayMap<String, PackageParser.Package>>();
715 PackageParser.Package mPlatformPackage;
746 PackageParser.Package pkg;
751 public IFVerificationParams(PackageParser.Package _pkg, boolean _replacing, in IFVerificationParams()
1776 PackageParser.Package pkg) { in grantRuntimePermissionsGrantedToDisabledPrivSysPackageParentLPw()
1862 private void grantRequestedRuntimePermissions(PackageParser.Package pkg, int[] userIds, in grantRequestedRuntimePermissions()
1874 private void grantRequestedRuntimePermissionsForUser(PackageParser.Package pkg, int userId, in grantRequestedRuntimePermissionsForUser()
[all …]
DEphemeralApplicationRegistry.java121 PackageParser.Package pkg = mService.mPackages.get(packageName); in setEphemeralApplicationCookieLPw()
174 public void onPackageInstalledLPw(PackageParser.Package pkg) { in onPackageInstalledLPw()
230 public void onPackageUninstalledLPw(PackageParser.Package pkg) { in onPackageUninstalledLPw()
268 private void addUninstalledEphemeralAppLPw(PackageParser.Package pkg, int userId) { in addUninstalledEphemeralAppLPw()
290 private void writeEphemeralApplicationIconLPw(PackageParser.Package pkg, int userId) { in writeEphemeralApplicationIconLPw()
376 PackageParser.Package pkg = mService.mPackages.valueAt(i); in getInstalledEphemeralApplicationsLPr()
394 PackageParser.Package pkg, int userId) { in createEphemeralAppInfoForPackage()
431 private void propagateEphemeralAppPermissionsIfNeeded(PackageParser.Package pkg, int userId) { in propagateEphemeralAppPermissionsIfNeeded()
554 private static File computeEphemeralCookieFile(PackageParser.Package pkg, int userId) { in computeEphemeralCookieFile()
672 private static String computePackageCertDigest(PackageParser.Package pkg) { in computePackageCertDigest()
DPackageSetting.java31 PackageParser.Package pkg;
DSELinuxMMAC.java294 public static void assignSeinfoValue(PackageParser.Package pkg) { in assignSeinfoValue()
508 public String getMatchedSeinfo(PackageParser.Package pkg) { in getMatchedSeinfo()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags106 2820 backup_data_changed (Package|3)
108 2822 backup_transport_failure (Package|3)
109 2823 backup_agent_failure (Package|3),(Message|3)
110 2824 backup_package (Package|3),(Size|1|2)
115 2829 backup_quota_exceeded (Package|3)
118 2832 restore_agent_failure (Package|3),(Message|3)
119 2833 restore_package (Package|3),(Size|1|2)
122 2840 full_backup_package (Package|3)
123 2841 full_backup_agent_failure (Package|3),(Message|3)
125 2843 full_backup_success (Package|3)
[all …]
DAttributeCache.java44 private final LruCache<String, Package> mPackages = new LruCache<>(CACHE_SIZE);
49 public final static class Package { class in AttributeCache
53 public Package(Context c) { in Package() method in AttributeCache.Package
90 final Package pkg = mPackages.remove(packageName); in removePackage()
121 Package pkg = mPackages.get(packageName); in get()
143 pkg = new Package(context); in get()
/frameworks/base/tools/aapt/
DResourceTable.h102 class Package; variable
228 static inline uint32_t getResId(const sp<Package>& p,
264 status_t flattenLibraryTable(const sp<AaptFile>& dest, const Vector<sp<Package> >& libs);
526 class Package : public RefBase {
528 Package(const String16& name, size_t packageId);
529 virtual ~Package() { } in ~Package()
588 sp<Package> getPackage(const String16& package);
620 DefaultKeyedVector<String16, sp<Package> > mPackages;
621 Vector<sp<Package> > mOrderedPackages;
DResourceTable.cpp1777 sp<Package> package = new Package(mAssetsPackage, packageId); in ResourceTable()
1905 sp<Package> p = mPackages.valueFor(package); in startBag()
1998 sp<Package> p = mPackages.valueFor(package); in hasBagOrEntry()
2024 sp<Package> p = mPackages.valueFor(package); in hasBagOrEntry()
2063 sp<Package> p = mPackages.valueFor(package); in appendComment()
2086 sp<Package> p = mPackages.valueFor(package); in appendTypeComment()
2184 inline uint32_t ResourceTable::getResId(const sp<Package>& p, in getResId()
2216 sp<Package> p = mPackages.valueFor(package); in getResId()
2363 sp<Package> p = mPackages.valueFor(package); in getCustomResource()
2574 sp<Package> p = mOrderedPackages.itemAt(pi); in assignResourceIds()
[all …]
DAndroid.mk37 Package.cpp \
/frameworks/base/docs/html/sdk/
Dolder_releases.jd43 <th>Package</th>
88 <th>Package</th>
133 <th>Package</th>
181 <th>Package</th>
237 <th>Package</th>
282 <th>Package</th>
327 <th>Package</th>
389 <th colspan="2">Package</th>
426 <th colspan="2">Package</th>
463 <th colspan="2">Package</th>
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java268 final Package owner;
280 ParsePackageItemArgs(Package _owner, String[] _outError, in ParsePackageItemArgs()
301 ParseComponentArgs(Package _owner, String[] _outError, in ParseComponentArgs()
465 public static PackageInfo generatePackageInfo(PackageParser.Package p, in generatePackageInfo()
486 public static PackageInfo generatePackageInfo(PackageParser.Package p, in generatePackageInfo()
797 public Package parsePackage(File packageFile, int flags) throws PackageParserException { in parsePackage()
814 private Package parseClusterPackage(File packageDir, int flags) throws PackageParserException { in parseClusterPackage()
835 final Package pkg = parseBaseApk(baseApk, assets, flags); in parseClusterPackage()
873 public Package parseMonolithicPackage(File apkFile, int flags) throws PackageParserException { in parseMonolithicPackage()
884 final Package pkg = parseBaseApk(apkFile, assets, flags); in parseMonolithicPackage()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DEventLogTags.logtags31 30008 am_anr (User|1|5),(pid|1|5),(Package Name|3),(Flags|1|5),(reason|3)
78 30036 am_provider_lost_process (User|1|5),(Package Name|3),(UID|1|5),(Name|3)
100 30045 am_pre_boot (User|1|5),(Package|3)
/frameworks/base/docs/html/training/wearables/apps/
Dpackaging.jd12 <li><a href="#Studio">Package with Android Studio</a></li>
13 <li><a href="#PackageManually">Package Manually</a></li>
30 <h2 id="Studio">Package with Android Studio</h2>
89 <h2 id="PackageManually">Package Manually</h2>
/frameworks/base/tools/aapt2/
DFormat.proto48 repeated Package packages = 4;
51 message Package { message
/frameworks/base/docs/html-intl/intl/ja/guide/publishing/
Dapp-signing.jd181Package Explorer)でプロジェクトを右クリックして、[[]<strong>Android ツール(Android Tools)</strong>] &gt; [[]<strong>署…
316 …スプローラー(Package Explorer)でプロジェクトを右クリックして、<strong>[[]Android ツール(Android Tools)] &gt; [[]署名済みアプリケーショ…
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java316 private PackageParser.Package parsePackage(Uri packageURI) throws PackageParserException { in parsePackage()
320 PackageParser.Package pkg = packageParser.parseMonolithicPackage(sourceFile, 0); in parsePackage()
408 private void assertInstall(PackageParser.Package pkg, int flags, int expInstallLocation) { in assertInstall()
577 PackageParser.Package pkg;
584 InstallParams(PackageParser.Package pkg) { in InstallParams()
691 private PackageParser.Package getParsedPackage(String outFileName, int rawResId) in getParsedPackage()
697 PackageParser.Package pkg = parsePackage(packageURI); in getParsedPackage()
709 PackageParser.Package pkg = ip.pkg; in installFromRawResource()
2780 PackageParser.Package pkg = parsePackage(packageURI); in testInstallSdcardStaleContainer()
2829 PackageParser.Package pkg = parsePackage(packageURI); in testInstallSdcardStaleContainerReinstall()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java31 import android.content.pm.PackageParser.Package;
89 public static Handle create(Package pkg) throws IOException { in create()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java20 import android.content.pm.PackageParser.Package;
/frameworks/base/docs/html/training/backward-compatible-ui/
Dindex.jd16 <li><a href="{@docRoot}tools/support-library/index.html">The Android Support Package</a></li>
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp65 bool deserializeFromPb(const pb::Package& pbPackage, ResourceTable* table) { in deserializeFromPb()
433 for (const pb::Package& pbPackage : pbTable.packages()) { in deserializeTableFromPb()

123