Home
last modified time | relevance | path

Searched refs:mIsActive (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DUiccSlotInfo.java58 private final boolean mIsActive; field in UiccSlotInfo
79 mIsActive = in.readByte() != 0; in UiccSlotInfo()
90 dest.writeByte((byte) (mIsActive ? 1 : 0)); in writeToParcel()
111 this.mIsActive = isActive; in UiccSlotInfo()
126 this.mIsActive = isActive; in UiccSlotInfo()
136 return mIsActive; in getIsActive()
183 return (mIsActive == that.mIsActive) in equals()
195 result = 31 * result + (mIsActive ? 1 : 0); in hashCode()
208 + mIsActive in toString()
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacNative.java28 private boolean mIsActive; field in PacNative
51 mIsActive = true; in startPacSupport()
56 if (mIsActive) { in stopPacSupport()
61 mIsActive = false; in stopPacSupport()
84 return mIsActive; in isActive()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneSwitcherMock.java33 private final AtomicBoolean mIsActive[]; field in PhoneSwitcherMock
40 mIsActive = new AtomicBoolean[numPhones]; in PhoneSwitcherMock()
42 mIsActive[i] = new AtomicBoolean(false); in PhoneSwitcherMock()
60 return mIsActive[phoneId].get(); in isPhoneActive()
78 if (mIsActive[phoneId].getAndSet(active) != active) { in setPhoneActive()
/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp44 if (!mIsActive) { in onMatchedLogEventLocked()
105 if (!mIsActive) { in flushIfExpire()
108 mIsActive = evaluateActiveStateLocked(elapsedTimestampNs); in flushIfExpire()
109 if (!mIsActive) { in flushIfExpire()
121 mIsActive = false; in addActivation()
147 bool oldActiveState = mIsActive; in activateLocked()
148 mIsActive = true; in activateLocked()
185 mIsActive = true; in loadActiveMetricLocked()
DMetricsManager.cpp135 mIsActive = isActive; in MetricsManager()
136 VLOG("mIsActive is initialized to %d", mIsActive) in MetricsManager()
145 mIsActive = true; in MetricsManager()
369 mIsActive = isActive || !activeMetricsIndices.empty(); in onLogEvent()
418 mIsActive = isActive; in onLogEvent()
524 if (!mIsActive && metric->isActive()) { in loadActiveConfig()
528 mIsActive |= metric->isActive(); in loadActiveConfig()
DDurationMetricProducer.cpp430 if (!mIsActive) { in onSlicedConditionMayChangeLocked()
451 if (mIsActive) { in onActiveStateChangedLocked()
457 pair.second->onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked()
460 } else if (mIsActive) { in onActiveStateChangedLocked()
462 onSlicedConditionMayChangeInternalLocked(mIsActive, eventTimeNs); in onActiveStateChangedLocked()
466 pair.second->onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked()
477 if (!mIsActive) { in onConditionChangedLocked()
743 if (mIsActive) { in onMatchedLogEventLocked()
816 condition = condition && mIsActive; in onMatchedLogEventLocked()
DMetricProducer.h93 mIsActive(true) { in MetricProducer()
274 return mIsActive; in isActiveLocked()
308 if (!mIsActive) { in onActiveStateChangedLocked()
413 bool mIsActive; variable
DValueMetricProducer.cpp176 if (mIsActive && mIsPulled && mCondition == ConditionState::kTrue && mUseDiff) { in prepareFirstBucketLocked()
180 mConditionTimer.onConditionChanged(mIsActive && mCondition == ConditionState::kTrue, in prepareFirstBucketLocked()
396 if (mUseDiff && !mIsActive) { in onActiveStateChangedLocked()
404 mConditionTimer.onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked()
412 if (mIsActive) { in onConditionChangedLocked()
455 if (mIsActive) { in onConditionChangedLocked()
DMetricsManager.h138 return mIsActive; in isActive()
245 bool mIsActive; variable
DGaugeMetricProducer.cpp311 if (mIsActive && mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE) { in prepareFirstBucketLocked()
367 if (mTriggerAtomId == -1 || (mIsActive && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE)) { in onActiveStateChangedLocked()
378 if (!mIsActive) { in onConditionChangedLocked()
393 if (!mIsActive) { in onSlicedConditionMayChangeLocked()
/frameworks/base/cmds/statsd/tests/e2e/
DMetricActivation_e2e_test.cpp277 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
295 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
302 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
322 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
335 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
353 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
369 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
492 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
514 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
521 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
[all …]
DDurationMetric_e2e_test.cpp66 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
149 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
262 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
288 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
301 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
332 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
400 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
499 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
608 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
622 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupController.java107 private boolean mIsActive = false; field in WakeupController
183 if (mIsActive != isActive) { in setActive()
185 mIsActive = isActive; in setActive()
195 if (mIsActive) { in setLastDisconnectInfo()
235 if (mIsActive) { in start()
438 pw.println("mIsActive: " + mIsActive); in dump()
448 return mIsActive; in getData()
453 mIsActive = data; in setData()
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/cpp/
DWorkerThread.h70 mIsActive = false; in terminateThread()
89 while (mIsActive) { in threadMain()
92 return !mWorkQueue.empty() || !mIsActive; in threadMain()
113 bool mIsActive GUARDED_BY(mWorkMutex) = true;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilter.java65 private boolean mIsActive = true; field in Filter
147 return mIsActive; in isActive()
157 if (!mIsActive) { in activate()
158 mIsActive = true; in activate()
170 if (mIsActive) { in deactivate()
171 mIsActive = false; in deactivate()
395 return (mIsActive && !mState.check(State.STATE_CLOSED)); in inSchedulableState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNearestTouchFrame.java38 private final boolean mIsActive; field in NearestTouchFrame
50 mIsActive = c.smallestScreenWidthDp < 600; in NearestTouchFrame()
80 if (mIsActive) {
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java55 private boolean mIsActive; field in RecordingActivityMonitor.RecordingState
86 return mIsActive && mConfig != null; in isActiveConfiguration()
91 if (mIsActive == active) return false; in setActive()
92 mIsActive = active; in setActive()
100 return mIsActive; in setConfig()
104 pw.println("riid " + mRiid + "; active? " + mIsActive); in dump()
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/cpp/
DRenderer.cpp107 mIsActive = false; in terminateThread()
117 while (mIsActive) { in threadMain()
120 return !mQueue.empty() || !mIsActive; in threadMain()
DRenderer.h101 bool mIsActive GUARDED_BY(mQueueMutex) = true;
/frameworks/base/core/java/android/view/
DWindow.java297 private boolean mIsActive = false; field in Window
1360 mContainer.mActiveChild.mIsActive = false; in makeActive()
1364 mIsActive = true; in makeActive()
1370 return mIsActive; in isActive()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java120 private boolean mIsActive = false; field in MediaSessionRecord
360 return mIsActive && !mDestroyed; in isActive()
497 pw.println(indent + "active=" + mIsActive); in dump()
824 mIsActive = active; in setActive()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt74710 Landroid/telephony/UiccSlotInfo;->mIsActive:Z
85111 Landroid/view/Window;->mIsActive:Z