/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 56 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/ |
D | UidMap.h | 46 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);
|
D | UidMap.cpp | 117 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/ |
D | MediaAnalyticsService.cpp | 635 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()
|
D | MediaAnalyticsService.h | 105 std::string installer; member
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 87 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/ |
D | PackageInstalledReceiver.java | 67 String installer = in onReceive() local 69 new PackageInstalledNotificationUtils(context, installer, in onReceive()
|
D | InstallInstalling.java | 224 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/ |
D | ViewCompiler.java | 31 public ViewCompiler(Object installLock, Installer installer) { in ViewCompiler() argument 33 mInstaller = installer; in ViewCompiler()
|
D | DynamicCodeLogger.java | 65 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()
|
D | DexManager.java | 127 Installer installer, Object installLock) { in DexManager() argument 133 mInstaller = installer; in DexManager() 135 mDynamicCodeLogger = new DynamicCodeLogger(pms, installer); in DexManager()
|
D | ArtManagerService.java | 100 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/ |
D | OtaDexoptService.java | 351 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()
|
D | PackageDexOptimizer.java | 96 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()
|
D | UserDataPreparer.java | 59 UserDataPreparer(Installer installer, Object installLock, Context context, boolean onlyCore) { in UserDataPreparer() argument 63 mInstaller = installer; in UserDataPreparer()
|
/frameworks/base/core/res/res/raw/ |
D | fallback_categories.csv | 1 # Default app categories used if neither the package nor installer sets anything
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 623 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()
|
D | AppDataRollbackHelper.java | 50 public AppDataRollbackHelper(Installer installer) { in AppDataRollbackHelper() argument 51 mInstaller = installer; in AppDataRollbackHelper()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | IdmapManager.java | 65 IdmapManager(final Installer installer, final PackageManagerHelper packageManager) { in IdmapManager() argument 66 mInstaller = installer; in IdmapManager()
|
/frameworks/base/cmds/statsd/src/ |
D | uid_data.proto | 29 optional string installer = 5; field
|
D | StatsService.h | 75 const String16& version_string, const String16& installer);
|
/frameworks/base/core/java/android/os/ |
D | IStatsManager.aidl | 77 in String version_string, in String installer); in informOnePackage() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 217 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/ |
D | CacheQuotaStrategy.java | 96 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/ |
D | StatsCompanionService.java | 500 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()
|