Searched refs:PM_PACKAGE (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | PackageData.java | 28 public static final PackageData PM_PACKAGE = new PmPackageData(); field in PackageData 95 return this == PM_PACKAGE; in isPm()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 185 private static final String PM_PACKAGE = UserBackupManagerService.PACKAGE_MANAGER_SENTINEL; field in KeyValueBackupTask 368 if (PM_PACKAGE.equals(packageName)) { in run() 607 boolean backupPm = mQueue.remove(PM_PACKAGE) || !mNonIncremental; in startTask() 609 mQueue.add(0, PM_PACKAGE); in startTask() 615 File pmState = new File(mStateDirectory, PM_PACKAGE); in startTask() 663 mReporter.onStartPackageBackup(PM_PACKAGE); in backupPm() 665 mCurrentPackage.packageName = PM_PACKAGE; in backupPm() 859 new File(mStateDirectory, PM_PACKAGE).delete(); in deletePmStateFile() 864 Preconditions.checkArgument(packageInfo.packageName.equals(PM_PACKAGE)); in extractPmAgentData()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 31 import static com.android.server.backup.testing.PackageData.PM_PACKAGE; 349 Files.write(getStateFile(mTransport, PM_PACKAGE), "pmState".getBytes()); in testRunTask_whenQueueEmpty_doesNotChangeStateFiles() 354 assertThat(Files.readAllBytes(getStateFile(mTransport, PM_PACKAGE))) in testRunTask_whenQueueEmpty_doesNotChangeStateFiles() 417 assertCleansUpFiles(mTransport, PM_PACKAGE); in testRunTask_whenOnePackage_cleansUpPmFiles() 425 argThat(packageInfo(PM_PACKAGE)), any(), anyInt())) in testRunTask_whenTransportReturnsTransportErrorForPm_cleansUpPmFiles() 432 assertCleansUpFiles(mTransport, PM_PACKAGE); in testRunTask_whenTransportReturnsTransportErrorForPm_cleansUpPmFiles() 440 argThat(packageInfo(PM_PACKAGE)), any(), anyInt())) in testRunTask_whenTransportReturnsTransportErrorForPm_resetsBackupState() 517 createKeyValueBackupTask(transportMock, true, PACKAGE_1, PM_PACKAGE); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm() 1337 argThat(packageInfo(PM_PACKAGE)), any(), anyInt())) in testRunTask_whenPmAgentWritesData_callsTransportPerformBackupWithAgentData() 1354 .performBackup(argThat(packageInfo(PM_PACKAGE)), any(), anyInt()); in testRunTask_whenPmAgentWritesData_callsTransportPerformBackupWithAgentData() [all …]
|