/ohos5.0/foundation/multimedia/player_framework/frameworks/native/soundpool/ |
H A D | sound_id_manager.cpp | 89 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 D | ringtone_player_impl.cpp | 285 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 D | audio_haptic_sound_low_latency_impl.cpp | 82 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 D | audio_haptic_sound_normal_impl.cpp | 81 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 D | screen_capture_impl.cpp | 240 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 D | system_tone_player_impl.cpp | 707 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 D | audio_recorder_napi.cpp | 669 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 D | video_recorder_napi.cpp | 777 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 D | screen_capture_server_function_unittest.cpp | 334 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 D | audio_player_napi.cpp | 236 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 D | video_player_napi.cpp | 252 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 D | system_sound_manager_impl.cpp | 1298 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 D | avrecorder_napi.cpp | 1451 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 D | avplayer_napi.cpp | 1023 const std::string fdHead = "fd://"; in AddSubSource() local 1024 std::string inputFd = url.substr(fdHead.size()); in AddSubSource()
|