/foundation/bundlemanager/bundle_framework/common/utils/src/ |
H A D | bundle_file_util.cpp | 54 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
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_stream_installer_host_impl.cpp | 120 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::INSTALL_FILE_SUFFIX) && in CreateStream() 121 !BundleUtil::CheckFileType(fileName, ServiceConstants::HSP_FILE_SUFFIX)) { in CreateStream() 172 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::CODE_SIGNATURE_FILE_SUFFIX)) { in CreateSignatureFileStream() 223 if (!BundleUtil::CheckFileType(hspName, ServiceConstants::INSTALL_FILE_SUFFIX) && in CreateSharedBundleStream() 224 !BundleUtil::CheckFileType(hspName, ServiceConstants::HSP_FILE_SUFFIX) && in CreateSharedBundleStream() 225 !BundleUtil::CheckFileType(hspName, ServiceConstants::CODE_SIGNATURE_FILE_SUFFIX)) { in CreateSharedBundleStream() 280 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::PGO_FILE_SUFFIX)) { in CreatePgoFileStream()
|
H A D | bundle_util.cpp | 77 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
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | extension_plugin_info_test.cpp | 127 * @tc.name: CheckFileType 128 * @tc.desc: Test whether CheckFileType and are called normally. 134 bool res = ExtensionPluginInfo::GetInstance().CheckFileType(fileName, ".so"); in HWTEST_F() 138 res = ExtensionPluginInfo::GetInstance().CheckFileType(fileName, ".so"); in HWTEST_F() 142 res = ExtensionPluginInfo::GetInstance().CheckFileType(fileName, ".so"); in HWTEST_F()
|
/foundation/multimedia/player_framework/services/engine/histreamer/utils/ |
H A D | meta_utils.h | 26 inline bool CheckFileType(const std::shared_ptr<Meta> meta) in CheckFileType() function
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/ |
H A D | extension_plugin_info.h | 65 bool CheckFileType(const std::string &fileName, const std::string &extensionName);
|
H A D | main_thread.h | 701 bool CheckFileType(const std::string &fileName, const std::string &extensionName);
|
/foundation/bundlemanager/bundle_framework/common/utils/include/ |
H A D | bundle_file_util.h | 28 static bool CheckFileType(const std::string &fileName, const std::string &extensionName);
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallercheckfiletype_fuzzer/ |
H A D | appservicefwkinstallercheckfiletype_fuzzer.cpp | 34 appServicefwk.CheckFileType(hspPaths); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | extension_plugin_info.cpp | 136 if (CheckFileType(currentName, LIB_TYPE)) { in ScanExtensions() 147 bool ExtensionPluginInfo::CheckFileType(const std::string& fileName, const std::string& extensionName) in CheckFileType() function in OHOS::AbilityRuntime::ExtensionPluginInfo 149 TAG_LOGD(AAFwkTag::APPKIT, "CheckFileType path is %{public}s, support suffix is %{public}s", in CheckFileType()
|
H A D | main_thread.cpp | 2788 if (CheckFileType(currentName, abilityLibraryType_)) { in ScanDir() 2809 bool MainThread::CheckFileType(const std::string &fileName, const std::string &extensionName) in CheckFileType() function in OHOS::AppExecFwk::MainThread
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlefileutil_fuzzer/ |
H A D | bundlefileutil_fuzzer.cpp | 38 fileUtil.CheckFileType(fileName, extensionName); in DoSomethingInterestingWithMyAPI()
|
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/ |
H A D | avmetadatahelper_impl.cpp | 64 CHECK_AND_RETURN_RET_LOG(MetaUtils::CheckFileType(mediaDemuxer_->GetGlobalMetaInfo()), in SetSource() 75 CHECK_AND_RETURN_RET_LOG(MetaUtils::CheckFileType(mediaDemuxer_->GetGlobalMetaInfo()), in SetSource()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/ |
H A D | file_fd_source_plugin.h | 76 void CheckFileType();
|
H A D | file_fd_source_plugin.cpp | 139 CheckFileType(); in SetSource() 613 void FileFdSourcePlugin::CheckFileType() in CheckFileType() function in OHOS::Media::Plugins::FileFdSource::FileFdSourcePlugin
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/ |
H A D | verify_manager_host_impl.cpp | 305 if (!BundleUtil::CheckFileType(abcPath, ABC_FILE_SUFFIX)) { in CheckFileParam() 505 if (!BundleUtil::CheckFileType(path, ABC_FILE_SUFFIX)) { in DeleteAbc()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_service_fwk/ |
H A D | app_service_fwk_installer.h | 60 ErrCode CheckFileType(const std::vector<std::string> &bundlePaths);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_util.h | 59 static bool CheckFileType(const std::string &fileName, const std::string &extensionName);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_manager_host_impl.cpp | 126 if (!BundleUtil::CheckFileType(fileName, ServiceConstants::QUICK_FIX_FILE_SUFFIX)) { in CreateFd()
|
H A D | quick_fix_deployer.cpp | 683 if (!BundleUtil::CheckFileType(path, ServiceConstants::QUICK_FIX_FILE_SUFFIX)) { in ProcessBundleFilePaths() 684 LOG_E(BMS_TAG_DEFAULT, "ProcessBundleFilePaths CheckFileType failed"); in ProcessBundleFilePaths()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/ |
H A D | extend_resource_manager_host_impl.cpp | 145 if (!BundleUtil::CheckFileType(filePath, EXT_RESOURCE_FILE_SUFFIX)) { in CheckFileParam() 650 if (!BundleUtil::CheckFileType(fileName, EXT_RESOURCE_FILE_SUFFIX)) { in CreateFd()
|
/foundation/multimedia/av_codec/test/unittest/plugins_source_test/ |
H A D | file_fd_source_plugin_unit_test.cpp | 576 fileFdSourcePlugin_->CheckFileType(); in HWTEST_F() 588 fileFdSourcePlugin_->CheckFileType(); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/ |
H A D | app_service_fwk_installer.cpp | 387 result = CheckFileType(checkedHspPaths); in CheckAndParseFiles() 467 ErrCode AppServiceFwkInstaller::CheckFileType(const std::vector<std::string> &bundlePaths) in CheckFileType() function in OHOS::AppExecFwk::AppServiceFwkInstaller 475 if (!BundleUtil::CheckFileType(bundlePath, ServiceConstants::HSP_FILE_SUFFIX)) { in CheckFileType()
|
/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/ |
H A D | main_thread_test.cpp | 1389 * @tc.desc: CheckFileType. 1398 EXPECT_FALSE(mainThread_->CheckFileType(fileName, extensionName)); in HWTEST_F() 1404 * @tc.desc: CheckFileType. 1413 EXPECT_FALSE(mainThread_->CheckFileType(fileName, extensionName)); in HWTEST_F() 1419 * @tc.desc: CheckFileType. 1428 EXPECT_FALSE(mainThread_->CheckFileType(fileName, extensionName)); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_app_service_fwk_installer.cpp | 347 * @tc.name: test CheckFileType 348 * @tc.desc: 1.Test the CheckFileType 354 auto res = appServiceFwkInstaller.CheckFileType(hspPaths); in HWTEST_F() 358 res = appServiceFwkInstaller.CheckFileType(hspPaths); in HWTEST_F()
|