Home
last modified time | relevance | path

Searched refs:mCallbackProtector (Results 1 – 9 of 9) sorted by relevance

/frameworks/wilhelm/src/android/
DAudioRecordCallback.h41 if (!android::CallbackProtector::enterCbIfOk(mAr->mCallbackProtector)) { in onMoreData()
46 mAr->mCallbackProtector->exitCb(); in onMoreData()
52 if (!android::CallbackProtector::enterCbIfOk(mAr->mCallbackProtector)) { in onOverrun()
57 mAr->mCallbackProtector->exitCb(); in onOverrun()
60 if (!android::CallbackProtector::enterCbIfOk(mAr->mCallbackProtector)) { in onMarker()
66 mAr->mCallbackProtector->exitCb(); in onMarker()
69 if (!android::CallbackProtector::enterCbIfOk(mAr->mCallbackProtector)) { in onNewPos()
75 mAr->mCallbackProtector->exitCb(); in onNewPos()
DAudioTrackCallback.h39 if (!android::CallbackProtector::enterCbIfOk(mAp->mCallbackProtector)) { in onMoreData()
44 mAp->mCallbackProtector->exitCb(); in onMoreData()
49 if (!android::CallbackProtector::enterCbIfOk(mAp->mCallbackProtector)) { in onUnderrun()
54 mAp->mCallbackProtector->exitCb(); in onUnderrun()
61 if (!android::CallbackProtector::enterCbIfOk(mAp->mCallbackProtector)) { in onMarker()
66 mAp->mCallbackProtector->exitCb(); in onMarker()
70 if (!android::CallbackProtector::enterCbIfOk(mAp->mCallbackProtector)) { in onNewPos()
75 mAp->mCallbackProtector->exitCb(); in onNewPos()
DMediaPlayer_to_android.cpp43 if (!android::CallbackProtector::enterCbIfOk(mp->mCallbackProtector)) { in player_handleMediaPlayerEventNotifications()
299 mp->mCallbackProtector->exitCb(); in player_handleMediaPlayerEventNotifications()
405 mp->mCallbackProtector = new android::CallbackProtector(); in android_Player_create()
424 &mp->mAndroidBufferQueue, mp->mCallbackProtector); in android_Player_realize()
483 if (mp->mCallbackProtector != 0) { in android_Player_preDestroy()
484 mp->mCallbackProtector->requestCbExitAndWait(); in android_Player_preDestroy()
505 mp->mCallbackProtector.clear(); in android_Player_destroy()
509 mp->mCallbackProtector.~sp(); in android_Player_destroy()
Dandroid_StreamPlayer.cpp42 mCallbackProtector(callbackProtector), in StreamSourceAppProxy()
126 if (android::CallbackProtector::enterCbIfOk(mCallbackProtector)) { in pullFromBuffQueue()
292 mCallbackProtector->exitCb(); in pullFromBuffQueue()
DAudioPlayer_to_android.cpp150 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) { in adecoder_writeToBufferQueue()
208 ap->mCallbackProtector->exitCb(); in adecoder_writeToBufferQueue()
769 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) { in sfplayer_handlePrefetchEvent()
963 ap->mCallbackProtector->exitCb(); in sfplayer_handlePrefetchEvent()
1358 pAudioPlayer->mCallbackProtector = new android::CallbackProtector(); in android_audioPlayer_create()
1780 &pAudioPlayer->mAndroidBufferQueue, pAudioPlayer->mCallbackProtector); in android_audioPlayer_realize()
1899 if (pAudioPlayer->mCallbackProtector != 0) { in android_audioPlayer_preDestroy()
1900 pAudioPlayer->mCallbackProtector->requestCbExitAndWait(); in android_audioPlayer_preDestroy()
1912 if (pAudioPlayer->mCallbackProtector != 0) { in android_audioPlayer_preDestroy()
1913 pAudioPlayer->mCallbackProtector->requestCbExitAndWait(); in android_audioPlayer_preDestroy()
[all …]
Dandroid_StreamPlayer.h73 const sp<CallbackProtector> mCallbackProtector; variable
DAudioRecorder_to_android.cpp387 ar->mCallbackProtector = new android::CallbackProtector(); in android_audioRecorder_create()
762 if (ar->mCallbackProtector != 0) { in android_audioRecorder_preDestroy()
763 ar->mCallbackProtector->requestCbExitAndWait(); in android_audioRecorder_preDestroy()
780 ar->mCallbackProtector.~sp(); in android_audioRecorder_destroy()
/frameworks/wilhelm/src/
Dclasses.h109 android::sp<android::CallbackProtector> mCallbackProtector; member
164 android::sp<android::CallbackProtector> mCallbackProtector; member
352 android::sp<android::CallbackProtector> mCallbackProtector; member
/frameworks/wilhelm/src/itf/
DIEngine.cpp238 (void) new (&thiz->mCallbackProtector) in IEngine_CreateAudioPlayer()
463 (void) new (&thiz->mCallbackProtector) in IEngine_CreateAudioRecorder()
1114 (void) new (&thiz->mCallbackProtector) in IEngine_CreateMediaPlayer()