Home
last modified time | relevance | path

Searched refs:newCondition (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/cmds/statsd/src/condition/
Dcondition_util.cpp36 ConditionState newCondition; in evaluateCombinationCondition() local
63 newCondition = hasFalse ? ConditionState::kFalse : ConditionState::kTrue; in evaluateCombinationCondition()
67 newCondition = hasTrue ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCombinationCondition()
71 newCondition = children.empty() ? ConditionState::kUnknown : in evaluateCombinationCondition()
76 newCondition = hasFalse ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCombinationCondition()
79 newCondition = hasTrue ? ConditionState::kFalse : ConditionState::kTrue; in evaluateCombinationCondition()
82 newCondition = ConditionState::kFalse; in evaluateCombinationCondition()
85 return newCondition; in evaluateCombinationCondition()
DConditionTimer.h65 void onConditionChanged(bool newCondition, int64_t timestampNs) { in onConditionChanged() argument
66 if (newCondition == mCondition) { in onConditionChanged()
69 mCondition = newCondition; in onConditionChanged()
70 if (newCondition) { in onConditionChanged()
DCombinationConditionTracker.cpp147 ConditionState newCondition = in evaluateCondition() local
151 bool nonSlicedChanged = (mNonSlicedConditionState != newCondition); in evaluateCondition()
152 mNonSlicedConditionState = newCondition; in evaluateCondition()
157 mUnSlicedPart = newCondition; in evaluateCondition()
170 nonSlicedConditionCache[mIndex] = newCondition; in evaluateCondition()
DSimpleConditionTracker.cpp173 ConditionState newCondition; in handleConditionEvent() local
182 newCondition = matchStart ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent()
198 newCondition = startedCount > 0 ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent()
209 newCondition = ConditionState::kTrue; in handleConditionEvent()
216 newCondition = ConditionState::kFalse; in handleConditionEvent()
221 newCondition = ConditionState::kFalse; in handleConditionEvent()
244 (*conditionCache) = newCondition; in handleConditionEvent()
/frameworks/base/services/core/java/com/android/server/notification/
DCountdownConditionProvider.java129 notifyCondition(newCondition(mTime, mIsAlarm, Condition.STATE_FALSE)); in onSubscribe()
155 notifyCondition(newCondition(time, alarm, Condition.STATE_FALSE)); in onReceive()
161 private static final Condition newCondition(long time, boolean alarm, int state) { in newCondition() method in CountdownConditionProvider
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java421 Condition newCondition = null; in onClickTimeButton() local
434 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
440 if (newCondition == null) { in onClickTimeButton()
442 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
448 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
451 bind(newCondition, row, rowId); in onClickTimeButton()
/frameworks/base/core/java/android/speech/tts/
DSynthesisPlaybackQueueItem.java50 private final Condition mReadReady = mListLock.newCondition();
51 private final Condition mNotFull = mListLock.newCondition();
/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp404 ConditionState newCondition = condition ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() local
425 (mCondition == ConditionState::kTrue && newCondition == ConditionState::kFalse) in onConditionChangedLocked()
427 newCondition == ConditionState::kTrue); in onConditionChangedLocked()
436 pullAndMatchEventsLocked(eventTimeNs, newCondition); in onConditionChangedLocked()
442 && newCondition == ConditionState::kFalse) { in onConditionChangedLocked()
448 mCondition = isEventTooLate ? initialCondition(mConditionTrackerIndex) : newCondition; in onConditionChangedLocked()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCaptureCollector.java293 mIsEmpty = mLock.newCondition(); in CaptureCollector()
294 mNotFull = mLock.newCondition(); in CaptureCollector()
295 mPreviewsEmpty = mLock.newCondition(); in CaptureCollector()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java770 Condition newCondition = null; in onClickTimeButton() local
783 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
789 if (newCondition == null) { in onClickTimeButton()
791 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
797 newCondition = ZenModeConfig.toTimeCondition(mContext, in onClickTimeButton()
800 bind(newCondition, row, rowId); in onClickTimeButton()
802 select(newCondition); in onClickTimeButton()
/frameworks/base/core/java/android/hardware/camera2/utils/
DCloseableLock.java60 private final Condition mCondition = mLock.newCondition();
/frameworks/libs/net/common/hostdevice/com/android/net/module/util/
DTrackRecord.kt56 private val condition = lock.newCondition()
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java52 private static final Condition sCond = sLock.newCondition();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java829 private Condition mCameraReady = mCameraReadyLock.newCondition();
849 private final Condition mInUseLockCondition= mLock.newCondition();
/frameworks/base/core/java/android/provider/
DFontsContract.java347 final Condition cond = lock.newCondition(); in getFontSync()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt50191 method public abstract java.util.concurrent.locks.Condition newCondition();
50230 method public java.util.concurrent.locks.Condition newCondition();
50263 method public java.util.concurrent.locks.Condition newCondition();
50275 method public java.util.concurrent.locks.Condition newCondition();
/frameworks/base/non-updatable-api/
Dcurrent.txt73732 method public java.util.concurrent.locks.Condition newCondition();
73771 method public java.util.concurrent.locks.Condition newCondition();
73804 method public java.util.concurrent.locks.Condition newCondition();
73816 method public java.util.concurrent.locks.Condition newCondition();
/frameworks/base/api/
Dcurrent.txt73876 method public java.util.concurrent.locks.Condition newCondition();
73915 method public java.util.concurrent.locks.Condition newCondition();
73948 method public java.util.concurrent.locks.Condition newCondition();
73960 method public java.util.concurrent.locks.Condition newCondition();
/frameworks/base/config/
Dboot-image-profile.txt29968 HSPLjava/util/concurrent/locks/ReentrantLock;->newCondition()Ljava/util/concurrent/locks/Condition;
Dhiddenapi-greylist-max-o.txt109301 Ljava/util/concurrent/locks/ReentrantLock$Sync;->newCondition()Ljava/util/concurrent/locks/Abstract…
109328 Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync;->newCondition()Ljava/util/concurrent/locks…