Home
last modified time | relevance | path

Searched refs:newHapticUri (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/ringtone_player/
H A Dringtone_player_impl.cpp281 string newHapticUri = ChangeHapticsUri(hapticUri); in RegisterSource() local
283 int32_t sourceId = audioHapticManager_->RegisterSource(newAudioUri, newHapticUri); 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/system_sound_manager/system_tone_player/
H A Dsystem_tone_player_impl.cpp703 string newHapticUri = ChangeHapticsUri(hapticUri); in RegisterSource() local
705 int32_t sourceId = audioHapticManager_->RegisterSource(newAudioUri, newHapticUri); 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()