Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java55 Installer installer = mock(Installer.class); in testSnapshotAppData() local
56 AppDataRollbackHelper helper = spy(new AppDataRollbackHelper(installer)); in testSnapshotAppData()
70 InOrder inOrder = Mockito.inOrder(installer); in testSnapshotAppData()
71 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
73 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
80 when(installer.snapshotAppData(anyString(), anyInt(), anyInt(), anyInt())).thenReturn(239L); in testSnapshotAppData()
90 inOrder = Mockito.inOrder(installer); in testSnapshotAppData()
91 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
94 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData()
113 Installer installer = mock(Installer.class); in testRestoreAppDataSnapshot_pendingBackupForUser() local
[all …]
/frameworks/base/cmds/statsd/src/packages/
DUidMap.h48 string installer; member
55 AppData(const int64_t v, const string& versionString, const string& installer) in AppData()
56 : versionCode(v), versionString(versionString), installer(installer), deleted(false){}; in AppData()
102 const vector<String16>& packageName, const vector<String16>& installer);
106 const String16& installer);
DUidMap.cpp121 const vector<String16>& packageName, const vector<String16>& installer) { in updateMap() argument
140 string(String8(installer[j]).string())); in updateMap()
170 const String16& installer) { in updateApp() argument
186 it->second.installer = string(String8(installer).string()); in updateApp()
192 AppData(versionCode, newVersionString, string(String8(installer).string())); in updateApp()
375 str_set->insert(kv.second.installer); in writeUidMapSnapshotLocked()
377 (long long)Hash64(kv.second.installer)); in writeUidMapSnapshotLocked()
387 kv.second.installer); in writeUidMapSnapshotLocked()
476 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/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.java64 DynamicCodeLogger(IPackageManager pms, Installer installer) { in DynamicCodeLogger() argument
65 this(pms, installer, new PackageDynamicCodeLoading()); in DynamicCodeLogger()
69 DynamicCodeLogger(IPackageManager pms, Installer installer, in DynamicCodeLogger() argument
73 mInstaller = installer; in DynamicCodeLogger()
DDexManager.java125 Installer installer, Object installLock) { in DexManager() argument
131 mInstaller = installer; in DexManager()
133 mDynamicCodeLogger = new DynamicCodeLogger(pms, installer); in DexManager()
/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/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()
DUserDataPreparer.java59 UserDataPreparer(Installer installer, Object installLock, Context context, boolean onlyCore) { in UserDataPreparer() argument
63 mInstaller = installer; in UserDataPreparer()
DPackageDexOptimizer.java98 PackageDexOptimizer(Installer installer, Object installLock, Context context, in PackageDexOptimizer() argument
100 this.mInstaller = installer; in PackageDexOptimizer()
725 public ForcedUpdatePackageDexOptimizer(Installer installer, Object installLock, in ForcedUpdatePackageDexOptimizer() argument
727 super(installer, installLock, context, wakeLockTag); in ForcedUpdatePackageDexOptimizer()
/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.java635 PackageInstaller installer = mContext.getPackageManager().getPackageInstaller(); in onBootCompleted() local
636 PackageInstaller.SessionInfo session = installer.getSessionInfo( in onBootCompleted()
653 PackageInstaller installer = mContext.getPackageManager().getPackageInstaller(); in onBootCompleted() local
654 PackageInstaller.SessionInfo session = installer.getSessionInfo( in onBootCompleted()
885 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in enableRollback() local
886 for (PackageInstaller.SessionInfo info : installer.getAllSessions()) { in enableRollback()
889 PackageInstaller.SessionInfo child = installer.getSessionInfo(childId); in enableRollback()
1142 PackageInstaller installer = mContext.getPackageManager().getPackageInstaller(); in notifyStagedSession() local
1144 final PackageInstaller.SessionInfo session = installer.getSessionInfo(sessionId); in notifyStagedSession()
1166 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.java73 IdmapManager(final Installer installer, final PackageManagerHelper packageManager) { in IdmapManager() argument
74 mInstaller = installer; in IdmapManager()
/frameworks/base/cmds/statsd/src/
Duid_data.proto29 optional string installer = 5; field
/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/opt/gamesdk/third_party/protobuf-3.0.0/jenkins/docker/
DDockerfile19 …echo "oracle-java7-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-select…
64 oracle-java7-installer \
/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/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTestUtils.java433 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in waitForSessionReady() local
434 PackageInstaller.SessionInfo info = installer.getSessionInfo(sessionId); in waitForSessionReady()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java498 String installer; in informAllUidsLocked() local
500 installer = pm.getInstallerPackageName(pi.get(j).packageName); in informAllUidsLocked()
502 installer = ""; in informAllUidsLocked()
523 installer == null ? "" : installer); in informAllUidsLocked()
575 String installer; in onReceive() local
577 installer = pm.getInstallerPackageName(app); in onReceive()
579 installer = ""; in onReceive()
582 installer == null ? "" : installer); in onReceive()

12