Home
last modified time | relevance | path

Searched refs:mCondition (Results 1 – 25 of 43) 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
55 out.writeInt(mCondition); in writeToParcel()
65 return super.toString() + ", Condition: " + mCondition in toString()
74 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/
DBarrier.h33 mCondition.signal(mType); in open()
39 mCondition.wait(mLock); in wait()
47 mutable Condition mCondition; variable
DSignal.h37 mCondition.signal(mType); in signal()
43 mCondition.wait(mLock); in wait()
52 mutable Condition mCondition; variable
/frameworks/native/services/surfaceflinger/
DEventThread.cpp105 mCondition.broadcast(); in registerDisplayEventConnection()
122 mCondition.broadcast(); in setVsyncRate()
135 mCondition.broadcast(); in requestNextVsync()
144 mCondition.broadcast(); in onScreenReleased()
153 mCondition.broadcast(); in onScreenAcquired()
163 mCondition.broadcast(); in onVSyncEvent()
178 mCondition.broadcast(); in onHotplugReceived()
319 if (mCondition.waitRelative(mLock, timeout) == TIMED_OUT) { in waitForEvent()
335 mCondition.wait(mLock); in waitForEvent()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp94 mCondition.wait(mLock); in setDataSource()
113 mCondition.wait(mLock); in setDataSource()
132 mCondition.wait(mLock); in setDataSource()
151 mCondition.wait(mLock); in setDataSource()
180 mCondition.wait(mLock); in setVideoSurfaceTexture()
203 mCondition.wait(mLock); in prepare_l()
213 mCondition.wait(mLock); in prepare_l()
490 mCondition.wait(mLock); in reset()
609 mCondition.broadcast(); in notifyResetComplete()
619 mCondition.broadcast(); in notifySetSurfaceComplete()
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DAutoConditionLock.cpp34 mManager->mCondition.broadcast(); in ~AutoConditionLock()
54 status_t ret = manager->mCondition.waitRelative(*(manager->mMutex), waitTime); in waitAndAcquire()
81 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/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()
254 mCondition.signal(); in queueAccessUnit()
360 mCondition.signal(); in queueDiscontinuity()
368 mCondition.signal(); in signalEOS()
/frameworks/av/media/libstagefright/foundation/
DMediaBufferGroup.cpp196 mCondition.wait(mLock); in acquire_buffer()
202 mCondition.signal(); in signalBufferReturned()
/frameworks/av/include/media/stagefright/
DMediaBufferGroup.h63 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