Home
last modified time | relevance | path

Searched refs:bundleDirs (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_service_event_handler.h158 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 Dbundle_mgr_host_impl.h1041 virtual ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) override;
H A Dbundle_data_mgr.h1014 ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) const;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_service_event_handler.cpp865 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 Dbundle_mgr_host_impl.cpp4636 ErrCode BundleMgrHostImpl::GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) in GetAllBundleDirs() argument
4651 return dataMgr->GetAllBundleDirs(userId, bundleDirs); in GetAllBundleDirs()
H A Dbundle_data_mgr.cpp9260 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 Dbundle_mgr_service_event_handler.cpp231 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 Dbms_event_handler_test.cpp173 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 Dbundle_mgr_client.cpp215 ErrCode BundleMgrClient::GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) in GetAllBundleDirs() argument
221 return impl_->GetAllBundleDirs(userId, bundleDirs); in GetAllBundleDirs()
H A Dbundle_mgr_client_impl.cpp548 ErrCode BundleMgrClientImpl::GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) in GetAllBundleDirs() argument
557 return bundleMgr_->GetAllBundleDirs(userId, bundleDirs); in GetAllBundleDirs()
H A Dbundle_mgr_host.cpp4191 std::vector<BundleDir> bundleDirs; in HandleGetAllBundleDirs() local
4192 auto ret = GetAllBundleDirs(userId, bundleDirs); in HandleGetAllBundleDirs()
4198 if (!WriteVectorToParcelIntelligent(bundleDirs, reply)) { in HandleGetAllBundleDirs()
H A Dbundle_mgr_proxy.cpp5375 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 Dbms_service_startup_test.cpp117 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 Dbundle_mgr_client.h115 ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs);
H A Dbundle_mgr_client_impl.h70 ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs);
H A Dbundle_mgr_interface.h1620 virtual ErrCode GetAllBundleDirs(int32_t userId, std::vector<BundleDir> &bundleDirs) in GetAllBundleDirs() argument
H A Dbundle_mgr_proxy.h1122 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 Dbundle_mgr_client_system_test.cpp2504 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 Dbms_bundle_data_mgr_test.cpp6681 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 Dacts_bms_kit_system_test.cpp9702 std::vector<BundleDir> bundleDirs; variable
9703 ErrCode ret = bundleMgrProxy->GetAllBundleDirs(0, bundleDirs);
9705 ret = bundleMgrProxy->GetAllBundleDirs(200, bundleDirs);