/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 38 import com.android.server.pm.Installer; 64 Installer installer = mock(Installer.class); in testSnapshotAppData() 79 eq("com.foo.bar"), eq(10), eq(5), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 81 eq("com.foo.bar"), eq(11), eq(5), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 97 eq(Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 99 eq("com.foo.bar"), eq(11), eq(7), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 130 Installer installer = mock(Installer.class); in testRestoreAppDataSnapshot_pendingBackupForUser() 146 eq(13) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE)); in testRestoreAppDataSnapshot_pendingBackupForUser() 155 Installer installer = mock(Installer.class); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 167 eq(73) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE)); in testRestoreAppDataSnapshot_availableBackupForLockedUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 27 import com.android.server.pm.Installer; 28 import com.android.server.pm.Installer.InstallerException; 42 private final Installer mInstaller; 45 AppDataRollbackHelper(Installer installer) { in AppDataRollbackHelper() 51 AppDataRollbackHelper(Installer installer, ApexManager apexManager) { in AppDataRollbackHelper() 69 storageFlags = Installer.FLAG_STORAGE_DE; in snapshotAppData() 72 storageFlags = Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE; in snapshotAppData() 89 int storageFlags = Installer.FLAG_STORAGE_DE; in restoreAppData() 111 storageFlags = storageFlags | Installer.FLAG_STORAGE_CE; in restoreAppData() 124 if ((flags & Installer.FLAG_STORAGE_CE) != 0) { in doSnapshot() [all …]
|
D | RollbackManagerServiceImpl.java | 74 import com.android.server.pm.Installer; 162 private final Installer mInstaller; 184 mInstaller = new Installer(mContext); in RollbackManagerServiceImpl() 595 } catch (Installer.InstallerException ie) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppDataHelper.java | 71 private final Installer mInstaller; 135 Installer.Batch batch = new Installer.Batch(); in prepareAppDataPostCommitLIF() 166 private void executeBatchLI(@NonNull Installer.Batch batch) { in executeBatchLI() 169 } catch (Installer.InstallerException e) { in executeBatchLI() 174 private void prepareAppDataAndMigrate(@NonNull Installer.Batch batch, in prepareAppDataAndMigrate() 196 final Installer.Batch batchInner = new Installer.Batch(); in prepareAppDataAndMigrate() 214 private @NonNull CompletableFuture<?> prepareAppData(@NonNull Installer.Batch batch, in prepareAppData() 238 final CreateAppDataArgs args = Installer.buildCreateAppDataArgs(volumeUuid, packageName, in prepareAppData() 253 } catch (Installer.InstallerException e2) { in prepareAppData() 306 } catch (Installer.InstallerException e) { [all …]
|
D | PackageDexOptimizer.java | 21 import static com.android.server.pm.Installer.DEXOPT_BOOTCOMPLETE; 22 import static com.android.server.pm.Installer.DEXOPT_DEBUGGABLE; 23 import static com.android.server.pm.Installer.DEXOPT_ENABLE_HIDDEN_API_CHECKS; 24 import static com.android.server.pm.Installer.DEXOPT_FORCE; 25 import static com.android.server.pm.Installer.DEXOPT_FOR_RESTORE; 26 import static com.android.server.pm.Installer.DEXOPT_GENERATE_APP_IMAGE; 27 import static com.android.server.pm.Installer.DEXOPT_GENERATE_COMPACT_DEX; 28 import static com.android.server.pm.Installer.DEXOPT_IDLE_BACKGROUND_JOB; 29 import static com.android.server.pm.Installer.DEXOPT_PROFILE_GUIDED; 30 import static com.android.server.pm.Installer.DEXOPT_PUBLIC; [all …]
|
D | FreeStorageHelper.java | 111 mPm.mInstaller.freeCache(volumeUuid, bytes, Installer.FLAG_FREE_CACHE_V2); in freeStorage() 112 } catch (Installer.InstallerException ignored) { in freeStorage() 144 Installer.FLAG_FREE_CACHE_V2 | Installer.FLAG_FREE_CACHE_V2_DEFY_QUOTA); in freeStorage() 145 } catch (Installer.InstallerException ignored) { in freeStorage() 177 } catch (Installer.InstallerException ignored) { in freeStorage() 206 } catch (Installer.InstallerException e) { in freeCacheForInstallation()
|
D | OtaDexoptService.java | 39 import com.android.server.pm.Installer.InstallerException; 40 import com.android.server.pm.Installer.LegacyDexoptDisabledException; 289 final Installer collectingInstaller = new Installer(mContext, true) { in generatePackageDexopts() 394 private void moveAbArtifacts(Installer installer) { in moveAbArtifacts() 509 OTADexoptPackageDexOptimizer(Installer installer, in OTADexoptPackageDexOptimizer()
|
D | PackageManagerLocal.java | 51 int FLAG_STORAGE_DE = Installer.FLAG_STORAGE_DE; 55 int FLAG_STORAGE_CE = Installer.FLAG_STORAGE_CE;
|
D | RemovePackageHelper.java | 67 private final Installer mInstaller; 116 } catch (Installer.InstallerException e) { in removeCodePathLI() 285 appDataDeletionFlags | Installer.FLAG_CLEAR_CACHE_ONLY); in clearPackageStateForUserLIF() 287 appDataDeletionFlags | Installer.FLAG_CLEAR_CODE_CACHE_ONLY); in clearPackageStateForUserLIF() 540 | Installer.FLAG_CLEAR_APP_DATA_KEEP_ART_PROFILES; in cleanUpForMoveInstall() 545 } catch (Installer.InstallerException e) { in cleanUpForMoveInstall()
|
D | PackageManagerServiceInjector.java | 88 private final Installer mInstaller; 147 Installer installer, PackageManagerTracedLock installLock, PackageAbiHelper abiHelper, in PackageManagerServiceInjector() 281 public Installer getInstaller() { in getInstaller()
|
D | PackageManagerException.java | 22 import com.android.server.pm.Installer.InstallerException;
|
D | Installer.java | 54 public class Installer extends SystemService { class 127 public Installer(Context context) { in Installer() method in Installer 134 public Installer(Context context, boolean isolated) { in Installer() method in Installer 385 public synchronized void execute(@NonNull Installer installer) throws InstallerException { in execute()
|
D | UserDataPreparer.java | 57 private final Installer mInstaller; 59 UserDataPreparer(Installer installer, PackageManagerTracedLock installLock, Context context) { in UserDataPreparer()
|
D | StorageEventHelper.java | 173 | FLAG_STORAGE_EXTERNAL | Installer.FLAG_CLEAR_CODE_CACHE_ONLY in loadPrivatePackagesInner() 174 | Installer.FLAG_CLEAR_APP_DATA_KEEP_ART_PROFILES); in loadPrivatePackagesInner()
|
D | OWNERS | 17 per-file Installer.java = file:dex/OWNERS
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | InstallerTest.java | 44 private Installer mInstaller; 79 mInstaller = new Installer(getContext()); in setUp() 126 mInstaller.getAppSize(app.volumeUuid, packageNames, userId, Installer.FLAG_USE_QUOTA, in testGetAppSize() 148 mInstaller.getUserSize(null, UserHandle.USER_SYSTEM, Installer.FLAG_USE_QUOTA, in testGetUserSize() 166 Installer.FLAG_USE_QUOTA, appIds); in testGetExternalSize()
|
D | UserDataPreparerTest.java | 72 private Installer mInstaller; 241 TestUserDataPreparer(Installer installer, PackageManagerTracedLock installLock, in TestUserDataPreparer()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DynamicCodeLogger.java | 37 import com.android.server.pm.Installer; 38 import com.android.server.pm.Installer.InstallerException; 68 private final Installer mInstaller; 70 public DynamicCodeLogger(Installer installer) { in DynamicCodeLogger() 76 DynamicCodeLogger(@NonNull IPackageManager packageManager, @NonNull Installer installer, in DynamicCodeLogger()
|
D | ArtManagerService.java | 51 import com.android.server.pm.Installer; 94 private final Installer mInstaller; 102 public ArtManagerService(Context context, Installer installer, in ArtManagerService()
|
/frameworks/base/core/java/android/content/integrity/ |
D | IntegrityFormula.java | 104 public static final class Installer { class in IntegrityFormula 130 private Installer() {} in Installer() method in IntegrityFormula.Installer
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 55 import com.android.server.pm.Installer; 89 private final Installer mInstaller; 96 Context context, UsageStatsManagerInternal usageStatsManager, Installer installer, in CacheQuotaStrategy() 230 } catch (Installer.InstallerException ex) { in pushProcessedQuotas()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerTests.java | 39 import com.android.server.pm.Installer; 40 import com.android.server.pm.Installer.InstallerException; 88 @Mock Installer mInstaller;
|
/frameworks/base/core/tests/coretests/src/android/content/integrity/ |
D | IntegrityFormulaTest.java | 73 IntegrityFormula formula = IntegrityFormula.Installer.packageNameEquals(installerName); in createEqualsFormula_installerName() 87 IntegrityFormula.Installer.certificatesContain(installerCertificate); in createEqualsFormula_installerCertificate()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 88 import com.android.server.pm.Installer; 89 import com.android.server.pm.Installer.InstallerException; 133 private final Installer mInstaller; 153 mInstaller = new Installer(context); in StorageStatsService() 570 return Installer.FLAG_USE_QUOTA; in getDefaultFlags()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/ |
D | RuleEvaluationEngineTest.java | 65 IntegrityFormula.Installer.notAllowedByManifest(), Rule.DENY))); in setUp()
|