/frameworks/base/core/java/com/android/internal/app/ |
ProcessStats.java | 232 String pkgName = pkgMap.keyAt(ip); 242 if (DEBUG) Slog.d(TAG, "Adding pkg " + pkgName + " uid " + uid 244 ProcessState thisProc = getProcessStateLocked(pkgName, uid, 250 final PackageState pkgState = getPackageStateLocked(pkgName, uid); 259 if (DEBUG) Slog.d(TAG, "Adding pkg " + pkgName + " uid " + uid 261 ServiceState thisSvc = getServiceStateLocked(pkgName, uid, [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageInstallerActivity.java | 373 String pkgName = mPkgInfo.packageName; 376 String[] oldName = mPm.canonicalToCurrentPackageNames(new String[] { pkgName }); 378 pkgName = oldName[0]; 379 mPkgInfo.packageName = pkgName; 380 mPkgInfo.applicationInfo.packageName = pkgName; 387 mAppInfo = mPm.getApplicationInfo(pkgName,
|
PackageUtil.java | 127 public static boolean isPackageAlreadyInstalled(Activity context, String pkgName) { 133 if(pkgName.equalsIgnoreCase(tmp.packageName)) {
|
/development/apps/Development/src/com/android/development/ |
PermissionDetails.java | 89 TextView pkgName; 129 holder.pkgName = (TextView) convertView.findViewById(R.id.pkg_name); 138 holder.pkgName.setText(pInfo.packageName);
|
/system/core/run-as/ |
package.c | 418 * 'pkgname'. Return 0 in case of success, or -1 in case of error. 424 get_package_info(const char* pkgName, PackageInfo *info) 446 * <pkgName> <uid> <debugFlag> <dataDir> <seinfo> 449 * <pkgName> is the package's name 466 p = compare_name(p, end, pkgName);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
CtsTest.java | 660 String pkgName = testPkg.mPackageDef.getTargetPackageName(); 661 if (pkgName != null) { 662 pkgNames.add(pkgName); 711 for (String pkgName : uninstallPackages) { 712 getDevice().uninstallPackage(pkgName);
|
/external/jdiff/src/jdiff/ |
Diff.java | 21 static String saveDocDiffs(String pkgName, String className, 32 generateDiffs(pkgName, className, oldDoc, newDoc, id, title); 34 return "Documentation <a href=\"" + diffFileName + pkgName + 42 static void generateDiffs(String pkgName, String className, 57 docDiffs.add(new DiffOutput(pkgName, className, id, title, text)); [all...] |
APIHandler.java | 83 String pkgName = attributes.getValue("name"); 84 XMLToAPI.addPackage(pkgName);
|
/frameworks/base/services/java/com/android/server/pm/ |
KeySetManager.java | 346 for (String pkgName : mPackages.keySet()) { 347 if (pkgName.equals(packageName)) { 350 Set<Long> knownKeySets = getKnownKeySetsByPackageNameLocked(pkgName); 372 for (String pkgName : mPackages.keySet()) { 373 PackageSetting p = mPackages.get(pkgName);
|
Installer.java | 310 public int getSizeInfo(String pkgName, int persona, String apkPath, String libDirPath, 314 builder.append(pkgName);
|
PackageManagerService.java | [all...] |
/frameworks/base/services/java/com/android/server/ |
AppWidgetServiceImpl.java | 284 String pkgName = uri.getSchemeSpecificPart(); 285 if (pkgName == null) { 288 pkgList = new String[] { pkgName }; 301 for (String pkgName : pkgList) { 303 providersModified |= updateProvidersForPackageLocked(pkgName, null); 307 for (String pkgName : pkgList) { 308 providersModified |= addProvidersForPackageLocked(pkgName); 320 for (String pkgName : pkgList) { 321 providersModified |= removeProvidersForPackageLocked(pkgName); [all...] |
AppOpsService.java | 845 String pkgName = parser.getAttributeValue(null, "n"); 856 readUid(parser, pkgName); 865 void readUid(XmlPullParser parser, String pkgName) throws NumberFormatException, [all...] |
BackupManagerService.java | 229 BackupRequest(String pkgName) { 230 packageName = pkgName; [all...] |
NotificationManagerService.java | [all...] |
/development/tools/apkcheck/src/com/android/apkcheck/ |
ApkCheck.java | 83 String pkgName = args[idx].substring(args[idx].indexOf('=')+1); 84 sIgnorablePackages.add(pkgName);
|
/packages/apps/Nfc/src/com/android/nfc/ |
P2pLinkManager.java | 464 boolean beamDefaultDisabled(String pkgName) { 466 ApplicationInfo ai = mPackageManager.getApplicationInfo(pkgName, 477 NdefMessage createDefaultNdef(String pkgName) { 479 "http://play.google.com/store/apps/details?id=" + pkgName + "&feature=beam")); 480 NdefRecord appRecord = NdefRecord.createApplicationRecord(pkgName); [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | [all...] |
IPackageManager.aidl | 82 int checkPermission(String permName, String pkgName);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
StubPackageManager.java | 93 @Override public int checkPermission(String permName, String pkgName) {
|
/cts/tests/tests/content/src/android/content/cts/ |
IntentTest.java | 754 final String pkgName = target.getPackageName(); 755 assertFalse("com.android.cts.content".equals(pkgName)); 758 if (!"android".equals(pkgName)) { 759 if (mPm.checkPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS, pkgName) [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockPackageManager.java | 165 public int checkPermission(String permName, String pkgName) {
|
/packages/apps/Settings/src/com/android/settings/applications/ |
InstalledAppDetails.java | [all...] |
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/ |
CtsUiAutomatorTest.java | 253 String pkgName = device.getCurrentPackageName(); 254 assertTrue("CTS test app must be running", pkgName.equals(PKG_NAME)); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jar | |