/frameworks/base/core/java/android/os/ |
D | ConditionVariable.java | 34 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/base/cmds/statsd/src/condition/ |
D | ConditionTimer.h | 37 explicit ConditionTimer(bool initCondition, int64_t bucketStartNs) : mCondition(initCondition) { in ConditionTimer() 52 bool mCondition = false; variable 55 if (mCondition) { in newBucketStart() 66 if (newCondition == mCondition) { in onConditionChanged() 69 mCondition = newCondition; in onConditionChanged()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPoolThread.cpp | 28 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()
|
/frameworks/base/cmds/statsd/tests/condition/ |
D | ConditionTimer_test.cpp | 31 EXPECT_EQ(false, timer.mCondition); in TEST() 39 EXPECT_EQ(true, timer.mCondition); in TEST() 43 EXPECT_EQ(true, timer.mCondition); in TEST() 48 EXPECT_EQ(true, timer.mCondition); in TEST() 52 EXPECT_EQ(true, timer.mCondition); in TEST()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | CloseableLock.java | 60 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/rs/ |
D | rsSignal.cpp | 29 pthread_cond_destroy(&mCondition); in ~Signal() 39 status = pthread_cond_init(&mCondition, nullptr); in init() 58 status = pthread_cond_signal(&mCondition); in set() 77 status = pthread_cond_wait(&mCondition, &mMutex); in wait()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsCallForwardInfo.java | 132 public @CallForwardReasons int mCondition; field in ImsCallForwardInfo 160 mCondition = reason; in ImsCallForwardInfo() 180 out.writeInt(mCondition); in writeToParcel() 190 return super.toString() + ", Condition: " + mCondition in toString() 199 mCondition = in.readInt(); in readFromParcel() 224 return mCondition; in getCondition()
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ALooper.cpp | 34 mCondition.signal(); in signalSensorEvents() 40 mCondition.signal(); in wake() 63 mCondition.wait(mLock); in pollOnce() 65 mCondition.waitRelative(mLock, waitUntilNs - nowNs); in pollOnce()
|
/frameworks/native/libs/gui/tests/ |
D | FrameWaiter.h | 33 mCondition.wait(mMutex); in waitForFrame() 41 mCondition.signal(); in onFrameAvailable() 47 Condition mCondition; variable
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | BufferQueueScheduler.cpp | 33 mCondition.wait(lock, [&] { return (mSurfaceControl != nullptr); }); in startScheduling() 51 mCondition.wait(lock); in startScheduling() 58 mCondition.notify_one(); in addEvent() 64 mCondition.notify_one(); in stopScheduling() 72 mCondition.notify_one(); in setSurfaceControl()
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | WorkerPool.cpp | 36 pthread_cond_destroy(&mCondition); in ~Signal() 46 status = pthread_cond_init(&mCondition, NULL); in init() 67 status = pthread_cond_signal(&mCondition); in set() 90 status = pthread_cond_wait(&mCondition, &mMutex); in wait() 93 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000); in wait() 96 status = pthread_cond_wait(&mCondition, &mMutex); in wait()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | IdleTimer.cpp | 46 mCondition.notify_all(); in stop() 63 mCondition.wait(mMutex); in loop() 86 if (waitTime > zero) mCondition.wait_for(mMutex, waitTime); in loop() 108 mCondition.notify_all(); in reset()
|
D | EventThread.cpp | 196 mCondition.notify_all(); in ~EventThread() 218 mCondition.notify_all(); in registerDisplayEventConnection() 223 mCondition.notify_all(); in registerDisplayEventConnection() 245 mCondition.notify_all(); in setVsyncRate() 258 mCondition.notify_all(); in requestNextVsync() 269 mCondition.notify_all(); in onScreenReleased() 279 mCondition.notify_all(); in onScreenAcquired() 287 mCondition.notify_all(); in onVSyncEvent() 294 mCondition.notify_all(); in onHotplugReceived() 301 mCondition.notify_all(); in onConfigChanged() [all …]
|
D | EventControlThread.cpp | 46 mCondition.notify_all(); in ~EventControlThread() 54 mCondition.notify_all(); in setVsyncEnabled() 66 mCondition.wait(lock, [this, currentVsyncEnabled, keepRunning]() NO_THREAD_SAFETY_ANALYSIS { in threadMain()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | ValueMetricProducer.cpp | 176 if (mIsActive && mIsPulled && mCondition == ConditionState::kTrue && mUseDiff) { in prepareFirstBucketLocked() 177 pullAndMatchEventsLocked(mCurrentBucketStartTimeNs, mCondition); in prepareFirstBucketLocked() 180 mConditionTimer.onConditionChanged(mIsActive && mCondition == ConditionState::kTrue, in prepareFirstBucketLocked() 192 bool pullNeeded = mIsPulled && mCondition == ConditionState::kTrue; in dropDataLocked() 217 bool pullNeeded = mIsPulled && mCondition == ConditionState::kTrue; in onDumpReportLocked() 224 pullAndMatchEventsLocked(dumpTimeNs, mCondition); in onDumpReportLocked() 377 if (ConditionState::kTrue == mCondition && isEventTooLate) { in onActiveStateChangedLocked() 385 if (ConditionState::kTrue != mCondition) { in onActiveStateChangedLocked() 392 pullAndMatchEventsLocked(eventTimeNs, mCondition); in onActiveStateChangedLocked() 419 if (mCondition == ConditionState::kUnknown) { in onConditionChangedLocked() [all …]
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | AutoConditionLock.cpp | 34 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()
|
/frameworks/ml/nn/runtime/ |
D | Callbacks.cpp | 46 mCondition.notify_all(); in notify() 57 mCondition.wait(lock, [this] { return mNotified; }); in wait() 102 mCondition.wait(lock, [this] { return mNotified; }); in wait() 204 mCondition.notify_all(); in notifyInternal()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | AsyncCallRecorder.h | 95 mCondition.notify_all(); in recordCall() 113 mCondition.wait_for(lock, timeout, 138 std::condition_variable mCondition; variable
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEventQueue.cpp | 33 mCondition.wait(lock, [this] { return !this->mQueue.empty(); }); in waitPop() 56 mCondition.notify_one(); in push()
|
/frameworks/av/cmds/stagefright/ |
D | stream.cpp | 143 Condition mCondition; member 225 mCondition.wait(mLock); in writeData() 262 mCondition.signal(); in onBufferAvailable() 286 mCondition.signal(); in notify() 293 mCondition.wait(mLock); in waitForEOS() 303 Condition mCondition; member
|
/frameworks/native/services/sensorservice/ |
D | SensorDeviceUtils.cpp | 49 mCondition.notify_all(); in onRegistration() 70 return mCondition.wait_for(lk, std::chrono::milliseconds(TIMEOUT_MS), in wait()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 156 mCondition.wait(mLock); in setDataSource() 175 mCondition.wait(mLock); in setDataSource() 194 mCondition.wait(mLock); in setDataSource() 213 mCondition.wait(mLock); in setDataSource() 242 mCondition.wait(mLock); in setVideoSurfaceTexture() 289 mCondition.wait(mLock); in prepare_l() 300 mCondition.wait(mLock); in prepare_l() 688 mCondition.wait(mLock); in reset() 825 mCondition.broadcast(); in notifyResetComplete() 835 mCondition.broadcast(); in notifySetSurfaceComplete() [all …]
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveDataSource.cpp | 100 mCondition.wait(mLock); in readAt_l() 151 mCondition.broadcast(); in queueBuffer() 160 mCondition.broadcast(); in queueEOS()
|
/frameworks/av/media/libmedia/ |
D | JetPlayer.cpp | 107 mCondition.wait(mMutex); in init() 176 mCondition.signal(); in render() 198 mCondition.wait(mMutex); in render() 256 mCondition.signal(); in render() 390 mCondition.signal(); in play()
|
/frameworks/base/libs/hwui/thread/ |
D | CommonPool.cpp | 70 mCondition.notify_one(); in enqueue() 79 mCondition.wait(lock); in workerLoop()
|