Home
last modified time | relevance | path

Searched refs:CallbackProtector (Results 1 – 12 of 12) sorted by relevance

/frameworks/wilhelm/src/android/
DCallbackProtector.h23 class CallbackProtector : public RefBase {
26 CallbackProtector();
27 virtual ~CallbackProtector();
32 static bool enterCbIfOk(const sp<CallbackProtector> &protector);
75 CallbackProtector(const CallbackProtector &);
76 CallbackProtector &operator=(const CallbackProtector &);
DCallbackProtector.cpp26 CallbackProtector::CallbackProtector() : RefBase(), in CallbackProtector() function in android::CallbackProtector
39 CallbackProtector::~CallbackProtector() { in ~CallbackProtector()
49 bool CallbackProtector::enterCbIfOk(const sp<CallbackProtector> &protector) { in enterCbIfOk()
59 bool CallbackProtector::enterCb() { in enterCb()
85 void CallbackProtector::exitCb() { in exitCb()
111 void CallbackProtector::requestCbExitAndWait() { in requestCbExitAndWait()
132 void CallbackProtector::requestCbExit() { in requestCbExit()
DAudioRecordCallback.h41 if (!android::CallbackProtector::enterCbIfOk(mAr->mCallbackProtector)) { in onMoreData()
52 if (!android::CallbackProtector::enterCbIfOk(mAr->mCallbackProtector)) { in onOverrun()
60 if (!android::CallbackProtector::enterCbIfOk(mAr->mCallbackProtector)) { in onMarker()
69 if (!android::CallbackProtector::enterCbIfOk(mAr->mCallbackProtector)) { in onNewPos()
DAudioTrackCallback.h39 if (!android::CallbackProtector::enterCbIfOk(mAp->mCallbackProtector)) { in onMoreData()
49 if (!android::CallbackProtector::enterCbIfOk(mAp->mCallbackProtector)) { in onUnderrun()
61 if (!android::CallbackProtector::enterCbIfOk(mAp->mCallbackProtector)) { in onMarker()
70 if (!android::CallbackProtector::enterCbIfOk(mAp->mCallbackProtector)) { in onNewPos()
Dandroid_StreamPlayer.h35 const sp<CallbackProtector> &callbackProtector,
73 const sp<CallbackProtector> mCallbackProtector;
85 IAndroidBufferQueue *androidBufferQueue, const sp<CallbackProtector> &callbackProtector);
Dandroid_StreamPlayer.cpp34 const sp<CallbackProtector> &callbackProtector, in StreamSourceAppProxy()
126 if (android::CallbackProtector::enterCbIfOk(mCallbackProtector)) { in pullFromBuffQueue()
299 IAndroidBufferQueue *androidBufferQueue, const sp<CallbackProtector> &callbackProtector) : in StreamPlayer()
DMediaPlayer_to_android.cpp43 if (!android::CallbackProtector::enterCbIfOk(mp->mCallbackProtector)) { in player_handleMediaPlayerEventNotifications()
405 mp->mCallbackProtector = new android::CallbackProtector(); in android_Player_create()
DAudioPlayer_to_android.cpp150 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) { in adecoder_writeToBufferQueue()
769 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) { in sfplayer_handlePrefetchEvent()
1351 pAudioPlayer->mCallbackProtector = new android::CallbackProtector(); in android_audioPlayer_create()
DAudioRecorder_to_android.cpp382 ar->mCallbackProtector = new android::CallbackProtector(); in android_audioRecorder_create()
/frameworks/wilhelm/src/
Dclasses.h109 android::sp<android::CallbackProtector> mCallbackProtector;
164 android::sp<android::CallbackProtector> mCallbackProtector;
352 android::sp<android::CallbackProtector> mCallbackProtector;
DAndroid.bp131 "android/CallbackProtector.cpp",
/frameworks/wilhelm/src/itf/
DIEngine.cpp239 android::sp<android::CallbackProtector>(); in IEngine_CreateAudioPlayer()
464 android::sp<android::CallbackProtector>(); in IEngine_CreateAudioRecorder()
1115 android::sp<android::CallbackProtector>(); in IEngine_CreateMediaPlayer()