Home
last modified time | relevance | path

Searched refs:fdHead (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsound_id_manager.cpp89 const std::string fdHead = "fd://"; in Load() local
90 if (url.find(fdHead) == std::string::npos) { in Load()
94 StrToInt(url.substr(fdHead.size()), fd); in Load()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/ringtone_player/
H A Dringtone_player_impl.cpp285 const std::string fdHead = "fd://"; in RegisterSource() local
286 if (newAudioUri.find(fdHead) != std::string::npos) { in RegisterSource()
287 int32_t fd = atoi(newAudioUri.substr(fdHead.size()).c_str()); in RegisterSource()
292 if (newHapticUri.find(fdHead) != std::string::npos) { in RegisterSource()
293 int32_t fd = atoi(newHapticUri.substr(fdHead.size()).c_str()); in RegisterSource()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_sound_low_latency_impl.cpp82 const std::string fdHead = "fd://"; in OpenAudioUri() local
83 if (audioUri_.find(fdHead) != std::string::npos) { in OpenAudioUri()
84 int32_t fd = atoi(audioUri_.substr(fdHead.size()).c_str()); in OpenAudioUri()
H A Daudio_haptic_sound_normal_impl.cpp81 const std::string fdHead = "fd://"; in ResetAVPlayer() local
83 if (audioUri_.find(fdHead) != std::string::npos) { in ResetAVPlayer()
84 int32_t fd = atoi(audioUri_.substr(fdHead.size()).c_str()); in ResetAVPlayer()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/screen_capture/
H A Dscreen_capture_impl.cpp240 const std::string fdHead = "fd://"; in InitCaptureFile() local
241 …CHECK_AND_RETURN_RET_LOG(config.recorderInfo.url.find(fdHead) != std::string::npos, MSERR_INVALID_… in InitCaptureFile()
244 std::string inputFd = config.recorderInfo.url.substr(fdHead.size()); in InitCaptureFile()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/system_tone_player/
H A Dsystem_tone_player_impl.cpp707 const std::string fdHead = "fd://"; in RegisterSource() local
708 if (newAudioUri.find(fdHead) != std::string::npos) { in RegisterSource()
709 int32_t fd = atoi(newAudioUri.substr(fdHead.size()).c_str()); in RegisterSource()
714 if (newHapticUri.find(fdHead) != std::string::npos) { in RegisterSource()
715 int32_t fd = atoi(newHapticUri.substr(fdHead.size()).c_str()); in RegisterSource()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Daudio_recorder_napi.cpp669 const std::string fdHead = "fd://"; in SetUri() local
671 if (uriPath.find(fdHead) != std::string::npos) { in SetUri()
673 std::string inputFd = uriPath.substr(fdHead.size()); in SetUri()
H A Dvideo_recorder_napi.cpp777 const std::string fdHead = "fd://"; in SetUrl() local
779 if (urlPath.find(fdHead) != std::string::npos) { in SetUrl()
781 std::string inputFd = urlPath.substr(fdHead.size()); in SetUrl()
/ohos5.0/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_server_function_unittest/src/
H A Dscreen_capture_server_function_unittest.cpp334 const std::string fdHead = "fd://"; in InitFileScreenCaptureServer() local
335 …CHECK_AND_RETURN_RET_LOG(config_.recorderInfo.url.find(fdHead) != std::string::npos, MSERR_INVALID… in InitFileScreenCaptureServer()
338 std::string inputFd = config_.recorderInfo.url.substr(fdHead.size()); in InitFileScreenCaptureServer()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/player/
H A Daudio_player_napi.cpp236 const std::string fdHead = "fd://"; in SetSrc() local
241 if (player->uri_.find(fdHead) != std::string::npos) { in SetSrc()
243 std::string inputFd = player->uri_.substr(fdHead.size()); in SetSrc()
H A Dvideo_player_napi.cpp252 const std::string fdHead = "fd://"; in SetUrl() local
256 if (jsPlayer->url_.find(fdHead) != std::string::npos) { in SetUrl()
257 std::string inputFd = jsPlayer->url_.substr(fdHead.size()); in SetUrl()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/
H A Dsystem_sound_manager_impl.cpp1298 std::string fdHead = "fd://"; in AddCustomizedToneByExternalUri() local
1301 if (srcPath.find(fdHead) != std::string::npos) { in AddCustomizedToneByExternalUri()
1302 StrToInt(srcPath.substr(fdHead.size()), srcFd); in AddCustomizedToneByExternalUri()
1308 fdHead.clear(); in AddCustomizedToneByExternalUri()
1309 return fdHead; in AddCustomizedToneByExternalUri()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_napi.cpp1451 const std::string fdHead = "fd://"; in GetAVRecorderConfig() local
1452 config->url = fdHead + std::to_string(configMap["url"]); in GetAVRecorderConfig()
2163 const std::string fdHead = "fd://"; in ConfigureUrl() local
2164 …CHECK_AND_RETURN_RET(config->url.find(fdHead) != std::string::npos, GetRetInfo(ret, "Getfd", "uri"… in ConfigureUrl()
2166 std::string inputFd = config->url.substr(fdHead.size()); in ConfigureUrl()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_napi.cpp1023 const std::string fdHead = "fd://"; in AddSubSource() local
1024 std::string inputFd = url.substr(fdHead.size()); in AddSubSource()