Searched defs:pkgName (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DPackageStats.java123 public PackageStats(String pkgName) { argument
124 packageName = pkgName;
129 public PackageStats(String pkgName, int userHandle) { argument
130 this.packageName = pkgName;
H A DPackageManager.java2112 * @param pkgName The name of the package you are checking against.
2121 public abstract int checkPermission(String permName, String pkgName); argument
/frameworks/base/core/java/com/android/internal/os/
H A DInstallerConnection.java97 public int dexopt(String apkPath, int uid, boolean isPublic, String pkgName, argument
106 builder.append(pkgName);
118 public int patchoat(String apkPath, int uid, boolean isPublic, String pkgName, argument
127 builder.append(pkgName);
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfoSource.java49 protected ClassPathPackageInfo load(String pkgName) {
50 return createPackageInfo(pkgName);
71 public ClassPathPackageInfo getPackageInfo(String pkgName) { argument
72 return cache.get(pkgName);
/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java57 public int patchoat(String apkPath, int uid, boolean isPublic, String pkgName, argument
64 return mInstaller.patchoat(apkPath, uid, isPublic, pkgName, instructionSet);
85 public int dexopt(String apkPath, int uid, boolean isPublic, String pkgName, argument
92 return mInstaller.dexopt(apkPath, uid, isPublic, pkgName, instructionSet, vmSafeMode);
246 public int getSizeInfo(String pkgName, int persona, String apkPath, String libDirPath, argument
257 builder.append(pkgName);
322 public boolean restoreconData(String pkgName, String seinfo, int uid) { argument
325 builder.append(pkgName);
H A DSELinuxMMAC.java122 String checkPolicy(String pkgName) { argument
124 String seinfoValue = pkgMap.get(pkgName);
H A DSettings.java296 void setInstallStatus(String pkgName, int status) { argument
297 PackageSetting p = mPackages.get(pkgName);
305 void setInstallerPackageName(String pkgName, argument
307 PackageSetting p = mPackages.get(pkgName);
1674 // pkgName - package name
3166 final String pkgName = componentInfo.packageName;
3167 final PackageSetting packageSettings = mPackages.get(pkgName);
H A DPackageManagerService.java1777 for (String pkgName : mSettings.mPackages.keySet()) {
1778 deleteCodeCacheDirsLI(pkgName);
2372 public int checkPermission(String permName, String pkgName) { argument
2374 PackageParser.Package p = mPackages.get(pkgName);
3374 final String pkgName = intent.getPackage();
3375 if (pkgName == null) {
3399 final PackageParser.Package pkg = mPackages.get(pkgName);
3690 String pkgName = intent.getPackage();
3691 if (pkgName == null) {
3694 final PackageParser.Package pkg = mPackages.get(pkgName);
6711 killApplication(String pkgName, int appId, String reason) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
H A DSearchablesTest.java435 public int checkPermission(String permName, String pkgName) { argument
437 assertNotNull(pkgName);
440 return mRealPackageManager.checkPermission(permName, pkgName);
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java305 private File tarballFile(String pkgName) { argument
306 return new File(mCurrentSetFullDir, pkgName);
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java967 String pkgName = parser.getAttributeValue(null, "n");
978 readUid(parser, pkgName);
987 void readUid(XmlPullParser parser, String pkgName) throws NumberFormatException, argument
997 .getApplicationInfo(pkgName, 0, UserHandle.getUserId(uid));
1021 Op op = new Op(uid, pkgName, Integer.parseInt(parser.getAttributeValue(null, "n")));
1043 Ops ops = pkgOps.get(pkgName);
1045 ops = new Ops(pkgName, uid, isPrivileged);
1046 pkgOps.put(pkgName, ops);
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java390 public int checkPermission(String permName, String pkgName) { argument
392 return mPM.checkPermission(permName, pkgName);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java173 public int checkPermission(String permName, String pkgName) { argument
/frameworks/native/cmds/installd/
H A Dcommands.c1554 int restorecon_data(const char* pkgName, const char* seinfo, uid_t uid) argument
1567 if (!pkgName || !seinfo) {
1572 if (asprintf(&primarydir, "%s%s%s", android_data_dir.path, PRIMARY_USER_PREFIX, pkgName) < 0) {
1612 if (asprintf(&pkgdir, "%s%s/%s", userdir, user, pkgName) < 0) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java181 String pkgName; field in class:PackageManagerTests.InstallReceiver
183 InstallReceiver(String pkgName) { argument
184 this.pkgName = pkgName;
197 if (pkgName.equals(installedPkg)) {
409 String pkgName = pkg.packageName;
410 ApplicationInfo info = getPm().getApplicationInfo(pkgName, 0);
412 assertEquals(pkgName, info.packageName);
572 private void assertNotInstalled(String pkgName) { argument
574 ApplicationInfo info = getPm().getApplicationInfo(pkgName,
789 String pkgName; field in class:PackageManagerTests.ReplaceReceiver
804 ReplaceReceiver(String pkgName) argument
965 String pkgName; field in class:PackageManagerTests.DeleteReceiver
967 DeleteReceiver(String pkgName) argument
988 invokeDeletePackage(final String pkgName, int flags, GenericReceiver receiver) argument
1365 cleanUpInstall(String pkgName) argument
1548 String pkgName; field in class:PackageManagerTests.MoveReceiver
1558 MoveReceiver(String pkgName) argument
1604 PackageMoveObserver(String pkgName) argument
1625 invokeMovePackage(String pkgName, int flags, GenericReceiver receiver) argument
1663 invokeMovePackageFail(String pkgName, int flags, int errCode) argument
[all...]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java334 String pkgName = uri.getSchemeSpecificPart();
335 if (pkgName == null) {
338 pkgList = new String[] { pkgName };
355 for (String pkgName : pkgList) {
357 componentsModified |= updateProvidersForPackageLocked(pkgName, userId, null);
362 final int uid = getUidForPackage(pkgName, userId);
364 resolveHostUidLocked(pkgName, uid);
375 for (String pkgName : pkgList) {
377 pkgName, userId);
2840 private boolean removeHostsAndProvidersForPackageLocked(String pkgName, in argument
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp313 String8 getComponentName(String8 &pkgName, String8 &componentName) { argument
315 String8 retStr(pkgName);
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java263 final String pkgName = pkgMap.keyAt(ip);
276 if (DEBUG) Slog.d(TAG, "Adding pkg " + pkgName + " uid " + uid
278 ProcessState thisProc = getProcessStateLocked(pkgName, uid, vers,
284 final PackageState pkgState = getPackageStateLocked(pkgName, uid,
294 if (DEBUG) Slog.d(TAG, "Adding pkg " + pkgName + " uid " + uid
296 ServiceState thisSvc = getServiceStateLocked(pkgName, uid, vers,
1809 final String pkgName = readCommonString(in, version);
1810 if (pkgName == null) {
1821 proc = new ProcessState(this, pkgName, uid, vers, procName);
1841 final String pkgName
2579 collapseString(String pkgName, String itemName) argument
3346 pullFixedProc(String pkgName) argument
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java275 BackupRequest(String pkgName) { argument
276 packageName = pkgName;
1178 String pkgName = tf.readUTF();
1179 mAncestralPackages.add(pkgName);
1280 String pkgName = in.readUTF();
1282 schedule.add(new FullBackupEntry(pkgName, lastBackup));
1712 String pkgName = uri.getSchemeSpecificPart();
1713 if (pkgName != null) {
1714 pkgList = new String[] { pkgName };
1722 Slog.i(TAG, "Package " + pkgName
2718 writeWidgetPayloadIfAppropriate(FileDescriptor fd, String pkgName) argument
3034 restoreObbFile(String pkgName, ParcelFileDescriptor data, long fileSize, int type, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]

Completed in 194 milliseconds