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

/frameworks/base/services/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/java/com/android/server/pm/
H A DPackageSetting.java29 PackageParser.Package pkg;
40 * Note that it keeps the same PackageParser.Package instance.
H A DPackageManagerService.java330 // installed zip file (absolute codePath), and values are Package.
331 final HashMap<String, PackageParser.Package> mAppDirs =
332 new HashMap<String, PackageParser.Package>();
340 // Keys are String (package name), values are Package. This also serves
343 final HashMap<String, PackageParser.Package> mPackages =
344 new HashMap<String, PackageParser.Package>();
421 HashSet<PackageParser.Package> mDeferredDexOpt = null;
434 PackageParser.Package mPlatformPackage;
552 // between the Package Manager and the Backup Manager
1331 final PackageParser.Package scannedPk
[all...]
H A DSELinuxMMAC.java54 // Package name seinfo values read from policy.
246 * @param PackageParser.Package object representing the package
251 public static void assignSeinfoValue(PackageParser.Package pkg) {
H A DSettings.java214 PackageSetting getPackageLPw(PackageParser.Package pkg, PackageSetting origPackage,
268 Log.w(PackageManagerService.TAG, "Package:"+name+" is not an installed package");
293 Log.w(PackageManagerService.TAG, "Package:"+name+" is not disabled");
409 Slog.i(PackageManagerService.TAG, "Package " + name + " codePath changed from "
422 "Package " + name + " shared user changed from "
442 if (PackageManagerService.DEBUG_UPGRADE) Log.v(PackageManagerService.TAG, "Package "
527 "Package " + name + " could not be assigned a valid uid");
558 void insertPackageSettingLPw(PackageSetting p, PackageParser.Package pkg) {
612 "Package " + p.name + " was user "
618 "Package "
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.h75 class Package;
194 static inline uint32_t getResId(const sp<Package>& p,
477 class Package : public RefBase { class in class:ResourceTable
479 Package(const String16& name, ssize_t includedId=-1);
480 virtual ~Package() { }
523 sp<Package> getPackage(const String16& package);
544 DefaultKeyedVector<String16, sp<Package> > mPackages;
545 Vector<sp<Package> > mOrderedPackages;
H A DAndroid.mk17 Package.cpp \
H A DResourceTable.cpp1716 sp<Package> p = new Package(name, id);
1828 sp<Package> p = mPackages.valueFor(package);
1921 sp<Package> p = mPackages.valueFor(package);
1947 sp<Package> p = mPackages.valueFor(package);
1986 sp<Package> p = mPackages.valueFor(package);
2009 sp<Package> p = mPackages.valueFor(package);
2051 inline uint32_t ResourceTable::getResId(const sp<Package>& p,
2066 sp<Package> p = mPackages.valueFor(package);
2222 sp<Package>
3690 ResourceTable::Package::Package(const String16& name, ssize_t includedId) function in class:ResourceTable::Package
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java70 * Package archive parsing
164 final Package owner;
174 ParsePackageItemArgs(Package _owner, String[] _outError,
192 ParseComponentArgs(Package _owner, String[] _outError,
253 public static PackageInfo generatePackageInfo(PackageParser.Package p,
268 public static PackageInfo generatePackageInfo(PackageParser.Package p,
289 public static PackageInfo generatePackageInfo(PackageParser.Package p,
493 public Package parsePackage(File sourceFile, String destCodePath,
543 Package pkg = null;
592 public boolean collectManifestDigest(Package pk
3444 public final static class Package { class in class:PackageParser
3553 public Package(String _name) { method in class:PackageParser.Package
[all...]
H A DPackageManager.java2569 * @param appPackageName Package name of the application whose resources
2620 PackageParser.Package pkg = packageParser.parsePackage(
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java228 fail("Package installation should have succeeded, but got code "
233 fail("Package installation should fail");
305 private PackageParser.Package parsePackage(Uri packageURI) {
311 PackageParser.Package pkg = packageParser.parsePackage(sourceFile, archiveFilePath,
400 private void assertInstall(PackageParser.Package pkg, int flags, int expInstallLocation) {
579 PackageParser.Package pkg;
586 InstallParams(PackageParser.Package pkg) {
693 private PackageParser.Package getParsedPackage(String outFileName, int rawResId) {
698 PackageParser.Package pkg = parsePackage(packageURI);
710 PackageParser.Package pk
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h786 // If this is a base package, its ID. Package IDs start
1568 struct Package;
1577 const Package* package, int typeIndex, int entryIndex,
1584 void print_value(const Package* pkg, const Res_value& value) const;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2473 Type(const Header* _header, const Package* _package, size_t count)
2477 const Package* const package;
2484 struct ResTable::Package struct in class:android::ResTable
2486 Package(ResTable* _owner, const Header* _header, const ResTable_package* _package) function in struct:android::ResTable::Package
2488 ~Package()
2521 Package* pkg = packages[i];
2531 Package* pkg = packages[0];
2558 Vector<Package*> packages;
2561 Package* basePackage;
2838 ALOGI(" Package #
[all...]
/frameworks/base/tools/aidl/
H A DType.h33 inline string Package() const { return m_package; } function in class:Type
H A DType.cpp1437 t->Package().c_str(), t->Name().c_str(),

Completed in 365 milliseconds