Home
last modified time | relevance | path

Searched refs:CheckFileType (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/foundation/bundlemanager/bundle_framework/common/utils/src/
H A Dbundle_file_util.cpp54 if (!CheckFileType(bundlePath, INSTALL_FILE_SUFFIX) && in CheckFilePath()
55 !CheckFileType(bundlePath, HSP_FILE_SUFFIX) && in CheckFilePath()
56 !CheckFileType(bundlePath, QUICK_FIX_FILE_SUFFIX) && in CheckFilePath()
57 !CheckFileType(bundlePath, ABC_FILE_SUFFIX) && in CheckFilePath()
58 !CheckFileType(bundlePath, CODE_SIGNATURE_SUFFIX) && in CheckFilePath()
59 !CheckFileType(bundlePath, PGO_SUFFIX)) { in CheckFilePath()
118 bool BundleFileUtil::CheckFileType(const std::string &fileName, const std::string &extensionName) in CheckFileType() function in OHOS::AppExecFwk::BundleFileUtil
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_stream_installer_host_impl.cpp122 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::INSTALL_FILE_SUFFIX) && in CreateStream()
123 !BundleUtil::CheckFileType(fileName, ServiceConstants::HSP_FILE_SUFFIX)) { in CreateStream()
174 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::CODE_SIGNATURE_FILE_SUFFIX)) { in CreateSignatureFileStream()
225 if (!BundleUtil::CheckFileType(hspName, ServiceConstants::INSTALL_FILE_SUFFIX) && in CreateSharedBundleStream()
226 !BundleUtil::CheckFileType(hspName, ServiceConstants::HSP_FILE_SUFFIX) && in CreateSharedBundleStream()
227 !BundleUtil::CheckFileType(hspName, ServiceConstants::CODE_SIGNATURE_FILE_SUFFIX)) { in CreateSharedBundleStream()
282 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::PGO_FILE_SUFFIX)) { in CreatePgoFileStream()
H A Dbundle_util.cpp77 if (!CheckFileType(bundlePath, ServiceConstants::INSTALL_FILE_SUFFIX) && in CheckFilePath()
78 !CheckFileType(bundlePath, ServiceConstants::HSP_FILE_SUFFIX) && in CheckFilePath()
79 !CheckFileType(bundlePath, ServiceConstants::QUICK_FIX_FILE_SUFFIX) && in CheckFilePath()
80 !CheckFileType(bundlePath, ServiceConstants::CODE_SIGNATURE_FILE_SUFFIX)) { in CheckFilePath()
146 bool BundleUtil::CheckFileType(const std::string &fileName, const std::string &extensionName) in CheckFileType() function in OHOS::AppExecFwk::BundleUtil
H A Dbundle_install_checker.cpp1558 … if (!BundleUtil::CheckFileType(signatureFileDir, ServiceConstants::CODE_SIGNATURE_FILE_SUFFIX)) { in CheckSignatureFileDir()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dextension_plugin_info_test.cpp134 bool res = ExtensionPluginInfo::GetInstance().CheckFileType(fileName, ".so");
138 res = ExtensionPluginInfo::GetInstance().CheckFileType(fileName, ".so");
142 res = ExtensionPluginInfo::GetInstance().CheckFileType(fileName, ".so");
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dextension_plugin_info.cpp136 if (CheckFileType(currentName, LIB_TYPE)) { in ScanExtensions()
147 bool ExtensionPluginInfo::CheckFileType(const std::string& fileName, const std::string& extensionNa… in CheckFileType() function in OHOS::AbilityRuntime::ExtensionPluginInfo
H A Dmain_thread.cpp2891 if (CheckFileType(currentName, abilityLibraryType_)) { in ScanDir()
2912 bool MainThread::CheckFileType(const std::string &fileName, const std::string &extensionName) in CheckFileType() function in OHOS::AppExecFwk::MainThread
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/utils/
H A Dmeta_utils.h26 inline bool CheckFileType(const std::shared_ptr<Meta> meta) in CheckFileType() function
/ohos5.0/foundation/bundlemanager/bundle_framework/common/utils/include/
H A Dbundle_file_util.h28 static bool CheckFileType(const std::string &fileName, const std::string &extensionName);
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallercheckfiletype_fuzzer/
H A Dappservicefwkinstallercheckfiletype_fuzzer.cpp34 appServicefwk.CheckFileType(hspPaths); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dextension_plugin_info.h65 bool CheckFileType(const std::string &fileName, const std::string &extensionName);
H A Dmain_thread.h719 bool CheckFileType(const std::string &fileName, const std::string &extensionName);
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlefileutil_fuzzer/
H A Dbundlefileutil_fuzzer.cpp38 fileUtil.CheckFileType(fileName, extensionName); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/
H A Davmetadatahelper_impl.cpp68 CHECK_AND_RETURN_RET_LOG(MetaUtils::CheckFileType(mediaDemuxer_->GetGlobalMetaInfo()), in SetSource()
79 CHECK_AND_RETURN_RET_LOG(MetaUtils::CheckFileType(mediaDemuxer_->GetGlobalMetaInfo()), in SetSource()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/
H A Dfile_fd_source_plugin.h76 void CheckFileType();
H A Dfile_fd_source_plugin.cpp138 CheckFileType(); in SetSource()
614 void FileFdSourcePlugin::CheckFileType() in CheckFileType() function in OHOS::Media::Plugins::FileFdSource::FileFdSourcePlugin
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_service_fwk/
H A Dapp_service_fwk_installer.h55 ErrCode CheckFileType(const std::vector<std::string> &bundlePaths);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h59 static bool CheckFileType(const std::string &fileName, const std::string &extensionName);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_manager_host_impl.cpp126 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::QUICK_FIX_FILE_SUFFIX)) { in CreateFd()
H A Dquick_fix_deployer.cpp683 if (!BundleUtil::CheckFileType(path, ServiceConstants::QUICK_FIX_FILE_SUFFIX)) { in ProcessBundleFilePaths()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/
H A Dverify_manager_host_impl.cpp304 if (!BundleUtil::CheckFileType(abcPath, ABC_FILE_SUFFIX)) { in CheckFileParam()
504 if (!BundleUtil::CheckFileType(path, ABC_FILE_SUFFIX)) { in DeleteAbc()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/
H A Dextend_resource_manager_host_impl.cpp145 if (!BundleUtil::CheckFileType(filePath, EXT_RESOURCE_FILE_SUFFIX)) { in CheckFileParam()
650 if (!BundleUtil::CheckFileType(fileName, EXT_RESOURCE_FILE_SUFFIX)) { in CreateFd()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp307 result = CheckFileType(checkedHspPaths); in CheckAndParseFiles()
380 ErrCode AppServiceFwkInstaller::CheckFileType(const std::vector<std::string> &bundlePaths) in CheckFileType() function in OHOS::AppExecFwk::AppServiceFwkInstaller
388 if (!BundleUtil::CheckFileType(bundlePath, ServiceConstants::HSP_FILE_SUFFIX)) { in CheckFileType()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_app_service_fwk_installer.cpp353 auto res = appServiceFwkInstaller.CheckFileType(hspPaths);
357 res = appServiceFwkInstaller.CheckFileType(hspPaths);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/
H A Dmain_thread_test.cpp1391 EXPECT_FALSE(mainThread_->CheckFileType(fileName, extensionName));
1406 EXPECT_FALSE(mainThread_->CheckFileType(fileName, extensionName));
1421 EXPECT_FALSE(mainThread_->CheckFileType(fileName, extensionName));

12