| /foundation/multimedia/audio_framework/frameworks/native/audioutils/include/ |
| D | audio_utils.h | 137 class ObjectRefMap { 146 ObjectRefMap(T *obj); 147 ~ObjectRefMap(); 155 std::mutex ObjectRefMap<T>::allObjLock; 158 std::map<T *, uint32_t> ObjectRefMap<T>::refMap; 161 void ObjectRefMap<T>::Insert(T *obj) in Insert() 168 void ObjectRefMap<T>::Erase(T *obj) in Erase() 178 T *ObjectRefMap<T>::IncreaseRef(T *obj) in IncreaseRef() 190 void ObjectRefMap<T>::DecreaseRef(T *obj) in DecreaseRef() 201 ObjectRefMap<T>::ObjectRefMap(T *obj) in ObjectRefMap() function [all …]
|
| /foundation/multimedia/drm_framework/services/utils/include/ |
| D | napi_param_utils.h | 75 class ObjectRefMap { 84 ObjectRefMap(T *obj); 85 ~ObjectRefMap(); 93 std::mutex ObjectRefMap<T>::allObjLock; 96 std::map<T *, uint32_t> ObjectRefMap<T>::refMap; 99 void ObjectRefMap<T>::Insert(T *obj) in Insert() 106 void ObjectRefMap<T>::Erase(T *obj) in Erase() 116 T *ObjectRefMap<T>::IncreaseRef(T *obj) in IncreaseRef() 128 void ObjectRefMap<T>::DecreaseRef(T *obj) in DecreaseRef() 139 ObjectRefMap<T>::ObjectRefMap(T *obj) in ObjectRefMap() function [all …]
|
| /foundation/multimedia/player_framework/frameworks/js/common/ |
| D | common_napi.h | 300 class ObjectRefMap { 309 ObjectRefMap(T *obj); 310 ~ObjectRefMap(); 318 std::mutex ObjectRefMap<T>::allObjLock; 321 std::map<T *, uint32_t> ObjectRefMap<T>::refMap; 324 void ObjectRefMap<T>::Insert(T *obj) in Insert() 331 void ObjectRefMap<T>::Erase(T *obj) in Erase() 341 T *ObjectRefMap<T>::IncreaseRef(T *obj) in IncreaseRef() 353 void ObjectRefMap<T>::DecreaseRef(T *obj) in DecreaseRef() 364 ObjectRefMap<T>::ObjectRefMap(T *obj) in ObjectRefMap() function [all …]
|
| /foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/ |
| D | napi_audio_interrupt_manager.cpp | 36 ObjectRefMap<NapiAudioInterruptManager>::DecreaseRef(obj); in Destructor() 59 ObjectRefMap<NapiAudioInterruptManager>::Insert(napiAudioInterruptManager.get()); in Construct() 64 ObjectRefMap<NapiAudioInterruptManager>::Erase(napiAudioInterruptManager.get()); in Construct()
|
| D | napi_audio_manager.cpp | 165 ObjectRefMap<NapiAudioManager>::DecreaseRef(obj); in Destructor() 182 ObjectRefMap<NapiAudioManager>::Insert(managerNapi.get()); in Construct() 190 ObjectRefMap<NapiAudioManager>::Erase(managerNapi.get()); in Construct() 333 ObjectRefMap objectGuard(obj); in SetVolume() 371 ObjectRefMap objectGuard(obj); in GetVolume() 406 ObjectRefMap objectGuard(obj); in GetMaxVolume() 441 ObjectRefMap objectGuard(obj); in GetMinVolume() 477 ObjectRefMap objectGuard(obj); in GetDevices() 515 ObjectRefMap objectGuard(obj); in SetStreamMute() 552 ObjectRefMap objectGuard(obj); in IsStreamMute() [all …]
|
| D | napi_audio_volume_group_manager.cpp | 166 ObjectRefMap<NapiAudioVolumeGroupManager>::DecreaseRef(obj); in Destructor() 197 ObjectRefMap<NapiAudioVolumeGroupManager>::Insert(napiAudioVolumeGroupManager.get()); in Construct() 201 ObjectRefMap<NapiAudioVolumeGroupManager>::Erase(napiAudioVolumeGroupManager.get()); in Construct() 231 ObjectRefMap objectGuard(obj); in GetVolume() 299 ObjectRefMap objectGuard(obj); in SetVolume() 337 ObjectRefMap objectGuard(obj); in GetMaxVolume() 402 ObjectRefMap objectGuard(obj); in GetMinVolume() 469 ObjectRefMap objectGuard(obj); in SetMute() 506 ObjectRefMap objectGuard(obj); in IsStreamMute() 575 ObjectRefMap objectGuard(obj); in SetRingerMode() [all …]
|
| D | napi_audio_stream_manager.cpp | 45 ObjectRefMap<NapiAudioStreamMgr>::DecreaseRef(obj); in Destructor() 68 ObjectRefMap<NapiAudioStreamMgr>::Insert(napiStreamMgr.get()); in Construct() 73 ObjectRefMap<NapiAudioStreamMgr>::Erase(napiStreamMgr.get()); in Construct() 190 ObjectRefMap objectGuard(obj); in GetCurrentAudioRendererInfos() 240 ObjectRefMap objectGuard(obj); in GetCurrentAudioCapturerInfos() 296 ObjectRefMap objectGuard(obj); in IsAudioRendererLowLatencySupported() 335 ObjectRefMap objectGuard(obj); in IsStreamActive() 406 ObjectRefMap objectGuard(obj); in GetEffectInfoArray()
|
| D | napi_audio_volume_manager.cpp | 83 ObjectRefMap<NapiAudioVolumeManager>::DecreaseRef(obj); in Destructor() 107 ObjectRefMap<NapiAudioVolumeManager>::Insert(napiAudioVolumeManager.get()); in Construct() 112 ObjectRefMap<NapiAudioVolumeManager>::Erase(napiAudioVolumeManager.get()); in Construct() 190 ObjectRefMap objectGuard(obj); in GetVolumeGroupInfos()
|
| D | napi_audio_routing_manager.cpp | 46 ObjectRefMap<NapiAudioRoutingManager>::DecreaseRef(obj); in Destructor() 68 ObjectRefMap<NapiAudioRoutingManager>::Insert(napiAudioRoutingManager.get()); in Construct() 73 ObjectRefMap<NapiAudioRoutingManager>::Erase(napiAudioRoutingManager.get()); in Construct() 211 ObjectRefMap objectGuard(obj); in GetDevices() 273 ObjectRefMap objectGuard(obj); in SelectOutputDevice() 309 ObjectRefMap objectGuard(obj); in SelectOutputDeviceByFilter() 347 ObjectRefMap objectGuard(obj); in SelectInputDevice() 386 ObjectRefMap objectGuard(obj); in SelectInputDeviceByFilter() 431 ObjectRefMap objectGuard(obj); in SetCommunicationDevice() 470 ObjectRefMap objectGuard(obj); in IsCommunicationDeviceActive() [all …]
|
| D | napi_audio_spatialization_manager.cpp | 70 ObjectRefMap<NapiAudioSpatializationManager>::DecreaseRef(obj); in Destructor() 94 ObjectRefMap<NapiAudioSpatializationManager>::Insert(napiAudioSpatializationManager.get()); in Construct() 98 ObjectRefMap<NapiAudioSpatializationManager>::Erase(napiAudioSpatializationManager.get()); in Construct() 232 ObjectRefMap objectGuard(obj); in SetSpatializationEnabled() 298 ObjectRefMap objectGuard(obj); in SetHeadTrackingEnabled()
|
| /foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/ |
| D | napi_toneplayer.cpp | 56 ObjectRefMap<NapiTonePlayer>::DecreaseRef(obj); in Destructor() 111 ObjectRefMap<NapiTonePlayer>::Insert(napiTonePlayer.get()); in Construct() 132 ObjectRefMap<NapiTonePlayer>::Erase(napiTonePlayer.get()); in Construct() 241 ObjectRefMap objectGuard(obj); in Load() 270 ObjectRefMap objectGuard(obj); in Start() 298 ObjectRefMap objectGuard(obj); in Stop() 326 ObjectRefMap objectGuard(obj); in Release()
|
| D | napi_audio_renderer.cpp | 49 ObjectRefMap<NapiAudioRenderer>::DecreaseRef(obj); in Destructor() 172 ObjectRefMap<NapiAudioRenderer>::Insert(rendererNapi.get()); in CreateAudioRendererNativeObject() 192 ObjectRefMap<NapiAudioRenderer>::Erase(rendererNapi.get()); in Construct() 337 ObjectRefMap objectGuard(obj); in SetRenderRate() 372 ObjectRefMap objectGuard(obj); in GetRenderRate() 419 ObjectRefMap objectGuard(obj); in SetRendererSamplingRate() 454 ObjectRefMap objectGuard(obj); in GetRendererSamplingRate() 482 ObjectRefMap objectGuard(obj); in Start() 534 ObjectRefMap objectGuard(obj); in WriteArrayBufferToNative() 577 ObjectRefMap objectGuard(obj); in GetAudioTime() [all …]
|
| /foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
| D | key_session_napi.cpp | 109 ObjectRefMap<MediaKeySessionNapi>::Insert(obj.get()); in MediaKeySessionNapiConstructor() 115 ObjectRefMap<MediaKeySessionNapi>::Erase(obj.get()); in MediaKeySessionNapiConstructor() 128 ObjectRefMap<MediaKeySessionNapi>::DecreaseRef(keySessionNapiObj); in MediaKeySessionNapiDestructor() 266 ObjectRefMap objectGuard(obj); in GenerateMediaKeyRequest() 304 ObjectRefMap objectGuard(obj); in ProcessMediaKeyResponse() 342 ObjectRefMap objectGuard(obj); in GenerateOfflineReleaseRequest() 382 ObjectRefMap objectGuard(obj); in ProcessOfflineReleaseResponse() 475 ObjectRefMap objectGuard(obj); in RestoreOfflineMediaKeys()
|
| D | media_key_system_napi.cpp | 109 ObjectRefMap<MediaKeySystemNapi>::Insert(obj.get()); in MediaKeySystemNapiConstructor() 113 ObjectRefMap<MediaKeySystemNapi>::Erase(obj.get()); in MediaKeySystemNapiConstructor() 176 ObjectRefMap<MediaKeySystemNapi>::DecreaseRef(mediaKeySystemNapi); in MediaKeySystemNapiDestructor() 572 ObjectRefMap objectGuard(obj); in GenerateKeySystemRequest() 611 ObjectRefMap objectGuard(obj); in ProcessKeySystemResponse()
|
| /foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/ |
| D | napi_audio_capturer.cpp | 50 ObjectRefMap<NapiAudioCapturer>::DecreaseRef(obj); in Destructor() 132 ObjectRefMap<NapiAudioCapturer>::Insert(napiCapturer.get()); in CreateAudioCapturerNativeObject() 158 ObjectRefMap<NapiAudioCapturer>::Erase(napiCapturer.get()); in Construct() 296 ObjectRefMap objectGuard(obj); in GetCapturerInfo() 344 ObjectRefMap objectGuard(obj); in GetStreamInfo() 393 ObjectRefMap objectGuard(obj); in Start() 415 ObjectRefMap objectGuard(obj); in ReadFromNative() 489 ObjectRefMap objectGuard(obj); in GetAudioTime() 543 ObjectRefMap objectGuard(obj); in Stop() 572 ObjectRefMap objectGuard(obj); in Release() [all …]
|
| /foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/system_tone_player/ |
| D | system_tone_player_napi.cpp | 82 ObjectRefMap<SystemTonePlayerNapi>::Insert(obj.get()); in SystemTonePlayerNapiConstructor() 97 ObjectRefMap<SystemTonePlayerNapi>::Erase(obj.get()); in SystemTonePlayerNapiConstructor() 110 ObjectRefMap<SystemTonePlayerNapi>::DecreaseRef(systemTonePlayerHelper); in SystemTonePlayerNapiDestructor() 391 ObjectRefMap objectGuard(obj); in AsyncStart()
|