/frameworks/base/core/java/com/android/internal/backup/ |
H A D | IBackupTransport.aidl | 101 * @param packageInfo The identity of the application whose data is being backed up. 115 int performBackup(in PackageInfo packageInfo, in ParcelFileDescriptor inFd); 125 int clearBackupData(in PackageInfo packageInfo);
|
H A D | LocalTransport.java | 103 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor data) { argument 104 if (DEBUG) Log.v(TAG, "performBackup() pkg=" + packageInfo.packageName); 106 File packageDir = new File(mDataDir, packageInfo.packageName); 175 public int clearBackupData(PackageInfo packageInfo) { argument 176 if (DEBUG) Log.v(TAG, "clearBackupData() pkg=" + packageInfo.packageName); 178 File packageDir = new File(mDataDir, packageInfo.packageName);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | SamplingProfilerIntegration.java | 118 public static void writeSnapshot(final String processName, final PackageInfo packageInfo) { argument 137 writeSnapshotFile(processName, packageInfo); 162 private static void writeSnapshotFile(String processName, PackageInfo packageInfo) { argument 181 generateSnapshotHeader(name, packageInfo, out); 213 private static void generateSnapshotHeader(String processName, PackageInfo packageInfo, argument 218 if (packageInfo != null) { 219 out.println("Package: " + packageInfo.packageName); 220 out.println("Package-Version: " + packageInfo.versionCode);
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
H A D | AppCompatibility.java | 199 PackageInfo packageInfo = mPackageManager.getPackageInfo(packageName, 0); 200 String processName = packageInfo.applicationInfo.processName;
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 278 LoadedApk packageInfo; field in class:ActivityThread.ActivityClientRecord 1194 r.packageInfo = getPackageInfoNoCheck( 1412 android.content.pm.PackageInfo packageInfo = null; 1424 packageInfo = pm.getPackageInfo( 1429 SamplingProfilerIntegration.writeSnapshot(mBoundApplication.processName, packageInfo); 1556 LoadedApk packageInfo = ref != null ? ref.get() : null; 1557 //Slog.i(TAG, "getPackageInfo " + packageName + ": " + packageInfo); 1558 //if (packageInfo != null) Slog.i(TAG, "isUptoDate " + packageInfo.mResDir 1559 // + ": " + packageInfo [all...] |
H A D | ContextImpl.java | 1969 LoadedApk packageInfo = new LoadedApk(mainThread); 1971 packageInfo, null, null, false, null, null); 1977 static ContextImpl createAppContext(ActivityThread mainThread, LoadedApk packageInfo) { argument 1978 if (packageInfo == null) throw new IllegalArgumentException("packageInfo"); 1980 packageInfo, null, null, false, null, null); 1984 LoadedApk packageInfo, IBinder activityToken) { 1985 if (packageInfo == null) throw new IllegalArgumentException("packageInfo"); 1988 packageInfo, activityToke 1983 createActivityContext(ActivityThread mainThread, LoadedApk packageInfo, IBinder activityToken) argument 1991 ContextImpl(ContextImpl container, ActivityThread mainThread, LoadedApk packageInfo, IBinder activityToken, UserHandle user, boolean restricted, Display display, Configuration overrideConfiguration) argument [all...] |
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestGrouping.java | 154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName); 156 return selectTestClasses(packageInfo.getTopLevelClassesRecursive());
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 3431 PackageInfo packageInfo = null; 3438 packageInfo = pi; 3442 assertNotNull("activities should not be null", packageInfo.activities); 3443 assertNotNull("configPreferences should not be null", packageInfo.configPreferences); 3444 assertNotNull("instrumentation should not be null", packageInfo.instrumentation); 3445 assertNotNull("permissions should not be null", packageInfo.permissions); 3446 assertNotNull("providers should not be null", packageInfo.providers); 3447 assertNotNull("receivers should not be null", packageInfo.receivers); 3448 assertNotNull("services should not be null", packageInfo.services); 3449 assertNotNull("signatures should not be null", packageInfo [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
H A D | SelectPrinterFragment.java | 543 PackageInfo packageInfo = pm.getPackageInfo(printer.getId() 545 subtitle = packageInfo.applicationInfo.loadLabel(pm); 546 icon = packageInfo.applicationInfo.loadIcon(pm);
|
H A D | PrintJobConfigActivity.java | 2398 PackageInfo packageInfo = getPackageManager().getPackageInfo( 2400 CharSequence service = packageInfo.applicationInfo.loadLabel( 2545 PackageInfo packageInfo = getPackageManager().getPackageInfo( 2547 subtitle = packageInfo.applicationInfo.loadLabel(getPackageManager()); 2548 icon = packageInfo.applicationInfo.loadIcon(getPackageManager());
|
/frameworks/base/services/java/com/android/server/ |
H A D | BackupManagerService.java | 366 public PackageInfo packageInfo; field in class:BackupManagerService.ClearParams 370 packageInfo = _info; 639 (new PerformClearTask(params.transport, params.packageInfo)).run(); 4749 PackageInfo packageInfo; 4752 packageInfo = mPackageManager.getPackageInfo(packageName, flags); 4761 if (packageInfo.applicationInfo.backupAgentName == null 4762 || "".equals(packageInfo.applicationInfo.backupAgentName)) { 4773 if (metaInfo.versionCode > packageInfo.versionCode) { 4777 if ((packageInfo.applicationInfo.flags 4780 + " > installed version " + packageInfo 5039 PerformClearTask(IBackupTransport transport, PackageInfo packageInfo) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | RegisteredServicesCache.java | 278 PackageInfo packageInfo = 280 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
|
/frameworks/base/services/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 2666 PackageInfo packageInfo = userPackageManager.getPackageInfo(name, 0 /* flags */); 2667 if (packageInfo != null 2668 && (packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_PRIVILEGED) != 0) {
|