Home
last modified time | relevance | path

Searched refs:mCallbackThread (Results 1 – 8 of 8) sorted by relevance

/frameworks/wilhelm/src/android/
DCallbackProtector.cpp30 , mCallbackThread((pthread_t) NULL), in CallbackProtector()
67 mCallbackThread = pthread_self(); in enterCb()
96 (void *) mCallbackThread, mCallbackTid, in exitCb()
104 mCallbackThread = (pthread_t) NULL; in exitCb()
122 (void *) mCallbackThread, mCallbackTid, in requestCbExitAndWait()
143 (void *) mCallbackThread, mCallbackTid, in requestCbExit()
DCallbackProtector.h68 pthread_t mCallbackThread; variable
/frameworks/base/services/core/jni/BroadcastRadio/
DTunerCallback.cpp93 NativeCallbackThread mCallbackThread; member in android::server::BroadcastRadio::TunerCallback::NativeCallback
135 : mCallbackThread(gvm), mHalRev(halRev) { in NativeCallback()
145 mCallbackThread.stop(); in ~NativeCallback()
157 mCallbackThread.stop(); in detach()
161 mCallbackThread.enqueue([this](JNIEnv *env) { in hardwareFailure()
171 mCallbackThread.enqueue([result, config, this](JNIEnv *env) { in configChange()
201 mCallbackThread.enqueue([this, info](JNIEnv *env) { in tuneComplete()
216 mCallbackThread.enqueue([result, this](JNIEnv *env) { in tuneComplete_1_1()
238 mCallbackThread.enqueue([this, connected](JNIEnv *env) { in antennaStateChange()
248 mCallbackThread.enqueue([this, active](JNIEnv *env) { in trafficAnnouncement()
[all …]
/frameworks/native/services/vibratorservice/
DVibratorCallbackScheduler.cpp59 if (mCallbackThread && mCallbackThread->joinable()) { in ~CallbackScheduler()
60 mCallbackThread->join(); in ~CallbackScheduler()
67 if (mCallbackThread == nullptr) { in schedule()
68 mCallbackThread = std::make_unique<std::thread>(&CallbackScheduler::loop, this); in schedule()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerHalConcurrentCaptureHandler.java119 @NonNull private final CallbackThread mCallbackThread = new CallbackThread(); field in SoundTriggerHalConcurrentCaptureHandler
157 mCallbackThread.flush(); in stopRecognition()
190 mCallbackThread.push(() -> notifyAbort(toStop, model)); in abortAllActiveModels()
217 mGlobalCallback = () -> mCallbackThread.push(callback::onResourcesAvailable); in registerCallback()
223 IBinder.DeathRecipient wrapper = () -> mCallbackThread.push(recipient::binderDied); in linkToDeath()
252 mCallbackThread.push( in recognitionCallback()
269 mCallbackThread.push( in phraseRecognitionCallback()
276 mCallbackThread.push(() -> mDelegateCallback.modelUnloaded(modelHandle)); in modelUnloaded()
283 mCallbackThread.flush(); in flushCallbacks()
418 mCallbackThread.quit(); in detach()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorCallbackScheduler.h55 CallbackScheduler() : mCallbackThread(nullptr), mFinished(false) {} in CallbackScheduler()
65 std::unique_ptr<std::thread> mCallbackThread; variable
/frameworks/av/services/audioflinger/
DThreads.cpp2251 mCallbackThread = sp<AsyncCallbackThread>::make(this); in onFirstRef()
3072 mCallbackThread->resetWriteBlocked(); in onWriteReady()
3077 mCallbackThread->resetDraining(); in onDrainReady()
3082 mCallbackThread->setAsyncError(isHardError); in onError()
3590 ALOG_ASSERT(mCallbackThread != 0); in threadLoop_write()
3591 mCallbackThread->setWriteBlocked(mWriteAckSequence); in threadLoop_write()
3603 ALOG_ASSERT(mCallbackThread != 0); in threadLoop_write()
3604 mCallbackThread->setWriteBlocked(mWriteAckSequence); in threadLoop_write()
3645 ALOG_ASSERT(mCallbackThread != 0); in threadLoop_drain()
3646 mCallbackThread->setDraining(mDrainSequence); in threadLoop_drain()
[all …]
DThreads.h1500 sp<AsyncCallbackThread> mCallbackThread; variable