/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_mgr_service_event_handler.h | 158 void GetPreInstallDir(std::vector<std::string> &bundleDirs); 179 const std::vector<std::string> &bundleDirs, 186 void GetPreBundleDir(std::list<std::string> &bundleDirs); 359 void GetBundleDirFromScan(std::list<std::string> &bundleDirs); 366 static void ProcessScanDir(const std::string &dir, std::list<std::string> &bundleDirs); 529 void GetPreInstallDirFromLoadProFile(std::vector<std::string> &bundleDirs); 530 void GetPreInstallDirFromScan(std::vector<std::string> &bundleDirs);
|
H A D | bundle_mgr_host_impl.h | 1041 virtual ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) override;
|
H A D | bundle_data_mgr.h | 1014 ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) const;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_mgr_service_event_handler.cpp | 865 std::list<std::string> bundleDirs; in ProcessBootBundleInstallFromScan() local 866 GetBundleDirFromScan(bundleDirs); in ProcessBootBundleInstallFromScan() 867 for (auto item : bundleDirs) { in ProcessBootBundleInstallFromScan() 885 auto iter = std::find(bundleDirs.begin(), bundleDirs.end(), SYSTEM_RESOURCES_APP_PATH); in GetBundleDirFromScan() 886 if (iter != bundleDirs.end()) { in GetBundleDirFromScan() 887 bundleDirs.erase(iter); in GetBundleDirFromScan() 888 bundleDirs.insert(bundleDirs.begin(), SYSTEM_RESOURCES_APP_PATH); in GetBundleDirFromScan() 897 auto iter = std::find(bundleDirs.begin(), bundleDirs.end(), item); in ProcessScanDir() 1659 GetBundleDirFromScan(bundleDirs); in ProcessRebootBundleInstallFromScan() 2939 if (bundleDirs.empty()) { in PatchSystemHspInstall() [all …]
|
H A D | bundle_mgr_host_impl.cpp | 4636 ErrCode BundleMgrHostImpl::GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) in GetAllBundleDirs() argument 4651 return dataMgr->GetAllBundleDirs(userId, bundleDirs); in GetAllBundleDirs()
|
H A D | bundle_data_mgr.cpp | 9260 ErrCode BundleDataMgr::GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) const in GetAllBundleDirs() 9296 bundleDirs.emplace_back(bundleDir); in GetAllBundleDirs()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | bundle_mgr_service_event_handler.cpp | 231 void BMSEventHandler::GetPreInstallDir(std::vector<std::string>& bundleDirs) {} in GetPreInstallDir() argument 233 void BMSEventHandler::GetPreInstallDirFromLoadProFile(std::vector<std::string>& bundleDirs) {} in GetPreInstallDirFromLoadProFile() argument 235 void BMSEventHandler::GetPreInstallDirFromScan(std::vector<std::string>& bundleDirs) {} in GetPreInstallDirFromScan() argument 246 void BMSEventHandler::AnalyzeHaps(bool isPreInstallApp, const std::vector<std::string>& bundleDirs, in AnalyzeHaps() argument 249 for (const auto& bundleDir : bundleDirs) { in AnalyzeHaps() 374 void BMSEventHandler::GetBundleDirFromScan(std::list<std::string>& bundleDirs) {} in GetBundleDirFromScan() argument 376 void BMSEventHandler::ProcessScanDir(const std::string& dir, std::list<std::string>& bundleDirs) {} in ProcessScanDir() argument
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/ |
H A D | bms_event_handler_test.cpp | 173 std::vector<std::string> bundleDirs; variable 175 handler->GetPreInstallDirFromLoadProFile(bundleDirs); 176 EXPECT_NE(bundleDirs.size(), 0); 737 std::list<std::string> bundleDirs; variable 738 handler->GetBundleDirFromScan(bundleDirs); 740 auto iter = std::find(bundleDirs.begin(), bundleDirs.end(), SYSTEM_RESOURCES_CAMERA_PATH); 742 auto iter = std::find(bundleDirs.begin(), bundleDirs.end(), SYSTEM_RESOURCES_APP_PATH); 744 EXPECT_NE(iter, bundleDirs.end());
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_client.cpp | 215 ErrCode BundleMgrClient::GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) in GetAllBundleDirs() argument 221 return impl_->GetAllBundleDirs(userId, bundleDirs); in GetAllBundleDirs()
|
H A D | bundle_mgr_client_impl.cpp | 548 ErrCode BundleMgrClientImpl::GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) in GetAllBundleDirs() argument 557 return bundleMgr_->GetAllBundleDirs(userId, bundleDirs); in GetAllBundleDirs()
|
H A D | bundle_mgr_host.cpp | 4191 std::vector<BundleDir> bundleDirs; in HandleGetAllBundleDirs() local 4192 auto ret = GetAllBundleDirs(userId, bundleDirs); in HandleGetAllBundleDirs() 4198 if (!WriteVectorToParcelIntelligent(bundleDirs, reply)) { in HandleGetAllBundleDirs()
|
H A D | bundle_mgr_proxy.cpp | 5375 ErrCode BundleMgrProxy::GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) in GetAllBundleDirs() argument 5388 BundleMgrInterfaceCode::GET_ALL_BUNDLE_DIRS, data, bundleDirs); in GetAllBundleDirs()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_service_startup_test/ |
H A D | bms_service_startup_test.cpp | 117 std::list<std::string> bundleDirs; variable 118 handler->GetBundleDirFromScan(bundleDirs); 119 EXPECT_EQ(false, bundleDirs.empty()); 328 std::vector<std::string> bundleDirs; variable 329 handler->GetPreInstallDirFromLoadProFile(bundleDirs); 330 EXPECT_EQ(bundleDirs.size(), 0);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_client.h | 115 ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs);
|
H A D | bundle_mgr_client_impl.h | 70 ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs);
|
H A D | bundle_mgr_interface.h | 1620 virtual ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) in GetAllBundleDirs() argument
|
H A D | bundle_mgr_proxy.h | 1122 virtual ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) override;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_client_system_test/ |
H A D | bundle_mgr_client_system_test.cpp | 2504 std::vector<BundleDir> bundleDirs; variable 2505 ErrCode queryResult = impl.GetAllBundleDirs(DEFAULT_USERID, bundleDirs); 2521 std::vector<BundleDir> bundleDirs; variable 2522 ErrCode queryResult = impl.GetAllBundleDirs(-100, bundleDirs);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_data_mgr_test.cpp | 6681 std::vector<BundleDir> bundleDirs; variable 6682 auto ret = bundleDataMgr->GetAllBundleDirs(100, bundleDirs); 6684 EXPECT_EQ(bundleDirs.size(), 1); 6708 std::vector<BundleDir> bundleDirs; variable 6709 auto ret = bundleDataMgr->GetAllBundleDirs(100, bundleDirs); 6711 EXPECT_EQ(bundleDirs.size(), 0);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/ |
H A D | acts_bms_kit_system_test.cpp | 9702 std::vector<BundleDir> bundleDirs; variable 9703 ErrCode ret = bundleMgrProxy->GetAllBundleDirs(0, bundleDirs); 9705 ret = bundleMgrProxy->GetAllBundleDirs(200, bundleDirs);
|