Home
last modified time | relevance | path

Searched refs:Installer (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java37 import com.android.server.pm.Installer;
55 Installer installer = mock(Installer.class); in testSnapshotAppData()
72 eq("com.foo.bar"), eq(10), eq(5), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData()
74 eq("com.foo.bar"), eq(11), eq(5), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData()
93 eq(Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE)); in testSnapshotAppData()
95 eq("com.foo.bar"), eq(11), eq(7), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData()
113 Installer installer = mock(Installer.class); in testRestoreAppDataSnapshot_pendingBackupForUser()
129 eq(13) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE)); in testRestoreAppDataSnapshot_pendingBackupForUser()
138 Installer installer = mock(Installer.class); in testRestoreAppDataSnapshot_availableBackupForLockedUser()
150 eq(73) /* rollbackId */, eq(Installer.FLAG_STORAGE_DE)); in testRestoreAppDataSnapshot_availableBackupForLockedUser()
[all …]
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java27 import com.android.server.pm.Installer;
28 import com.android.server.pm.Installer.InstallerException;
48 private final Installer mInstaller;
50 public AppDataRollbackHelper(Installer installer) { in AppDataRollbackHelper()
66 storageFlags = Installer.FLAG_STORAGE_DE; in snapshotAppData()
69 storageFlags = Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE; in snapshotAppData()
75 if ((storageFlags & Installer.FLAG_STORAGE_CE) != 0) { in snapshotAppData()
95 int storageFlags = Installer.FLAG_STORAGE_DE; in restoreAppData()
117 storageFlags = storageFlags | Installer.FLAG_STORAGE_CE; in restoreAppData()
138 int storageFlags = Installer.FLAG_STORAGE_DE; in destroyAppDataSnapshot()
[all …]
DRollbackManagerServiceImpl.java64 import com.android.server.pm.Installer;
126 private final Installer mInstaller;
140 mInstaller = new Installer(mContext); in RollbackManagerServiceImpl()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DViewCompiler.java24 import com.android.server.pm.Installer;
29 private final Installer mInstaller;
31 public ViewCompiler(Object installLock, Installer installer) { in ViewCompiler()
DDynamicCodeLogger.java36 import com.android.server.pm.Installer;
37 import com.android.server.pm.Installer.InstallerException;
62 private final Installer mInstaller;
64 DynamicCodeLogger(IPackageManager pms, Installer installer) { in DynamicCodeLogger()
69 DynamicCodeLogger(IPackageManager pms, Installer installer, in DynamicCodeLogger()
DArtManagerService.java54 import com.android.server.pm.Installer;
55 import com.android.server.pm.Installer.InstallerException;
92 private final Installer mInstaller;
100 public ArtManagerService(Context context, IPackageManager pm, Installer installer, in ArtManagerService()
DDexManager.java41 import com.android.server.pm.Installer;
42 import com.android.server.pm.Installer.InstallerException;
103 private final Installer mInstaller;
125 Installer installer, Object installLock) { in DexManager()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java21 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_GENERATE_APP_IMAGE;
26 import static com.android.server.pm.Installer.DEXOPT_GENERATE_COMPACT_DEX;
27 import static com.android.server.pm.Installer.DEXOPT_IDLE_BACKGROUND_JOB;
28 import static com.android.server.pm.Installer.DEXOPT_PROFILE_GUIDED;
29 import static com.android.server.pm.Installer.DEXOPT_PUBLIC;
30 import static com.android.server.pm.Installer.DEXOPT_SECONDARY_DEX;
[all …]
DOtaDexoptService.java36 import com.android.server.pm.Installer.InstallerException;
269 final Installer collectingInstaller = new Installer(mContext, true) { in generatePackageDexopts()
351 private void moveAbArtifacts(Installer installer) { in moveAbArtifacts()
459 public OTADexoptPackageDexOptimizer(Installer installer, Object installLock, in OTADexoptPackageDexOptimizer()
DPackageManagerException.java22 import com.android.server.pm.Installer.InstallerException;
DUserDataPreparer.java57 private final Installer mInstaller;
59 UserDataPreparer(Installer installer, Object installLock, Context context, boolean onlyCore) { in UserDataPreparer()
DInstaller.java42 public class Installer extends SystemService { class
93 public Installer(Context context) { in Installer() method in Installer
102 public Installer(Context context, boolean isolated) { in Installer() method in Installer
DPackageManagerService.java308 import com.android.server.pm.Installer.InstallerException;
660 final Installer mInstaller;
2290 public static PackageManagerService main(Context context, Installer installer, in main()
2387 public PackageManagerService(Context context, Installer installer, in PackageManagerService()
3243 | Installer.FLAG_CLEAR_CODE_CACHE_ONLY); in PackageManagerService()
3496 | FLAG_STORAGE_EXTERNAL | Installer.FLAG_CLEAR_CODE_CACHE_ONLY); in enableCompressedPackage()
4826 Installer.FLAG_FREE_CACHE_V2); in freeStorage()
4853 Installer.FLAG_FREE_CACHE_V2 | Installer.FLAG_FREE_CACHE_V2_DEFY_QUOTA); in freeStorage()
17090 | FLAG_STORAGE_EXTERNAL | Installer.FLAG_CLEAR_CODE_CACHE_ONLY);
20044 clearAppDataLIF(pkg, userId, flags | Installer.FLAG_CLEAR_CACHE_ONLY);
[all …]
DPackageInstallerSession.java108 import com.android.server.pm.Installer.InstallerException;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DInstallerTest.java44 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()
DUserDataPreparerTest.java75 private Installer mInstaller;
217 TestUserDataPreparer(Installer installer, Object installLock, Context context, in TestUserDataPreparer()
/frameworks/base/services/core/java/com/android/server/om/
DIdmapManager.java40 import com.android.server.pm.Installer;
55 private final Installer mInstaller;
73 IdmapManager(final Installer installer, final PackageManagerHelper packageManager) { in IdmapManager()
DOverlayManagerService.java65 import com.android.server.pm.Installer;
234 @NonNull final Installer installer) { in OverlayManagerService()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDynamicCodeLoggerTests.java38 import com.android.server.pm.Installer;
39 import com.android.server.pm.Installer.InstallerException;
86 @Mock Installer mInstaller;
DDexManagerTests.java40 import com.android.server.pm.Installer;
73 @Mock Installer mInstaller;
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java54 import com.android.server.pm.Installer;
89 private final Installer mInstaller;
96 Context context, UsageStatsManagerInternal usageStatsManager, Installer installer, in CacheQuotaStrategy()
233 } catch (Installer.InstallerException ex) { in pushProcessedQuotas()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java63 import com.android.server.pm.Installer;
64 import com.android.server.pm.Installer.InstallerException;
101 private final Installer mInstaller;
112 mInstaller = new Installer(context); in StorageStatsService()
426 return Installer.FLAG_USE_QUOTA; in getDefaultFlags()
/frameworks/rs/tests/lldb/
D.gitignore36 # Installer logs
/frameworks/base/services/java/com/android/server/
DSystemServer.java122 import com.android.server.pm.Installer;
641 Installer installer = mSystemServiceManager.startService(Installer.class); in startBootstrapServices()
/frameworks/base/services/
Dart-profile2995 HSPLcom/android/server/am/ActivityManagerService;->setInstaller(Lcom/android/server/pm/Installer;)V
10036 …rver/om/OverlayManagerService;-><init>(Landroid/content/Context;Lcom/android/server/pm/Installer;)V
10325 HSPLcom/android/server/pm/Installer$InstallerException;->from(Ljava/lang/Exception;)Lcom/android/se…
10326 HSPLcom/android/server/pm/Installer;-><init>(Landroid/content/Context;)V
10327 HSPLcom/android/server/pm/Installer;->assertFsverityRootHashMatches(Ljava/lang/String;[B)V
10328 HSPLcom/android/server/pm/Installer;->assertValidInstructionSet(Ljava/lang/String;)V
10329 HSPLcom/android/server/pm/Installer;->checkBeforeRemote()Z
10330 HSPLcom/android/server/pm/Installer;->clearAppData(Ljava/lang/String;Ljava/lang/String;IIJ)V
10331 HSPLcom/android/server/pm/Installer;->clearAppProfiles(Ljava/lang/String;Ljava/lang/String;)V
10332 HSPLcom/android/server/pm/Installer;->connect()V
[all …]

12