Home
last modified time | relevance | path

Searched refs:dirMap (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/driver/
H A Ddriver_installer.cpp51 std::unordered_multimap<std::string, std::string> dirMap; in CopyDriverSoFile() local
63 auto filterFunc = [this, &result, &info, &dirMap, &isModuleExisted](const Metadata &meta) { in CopyDriverSoFile()
64 result = FilterDriverSoFile(info, meta, dirMap, isModuleExisted); in CopyDriverSoFile()
70 if (dirMap.empty()) { in CopyDriverSoFile()
79 return InstalldClient::GetInstance()->ExtractDriverSoFiles(realSoDir, dirMap); in CopyDriverSoFile()
83 std::unordered_multimap<std::string, std::string> &dirMap, bool isModuleExisted) const in FilterDriverSoFile() argument
115 dirMap.emplace(originalDir, destinedDir); in FilterDriverSoFile()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_operator_test.cpp1100 std::unordered_multimap<std::string, std::string> dirMap; variable
1101 bool res = InstalldOperator::ExtractDriverSoFiles(srcPath, dirMap);
1105 res = InstalldOperator::ExtractDriverSoFiles(srcPath, dirMap);
1109 dirMap.emplace(srcPath, srcPath);
1110 res = InstalldOperator::ExtractDriverSoFiles(srcPath, dirMap);
1122 std::unordered_multimap<std::string, std::string> dirMap; variable
1123 dirMap.emplace(srcPath, srcPath);
1124 bool res = InstalldOperator::ExtractDriverSoFiles(srcPath, dirMap);
1136 std::unordered_multimap<std::string, std::string> dirMap; variable
1137 dirMap.emplace(srcPath, srcPath);
[all …]
H A Dbms_install_daemon_ipc_test.cpp746 std::unordered_multimap<std::string, std::string> dirMap; variable
747 auto ret = installdProxy->ExtractDriverSoFiles(TEST_STRING, dirMap);
761 std::unordered_multimap<std::string, std::string> dirMap; variable
H A Dbms_install_daemon_host_impl_test.cpp892 std::unordered_multimap<std::string, std::string> dirMap; variable
893 auto ret = hostImpl->ExtractDriverSoFiles("", dirMap);
/ohos5.0/base/update/updater/services/ui/control/
H A Devent_listener.cpp180 const static std::unordered_map<uint16_t, uint8_t> dirMap { in ProcessVolumeKey() local
189 if (auto it = dirMap.find(event.GetKeyId()); it != dirMap.end() && in ProcessVolumeKey()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/driverinstaller_fuzzer/
H A Ddriverinstaller_fuzzer.cpp47 std::unordered_multimap<std::string, std::string> dirMap; in DoSomethingInterestingWithMyAPI() local
48 driverInstaller->FilterDriverSoFile(info, meta, dirMap, isModuleExisted); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_install_driver_test.cpp1730 std::unordered_multimap<std::string, std::string> dirMap; variable
1735 EXPECT_TRUE(dirMap.empty());
1749 std::unordered_multimap<std::string, std::string> dirMap; variable
1758 res = driverInstaller->FilterDriverSoFile(info, meta, dirMap, false);
1760 EXPECT_TRUE(dirMap.empty());
1764 res = driverInstaller->FilterDriverSoFile(info, meta, dirMap, false);
1766 EXPECT_TRUE(dirMap.empty());
1772 EXPECT_TRUE(dirMap.empty());
1778 EXPECT_TRUE(dirMap.empty());
1815 std::unordered_multimap<std::string, std::string> dirMap; variable
[all …]
H A Dbms_bundle_installer_test.cpp5566 std::unordered_multimap<std::string, std::string> dirMap; variable
5567 auto ret = hostImpl.ExtractDriverSoFiles("", dirMap);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/driver/
H A Ddriver_installer.h34 std::unordered_multimap<std::string, std::string> &dirMap, bool isModuleExisted) const;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp377 const std::unordered_multimap<std::string, std::string> &dirMap) in ExtractDriverSoFiles() argument
379 if (srcPath.empty() || dirMap.empty()) { in ExtractDriverSoFiles()
382 return CallService(&IInstalld::ExtractDriverSoFiles, srcPath, dirMap); in ExtractDriverSoFiles()
H A Dmock_install_client.cpp257 const std::unordered_multimap<std::string, std::string> &dirMap) in ExtractDriverSoFiles() argument
H A Dmock_installd_host_impl.cpp253 const std::unordered_multimap<std::string, std::string> &dirMap) in ExtractDriverSoFiles() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp447 const std::unordered_multimap<std::string, std::string> &dirMap) in ExtractDriverSoFiles() argument
449 if (srcPath.empty() || dirMap.empty()) { in ExtractDriverSoFiles()
453 return CallService(&IInstalld::ExtractDriverSoFiles, srcPath, dirMap); in ExtractDriverSoFiles()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp1320 std::unordered_multimap<std::string, std::string> dirMap; variable
1321 ErrCode result = installClient_->ExtractDriverSoFiles(srcPath, dirMap);
1333 std::unordered_multimap<std::string, std::string> dirMap; variable
1334 dirMap.insert(std::make_pair("key", "val1"));
1335 ErrCode result = installClient_->ExtractDriverSoFiles(srcPath, dirMap);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp757 std::unordered_multimap<std::string, std::string> dirMap; in HandExtractDriverSoFiles() local
758 CONTAINER_SECURITY_VERIFY(data, size, &dirMap); in HandExtractDriverSoFiles()
762 dirMap.emplace(originalDir, destinedDir); in HandExtractDriverSoFiles()
765 ErrCode result = ExtractDriverSoFiles(srcPath, dirMap); in HandExtractDriverSoFiles()
H A Dinstalld_proxy.cpp696 const std::unordered_multimap<std::string, std::string> &dirMap) in ExtractDriverSoFiles() argument
701 INSTALLD_PARCEL_WRITE(data, Int32, static_cast<int32_t>(dirMap.size())); in ExtractDriverSoFiles()
702 for (auto &[orignialDir, destinedDir] : dirMap) { in ExtractDriverSoFiles()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h212 const std::unordered_multimap<std::string, std::string> &dirMap);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h368 const std::unordered_multimap<std::string, std::string> &dirMap) in ExtractDriverSoFiles() argument
H A Dinstalld_proxy.h209 const std::unordered_multimap<std::string, std::string> &dirMap) override;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h283 const std::unordered_multimap<std::string, std::string> &dirMap);
H A Dinstalld_host_impl.h207 const std::unordered_multimap<std::string, std::string> &dirMap) override;
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_object_utils.cpp1606 auto dirMap = MediaLibraryDataManager::GetDirQuerySetMap(); in GetRootDirAssetByRelativePath() local
1607 if (dirMap.find(rootDir) == dirMap.end()) { in GetRootDirAssetByRelativePath()
1610 dirAsset = dirMap.at(rootDir); in GetRootDirAssetByRelativePath()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp1363 const std::unordered_multimap<std::string, std::string> &dirMap) in ExtractDriverSoFiles() argument
1370 if (dirMap.empty()) { in ExtractDriverSoFiles()
1375 if (!InstalldOperator::ExtractDriverSoFiles(srcPath, dirMap)) { in ExtractDriverSoFiles()
H A Dinstalld_operator.cpp1775 const std::unordered_multimap<std::string, std::string> &dirMap) in ExtractDriverSoFiles() argument
1778 if (srcPath.empty() || dirMap.empty()) { in ExtractDriverSoFiles()
1783 for (auto &[originalDir, destinedDir] : dirMap) { in ExtractDriverSoFiles()