Home
last modified time | relevance | path

Searched refs:inputPath (Results 1 - 24 of 24) sorted by relevance

/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_module_reader.cpp45 bool JsModuleReader::operator()(const std::string& inputPath, uint8_t **buff, in operator ()() argument
48 TAG_LOGD(AAFwkTag::JSRUNTIME, "called start: %{private}s", inputPath.c_str()); in operator ()()
50 if (inputPath.empty() || buff == nullptr || buffSize == nullptr) { in operator ()()
55 auto realHapPath = GetAppHspPath(inputPath); in operator ()()
80 std::string JsModuleReader::GetAppHspPath(const std::string& inputPath) const in GetAppHspPath()
83 return GetFormAppHspPath(inputPath); in GetAppHspPath()
85 return GetCommonAppHspPath(inputPath); in GetAppHspPath()
88 std::string JsModuleReader::GetFormAppHspPath(const std::string& inputPath) const in GetFormAppHspPath()
94 .append(GetModuleName(inputPath)) in GetFormAppHspPath()
107 std::string JsModuleReader::GetModuleName(const std::string& inputPath) cons
130 GetOtherHspPath(const std::string& bundleName, const std::string& moduleName, const std::string& inputPath) GetOtherHspPath() argument
170 GetPresetAppHapPath(const std::string& inputPath, const std::string& bundleName) GetPresetAppHapPath() argument
[all...]
H A Djs_module_reader.h45 bool operator()(const std::string& inputPath, uint8_t **buff, size_t *buffSize, std::string& errorMsg) const;
46 static std::string GetPresetAppHapPath(const std::string& inputPath, const std::string& bundleName);
50 std::string GetAppHspPath(const std::string& inputPath) const;
51 std::string GetCommonAppHspPath(const std::string& inputPath) const;
52 std::string GetFormAppHspPath(const std::string& inputPath) const;
53 std::string GetModuleName(const std::string& inputPath) const;
55 const std::string& inputPath);
/foundation/multimedia/media_foundation/services/media_monitor/common/src/
H A Dmonitor_utils.cpp31 bool IsRealPath(const std::string& inputPath) in IsRealPath() argument
33 if (inputPath.length() > PATH_MAX) { in IsRealPath()
39 auto realPath = realpath(inputPath.c_str(), path); in IsRealPath()
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/
H A Daudio_opensles_player_test.cpp68 char *inputPath = argv[1]; in main() local
70 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
82 inputPath = argv[2]; in main()
83 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
112 char *inputPath = argv[1]; in main() local
114 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/common/
H A Dmock_heif_hw_decode_flow.h32 explicit InputParser(const std::string& inputPath) : source_(inputPath) {} in InputParser() argument
67 bool PrepareInput(const std::string& inputPath);
H A Dcommand_parser.cpp56 opt.inputPath = string(optarg); in Parse()
88 std::cout << " inputPath : " << inputPath << endl; in Print()
H A Dcommand_parser.h31 std::string inputPath; member
H A Dmock_heif_hw_decode_flow.cpp171 bool ret = PrepareInput(opt.inputPath); in Run()
182 bool HeifHwDecoderFlow::PrepareInput(const std::string& inputPath) in PrepareInput() argument
184 InputParser parser(inputPath); in PrepareInput()
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/
H A Daudio_blendmode_test.cpp67 static int32_t StartRendererPlayback(char *inputPath, int mode) in StartRendererPlayback() argument
73 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in StartRendererPlayback()
H A Daudio_render_mode_callback_test.cpp196 char *inputPath = argv[1]; in main() local
198 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
H A Daudio_interrupt_test.cpp321 char *inputPath = argv[1]; in main() local
323 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
H A Daudio_voip_test.cpp127 bool TestPlayback(char *inputPath) const in TestPlayback()
134 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback()
H A Daudio_renderer_test.cpp306 char *inputPath = argv[1]; in TestPlayback() local
308 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback()
/foundation/multimedia/audio_framework/services/audio_service/test/example/
H A Daudio_hdi_device_test.cpp136 char *inputPath = argv[1]; in TestPlayback() local
139 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmedia_change_effect.cpp35 int32_t MediaChangeEffect::TakeEffect(const string &inputPath, const string &outputPath, string &editdata) in TakeEffect() argument
43 ret = imageEffect->SetInputPath(inputPath); in TakeEffect()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/demo/
H A Dheif_hw_decoder_demo.cpp25 if (!opt.inputPath.empty()) { in main()
/foundation/multimedia/media_foundation/services/media_monitor/common/include/
H A Dmonitor_utils.h29 bool IsRealPath(const std::string& inputPath);
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/
H A Dmedia_change_effect.h29 static int32_t TakeEffect(const string &inputPath, const string &outputPath, string &editdata);
/foundation/multimedia/player_framework/services/engine/histreamer/player/
H A Ddragging_player_agent.cpp178 const char *inputPath = REFENCE_LIB_ABSOLUTE_PATH.c_str(); in LoadLibrary() local
179 if (strlen(inputPath) > PATH_MAX || realpath(inputPath, path) == nullptr) { in LoadLibrary()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/unittest/
H A Dheif_hw_decoder_test.cpp185 .inputPath = TEST_HEIF_IMG_NO_GRID in HWTEST_F()
199 .inputPath = TEST_HEIF_IMG_WITH_GRID in HWTEST_F()
/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_xml_utils.cpp43 static bool IsFileExist(const std::string &inputPath) in IsFileExist() argument
45 if (inputPath.length() > PATH_MAX) { in IsFileExist()
49 return (stat(inputPath.c_str(), &buffer) == 0); in IsFileExist()
/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.cpp1404 std::string inputPath(path); in NapiLoadModule()
1409 switch (CheckLoadType(inputPath)) { in NapiLoadModule()
1411 exportObj = NapiLoadNativeModule(inputPath); in NapiLoadModule()
1415 exportObj = panda::JSNApi::GetModuleNameSpaceFromFile(vm_, inputPath, modulePath); in NapiLoadModule()
1419 std::string msg = "ArkNativeEngine:NapiLoadModule input path:" + inputPath + " is invalid."; in NapiLoadModule()
1439 std::string inputPath(path); in NapiLoadModuleWithInfo()
1443 exportObj = panda::JSNApi::GetModuleNameSpaceWithModuleInfo(vm_, inputPath, modulePath); in NapiLoadModuleWithInfo()
1445 exportObj = NapiLoadNativeModule(inputPath); in NapiLoadModuleWithInfo()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_photo_operations.h124 static int32_t AddFiltersToPhoto(const std::string &inputPath, const std::string &outputPath,
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_photo_operations.cpp3122 int32_t MediaLibraryPhotoOperations::AddFiltersToPhoto(const std::string &inputPath, in AddFiltersToPhoto() argument
3125 MEDIA_INFO_LOG("AddFiltersToPhoto inputPath: %{public}s, outputPath: %{public}s, editdata: %{public}s", in AddFiltersToPhoto()
3126 inputPath.c_str(), outputPath.c_str(), editdata.c_str()); in AddFiltersToPhoto()
3136 ret = MediaChangeEffect::TakeEffect(inputPath, tempOutputPath, info); in AddFiltersToPhoto()

Completed in 36 milliseconds