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

/frameworks/base/core/java/android/content/pm/
H A DPackageStats.java51 public PackageStats(String pkgName) { argument
52 packageName = pkgName;
H A DPackageManager.java1085 * @param pkgName The name of the package you are checking against.
1094 public abstract int checkPermission(String permName, String pkgName); argument
/frameworks/base/core/java/com/android/internal/os/
H A DPkgUsageStats.java49 public PkgUsageStats(String pkgName, int count, long time) { argument
50 packageName = pkgName;
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfoSource.java50 protected ClassPathPackageInfo load(String pkgName) {
51 return createPackageInfo(pkgName);
72 public ClassPathPackageInfo getPackageInfo(String pkgName) { argument
73 return cache.get(pkgName);
/frameworks/base/core/tests/coretests/src/android/app/
H A DSearchablesTest.java435 public int checkPermission(String permName, String pkgName) { argument
437 assertNotNull(pkgName);
440 return mRealPackageManager.checkPermission(permName, pkgName);
/frameworks/base/services/java/com/android/server/
H A DInstaller.java265 public int getSizeInfo(String pkgName, String apkPath, argument
269 builder.append(pkgName);
H A DAppWidgetService.java1090 String pkgName = p.info.provider.getPackageName();
1091 updateProvidersForPackageLocked(pkgName);
1110 String pkgName = uri.getSchemeSpecificPart();
1111 if (pkgName == null) {
1114 pkgList = new String[] { pkgName };
1124 for (String pkgName : pkgList) {
1126 updateProvidersForPackageLocked(pkgName);
1130 for (String pkgName : pkgList) {
1131 addProvidersForPackageLocked(pkgName);
1142 for (String pkgName
1153 addProvidersForPackageLocked(String pkgName) argument
1170 updateProvidersForPackageLocked(String pkgName) argument
1237 removeProvidersForPackageLocked(String pkgName) argument
[all...]
H A DPackageManagerService.java1644 public int checkPermission(String permName, String pkgName) { argument
1646 PackageParser.Package p = mPackages.get(pkgName);
2049 String pkgName = intent.getPackage();
2050 if (pkgName == null) {
2054 PackageParser.Package pkg = mPackages.get(pkgName);
2239 String pkgName = intent.getPackage();
2240 if (pkgName == null) {
2244 PackageParser.Package pkg = mPackages.get(pkgName);
2282 String pkgName = intent.getPackage();
2283 if (pkgName
3519 killApplication(String pkgName, int uid) argument
5066 createInstallArgs(Uri packageURI, int flags, String pkgName) argument
5095 doRename(int status, String pkgName, String oldCodePath) argument
5124 FileInstallArgs(Uri packageURI, String pkgName) argument
5196 doRename(int status, final String pkgName, String oldCodePath) argument
5380 doRename(int status, final String pkgName, String oldCodePath) argument
7932 setInstallStatus(String pkgName, int status) argument
7941 setInstallerPackageName(String pkgName, String installerPkgName) argument
7949 getInstallerPackageName(String pkgName) argument
7954 getInstallStatus(String pkgName) argument
[all...]
/frameworks/base/core/tests/hosttests/src/android/content/pm/
H A DPackageManagerHostTestUtils.java120 * @param pkgName Android application package for tests
123 private CollectingTestRunListener doRunTests(String pkgName) throws IOException { argument
125 pkgName, mDevice);
134 * @param pkgName Android application package for tests
137 public boolean runDeviceTestsDidAllTestsPass(String pkgName) throws IOException { argument
138 CollectingTestRunListener listener = doRunTests(pkgName);
557 public void installAppAndVerifyExistsOnSDCard(String apkPath, String pkgName, boolean overwrite) argument
562 mDevice.uninstallPackage(pkgName);
564 assertFalse(doesPackageExist(pkgName));
568 assertTrue(doesAppExistOnSDCard(pkgName));
588 installAppAndVerifyExistsOnDevice(String apkPath, String pkgName, boolean overwrite) argument
619 installFwdLockedAppAndVerifyExists(String apkPath, String pkgName, boolean overwrite) argument
648 uninstallApp(String pkgName) argument
[all...]
H A DPackageManagerHostTests.java188 * @param pkgName the package name of the test app apk
193 private void doStandardInstall(String apkName, String pkgName, argument
199 getTestAppFilePath(apkName), pkgName, false);
203 getTestAppFilePath(apkName), pkgName, false);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java135 public int checkPermission(String permName, String pkgName) { argument
/frameworks/base/tools/aapt/
H A DCommand.cpp342 const char *getComponentName(String8 &pkgName, String8 &componentName) { argument
344 String8 retStr(pkgName);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java148 String pkgName; field in class:PackageManagerTests.InstallReceiver
150 InstallReceiver(String pkgName) { argument
151 this.pkgName = pkgName;
164 if (pkgName.equals(installedPkg)) {
355 String pkgName = pkg.packageName;
356 ApplicationInfo info = getPm().getApplicationInfo(pkgName, 0);
358 assertEquals(pkgName, info.packageName);
392 private void assertNotInstalled(String pkgName) { argument
394 ApplicationInfo info = getPm().getApplicationInfo(pkgName,
595 String pkgName; field in class:PackageManagerTests.ReplaceReceiver
604 ReplaceReceiver(String pkgName) argument
730 String pkgName; field in class:PackageManagerTests.DeleteReceiver
732 DeleteReceiver(String pkgName) argument
753 invokeDeletePackage(final String pkgName, int flags, GenericReceiver receiver) argument
1060 cleanUpInstall(String pkgName) argument
1205 String pkgName; field in class:PackageManagerTests.MoveReceiver
1211 MoveReceiver(String pkgName) argument
1254 PackageMoveObserver(String pkgName) argument
1274 invokeMovePackage(String pkgName, int flags, GenericReceiver receiver) argument
1311 invokeMovePackageFail(String pkgName, int flags, int errCode) argument
[all...]
/frameworks/base/core/java/android/app/
H A DContextImpl.java1856 public int checkPermission(String permName, String pkgName) { argument
1858 return mPM.checkPermission(permName, pkgName);

Completed in 235 milliseconds