/frameworks/base/core/java/com/android/internal/os/ |
D | SamplingProfilerIntegration.java | 118 public static void writeSnapshot(final String processName, final PackageInfo packageInfo) { in writeSnapshot() argument 137 writeSnapshotFile(processName, packageInfo); in writeSnapshot() 162 private static void writeSnapshotFile(String processName, PackageInfo packageInfo) { in writeSnapshotFile() argument 181 generateSnapshotHeader(name, packageInfo, out); in writeSnapshotFile() 213 private static void generateSnapshotHeader(String processName, PackageInfo packageInfo, in generateSnapshotHeader() argument 218 if (packageInfo != null) { in generateSnapshotHeader() 219 out.println("Package: " + packageInfo.packageName); in generateSnapshotHeader() 220 out.println("Package-Version: " + packageInfo.versionCode); in generateSnapshotHeader()
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | LocalTransport.java | 93 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor data) { in performBackup() argument 94 if (DEBUG) Log.v(TAG, "performBackup() pkg=" + packageInfo.packageName); in performBackup() 96 File packageDir = new File(mDataDir, packageInfo.packageName); in performBackup() 165 public int clearBackupData(PackageInfo packageInfo) { in clearBackupData() argument 166 if (DEBUG) Log.v(TAG, "clearBackupData() pkg=" + packageInfo.packageName); in clearBackupData() 168 File packageDir = new File(mDataDir, packageInfo.packageName); in clearBackupData()
|
D | IBackupTransport.aidl | 109 int performBackup(in PackageInfo packageInfo, in ParcelFileDescriptor inFd); in performBackup() argument 119 int clearBackupData(in PackageInfo packageInfo); in clearBackupData() argument
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 235 LoadedApk packageInfo; field in ActivityThread.ActivityClientRecord 1144 r.packageInfo = getPackageInfoNoCheck( in handleMessage() 1287 android.content.pm.PackageInfo packageInfo = null; in maybeSnapshot() local 1299 packageInfo = pm.getPackageInfo( in maybeSnapshot() 1304 … SamplingProfilerIntegration.writeSnapshot(mBoundApplication.processName, packageInfo); in maybeSnapshot() 1531 LoadedApk packageInfo = ref != null ? ref.get() : null; in getPackageInfo() local 1535 if (packageInfo != null && (packageInfo.mResources == null in getPackageInfo() 1536 || packageInfo.mResources.getAssets().isUpToDate())) { in getPackageInfo() 1537 if (packageInfo.isSecurityViolation() in getPackageInfo() 1545 return packageInfo; in getPackageInfo() [all …]
|
D | ContextImpl.java | 1483 final void init(LoadedApk packageInfo, in init() argument 1485 init(packageInfo, activityToken, mainThread, null, null); in init() 1488 final void init(LoadedApk packageInfo, in init() argument 1491 mPackageInfo = packageInfo; in init() 1492 mBasePackageName = basePackageName != null ? basePackageName : packageInfo.mPackageName; in init()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestGrouping.java | 154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName); in testCaseClassesInPackage() local 156 return selectTestClasses(packageInfo.getTopLevelClassesRecursive()); in testCaseClassesInPackage()
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 242 PackageInfo packageInfo = in inSystemImage() local 244 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in inSystemImage()
|
/frameworks/base/services/java/com/android/server/ |
D | BackupManagerService.java | 307 public PackageInfo packageInfo; field in BackupManagerService.ClearParams 311 packageInfo = _info; in ClearParams() 551 (new PerformClearTask(params.transport, params.packageInfo)).run(); in handleMessage() 4326 PackageInfo packageInfo; in restoreNextAgent() local 4329 packageInfo = mPackageManager.getPackageInfo(packageName, flags); in restoreNextAgent() 4338 if (metaInfo.versionCode > packageInfo.versionCode) { in restoreNextAgent() 4342 if ((packageInfo.applicationInfo.flags in restoreNextAgent() 4345 + " > installed version " + packageInfo.versionCode; in restoreNextAgent() 4353 + " > installed " + packageInfo.versionCode in restoreNextAgent() 4358 if (!signaturesMatch(metaInfo.signatures, packageInfo)) { in restoreNextAgent() [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManagerService.java | 1947 PackageInfo packageInfo = mPackageManager.getPackageInfo(name, 0 /* flags */); in inSystemImage() local 1948 if (packageInfo != null in inSystemImage() 1949 && (packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in inSystemImage()
|