Home
last modified time | relevance | path

Searched refs:appPackageName (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java877 public String appPackageName; field in PackageInstaller.SessionParams
908 appPackageName = source.readString(); in SessionParams()
947 public void setAppPackageName(@Nullable String appPackageName) { in setAppPackageName() argument
948 this.appPackageName = appPackageName; in setAppPackageName()
1005 pw.printPair("appPackageName", appPackageName); in dump()
1025 dest.writeString(appPackageName); in writeToParcel()
1070 public String appPackageName; field in PackageInstaller.SessionInfo
1091 appPackageName = source.readString(); in SessionInfo()
1151 return appPackageName; in getAppPackageName()
1209 dest.writeString(appPackageName); in writeToParcel()
DPackageManager.java3092 public abstract Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() argument
3096 public abstract Resources getResourcesForApplicationAsUser(String appPackageName, int userId) in getResourcesForApplicationAsUser() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java941 String appPackageName) throws NameNotFoundException { in getResourcesForApplication() argument
943 getApplicationInfo(appPackageName, sDefaultFlags)); in getResourcesForApplication()
948 public Resources getResourcesForApplicationAsUser(String appPackageName, int userId) in getResourcesForApplicationAsUser() argument
954 if ("system".equals(appPackageName)) { in getResourcesForApplicationAsUser()
958 ApplicationInfo ai = mPM.getApplicationInfo(appPackageName, sDefaultFlags, userId); in getResourcesForApplicationAsUser()
965 throw new NameNotFoundException("Package " + appPackageName + " doesn't exist"); in getResourcesForApplicationAsUser()
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java456 public Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() argument
463 public Resources getResourcesForApplicationAsUser(String appPackageName, int userId) { in getResourcesForApplicationAsUser() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java375 params.appPackageName = readStringAttribute(in, ATTR_APP_PACKAGE_NAME); in readSessionLocked()
446 writeStringAttribute(out, ATTR_APP_PACKAGE_NAME, params.appPackageName); in writeSessionLocked()
538 params.appPackageName, params.installLocation, params.sizeBytes, in createSessionInternal()
DPackageInstallerSession.java232 info.appPackageName = params.appPackageName; in generateInfo()
DPackageManagerService.java12096 public void setApplicationEnabledSetting(String appPackageName, in setApplicationEnabledSetting() argument
12102 setEnabledSetting(appPackageName, null, newState, flags, userId, callingPackage); in setApplicationEnabledSetting()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java1016 params.appPackageName = nextOptionData(); in runInstallCreate()
1017 if (params.appPackageName == null) { in runInstallCreate()