Home
last modified time | relevance | path

Searched refs:IsDirExist (Results 1 - 25 of 26) sorted by relevance

12

/foundation/ability/ability_base/test/unittest/extractor/
H A Dextractor_test.cpp343 * Function: IsDirExist
353 EXPECT_FALSE(extractor->IsDirExist(srcPath)); in HWTEST_F()
356 EXPECT_FALSE(extractor->IsDirExist("")); in HWTEST_F()
357 EXPECT_FALSE(extractor->IsDirExist(ERROR_PATH)); in HWTEST_F()
362 * Function: IsDirExist
383 EXPECT_FALSE(extractor->IsDirExist("")); in HWTEST_F()
384 EXPECT_TRUE(extractor->IsDirExist("/")); in HWTEST_F()
385 EXPECT_TRUE(extractor->IsDirExist("a")); in HWTEST_F()
386 EXPECT_TRUE(extractor->IsDirExist("b/c")); in HWTEST_F()
387 EXPECT_TRUE(extractor->IsDirExist(" in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dpatch_profile.cpp209 if (patchExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM64_V8A)) { in DefaultNativeSo()
223 if (patchExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM_EABI_V7A)) { in DefaultNativeSo()
234 if (patchExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM_EABI)) { in DefaultNativeSo()
261 bool soExist = patchExtractor.IsDirExist(ServiceConstants::LIBS); in ParseNativeSo()
286 patchExtractor.IsDirExist(libsPath)) { in ParseNativeSo()
H A Dpatch_parser.cpp91 return patchExtractor.IsDirExist(RESOURCES_RAW_FILE); in HasResourceFile()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbase_extractor.cpp62 bool BaseExtractor::IsDirExist(const std::string &dir) const in IsDirExist() function in OHOS::AppExecFwk::BaseExtractor
72 return zipFile_.IsDirExist(dir); in IsDirExist()
H A Dmodule_profile.cpp1635 bool soExist = bundleExtractor.IsDirExist(ServiceConstants::LIBS); in ParserNativeSo()
1659 if (bundleExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM64_V8A)) { in ParserNativeSo()
1669 if (bundleExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM_EABI_V7A)) { in ParserNativeSo()
1676 if (bundleExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM_EABI)) { in ParserNativeSo()
1690 bundleExtractor.IsDirExist(libsPath)) { in ParserNativeSo()
1781 bool anExist = bundleExtractor.IsDirExist(ServiceConstants::AN); in ParserArkNativeFilePath()
1790 if (bundleExtractor.IsDirExist(std::string(ServiceConstants::AN) + ServiceConstants::ARM64_V8A)) { in ParserArkNativeFilePath()
1798 if (bundleExtractor.IsDirExist(std::string(ServiceConstants::AN) + ServiceConstants::ARM_EABI_V7A)) { in ParserArkNativeFilePath()
1803 if (bundleExtractor.IsDirExist(std::string(ServiceConstants::AN) + ServiceConstants::ARM_EABI)) { in ParserArkNativeFilePath()
1815 bundleExtractor.IsDirExist(libsPat in ParserArkNativeFilePath()
[all...]
H A Dbundle_profile.cpp1909 bool soExist = bundleExtractor.IsDirExist(ServiceConstants::LIBS); in ParserNativeSo()
1933 if (bundleExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM64_V8A)) { in ParserNativeSo()
1943 if (bundleExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM_EABI_V7A)) { in ParserNativeSo()
1950 if (bundleExtractor.IsDirExist(std::string(ServiceConstants::LIBS) + ServiceConstants::ARM_EABI)) { in ParserNativeSo()
1964 bundleExtractor.IsDirExist(libsPath)) { in ParserNativeSo()
H A Dzip_file.cpp251 bool ZipFile::IsDirExist(const std::string &dir) const in IsDirExist() function in OHOS::AppExecFwk::ZipFile
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbase_extractor.h60 bool IsDirExist(const std::string &dir) const;
H A Dzip_file.h185 bool IsDirExist(const std::string &dir) const;
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dhap_asset_provider_impl.cpp88 bool res = runtimeExtractor_->IsDirExist(assetPath); in GetAssetList()
H A Dhap_asset_provider.cpp87 bool res = runtimeExtractor_->IsDirExist(assetPath); in GetAssetList()
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dextractor.h69 bool IsDirExist(const std::string &dir);
H A Dzip_file.h197 bool IsDirExist(const std::string &dir);
/foundation/communication/netmanager_ext/services/ethernetmanager/include/
H A Dethernet_configuration.h59 bool IsDirExist(const std::string &dirPath);
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dextractor.cpp94 bool Extractor::IsDirExist(const std::string &dir) in IsDirExist() function in OHOS::AbilityBase::Extractor
104 return zipFile_.IsDirExist(dir); in IsDirExist()
H A Dzip_file.cpp340 bool ZipFile::IsDirExist(const std::string &dir) in IsDirExist() function in OHOS::AbilityBase::ZipFile
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dhap_asset_provider_impl.cpp129 bool res = runtimeExtractor_->IsDirExist(assetPath); in GetAssetList()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dacl.cpp349 bool IsDirExist(const std::string &path) in IsDirExist() function
366 if (!IsDirExist(MEDIA_DB_DIR)) { in AclSetSlaveDatabase()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/
H A Dethernet_configuration_test.cpp78 ret = ethernetConfiguration.IsDirExist(DIR_PATH); in HWTEST_F()
110 ret = ethernetConfiguration.IsDirExist(filePath); in HWTEST_F()
/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/
H A Dethernet_configuration_test.cpp78 ret = ethernetConfiguration.IsDirExist(DIR_PATH); in HWTEST_F()
110 ret = ethernetConfiguration.IsDirExist(filePath); in HWTEST_F()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dresource_adapter_impl_v2.cpp64 bool IsDirExist(const std::string& path) in IsDirExist() function
138 packagePathStr_ = (hapPath.empty() || IsDirExist(resPath)) ? resPath : std::string(); in ResourceAdapterImplV2()
161 packagePathStr_ = (hapPath.empty() || IsDirExist(resPath)) ? resPath : std::string(); in Init()
H A Dresource_adapter_impl.cpp102 bool IsDirExist(const std::string& path) in IsDirExist() function
155 packagePathStr_ = (hapPath.empty() || IsDirExist(resPath)) ? resPath : std::string(); in Init()
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_configuration.cpp378 bool EthernetConfiguration::IsDirExist(const std::string &dirPath) in IsDirExist() function in OHOS::NetManagerStandard::EthernetConfiguration
389 if (IsDirExist(dirPath)) { in CreateDir()
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_worker.cpp480 bool res = extractor->IsDirExist(assetPath); in GetAmi()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_test.cpp2680 ret = file.IsDirExist(""); in HWTEST_F()
2683 ret = file.IsDirExist("/test.zip"); in HWTEST_F()
2970 * @tc.name: Test IsDirExist
2971 * @tc.desc: 1.Test IsDirExist of BaseExtractor
2979 bool ret = extractor.IsDirExist(dir); in HWTEST_F()
2983 ret = extractor.IsDirExist(dir); in HWTEST_F()
2988 ret = extractor.IsDirExist(dir); in HWTEST_F()

Completed in 32 milliseconds

12