Home
last modified time | relevance | path

Searched refs:fileNames (Results 1 - 25 of 36) sorted by relevance

12

/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_entity_ext_manage_test.cpp152 auto fileNames = cache.GetExtManage(); in HWTEST_F() local
153 EXPECT_EQ(fileNames.size(), 0ul); in HWTEST_F()
201 auto fileNames = cache.GetExtManage(); in HWTEST_F() local
202 ASSERT_EQ(fileNames.size(), 1ul); in HWTEST_F()
203 EXPECT_EQ(*fileNames.begin(), testFileHexName); in HWTEST_F()
264 auto fileNames = newCache.GetExtManage(); in HWTEST_F() local
265 EXPECT_EQ(fileNames.size(), info.size()); in HWTEST_F()
266 EXPECT_EQ(fileNames, resultFileName); in HWTEST_F()
327 auto fileNames = cache.GetExtManage(); in HWTEST_F() local
328 EXPECT_EQ(fileNames in HWTEST_F()
391 auto fileNames = cache.GetExtManage(); HWTEST_F() local
647 auto fileNames = cache.GetExtManage(); HWTEST_F() local
691 auto fileNames = cache.GetExtManage(); HWTEST_F() local
[all...]
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/
H A Ddualfwk_sound_setting.cpp100 std::vector<std::string> fileNames; in GetFileNames() local
102 fileNames.push_back(setting.second.toneFileName); in GetFileNames()
104 return fileNames; in GetFileNames()
109 std::vector<std::string> fileNames; in GetDisplayNames() local
113 fileNames.push_back(fileName); in GetDisplayNames()
115 fileNames.push_back(setting.second.toneFileName); in GetDisplayNames()
118 return fileNames; in GetDisplayNames()
H A Dringtone_dualfwk_restore.cpp358 std::vector<std::string> fileNames = dualFwkSetting_->GetFileNames(); in BuildFileInfo() local
365 QueryMediaLibForFileInfo(fileNames, resultFromMediaByDisplayName, UFM_QUERY_AUDIO, "display_name"); in BuildFileInfo()
366 QueryMediaLibForFileInfo(fileNames, resultFromMediaByTitle, UFM_QUERY_AUDIO, "title"); in BuildFileInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbase_extractor.cpp113 bool BaseExtractor::GetZipFileNames(std::vector<std::string> &fileNames) const in GetZipFileNames()
116 auto entryFilter = [&fileNames](const auto &entry) { in GetZipFileNames()
124 fileNames.emplace_back(entry.first); in GetZipFileNames()
H A Dinstalld_client.cpp402 std::vector<std::string> &fileNames) in GetNativeLibraryFileNames()
404 return CallService(&IInstalld::GetNativeLibraryFileNames, filePath, cpuAbi, fileNames); in GetNativeLibraryFileNames()
401 GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, std::vector<std::string> &fileNames) GetNativeLibraryFileNames() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbase_extractor.h53 bool GetZipFileNames(std::vector<std::string> &fileNames) const;
H A Dinstalld_client.h190 std::vector<std::string> &fileNames);
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime.cpp376 std::vector<std::string> fileNames; in GetFileBuffer() local
378 extractor.GetSpecifiedTypeFiles(fileNames, ".abc"); in GetFileBuffer()
380 extractor.GetSpecifiedTypeFiles(fileNames, ".map"); in GetFileBuffer()
382 if (fileNames.empty()) { in GetFileBuffer()
388 std::string fileName = fileNames.front(); in GetFileBuffer()
410 std::vector<std::string> fileNames; in GetSafeData() local
411 extractor->GetSpecifiedTypeFiles(fileNames, ".abc"); in GetSafeData()
412 if (fileNames.empty()) { in GetSafeData()
416 std::string fileName = fileNames.front(); in GetSafeData()
488 std::vector<std::string> fileNames; in UnLoadRepairPatch() local
[all...]
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dextractor.h59 * @param fileNames Indicates the obtained file names in zip.
62 void GetSpecifiedTypeFiles(std::vector<std::string> &fileNames, const std::string &suffix);
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dextractor.cpp119 void Extractor::GetSpecifiedTypeFiles(std::vector<std::string> &fileNames, const std::string &suffix) in GetSpecifiedTypeFiles() argument
128 fileNames.emplace_back(fileName); in GetSpecifiedTypeFiles()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundle_daemon_handler.cpp73 const std::vector<std::string> &fileNames = extractorUtil.GetZipFileNames(); in ExtractHap() local
74 for (const auto &fileName : fileNames) { in ExtractHap()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_test.cpp77 std::vector<std::string> &fileNames) const;
216 std::vector<std::string> &fileNames) const in GetNativeLibraryFileNames()
221 return InstalldClient::GetInstance()->GetNativeLibraryFileNames(filePath, cpuAbi, fileNames); in GetNativeLibraryFileNames()
945 std::vector<std::string> fileNames; in HWTEST_F() local
946 auto ret = GetNativeLibraryFileNames(BUNDLE_FILE, apuAbi, fileNames); in HWTEST_F()
948 EXPECT_TRUE(fileNames.empty()); in HWTEST_F()
H A Dbms_install_daemon_host_impl_test.cpp865 std::vector<std::string> fileNames; in HWTEST_F() local
866 auto ret = hostImpl->GetNativeLibraryFileNames(TEST_STRING, TEST_STRING, fileNames); in HWTEST_F()
880 std::vector<std::string> fileNames; in HWTEST_F() local
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp342 std::vector<std::string> &fileNames) in GetNativeLibraryFileNames()
344 return CallService(&IInstalld::GetNativeLibraryFileNames, filePath, cpuAbi, fileNames); in GetNativeLibraryFileNames()
341 GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, std::vector<std::string> &fileNames) GetNativeLibraryFileNames() argument
H A Dmock_installd_host_impl.cpp225 std::vector<std::string> &fileNames) in GetNativeLibraryFileNames()
224 GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, std::vector<std::string> &fileNames) GetNativeLibraryFileNames() argument
H A Dmock_install_client.cpp224 std::vector<std::string> &fileNames) in GetNativeLibraryFileNames()
223 GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, std::vector<std::string> &fileNames) GetNativeLibraryFileNames() argument
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_space_management_test.cpp143 static uint64_t CheckRealFileSize(const vector<string> &fileNames) in CheckRealFileSize() argument
146 for (const auto &file : fileNames) { in CheckRealFileSize()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp710 std::vector<std::string> fileNames; in ProcessNativeLibrary() local
711 auto result = InstalldClient::GetInstance()->GetNativeLibraryFileNames(bundlePath, cpuAbi, fileNames); in ProcessNativeLibrary()
713 newInfo.SetNativeLibraryFileNames(moduleName, fileNames); in ProcessNativeLibrary()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_permission_test.cpp468 std::vector<std::string> fileNames; in HWTEST_F() local
472 ErrCode ret = installdHostImpl.GetNativeLibraryFileNames(filePath, cpuAbi, fileNames); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h195 std::vector<std::string> &fileNames) override;
H A Dinstalld_operator.h241 std::vector<std::string> &fileNames);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h341 std::vector<std::string> &fileNames) in GetNativeLibraryFileNames()
340 GetNativeLibraryFileNames(const std::string &filePath, const std::string &cpuAbi, std::vector<std::string> &fileNames) GetNativeLibraryFileNames() argument
H A Dinstalld_proxy.h196 std::vector<std::string> &fileNames) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp701 std::vector<std::string> fileNames; in ProcessNativeLibrary() local
703 bundlePath, cpuAbi_, fileNames); in ProcessNativeLibrary()
705 newInfo.SetNativeLibraryFileNames(moduleName, fileNames); in ProcessNativeLibrary()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp674 std::vector<std::string> fileNames; in HandGetNativeLibraryFileNames() local
675 ErrCode result = GetNativeLibraryFileNames(filePath, cupAbi, fileNames); in HandGetNativeLibraryFileNames()
677 if ((result == ERR_OK) && !reply.WriteStringVector(fileNames)) { in HandGetNativeLibraryFileNames()
678 LOG_E(BMS_TAG_INSTALLD, "fail to obtain fileNames from reply"); in HandGetNativeLibraryFileNames()

Completed in 25 milliseconds

12