Home
last modified time | relevance | path

Searched refs:installer (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java56 Installer installer = mock(Installer.class); in testSnapshotAppData() local
57 AppDataRollbackHelper helper = spy(new AppDataRollbackHelper(installer)); in testSnapshotAppData()
71 InOrder inOrder = Mockito.inOrder(installer); in testSnapshotAppData()
72 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
74 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
81 when(installer.snapshotAppData(anyString(), anyInt(), anyInt(), anyInt())).thenReturn(239L); in testSnapshotAppData()
91 inOrder = Mockito.inOrder(installer); in testSnapshotAppData()
92 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
95 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
114 Installer installer = mock(Installer.class); in testRestoreAppDataSnapshot_pendingBackupForUser() local
[all …]
/frameworks/base/cmds/statsd/src/packages/
DUidMap.h46 string installer; member
53 AppData(const int64_t v, const string& versionString, const string& installer) in AppData()
54 : versionCode(v), versionString(versionString), installer(installer), deleted(false){}; in AppData()
100 const vector<String16>& packageName, const vector<String16>& installer);
104 const String16& installer);
DUidMap.cpp117 const vector<String16>& packageName, const vector<String16>& installer) { in updateMap() argument
136 string(String8(installer[j]).string())); in updateMap()
163 const String16& installer) { in updateApp() argument
179 it->second.installer = string(String8(installer).string()); in updateApp()
185 AppData(versionCode, newVersionString, string(String8(installer).string())); in updateApp()
346 str_set->insert(kv.second.installer); in writeUidMapSnapshotLocked()
348 (long long)Hash64(kv.second.installer)); in writeUidMapSnapshotLocked()
358 kv.second.installer); in writeUidMapSnapshotLocked()
447 kv.second.installer.c_str(), kv.first.first); in printUidMap()
/frameworks/av/services/mediaanalytics/
DMediaAnalyticsService.cpp635 std::string installer = ""; in setPkgInfo() local
691 status = package_mgr->getInstallerForPackage(pkgName16, &installer); in setPkgInfo()
708 pkg.c_str(), installer.c_str(), versionCode, versionCode); in setPkgInfo()
710 if (strncmp(installer.c_str(), "com.android.", 12) == 0) { in setPkgInfo()
712 } else if (strncmp(installer.c_str(), "com.google.", 11) == 0) { in setPkgInfo()
714 } else if (strcmp(installer.c_str(), "preload") == 0) { in setPkgInfo()
716 } else if (installer.c_str()[0] == '\0') { in setPkgInfo()
736 mapping.installer = installer.c_str(); in setPkgInfo()
DMediaAnalyticsService.h105 std::string installer; member
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRestoreUtils.java87 PackageInstaller installer = packageManager.getPackageInstaller(); in installApk() local
91 int sessionId = installer.createSession(params); in installApk()
93 try (Session session = installer.openSession(sessionId)) { in installApk()
114 installer.abandonSession(sessionId); in installApk()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledReceiver.java67 String installer = in onReceive() local
69 new PackageInstalledNotificationUtils(context, installer, in onReceive()
DInstallInstalling.java224 PackageInstaller installer = getPackageManager().getPackageInstaller(); in onResume() local
225 PackageInstaller.SessionInfo sessionInfo = installer.getSessionInfo(mSessionId); in onResume()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DViewCompiler.java31 public ViewCompiler(Object installLock, Installer installer) { in ViewCompiler() argument
33 mInstaller = installer; in ViewCompiler()
DDynamicCodeLogger.java65 DynamicCodeLogger(IPackageManager pms, Installer installer) { in DynamicCodeLogger() argument
66 this(pms, installer, new PackageDynamicCodeLoading()); in DynamicCodeLogger()
70 DynamicCodeLogger(IPackageManager pms, Installer installer, in DynamicCodeLogger() argument
74 mInstaller = installer; in DynamicCodeLogger()
DDexManager.java127 Installer installer, Object installLock) { in DexManager() argument
133 mInstaller = installer; in DexManager()
135 mDynamicCodeLogger = new DynamicCodeLogger(pms, installer); in DexManager()
DArtManagerService.java100 public ArtManagerService(Context context, IPackageManager pm, Installer installer, in ArtManagerService() argument
104 mInstaller = installer; in ArtManagerService()
/frameworks/base/services/core/java/com/android/server/pm/
DOtaDexoptService.java351 private void moveAbArtifacts(Installer installer) { in moveAbArtifacts() argument
400 installer.moveAb(path, dexCodeInstructionSet, oatDir); in moveAbArtifacts()
459 public OTADexoptPackageDexOptimizer(Installer installer, Object installLock, in OTADexoptPackageDexOptimizer() argument
461 super(installer, installLock, context, "*otadexopt*"); in OTADexoptPackageDexOptimizer()
DPackageDexOptimizer.java96 PackageDexOptimizer(Installer installer, Object installLock, Context context, in PackageDexOptimizer() argument
98 this.mInstaller = installer; in PackageDexOptimizer()
710 public ForcedUpdatePackageDexOptimizer(Installer installer, Object installLock, in ForcedUpdatePackageDexOptimizer() argument
712 super(installer, installLock, context, wakeLockTag); in ForcedUpdatePackageDexOptimizer()
DUserDataPreparer.java59 UserDataPreparer(Installer installer, Object installLock, Context context, boolean onlyCore) { in UserDataPreparer() argument
63 mInstaller = installer; in UserDataPreparer()
/frameworks/base/core/res/res/raw/
Dfallback_categories.csv1 # Default app categories used if neither the package nor installer sets anything
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java623 PackageInstaller installer = mContext.getPackageManager().getPackageInstaller(); in onBootCompleted() local
624 PackageInstaller.SessionInfo session = installer.getSessionInfo( in onBootCompleted()
638 PackageInstaller installer = mContext.getPackageManager().getPackageInstaller(); in onBootCompleted() local
639 PackageInstaller.SessionInfo session = installer.getSessionInfo( in onBootCompleted()
831 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in enableRollback() local
832 for (PackageInstaller.SessionInfo info : installer.getAllSessions()) { in enableRollback()
835 PackageInstaller.SessionInfo child = installer.getSessionInfo(childId); in enableRollback()
1062 PackageInstaller installer = mContext.getPackageManager().getPackageInstaller(); in notifyStagedSession() local
1064 final PackageInstaller.SessionInfo session = installer.getSessionInfo(sessionId); in notifyStagedSession()
1085 installer.getSessionInfo(childSessionId); in notifyStagedSession()
DAppDataRollbackHelper.java50 public AppDataRollbackHelper(Installer installer) { in AppDataRollbackHelper() argument
51 mInstaller = installer; in AppDataRollbackHelper()
/frameworks/base/services/core/java/com/android/server/om/
DIdmapManager.java65 IdmapManager(final Installer installer, final PackageManagerHelper packageManager) { in IdmapManager() argument
66 mInstaller = installer; in IdmapManager()
/frameworks/base/cmds/statsd/src/
Duid_data.proto29 optional string installer = 5; field
DStatsService.h75 const String16& version_string, const String16& installer);
/frameworks/base/core/java/android/os/
DIStatsManager.aidl77 in String version_string, in String installer); in informOnePackage() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java217 TestUserDataPreparer(Installer installer, Object installLock, Context context, in TestUserDataPreparer() argument
219 super(installer, installLock, context, onlyCore); in TestUserDataPreparer()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java96 Context context, UsageStatsManagerInternal usageStatsManager, Installer installer, in CacheQuotaStrategy() argument
100 mInstaller = Preconditions.checkNotNull(installer); in CacheQuotaStrategy()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java500 String installer; in informAllUidsLocked() local
502 installer = pm.getInstallerPackageName(pi.get(j).packageName); in informAllUidsLocked()
504 installer = ""; in informAllUidsLocked()
525 installer == null ? "" : installer); in informAllUidsLocked()
577 String installer; in onReceive() local
579 installer = pm.getInstallerPackageName(app); in onReceive()
581 installer = ""; in onReceive()
584 installer == null ? "" : installer); in onReceive()

12