Searched refs:Package (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
H A DAttributeCache.java40 private final WeakHashMap<String, Package> mPackages =
41 new WeakHashMap<String, Package>();
44 public final static class Package { class in class:AttributeCache
49 public Package(Context c) { method in class:AttributeCache.Package
100 Package pkg = mPackages.get(packageName);
122 pkg = new Package(context);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSetting.java29 PackageParser.Package pkg;
43 * Note that it keeps the same PackageParser.Package instance.
H A DPackageManagerService.java388 // Keys are String (package name), values are Package. This also serves
391 final ArrayMap<String, PackageParser.Package> mPackages =
392 new ArrayMap<String, PackageParser.Package>();
395 final ArrayMap<String, ArrayMap<String, PackageParser.Package>> mOverlays =
396 new ArrayMap<String, ArrayMap<String, PackageParser.Package>>();
469 ArraySet<PackageParser.Package> mDeferredDexOpt = null;
485 PackageParser.Package mPlatformPackage;
603 // between the Package Manager and the Backup Manager
667 for (PackageParser.Package pkg : mPackages.values()) {
708 PackageParser.Package pk
[all...]
H A DSELinuxMMAC.java347 public static boolean assignSeinfoValue(PackageParser.Package pkg) {
H A DSettings.java281 PackageSetting getPackageLPw(PackageParser.Package pkg, PackageSetting origPackage,
341 Log.w(PackageManagerService.TAG, "Package:"+name+" is not an installed package");
366 Log.w(PackageManagerService.TAG, "Package:"+name+" is not disabled");
491 Slog.i(PackageManagerService.TAG, "Package " + name + " codePath changed from "
504 "Package " + name + " shared user changed from "
525 if (PackageManagerService.DEBUG_UPGRADE) Log.v(PackageManagerService.TAG, "Package "
615 "Package " + name + " could not be assigned a valid uid");
652 void insertPackageSettingLPw(PackageSetting p, PackageParser.Package pkg) {
710 "Package " + p.name + " was user "
716 "Package "
[all...]
/frameworks/base/tools/aapt/
H A DAndroid.mk37 Package.cpp \
H A DResourceTable.h101 class Package;
212 static inline uint32_t getResId(const sp<Package>& p,
246 status_t flattenLibraryTable(const sp<AaptFile>& dest, const Vector<sp<Package> >& libs);
508 class Package : public RefBase { class in class:ResourceTable
510 Package(const String16& name, size_t packageId);
511 virtual ~Package() { }
558 sp<Package> getPackage(const String16& package);
585 DefaultKeyedVector<String16, sp<Package> > mPackages;
586 Vector<sp<Package> > mOrderedPackages;
H A DResourceTable.cpp1749 sp<Package> package = new Package(mAssetsPackage, packageId);
1877 sp<Package> p = mPackages.valueFor(package);
1970 sp<Package> p = mPackages.valueFor(package);
1996 sp<Package> p = mPackages.valueFor(package);
2035 sp<Package> p = mPackages.valueFor(package);
2058 sp<Package> p = mPackages.valueFor(package);
2101 inline uint32_t ResourceTable::getResId(const sp<Package>& p,
2133 sp<Package> p = mPackages.valueFor(package);
2275 sp<Package>
3974 ResourceTable::Package::Package(const String16& name, size_t packageId) function in class:ResourceTable::Package
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java198 final Package owner;
209 ParsePackageItemArgs(Package _owner, String[] _outError,
228 ParseComponentArgs(Package _owner, String[] _outError,
374 public static PackageInfo generatePackageInfo(PackageParser.Package p,
389 public static PackageInfo generatePackageInfo(PackageParser.Package p,
410 public static PackageInfo generatePackageInfo(PackageParser.Package p,
748 * must be done separately in {@link #collectCertificates(Package, int)}.
752 public Package parsePackage(File packageFile, int flags) throws PackageParserException {
767 * must be done separately in {@link #collectCertificates(Package, int)}.
769 private Package parseClusterPackag
4186 public final static class Package { class in class:PackageParser
4334 public Package(String packageName) { method in class:PackageParser.Package
[all...]
H A DPackageManager.java3083 * @param appPackageName Package name of the application whose resources
3133 PackageParser.Package pkg = parser.parseMonolithicPackage(apkFile, 0);
3250 // Package-install variants that take the new, expanded form of observer interface.
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java31 import android.content.pm.PackageParser.Package;
60 // Special value for {@code PackageParser.Package#cpuAbiOverride} to indicate
87 public static Handle create(Package pkg) throws IOException {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java238 fail("Package installation should have succeeded, but got code "
243 fail("Package installation should fail");
315 private PackageParser.Package parsePackage(Uri packageURI) throws PackageParserException {
319 PackageParser.Package pkg = packageParser.parseMonolithicPackage(sourceFile, 0);
407 private void assertInstall(PackageParser.Package pkg, int flags, int expInstallLocation) {
591 PackageParser.Package pkg;
598 InstallParams(PackageParser.Package pkg) {
705 private PackageParser.Package getParsedPackage(String outFileName, int rawResId)
711 PackageParser.Package pkg = parsePackage(packageURI);
723 PackageParser.Package pk
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h853 // If this is a base package, its ID. Package IDs start
1816 struct Package;
1837 void print_value(const Package* pkg, const Res_value& value) const;
/frameworks/base/tools/apilint/
H A Dapilint.py142 class Package(): class in inherits:
173 pkg = Package(raw, blame)
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2863 const Package* package;
2871 Type(const Header* _header, const Package* _package, size_t count)
2875 const Package* const package;
2883 struct ResTable::Package struct in class:android::ResTable
2885 Package(ResTable* _owner, const Header* _header, const ResTable_package* _package) function in struct:android::ResTable::Package
2933 Package* pkg = packages[i];
2983 Vector<Package*> packages;
3263 ALOGI(" Package #0x%02x:\n", (int)(i + 1));
5483 const Package* bestPackage = NULL;
5660 LOG_ALWAYS_FATAL("Package i
[all...]
/frameworks/base/tools/aidl/
H A DType.h33 inline string Package() const { return m_package; } function in class:Type
H A DType.cpp1439 t->Package().c_str(), t->Name().c_str(),

Completed in 2506 milliseconds