/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/ |
H A D | bms_data_mgr_test.cpp | 158 auto dataMgr = GetDataMgr(); in HWTEST_F() local 159 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 160 bool ret1 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START); in HWTEST_F() 161 bool ret2 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL); in HWTEST_F() 174 auto dataMgr = GetDataMgr(); in HWTEST_F() local 175 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 176 bool ret1 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START); in HWTEST_F() 177 bool ret2 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_SUCCESS); in HWTEST_F() 178 bool ret3 = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UPDATING_START); in HWTEST_F() 179 bool ret4 = dataMgr in HWTEST_F() 194 auto dataMgr = GetDataMgr(); HWTEST_F() local 216 auto dataMgr = GetDataMgr(); HWTEST_F() local 236 auto dataMgr = GetDataMgr(); HWTEST_F() local 256 auto dataMgr = GetDataMgr(); HWTEST_F() local 273 auto dataMgr = GetDataMgr(); HWTEST_F() local 290 auto dataMgr = GetDataMgr(); HWTEST_F() local 307 auto dataMgr = GetDataMgr(); HWTEST_F() local 324 auto dataMgr = GetDataMgr(); HWTEST_F() local 341 auto dataMgr = GetDataMgr(); HWTEST_F() local 358 auto dataMgr = GetDataMgr(); HWTEST_F() local 375 auto dataMgr = GetDataMgr(); HWTEST_F() local 395 auto dataMgr = GetDataMgr(); HWTEST_F() local 415 auto dataMgr = GetDataMgr(); HWTEST_F() local 435 auto dataMgr = GetDataMgr(); HWTEST_F() local 455 auto dataMgr = GetDataMgr(); HWTEST_F() local 475 auto dataMgr = GetDataMgr(); HWTEST_F() local 495 auto dataMgr = GetDataMgr(); HWTEST_F() local 515 auto dataMgr = GetDataMgr(); HWTEST_F() local 539 auto dataMgr = GetDataMgr(); HWTEST_F() local 591 auto dataMgr = GetDataMgr(); HWTEST_F() local 623 auto dataMgr = GetDataMgr(); HWTEST_F() local 651 auto dataMgr = GetDataMgr(); HWTEST_F() local 702 auto dataMgr = GetDataMgr(); HWTEST_F() local 751 auto dataMgr = GetDataMgr(); HWTEST_F() local 785 auto dataMgr = GetDataMgr(); HWTEST_F() local 819 auto dataMgr = GetDataMgr(); HWTEST_F() local 843 auto dataMgr = GetDataMgr(); HWTEST_F() local 882 auto dataMgr = GetDataMgr(); HWTEST_F() local 933 auto dataMgr = GetDataMgr(); HWTEST_F() local 977 auto dataMgr = GetDataMgr(); HWTEST_F() local 1009 auto dataMgr = GetDataMgr(); HWTEST_F() local 1039 auto dataMgr = GetDataMgr(); HWTEST_F() local 1123 auto dataMgr = GetDataMgr(); HWTEST_F() local 1167 auto dataMgr = GetDataMgr(); HWTEST_F() local 1183 auto dataMgr = GetDataMgr(); HWTEST_F() local 1203 auto dataMgr = GetDataMgr(); HWTEST_F() local 1235 auto dataMgr = GetDataMgr(); HWTEST_F() local 1277 auto dataMgr = GetDataMgr(); HWTEST_F() local 1319 auto dataMgr = GetDataMgr(); HWTEST_F() local 1373 auto dataMgr = GetDataMgr(); HWTEST_F() local 1400 auto dataMgr = GetDataMgr(); HWTEST_F() local 1427 auto dataMgr = GetDataMgr(); HWTEST_F() local 1474 auto dataMgr = GetDataMgr(); HWTEST_F() local 1512 auto dataMgr = GetDataMgr(); HWTEST_F() local 1553 auto dataMgr = GetDataMgr(); HWTEST_F() local 1586 auto dataMgr = GetDataMgr(); HWTEST_F() local 1608 auto dataMgr = GetDataMgr(); HWTEST_F() local 1630 auto dataMgr = GetDataMgr(); HWTEST_F() local 1653 auto dataMgr = GetDataMgr(); HWTEST_F() local 1675 auto dataMgr = GetDataMgr(); HWTEST_F() local 1695 auto dataMgr = GetDataMgr(); HWTEST_F() local 1713 auto dataMgr = GetDataMgr(); HWTEST_F() local 1736 auto dataMgr = GetDataMgr(); HWTEST_F() local 1826 auto dataMgr = GetDataMgr(); HWTEST_F() local 1846 auto dataMgr = GetDataMgr(); HWTEST_F() local 1865 auto dataMgr = GetDataMgr(); HWTEST_F() local 1884 auto dataMgr = GetDataMgr(); HWTEST_F() local 1904 auto dataMgr = GetDataMgr(); HWTEST_F() local 1929 auto dataMgr = GetDataMgr(); HWTEST_F() local 1951 auto dataMgr = GetDataMgr(); HWTEST_F() local 1966 auto dataMgr = GetDataMgr(); HWTEST_F() local 1982 auto dataMgr = GetDataMgr(); HWTEST_F() local 2002 auto dataMgr = GetDataMgr(); HWTEST_F() local 2021 auto dataMgr = GetDataMgr(); HWTEST_F() local 2049 auto dataMgr = GetDataMgr(); HWTEST_F() local 2066 auto dataMgr = GetDataMgr(); HWTEST_F() local 2081 auto dataMgr = GetDataMgr(); HWTEST_F() local 2103 auto dataMgr = GetDataMgr(); HWTEST_F() local 2124 auto dataMgr = GetDataMgr(); HWTEST_F() local 2145 auto dataMgr = GetDataMgr(); HWTEST_F() local 2160 auto dataMgr = GetDataMgr(); HWTEST_F() local 2176 auto dataMgr = GetDataMgr(); HWTEST_F() local 2196 auto dataMgr = GetDataMgr(); HWTEST_F() local 2219 auto dataMgr = GetDataMgr(); HWTEST_F() local 2240 auto dataMgr = GetDataMgr(); HWTEST_F() local 2264 auto dataMgr = GetDataMgr(); HWTEST_F() local 2289 auto dataMgr = GetDataMgr(); HWTEST_F() local 2315 auto dataMgr = GetDataMgr(); HWTEST_F() local 2336 auto dataMgr = GetDataMgr(); HWTEST_F() local 2351 auto dataMgr = GetDataMgr(); HWTEST_F() local 2367 auto dataMgr = GetDataMgr(); HWTEST_F() local 2391 auto dataMgr = GetDataMgr(); HWTEST_F() local 2410 auto dataMgr = GetDataMgr(); HWTEST_F() local 2430 auto dataMgr = GetDataMgr(); HWTEST_F() local 2457 auto dataMgr = GetDataMgr(); HWTEST_F() local 2487 auto dataMgr = GetDataMgr(); HWTEST_F() local 2508 auto dataMgr = GetDataMgr(); HWTEST_F() local 2526 auto dataMgr = GetDataMgr(); HWTEST_F() local 2547 auto dataMgr = GetDataMgr(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_manager_test/ |
H A D | bms_bundle_resource_manager_test.cpp | 182 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 183 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 184 std::string label = dataMgr->GetStringById( in HWTEST_F() 198 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 199 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 200 std::string label = dataMgr->GetStringById( in HWTEST_F() 204 std::string description = dataMgr->GetStringById( in HWTEST_F() 218 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 219 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 221 std::string description = dataMgr in HWTEST_F() 235 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 252 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 269 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 286 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 301 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 317 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 333 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 349 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 365 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 381 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 397 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 413 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 429 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 445 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 460 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 475 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 490 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/fuzztest/abilityautostartupdatamanagerb_fuzzer/ |
H A D | abilityautostartupdatamanagerb_fuzzer.cpp | 79 std::shared_ptr<AbilityAutoStartupDataManager> dataMgr = std::make_shared<AbilityAutoStartupDataManager>(); in AbilityAutoStartupDataManagerFuzztest1() local 87 dataMgr->ConvertAutoStartupDataToKey(info); in AbilityAutoStartupDataManagerFuzztest1() 92 dataMgr->ConvertAutoStartupInfoFromKeyAndValue(key1, value1); in AbilityAutoStartupDataManagerFuzztest1() 93 dataMgr->ConvertAutoStartupInfoFromKeyAndValue(key1Illegal, value1); in AbilityAutoStartupDataManagerFuzztest1() 99 dataMgr->ConvertAutoStartupInfoFromKeyAndValue(key2, value2); in AbilityAutoStartupDataManagerFuzztest1() 100 dataMgr->ConvertAutoStartupInfoFromKeyAndValue(key2, value2Illegal); in AbilityAutoStartupDataManagerFuzztest1() 101 dataMgr->ConvertAutoStartupInfoFromKeyAndValue(key2, value3); in AbilityAutoStartupDataManagerFuzztest1() 104 dataMgr->IsEqual(jsonObject, "abilityName", "ability", boolParam); // branch,return true in AbilityAutoStartupDataManagerFuzztest1() 105 dataMgr->IsEqual(jsonObject, "abilityName", "NaN", boolParam); // branch,return true in AbilityAutoStartupDataManagerFuzztest1() 106 dataMgr in AbilityAutoStartupDataManagerFuzztest1() [all...] |
/foundation/ability/ability_runtime/test/fuzztest/abilityautostartupdatamanagera_fuzzer/ |
H A D | abilityautostartupdatamanagera_fuzzer.cpp | 73 std::shared_ptr<AbilityAutoStartupDataManager> dataMgr = std::make_shared<AbilityAutoStartupDataManager>(); in AbilityAutoStartupDataManagerFuzztest1() local 74 dataMgr->CheckKvStore(); in AbilityAutoStartupDataManagerFuzztest1() 77 dataMgr->InsertAutoStartupData(info1, boolParam, boolParam); // branch info1.bundleName empty in AbilityAutoStartupDataManagerFuzztest1() 79 dataMgr->InsertAutoStartupData(info1, boolParam, boolParam); // branch info1.abilityName empty in AbilityAutoStartupDataManagerFuzztest1() 81 dataMgr->InsertAutoStartupData(info1, boolParam, boolParam); // branch info1.accestoken empty in AbilityAutoStartupDataManagerFuzztest1() 83 dataMgr->InsertAutoStartupData(info1, boolParam, boolParam); // branch info1.accestoken empty in AbilityAutoStartupDataManagerFuzztest1() 87 dataMgr->UpdateAutoStartupData(info2, boolParam, boolParam); // branch info2.bundleName empty in AbilityAutoStartupDataManagerFuzztest1() 89 dataMgr->UpdateAutoStartupData(info2, boolParam, boolParam); // branch info2.abilityName empty in AbilityAutoStartupDataManagerFuzztest1() 91 dataMgr->UpdateAutoStartupData(info2, boolParam, boolParam); // branch info2.accestoken empty in AbilityAutoStartupDataManagerFuzztest1() 93 dataMgr in AbilityAutoStartupDataManagerFuzztest1() 125 std::shared_ptr<AbilityAutoStartupDataManager> dataMgr = std::make_shared<AbilityAutoStartupDataManager>(); AbilityAutoStartupDataManagerFuzztest2() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_mgr_host_impl.cpp | 83 auto dataMgr = GetDataMgrFromService(); in GetApplicationInfo() local 84 if (dataMgr == nullptr) { in GetApplicationInfo() 88 return dataMgr->GetApplicationInfo(appName, flags, userId, appInfo); in GetApplicationInfo() 107 auto dataMgr = GetDataMgrFromService(); in GetApplicationInfoV9() local 108 if (dataMgr == nullptr) { in GetApplicationInfoV9() 112 return dataMgr->GetApplicationInfoV9(appName, flags, userId, appInfo); in GetApplicationInfoV9() 140 auto dataMgr = GetDataMgrFromService(); in GetApplicationInfos() local 141 if (dataMgr == nullptr) { in GetApplicationInfos() 145 return dataMgr->GetApplicationInfos(flags, userId, appInfos); in GetApplicationInfos() 160 auto dataMgr in GetApplicationInfosV9() local 203 auto dataMgr = GetDataMgrFromService(); GetBundleInfo() local 227 auto dataMgr = GetDataMgrFromService(); GetBaseSharedBundleInfos() local 252 auto dataMgr = GetDataMgrFromService(); GetBundleInfoV9() local 281 auto dataMgr = GetDataMgrFromService(); BatchGetBundleInfo() local 303 auto dataMgr = GetDataMgrFromService(); GetBundleInfoForSelf() local 320 auto dataMgr = GetDataMgrFromService(); GetDependentBundleInfo() local 373 auto dataMgr = GetDataMgrFromService(); GetBundlePackInfo() local 384 auto dataMgr = GetDataMgrFromService(); GetBundleUserInfo() local 395 auto dataMgr = GetDataMgrFromService(); GetBundleUserInfos() local 429 auto dataMgr = GetDataMgrFromService(); GetBundleInfos() local 455 auto dataMgr = GetDataMgrFromService(); GetBundleInfosV9() local 494 auto dataMgr = GetDataMgrFromService(); GetBundleNameForUid() local 514 auto dataMgr = GetDataMgrFromService(); GetBundlesForUid() local 538 auto dataMgr = GetDataMgrFromService(); GetNameForUid() local 567 auto dataMgr = GetDataMgrFromService(); GetNameAndIndexForUid() local 583 auto dataMgr = GetDataMgrFromService(); GetBundleGids() local 599 auto dataMgr = GetDataMgrFromService(); GetBundleGidsByUid() local 618 auto dataMgr = GetDataMgrFromService(); CheckIsSystemAppByUid() local 633 auto dataMgr = GetDataMgrFromService(); GetBundleInfosByMetaData() local 754 auto dataMgr = GetDataMgrFromService(); QueryAbilityInfo() local 791 auto dataMgr = GetDataMgrFromService(); QueryAbilityInfos() local 819 auto dataMgr = GetDataMgrFromService(); QueryAbilityInfosV9() local 851 auto dataMgr = GetDataMgrFromService(); BatchQueryAbilityInfos() local 880 auto dataMgr = GetDataMgrFromService(); QueryLauncherAbilityInfos() local 908 auto dataMgr = GetDataMgrFromService(); QueryAllAbilityInfos() local 936 auto dataMgr = GetDataMgrFromService(); QueryAbilityInfoByUri() local 956 auto dataMgr = GetDataMgrFromService(); QueryAbilityInfosByUri() local 979 auto dataMgr = GetDataMgrFromService(); QueryAbilityInfoByUri() local 989 auto dataMgr = GetDataMgrFromService(); QueryKeepAliveBundleInfos() local 1018 auto dataMgr = GetDataMgrFromService(); GetAbilityLabel() local 1044 auto dataMgr = GetDataMgrFromService(); GetAbilityLabel() local 1213 auto dataMgr = GetDataMgrFromService(); GetHapModuleInfo() local 1236 auto dataMgr = GetDataMgrFromService(); GetLaunchWantForBundle() local 1374 auto dataMgr = GetDataMgrFromService(); CleanBundleCacheFilesGetCleanSize() local 1456 auto dataMgr = GetDataMgrFromService(); CheckAppIndex() local 1509 auto dataMgr = GetDataMgrFromService(); CleanBundleCacheFiles() local 1534 CleanBundleCacheTask(const std::string &bundleName, const sptr<ICleanCacheCallback> cleanCacheCallback, const std::shared_ptr<BundleDataMgr> &dataMgr, int32_t userId, int32_t appIndex) CleanBundleCacheTask() argument 1649 auto dataMgr = GetDataMgrFromService(); CleanBundleDataFiles() local 1696 auto dataMgr = GetDataMgrFromService(); RegisterBundleStatusCallback() local 1716 auto dataMgr = GetDataMgrFromService(); RegisterBundleEventCallback() local 1736 auto dataMgr = GetDataMgrFromService(); UnregisterBundleEventCallback() local 1758 auto dataMgr = GetDataMgrFromService(); ClearBundleStatusCallback() local 1775 auto dataMgr = GetDataMgrFromService(); UnregisterBundleStatusCallback() local 1859 auto dataMgr = GetDataMgrFromService(); DumpAllBundleInfoNamesByUserId() local 1967 auto dataMgr = GetDataMgrFromService(); IsModuleRemovable() local 1981 auto dataMgr = GetDataMgrFromService(); SetModuleRemovable() local 1995 auto dataMgr = GetDataMgrFromService(); GetModuleUpgradeFlag() local 2015 auto dataMgr = GetDataMgrFromService(); SetModuleUpgradeFlag() local 2032 auto dataMgr = GetDataMgrFromService(); IsApplicationEnabled() local 2049 auto dataMgr = GetDataMgrFromService(); IsCloneApplicationEnabled() local 2078 auto dataMgr = GetDataMgrFromService(); SetApplicationEnabled() local 2131 auto dataMgr = GetDataMgrFromService(); SetCloneApplicationEnabled() local 2174 auto dataMgr = GetDataMgrFromService(); IsAbilityEnabled() local 2190 auto dataMgr = GetDataMgrFromService(); IsCloneAbilityEnabled() local 2220 auto dataMgr = GetDataMgrFromService(); SetAbilityEnabled() local 2269 auto dataMgr = GetDataMgrFromService(); SetCloneAbilityEnabled() local 2340 auto dataMgr = GetDataMgrFromService(); GetAllFormsInfo() local 2356 auto dataMgr = GetDataMgrFromService(); GetFormsInfoByApp() local 2374 auto dataMgr = GetDataMgrFromService(); GetFormsInfoByModule() local 2410 auto dataMgr = GetDataMgrFromService(); GetShortcutInfos() local 2431 auto dataMgr = GetDataMgrFromService(); GetShortcutInfoV9() local 2447 auto dataMgr = GetDataMgrFromService(); GetAllCommonEventInfo() local 2499 auto dataMgr = GetDataMgrFromService(); QueryExtensionAbilityInfos() local 2529 auto dataMgr = GetDataMgrFromService(); QueryExtensionAbilityInfosV9() local 2564 auto dataMgr = GetDataMgrFromService(); QueryExtensionAbilityInfos() local 2602 auto dataMgr = GetDataMgrFromService(); QueryExtensionAbilityInfosV9() local 2643 auto dataMgr = GetDataMgrFromService(); QueryExtensionAbilityInfos() local 2691 auto dataMgr = GetDataMgrFromService(); GetExistsCommonUserIs() local 2713 auto dataMgr = GetDataMgrFromService(); GetAppPrivilegeLevel() local 2744 auto dataMgr = GetDataMgrFromService(); QueryExtensionAbilityInfoByUri() local 2760 auto dataMgr = GetDataMgrFromService(); GetAppIdByBundleName() local 2783 auto dataMgr = GetDataMgrFromService(); GetAppType() local 2813 auto dataMgr = GetDataMgrFromService(); GetUidByBundleName() local 2839 auto dataMgr = GetDataMgrFromService(); GetUidByDebugBundleName() local 2899 auto dataMgr = GetDataMgrFromService(); ImplicitQueryInfoByPriority() local 2922 auto dataMgr = GetDataMgrFromService(); ImplicitQueryInfos() local 2998 auto dataMgr = GetDataMgrFromService(); GetAllDependentModuleNames() local 3027 auto dataMgr = GetDataMgrFromService(); GetSandboxBundleInfo() local 3046 auto dataMgr = GetDataMgrFromService(); ObtainCallingBundleName() local 3076 auto dataMgr = GetDataMgrFromService(); GetBundleStats() local 3097 auto dataMgr = GetDataMgrFromService(); GetAllBundleStats() local 3114 auto dataMgr = GetDataMgrFromService(); GetStringById() local 3131 auto dataMgr = GetDataMgrFromService(); GetIconById() local 3188 auto dataMgr = GetDataMgrFromService(); GetSandboxAbilityInfo() local 3217 auto dataMgr = GetDataMgrFromService(); GetSandboxExtAbilityInfos() local 3246 auto dataMgr = GetDataMgrFromService(); GetSandboxHapModuleInfo() local 3278 auto dataMgr = GetDataMgrFromService(); GetMediaData() local 3329 auto dataMgr = GetDataMgrFromService(); GetAppProvisionInfo() local 3346 auto dataMgr = GetDataMgrFromService(); GetProvisionMetadata() local 3366 auto dataMgr = GetDataMgrFromService(); GetAllSharedBundleInfo() local 3389 auto dataMgr = GetDataMgrFromService(); GetSharedBundleInfo() local 3414 auto dataMgr = GetDataMgrFromService(); GetSharedBundleInfoBySelf() local 3432 auto dataMgr = GetDataMgrFromService(); GetSharedDependencies() local 3442 auto dataMgr = GetDataMgrFromService(); VerifyDependency() local 3476 auto dataMgr = GetDataMgrFromService(); IsPreInstallApp() local 3491 auto dataMgr = GetDataMgrFromService(); GetProxyDataInfos() local 3505 auto dataMgr = GetDataMgrFromService(); GetAllProxyDataInfos() local 3527 auto dataMgr = GetDataMgrFromService(); GetSpecifiedDistributionType() local 3548 auto dataMgr = GetDataMgrFromService(); GetAdditionalInfo() local 3566 auto dataMgr = GetDataMgrFromService(); SetExtNameOrMIMEToApp() local 3584 auto dataMgr = GetDataMgrFromService(); DelExtNameOrMIMEToApp() local 3600 auto dataMgr = GetDataMgrFromService(); QueryDataGroupInfos() local 3611 auto dataMgr = GetDataMgrFromService(); GetGroupDir() local 3628 auto dataMgr = GetDataMgrFromService(); QueryAppGalleryBundleName() local 3656 auto dataMgr = GetDataMgrFromService(); QueryExtensionAbilityInfosWithTypeName() local 3697 auto dataMgr = GetDataMgrFromService(); QueryExtensionAbilityInfosOnlyWithTypeName() local 3736 auto dataMgr = GetDataMgrFromService(); ResetAOTCompileStatus() local 3767 auto dataMgr = GetDataMgrFromService(); GetJsonProfile() local 3800 auto dataMgr = GetDataMgrFromService(); SetAdditionalInfo() local 3815 auto dataMgr = GetDataMgrFromService(); CreateBundleDataDir() local 3830 auto dataMgr = GetDataMgrFromService(); UpdateAppEncryptedStatus() local 3883 auto dataMgr = GetDataMgrFromService(); GetRecoverableApplicationInfo() local 3925 auto dataMgr = GetDataMgrFromService(); GetUninstalledBundleInfo() local 3955 auto dataMgr = GetDataMgrFromService(); IsBundleExist() local 3980 auto dataMgr = GetDataMgrFromService(); CanOpenLink() local 3991 auto dataMgr = GetDataMgrFromService(); GetOdid() local 4010 auto dataMgr = GetDataMgrFromService(); GetAllPreinstalledApplicationInfos() local 4041 auto dataMgr = GetDataMgrFromService(); GetAllBundleInfoByDeveloperId() local 4063 auto dataMgr = GetDataMgrFromService(); GetDeveloperIds() local 4085 auto dataMgr = GetDataMgrFromService(); SwitchUninstallState() local 4174 auto dataMgr = GetDataMgrFromService(); QueryAbilityInfoByContinueType() local 4213 auto dataMgr = GetDataMgrFromService(); QueryCloneAbilityInfo() local 4241 auto dataMgr = GetDataMgrFromService(); GetCloneBundleInfo() local 4269 auto dataMgr = GetDataMgrFromService(); GetCloneAppIndexes() local 4281 auto dataMgr = GetDataMgrFromService(); GetLaunchWant() local 4306 auto dataMgr = GetDataMgrFromService(); QueryCloneExtensionAbilityInfoWithAppIndex() local 4338 auto dataMgr = GetDataMgrFromService(); GetSignatureInfoByBundleName() local 4372 auto dataMgr = GetDataMgrFromService(); AddDesktopShortcutInfo() local 4390 auto dataMgr = GetDataMgrFromService(); DeleteDesktopShortcutInfo() local 4408 auto dataMgr = GetDataMgrFromService(); GetAllDesktopShortcutInfo() local 4434 auto dataMgr = GetDataMgrFromService(); GetOdidByBundleName() local 4446 auto dataMgr = GetDataMgrFromService(); GetBundleInfosForContinuation() local 4463 auto dataMgr = GetDataMgrFromService(); GetContinueBundleNames() local 4484 auto dataMgr = GetDataMgrFromService(); IsBundleInstalled() local [all...] |
H A D | system_bundle_installer.cpp | 71 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in OTAInstallSystemBundle() local 72 if (dataMgr == nullptr) { in OTAInstallSystemBundle() 73 APP_LOGE("Get dataMgr shared_ptr nullptr"); in OTAInstallSystemBundle() 78 for (auto allUserId : dataMgr->GetAllUser()) { in OTAInstallSystemBundle() 102 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in OTAInstallSystemBundleNeedCheckUser() local 103 if (dataMgr == nullptr) { in OTAInstallSystemBundleNeedCheckUser() 104 APP_LOGE("Get dataMgr shared_ptr nullptr"); in OTAInstallSystemBundleNeedCheckUser() 108 auto currentBundleUserIds = dataMgr->GetUserIds(bundleName); in OTAInstallSystemBundleNeedCheckUser() 115 userIdSet = dataMgr->GetAllUser(); in OTAInstallSystemBundleNeedCheckUser() 140 auto dataMgr in UninstallSystemBundle() local 172 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); UninstallSystemBundle() local 199 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); UninstallSystemBundle() local 228 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); UninstallSystemBundle() local 245 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); CheckUninstallSystemHsp() local [all...] |
H A D | bundle_user_mgr_host_impl.cpp | 121 auto dataMgr = GetDataMgrFromService(); in OnCreateNewUser() local 122 if (dataMgr == nullptr) { in OnCreateNewUser() 133 if (dataMgr->HasUserId(userId)) { in OnCreateNewUser() 141 dataMgr->AddUserId(userId); in OnCreateNewUser() 182 auto dataMgr = GetDataMgrFromService(); in GetAllPreInstallBundleInfos() local 183 if (dataMgr == nullptr) { in GetAllPreInstallBundleInfos() 189 std::vector<PreInstallBundleInfo> allPreInstallBundleInfos = dataMgr->GetAllPreInstallBundleInfos(); in GetAllPreInstallBundleInfos() 193 if (dataMgr->FetchInnerBundleInfo(preInfo.GetBundleName(), innerBundleInfo) in GetAllPreInstallBundleInfos() 214 auto dataMgr = GetDataMgrFromService(); in GetAllDriverBundleInfos() local 215 if (dataMgr in GetAllDriverBundleInfos() 263 auto dataMgr = GetDataMgrFromService(); ProcessRemoveUser() local 321 auto dataMgr = GetDataMgrFromService(); CheckInitialUser() local 407 auto dataMgr = GetDataMgrFromService(); HandleNotifyBundleEvents() local 427 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HandleSceneBoard() local [all...] |
H A D | bundle_event_callback_death_recipient.cpp | 40 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in OnRemoteDied() local 41 if (dataMgr == nullptr) { in OnRemoteDied() 45 dataMgr->UnregisterBundleEventCallback(callback); in OnRemoteDied()
|
H A D | bundle_status_callback_death_recipient.cpp | 41 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in OnRemoteDied() local 42 if (dataMgr == nullptr) { in OnRemoteDied() 46 dataMgr->ClearBundleStatusCallback(callback); in OnRemoteDied()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_accesstokenid_test/ |
H A D | bms_bundle_accesstokenid_test.cpp | 227 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 228 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 230 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, ApplicationFlag::GET_BASIC_APPLICATION_INFO, USERID, info); in HWTEST_F() 247 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 248 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 250 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, ApplicationFlag::GET_BASIC_APPLICATION_INFO, USERID, info); in HWTEST_F() 269 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 270 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 272 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, ApplicationFlag::GET_BASIC_APPLICATION_INFO, USERID, info); in HWTEST_F() 306 auto dataMgr in HWTEST_F() local 334 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 361 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 381 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 406 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 429 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 455 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 705 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 727 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 756 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 785 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 807 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 836 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 865 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 889 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 924 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 959 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 983 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installers_test/ |
H A D | bms_bundle_installers_test.cpp | 89 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in HWTEST_F() local 90 if (dataMgr == nullptr) { in HWTEST_F() 93 dataMgr->AddUserId(Constants::START_USERID); in HWTEST_F() 140 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in HWTEST_F() local 141 if (dataMgr == nullptr) { in HWTEST_F() 144 dataMgr->AddUserId(Constants::START_USERID); in HWTEST_F() 164 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in HWTEST_F() local 165 if (dataMgr == nullptr) { in HWTEST_F() 168 dataMgr->AddUserId(Constants::START_USERID); in HWTEST_F() 188 auto dataMgr in HWTEST_F() local 208 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 235 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 261 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 300 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 324 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 348 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 371 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 395 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 418 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 442 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_manager_test/ |
H A D | bms_bundle_quick_fix_manager_test.cpp | 232 auto dataMgr = DelayedSingleton<QuickFixDataMgr>::GetInstance(); in HWTEST_F() local 233 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 234 if (dataMgr != nullptr) { in HWTEST_F() 237 auto ret = dataMgr->SaveInnerAppQuickFix(innerAppQuickFix); in HWTEST_F() 239 ret = dataMgr->DeleteInnerAppQuickFix(BUNDLE_NAME); in HWTEST_F() 253 auto dataMgr = DelayedSingleton<QuickFixDataMgr>::GetInstance(); in HWTEST_F() local 254 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 255 if (dataMgr != nullptr) { in HWTEST_F() 258 auto ret = dataMgr->SaveInnerAppQuickFix(innerAppQuickFix); in HWTEST_F() 261 ret = dataMgr in HWTEST_F() 278 auto dataMgr = DelayedSingleton<QuickFixDataMgr>::GetInstance(); HWTEST_F() local 303 auto dataMgr = DelayedSingleton<QuickFixDataMgr>::GetInstance(); HWTEST_F() local 322 auto dataMgr = DelayedSingleton<QuickFixDataMgr>::GetInstance(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_group_test/ |
H A D | bms_bundle_data_group_test.cpp | 353 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 354 ASSERT_NE(dataMgr, nullptr); in HWTEST_F() 356 bool res = dataMgr->QueryDataGroupInfos(BUNDLE_NAME, USERID, infos); in HWTEST_F() 368 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 369 ASSERT_NE(dataMgr, nullptr); in HWTEST_F() 371 dataMgr->bundleInfos_.emplace(BUNDLE_NAME, info); in HWTEST_F() 372 ScopeGuard bundleInfoGuard([&] { dataMgr->bundleInfos_.erase(BUNDLE_NAME); }); in HWTEST_F() 375 bool res = dataMgr->QueryDataGroupInfos(BUNDLE_NAME, USERID, infos); in HWTEST_F() 387 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 388 ASSERT_NE(dataMgr, nullpt in HWTEST_F() 411 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 436 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 467 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 492 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 510 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 525 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 547 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 564 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 582 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/ |
H A D | mock_system_bundle_installer.cpp | 65 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in OTAInstallSystemBundle() local 66 if (dataMgr == nullptr) { in OTAInstallSystemBundle() 67 APP_LOGE("Get dataMgr shared_ptr nullptr"); in OTAInstallSystemBundle() 71 for (auto allUserId : dataMgr->GetAllUser()) { in OTAInstallSystemBundle() 87 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in UninstallSystemBundle() local 88 if (dataMgr == nullptr) { in UninstallSystemBundle() 89 APP_LOGE("Get dataMgr shared_ptr nullptr"); in UninstallSystemBundle() 94 for (auto userId : dataMgr->GetAllUser()) { in UninstallSystemBundle() 115 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in UninstallSystemBundle() local 116 if (dataMgr in UninstallSystemBundle() 144 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); UninstallSystemBundle() local 173 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); UninstallSystemBundle() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_crowdtesting_test/ |
H A D | bms_bundle_crowdtesting_test.cpp | 273 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 274 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 276 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, 0, USERID, appInfo); in HWTEST_F() 296 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 297 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 299 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME_2, 0, USERID, appInfo); in HWTEST_F() 319 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 320 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 322 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME_2, 0, USERID, appInfo); in HWTEST_F() 343 auto dataMgr in HWTEST_F() local 367 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 399 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 434 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 460 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 486 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_ota_update_test.cpp | 219 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 220 ASSERT_NE(dataMgr, nullptr) << "the dataMgr is nullptr"; in HWTEST_F() 222 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 235 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 270 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 271 ASSERT_NE(dataMgr, nullptr) << "the dataMgr is nullptr"; in HWTEST_F() 276 ret = dataMgr->GetHapModuleInfo(abilityInfo, hapModuleInfo); in HWTEST_F() 287 ret = dataMgr in HWTEST_F() 371 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 426 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 464 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 501 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 525 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 583 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local 628 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_extend_resource_manager_test/ |
H A D | bms_extend_resource_manager_test.cpp | 514 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in HWTEST_F() local 515 ASSERT_NE(dataMgr, nullptr); in HWTEST_F() 517 dataMgr->bundleInfos_.emplace(BUNDLE_NAME, info); in HWTEST_F() 530 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in HWTEST_F() local 531 ASSERT_NE(dataMgr, nullptr); in HWTEST_F() 533 dataMgr->bundleInfos_.emplace(BUNDLE_NAME, info); in HWTEST_F() 550 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in HWTEST_F() local 551 ASSERT_NE(dataMgr, nullptr); in HWTEST_F() 555 dataMgr->bundleInfos_.clear(); in HWTEST_F() 556 dataMgr in HWTEST_F() 573 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 589 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 607 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 628 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 647 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 680 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 698 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 717 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 736 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local 753 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aging/ |
H A D | bundle_aging_mgr.cpp | 132 auto dataMgr = OHOS::DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in ResetRequest() local 133 if (dataMgr == nullptr) { in ResetRequest() 134 APP_LOGE("dataMgr is null"); in ResetRequest() 139 request_.SetTotalDataBytes(dataMgr->GetAllFreeInstallBundleSpaceSize()); in ResetRequest() 151 auto dataMgr = OHOS::DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in QueryBundleStatsInfoByInterval() local 152 if (dataMgr == nullptr) { in QueryBundleStatsInfoByInterval() 153 APP_LOGE("dataMgr is null"); in QueryBundleStatsInfoByInterval() 160 for (const auto &userId : dataMgr->GetAllUser()) { in QueryBundleStatsInfoByInterval() 173 auto dataMgr = OHOS::DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in InitAgingRequest() local 174 if (dataMgr in InitAgingRequest() 223 Process(const std::shared_ptr<BundleDataMgr> &dataMgr) Process() argument 246 auto dataMgr = OHOS::DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); Start() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bms_extension/ |
H A D | bms_extension_client.cpp | 35 auto dataMgr = GetDataMgr(); in QueryLauncherAbility() local 36 if (dataMgr == nullptr) { in QueryLauncherAbility() 37 LOG_W(BMS_TAG_QUERY, "dataMgr is nullptr"); in QueryLauncherAbility() 41 int32_t requestUserId = dataMgr->GetUserId(userId); in QueryLauncherAbility() 49 if (!bundleName.empty() && dataMgr->QueryInnerBundleInfo(bundleName, info)) { in QueryLauncherAbility() 77 auto dataMgr = GetDataMgr(); in QueryAbilityInfos() local 78 if (dataMgr == nullptr) { in QueryAbilityInfos() 79 LOG_W(BMS_TAG_QUERY, "dataMgr is nullptr"); in QueryAbilityInfos() 83 int32_t requestUserId = dataMgr->GetUserId(userId); in QueryAbilityInfos() 91 if (!bundleName.empty() && dataMgr in QueryAbilityInfos() 118 auto dataMgr = GetDataMgr(); BatchQueryAbilityInfos() local 186 auto dataMgr = GetDataMgr(); GetBundleInfos() local 214 auto dataMgr = GetDataMgr(); GetBundleInfo() local 250 auto dataMgr = GetDataMgr(); BatchGetBundleInfo() local 286 auto dataMgr = GetDataMgr(); ImplicitQueryAbilityInfos() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_process.cpp | 50 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in GetAllResourceInfo() local 51 if (dataMgr == nullptr) { in GetAllResourceInfo() 52 APP_LOGE("dataMgr is nullptr"); in GetAllResourceInfo() 55 if (!dataMgr->HasUserId(userId)) { in GetAllResourceInfo() 59 std::vector<std::string> allBundleNames = dataMgr->GetAllBundleName(); in GetAllResourceInfo() 67 if (!dataMgr->FetchInnerBundleInfo(bundleName, innerBundleInfo)) { in GetAllResourceInfo() 92 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in GetResourceInfoByBundleName() local 93 if (dataMgr == nullptr) { in GetResourceInfoByBundleName() 94 APP_LOGE("dataMgr is nullptr"); in GetResourceInfoByBundleName() 97 if (!dataMgr in GetResourceInfoByBundleName() 119 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); GetLauncherResourceInfoByAbilityName() local 153 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); GetResourceInfoByColorModeChanged() local 342 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); GetLauncherAbilityResourceInfos() local 449 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); GetExternalOverlayHapState() local 504 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); GetTargetBundleName() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_query_test/ |
H A D | bms_bundle_quick_fix_query_test.cpp | 98 auto dataMgr = GetBundleDataMgr();
in SetUp() local 99 if (dataMgr != nullptr) {
in SetUp() 100 dataMgr->AddUserId(USERID);
in SetUp() 152 auto dataMgr = GetBundleDataMgr();
in MockInstallBundleInfo() local 153 EXPECT_NE(dataMgr, nullptr);
in MockInstallBundleInfo() 155 bool startRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START);
in MockInstallBundleInfo() 156 bool addRet = dataMgr->AddInnerBundleInfo(BUNDLE_NAME, innerBundleInfo);
in MockInstallBundleInfo() 157 bool endRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_SUCCESS);
in MockInstallBundleInfo() 166 auto dataMgr = GetBundleDataMgr();
in MockUninstallBundleInfo() local 167 EXPECT_NE(dataMgr, nullpt in MockUninstallBundleInfo() 185 auto dataMgr = GetBundleDataMgr(); MockEnableQuickFix() local 213 auto dataMgr = GetBundleDataMgr(); MockDisableQuickFix() local 247 auto dataMgr = GetBundleDataMgr(); MockDeployQuickFix() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | bundle_mgr_service_event_handler.cpp | 97 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in LoadInstallInfosFromDb() local 98 if (dataMgr == nullptr) { in LoadInstallInfosFromDb() 102 return dataMgr->LoadDataFromPersistentStorage(); in LoadInstallInfosFromDb() 155 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in ScanAndAnalyzeUserDatas() local 156 if (dataMgr == nullptr) { in ScanAndAnalyzeUserDatas() 159 dataMgr->AddUserId(USERID); in ScanAndAnalyzeUserDatas() 278 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in CombineBundleInfoAndUserInfo() local 279 if (dataMgr == nullptr) { in CombineBundleInfoAndUserInfo() 300 dataMgr->AddInnerBundleUserInfo(bundleName, userInfo); in CombineBundleInfoAndUserInfo() 304 dataMgr in CombineBundleInfoAndUserInfo() 311 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); SaveInstallInfoToCache() local 446 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); LoadAllPreInstallBundleInfos() local 664 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); ProcessBundleProvisionInfo() local 682 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); ProcessSharedBundleProvisionInfo() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_dependencies_test/ |
H A D | bms_bundle_dependencies_test.cpp | 206 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 207 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 209 bool result = dataMgr->GetAllDependentModuleNames(BUNDLE_NAME, MODULE_NAME_ENTRY_C, dependentModuleNames); in HWTEST_F() 226 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 227 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 229 bool result = dataMgr->GetAllDependentModuleNames(BUNDLE_NAME, MODULE_NAME_ENTRY_C, dependentModuleNames); in HWTEST_F() 250 auto dataMgr = GetBundleDataMgr(); in HWTEST_F() local 251 EXPECT_NE(dataMgr, nullptr); in HWTEST_F() 253 bool result = dataMgr->GetAllDependentModuleNames(BUNDLE_NAME, MODULE_NAME_ENTRY_A, dependentModuleNames); in HWTEST_F() 279 auto dataMgr in HWTEST_F() local 310 auto dataMgr = GetBundleDataMgr(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/ |
H A D | bms_bundle_set_overlay_enabled_test.cpp | 116 auto dataMgr = GetBundleDataMgr();
in AddOverlayInnerBundleInfo() local 117 EXPECT_NE(dataMgr, nullptr);
in AddOverlayInnerBundleInfo() 119 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START);
in AddOverlayInnerBundleInfo() 120 dataMgr->AddInnerBundleInfo(TEST_BUNDLE_NAME, innerBundleInfo);
in AddOverlayInnerBundleInfo() 138 auto dataMgr = GetBundleDataMgr();
in AddNonOverlayInnerBundleInfo() local 139 EXPECT_NE(dataMgr, nullptr);
in AddNonOverlayInnerBundleInfo() 143 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START);
in AddNonOverlayInnerBundleInfo() 144 dataMgr->AddInnerBundleInfo(TEST_BUNDLE_NAME, innerBundleInfo);
in AddNonOverlayInnerBundleInfo() 149 auto dataMgr = GetBundleDataMgr();
in RemoveBundleInfo() local 150 EXPECT_NE(dataMgr, nullpt in RemoveBundleInfo() 160 auto dataMgr = GetBundleDataMgr(); CheckEnabledState() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/ |
H A D | aot_handler.cpp | 118 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in GetArkProfilePath() local 119 if (!dataMgr) { in GetArkProfilePath() 120 APP_LOGE("dataMgr is null"); in GetArkProfilePath() 160 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in BuildAOTArgs() local 161 if (!dataMgr) { in BuildAOTArgs() 162 APP_LOGE("dataMgr is null"); in BuildAOTArgs() 166 if (!dataMgr->QueryInnerBundleInfo(info.GetBundleName(), installedInfo)) { in BuildAOTArgs() 215 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); in AOTInternal() local 216 if (!dataMgr) { in AOTInternal() 217 APP_LOGE("dataMgr i in AOTInternal() 274 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); ClearArkCacheDir() local 297 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); ClearArkAp() local 339 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HandleResetAOT() local 384 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HandleCopyAp() local 478 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); ResetAOTFlags() local 570 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); OTACompileInternal() local 767 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HandleIdle() local 820 auto dataMgr = DelayedSingleton<BundleMgrService>::GetInstance()->GetDataMgr(); HandleCompile() local 841 HandleCompileBundles(const std::vector<std::string> &bundleNames, const std::string &compileMode, std::shared_ptr<BundleDataMgr> &dataMgr, std::vector<std::string> &compileResults) const HandleCompileBundles() argument [all...] |