Home
last modified time | relevance | path

Searched refs:mCondition (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/core/java/android/os/
DConditionVariable.java34 private volatile boolean mCondition; field in ConditionVariable
41 mCondition = false; in ConditionVariable()
52 mCondition = state; in ConditionVariable()
65 boolean old = mCondition; in open()
66 mCondition = true; in open()
82 mCondition = false; in close()
95 while (!mCondition) { in block()
126 while (!mCondition && now < end) { in block()
134 return mCondition; in block()
/frameworks/support/renderscript/v8/rs_support/
DrsSignal.cpp29 pthread_cond_destroy(&mCondition); in ~Signal()
39 status = pthread_cond_init(&mCondition, NULL); in init()
60 status = pthread_cond_signal(&mCondition); in set()
83 status = pthread_cond_wait(&mCondition, &mMutex); in wait()
86 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000); in wait()
89 status = pthread_cond_wait(&mCondition, &mMutex); in wait()
DrsSignal.h42 pthread_cond_t mCondition; variable
/frameworks/rs/
DrsSignal.cpp29 pthread_cond_destroy(&mCondition); in ~Signal()
39 status = pthread_cond_init(&mCondition, NULL); in init()
60 status = pthread_cond_signal(&mCondition); in set()
83 status = pthread_cond_wait(&mCondition, &mMutex); in wait()
86 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000); in wait()
89 status = pthread_cond_wait(&mCondition, &mMutex); in wait()
DrsSignal.h42 pthread_cond_t mCondition; variable
/frameworks/av/media/libmedia/
DSoundPoolThread.cpp28 mCondition.wait(mLock); in write()
34 mCondition.signal(); in write()
41 mCondition.wait(mLock); in read()
45 mCondition.signal(); in read()
55 mCondition.signal(); in quit()
56 mCondition.wait(mLock); in quit()
DJetPlayer.cpp105 mCondition.wait(mMutex); in init()
177 mCondition.signal(); in render()
199 mCondition.wait(mMutex); in render()
257 mCondition.signal(); in render()
400 mCondition.signal(); in play()
DSoundPool.cpp102 mCondition.signal(); in addToRestartList()
111 mCondition.signal(); in addToStopList()
125 mCondition.wait(mRestartLock); in run()
162 mCondition.signal(); in run()
172 mCondition.signal(); in quit()
173 mCondition.wait(mRestartLock); in quit()
DSoundPoolThread.h58 Condition mCondition; variable
/frameworks/native/services/surfaceflinger/
DEventThread.cpp64 mCondition.broadcast(); in registerDisplayEventConnection()
81 mCondition.broadcast(); in setVsyncRate()
91 mCondition.broadcast(); in requestNextVsync()
100 mCondition.broadcast(); in onScreenReleased()
109 mCondition.broadcast(); in onScreenAcquired()
124 mCondition.broadcast(); in onVSyncReceived()
140 mCondition.broadcast(); in onHotplugReceived()
281 if (mCondition.waitRelative(mLock, timeout) == TIMED_OUT) { in waitForEvent()
297 mCondition.wait(mLock); in waitForEvent()
/frameworks/av/media/libstagefright/chromium_http/
DChromiumHTTPDataSource.cpp105 mCondition.wait(mLock); in connect_l()
124 mCondition.broadcast(); in onConnectionEstablished()
130 mCondition.broadcast(); in onConnectionFailed()
153 mCondition.wait(mLock); in disconnect_l()
202 mCondition.wait(mLock); in readAt()
230 mCondition.broadcast(); in onReadCompleted()
268 mCondition.broadcast(); in onDisconnectComplete()
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp70 mCondition.wait(mLock); in dequeueAccessUnit()
98 mCondition.wait(mLock); in read()
150 mCondition.signal(); in queueAccessUnit()
180 mCondition.signal(); in queueDiscontinuity()
188 mCondition.signal(); in signalEOS()
DAnotherPacketSource.h66 Condition mCondition; member
/frameworks/av/media/libmediaplayerservice/
DMidiFile.cpp91 mCondition.wait(mMutex); in MidiFile()
226 mCondition.signal(); in start()
359 mCondition.signal(); in release()
363 mCondition.wait(mMutex); in release()
452 mCondition.signal(); in render()
462 mCondition.wait(mMutex); in render()
547 mCondition.signal(); in render()
/frameworks/av/cmds/stagefright/
Dstream.cpp138 Condition mCondition; member
212 mCondition.wait(mLock); in writeData()
249 mCondition.signal(); in onBufferAvailable()
273 mCondition.signal(); in notify()
280 mCondition.wait(mLock); in waitForEOS()
290 Condition mCondition; member
/frameworks/av/media/libstagefright/wifi-display/
Dwfd.cpp65 Condition mCondition; member
116 mCondition.broadcast(); in onDisplayDisconnected()
124 mCondition.broadcast(); in onDisplayError()
130 mCondition.wait(mLock); in waitUntilDone()
/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.cpp100 mCondition.wait(mLock); in readAt_l()
151 mCondition.broadcast(); in queueBuffer()
160 mCondition.broadcast(); in queueEOS()
DLiveDataSource.h49 Condition mCondition; member
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp102 mCondition.wait(mLock); in read()
177 mCondition.broadcast(); in onMessageReceived()
195 mCondition.broadcast(); in wakeUp()
DRepeaterSource.h40 Condition mCondition; member
/frameworks/av/media/libstagefright/
DMediaBufferGroup.cpp74 mCondition.wait(mLock); in acquire_buffer()
83 mCondition.signal(); in signalBufferReturned()
/frameworks/av/include/media/stagefright/
DMediaBufferGroup.h48 Condition mCondition; variable
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp242 mCondition.wait(mLock); in reset()
308 mCondition.broadcast(); in notifyResetComplete()
/frameworks/native/include/ui/
DFramebufferNativeWindow.h85 Condition mCondition; variable
/frameworks/av/include/media/
DJetPlayer.h80 Condition mCondition; variable

12