Home
last modified time | relevance | path

Searched refs:mCondition (Results 1 – 25 of 46) 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/rs/
DrsSignal.cpp30 pthread_cond_destroy(&mCondition); in ~Signal()
40 status = pthread_cond_init(&mCondition, nullptr); in init()
61 status = pthread_cond_signal(&mCondition); in set()
84 status = pthread_cond_wait(&mCondition, &mMutex); in wait()
87 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000); in wait()
90 status = pthread_cond_wait(&mCondition, &mMutex); in wait()
DrsSignal.h42 pthread_cond_t mCondition; variable
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DDependency.java19 final Expr mCondition; field in Dependency
32 mCondition = null; in Dependency()
40 mCondition = condition; in Dependency()
54 return mCondition != null && !mElevated; in isConditional()
70 return mCondition; in getCondition()
/frameworks/base/media/jni/soundpool/
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()
DSoundPoolThread.h58 Condition mCondition; variable
/frameworks/base/core/java/android/hardware/camera2/utils/
DCloseableLock.java60 private final Condition mCondition = mLock.newCondition(); field in CloseableLock
139 mCondition.signalAll(); in close()
192 mCondition.awaitUninterruptibly(); in acquireLock()
265 mCondition.awaitUninterruptibly(); in acquireExclusiveLock()
328 mCondition.signalAll(); in releaseLock()
331 mCondition.signalAll(); in releaseLock()
/frameworks/base/telephony/java/com/android/ims/
DImsCallForwardInfo.java29 public int mCondition; field in ImsCallForwardInfo
53 out.writeInt(mCondition); in writeToParcel()
62 return super.toString() + ", Condition: " + mCondition in toString()
69 mCondition = in.readInt(); in readFromParcel()
/frameworks/native/libs/gui/tests/
DFrameWaiter.h33 mCondition.wait(mMutex); in waitForFrame()
41 mCondition.signal(); in onFrameAvailable()
47 Condition mCondition; variable
/frameworks/base/libs/hwui/thread/
DSignal.h37 mCondition.signal(mType); in signal()
43 mCondition.wait(mLock); in wait()
52 mutable Condition mCondition; variable
DBarrier.h33 mCondition.signal(mType); in open()
44 mCondition.wait(mLock); in wait()
52 mutable Condition mCondition; variable
/frameworks/native/services/surfaceflinger/
DEventThread.cpp104 mCondition.broadcast(); in registerDisplayEventConnection()
121 mCondition.broadcast(); in setVsyncRate()
131 mCondition.broadcast(); in requestNextVsync()
140 mCondition.broadcast(); in onScreenReleased()
149 mCondition.broadcast(); in onScreenAcquired()
159 mCondition.broadcast(); in onVSyncEvent()
174 mCondition.broadcast(); in onHotplugReceived()
315 if (mCondition.waitRelative(mLock, timeout) == TIMED_OUT) { in waitForEvent()
331 mCondition.wait(mLock); in waitForEvent()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp95 mCondition.wait(mLock); in setDataSource()
114 mCondition.wait(mLock); in setDataSource()
133 mCondition.wait(mLock); in setDataSource()
152 mCondition.wait(mLock); in setDataSource()
181 mCondition.wait(mLock); in setVideoSurfaceTexture()
204 mCondition.wait(mLock); in prepare_l()
214 mCondition.wait(mLock); in prepare_l()
499 mCondition.wait(mLock); in reset()
619 mCondition.broadcast(); in notifyResetComplete()
629 mCondition.broadcast(); in notifySetSurfaceComplete()
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DAutoConditionLock.cpp33 mManager->mCondition.broadcast(); in ~AutoConditionLock()
52 status_t ret = manager->mCondition.waitRelative(*(manager->mMutex), waitTime); in waitAndAcquire()
78 status_t ret = manager->mCondition.wait(*(manager->mMutex)); in waitAndAcquire()
DAutoConditionLock.h46 Condition mCondition; variable
/frameworks/av/cmds/stagefright/
Dstream.cpp140 Condition mCondition; member
216 mCondition.wait(mLock); in writeData()
253 mCondition.signal(); in onBufferAvailable()
277 mCondition.signal(); in notify()
284 mCondition.wait(mLock); in waitForEOS()
294 Condition mCondition; member
/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/
DMediaBufferGroup.cpp80 mCondition.wait(mLock); in acquire_buffer()
89 mCondition.signal(); in signalBufferReturned()
/frameworks/av/media/libmedia/
DJetPlayer.cpp107 mCondition.wait(mMutex); in init()
175 mCondition.signal(); in render()
197 mCondition.wait(mMutex); in render()
255 mCondition.signal(); in render()
387 mCondition.signal(); in play()
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp122 mCondition.wait(mLock); in read()
197 mCondition.broadcast(); in onMessageReceived()
215 mCondition.broadcast(); in wakeUp()
DRepeaterSource.h43 Condition mCondition; member
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp120 mCondition.wait(mLock); in dequeueAccessUnit()
171 mCondition.wait(mLock); in read()
248 mCondition.signal(); in queueAccessUnit()
354 mCondition.signal(); in queueDiscontinuity()
362 mCondition.signal(); in signalEOS()
/frameworks/av/include/media/stagefright/
DMediaBufferGroup.h51 Condition mCondition; variable
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp86 Condition mCondition; member in android::BufferProducerThread
149 status_t err = mCondition.waitRelative(mLock, s2ns(1)); in setSurfaceLocked()
159 mCondition.broadcast(); in setSurfaceLocked()
176 mCondition.broadcast(); in onCaptured()
191 err = mCondition.waitRelative(mLock, s2ns(1)); in threadLoop()
201 err = mCondition.waitRelative(mLock, s2ns(1)); in threadLoop()

12