Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/
DUiccSlotInfo.java60 private final boolean mIsActive; field in UiccSlotInfo
81 mIsActive = in.readByte() != 0; in UiccSlotInfo()
92 dest.writeByte((byte) (mIsActive ? 1 : 0)); in writeToParcel()
113 this.mIsActive = isActive; in UiccSlotInfo()
128 this.mIsActive = isActive; in UiccSlotInfo()
138 return mIsActive; in getIsActive()
193 return (mIsActive == that.mIsActive) in equals()
205 result = 31 * result + (mIsActive ? 1 : 0); in hashCode()
219 + mIsActive in toString()
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacNative.java30 private boolean mIsActive; field in PacNative
57 mIsActive = true; in startPacSupport()
62 if (mIsActive) { in stopPacSupport()
67 mIsActive = false; in stopPacSupport()
90 return mIsActive; in isActive()
/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp43 if (!mIsActive) { in onMatchedLogEventLocked()
104 if (!mIsActive) { in flushIfExpire()
107 mIsActive = evaluateActiveStateLocked(elapsedTimestampNs); in flushIfExpire()
108 if (!mIsActive) { in flushIfExpire()
120 mIsActive = false; in addActivation()
146 bool oldActiveState = mIsActive; in activateLocked()
147 mIsActive = true; in activateLocked()
184 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()
380 mIsActive = isActive || !activeMetricsIndices.empty(); in onLogEvent()
429 mIsActive = isActive; in onLogEvent()
535 if (!mIsActive && metric->isActive()) { in loadActiveConfig()
539 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.h91 mIsActive(true) { in MetricProducer()
267 return mIsActive; in isActiveLocked()
301 if (!mIsActive) { in onActiveStateChangedLocked()
406 bool mIsActive; variable
DMetricsManager.h134 return mIsActive; in isActive()
241 bool mIsActive; variable
DValueMetricProducer.cpp171 if (mIsActive && mIsPulled && mCondition == ConditionState::kTrue && mUseDiff) { in prepareFirstBucketLocked()
175 mConditionTimer.onConditionChanged(mIsActive && mCondition == ConditionState::kTrue, in prepareFirstBucketLocked()
391 if (mUseDiff && !mIsActive) { in onActiveStateChangedLocked()
399 mConditionTimer.onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked()
407 if (mIsActive) { in onConditionChangedLocked()
450 if (mIsActive) { in onConditionChangedLocked()
DGaugeMetricProducer.cpp309 if (mIsActive && mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE) { in prepareFirstBucketLocked()
365 if (mTriggerAtomId == -1 || (mIsActive && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE)) { in onActiveStateChangedLocked()
376 if (!mIsActive) { in onConditionChangedLocked()
391 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/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()
97 if (mIsActive == active) return false; in setActive()
98 mIsActive = active; in setActive()
106 return mIsActive; in setConfig()
110 pw.println("riid " + mRiid + "; active? " + mIsActive); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java71 private boolean mIsActive; field in BluetoothControllerImpl
110 pw.print(" mIsActive="); pw.println(mIsActive); in dump()
190 return mIsActive; in isBluetoothAudioActive()
269 if (mIsActive != isActive) { in updateActive()
270 mIsActive = isActive; in updateActive()
/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()
498 pw.println(indent + "active=" + mIsActive); in dump()
828 mIsActive = active; in setActive()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt69713 Landroid/telephony/UiccSlotInfo;->mIsActive:Z
79479 Landroid/view/Window;->mIsActive:Z