Searched refs:CallbackProtector (Results 1 – 10 of 10) sorted by relevance
22 class CallbackProtector : public RefBase {25 CallbackProtector();26 virtual ~CallbackProtector();31 static bool enterCbIfOk(const sp<CallbackProtector> &protector);74 CallbackProtector(const CallbackProtector &);75 CallbackProtector &operator=(const CallbackProtector &);
26 CallbackProtector::CallbackProtector() : RefBase(), in CallbackProtector() function in android::CallbackProtector39 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()
35 const sp<CallbackProtector> &callbackProtector,73 const sp<CallbackProtector> mCallbackProtector;85 IAndroidBufferQueue *androidBufferQueue, const sp<CallbackProtector> &callbackProtector);
34 const sp<CallbackProtector> &callbackProtector, in StreamSourceAppProxy()126 if (android::CallbackProtector::enterCbIfOk(mCallbackProtector)) { in pullFromBuffQueue()299 IAndroidBufferQueue *androidBufferQueue, const sp<CallbackProtector> &callbackProtector) : in StreamPlayer()
216 if (!android::CallbackProtector::enterCbIfOk(ar->mCallbackProtector)) { in audioRecorder_callback()323 ar->mCallbackProtector = new android::CallbackProtector(); in android_audioRecorder_create()
43 if (!android::CallbackProtector::enterCbIfOk(mp->mCallbackProtector)) { in player_handleMediaPlayerEventNotifications()401 mp->mCallbackProtector = new android::CallbackProtector(); in android_Player_create()
104 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) { in adecoder_writeToBufferQueue()661 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) { in sfplayer_handlePrefetchEvent()1181 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) { in audioTrack_callBack_pullFromBuffQueue()1333 pAudioPlayer->mCallbackProtector = new android::CallbackProtector(); in android_audioPlayer_create()
102 android::sp<android::CallbackProtector> mCallbackProtector;156 android::sp<android::CallbackProtector> mCallbackProtector;341 android::sp<android::CallbackProtector> mCallbackProtector;
90 android/CallbackProtector.cpp \
237 android::sp<android::CallbackProtector>(); in IEngine_CreateAudioPlayer()461 android::sp<android::CallbackProtector>(); in IEngine_CreateAudioRecorder()1107 android::sp<android::CallbackProtector>(); in IEngine_CreateMediaPlayer()