/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/ |
D | DeviceAdminAddActionPreferenceController.java | 44 private Boolean mIsActive; field in DeviceAdminAddActionPreferenceController 55 preference.setEnabled(mIsActive != null); in updateState() 56 preference.setTitle(mIsActive == null || mIsActive in updateState() 63 if (mIsActive == null) { in handlePreferenceClicked() 67 if (mIsActive) { in handlePreferenceClicked() 86 mIsActive = null; in setIsActive() 88 mIsActive = mDpm.isAdminActive(admin); in setIsActive() 91 mLogger.d("updateState(): active = " + mIsActive); in setIsActive()
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | MetricActivation_e2e_test.cpp | 278 EXPECT_FALSE(metricProducer->mIsActive); in TEST() 296 EXPECT_FALSE(metricProducer->mIsActive); in TEST() 303 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() 490 EXPECT_FALSE(metricProducer->mIsActive); in TEST() 512 EXPECT_FALSE(metricProducer->mIsActive); in TEST() 519 EXPECT_TRUE(metricProducer->mIsActive); in TEST() [all …]
|
D | DurationMetric_e2e_test.cpp | 66 EXPECT_TRUE(metricProducer->mIsActive); in TEST() 149 EXPECT_TRUE(metricProducer->mIsActive); in TEST() 264 EXPECT_FALSE(metricProducer->mIsActive); in TEST() 290 EXPECT_TRUE(metricProducer->mIsActive); in TEST() 303 EXPECT_FALSE(metricProducer->mIsActive); in TEST() 334 EXPECT_TRUE(metricProducer->mIsActive); in TEST() 403 EXPECT_TRUE(metricProducer->mIsActive); in TEST() 507 EXPECT_TRUE(metricProducer->mIsActive); in TEST() 618 EXPECT_FALSE(metricProducer->mIsActive); in TEST() 633 EXPECT_FALSE(metricProducer->mIsActive); in TEST() [all …]
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | AsyncQueryLiveData.java | 92 private boolean mIsActive; field in AsyncQueryLiveData.CursorRunnable 96 mIsActive = true; in CursorRunnable() 103 if (mIsActive) { in run() 105 if (mIsActive) { in run() 113 if (!mIsActive && mCursor != null) { in closeCursorIfNecessary() 116 mIsActive = false; in closeCursorIfNecessary()
|
D | ObservableAsyncQuery.java | 60 private boolean mIsActive = false; field in ObservableAsyncQuery 110 mIsActive = true; in startQuery() 120 mIsActive = false; in stopQuery() 126 if (!mIsActive) { in onQueryComplete()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SlideshowDataAdapter.java | 53 private boolean mIsActive = false; field in SlideshowDataAdapter 99 while (mIsActive && (!mDataReady in run() 109 if (!mIsActive) return null; in run() 160 while (mIsActive && mDataReady && mImageQueue.isEmpty()) { in innerNextBitmap() 187 mIsActive = false; 198 mIsActive = true;
|
D | AlbumPage.java | 85 private boolean mIsActive = false; field in AlbumPage 252 if (!mIsActive) return; in onSingleTapUp() 273 if (!mIsActive) return; in pickPhoto() 401 mIsActive = true; in onResume() 438 mIsActive = false; in onPause() 714 if ((mLoadingBits == 0) && (mSyncResult == MediaSet.SYNC_RESULT_ERROR) && mIsActive in showSyncErrorIfNecessary() 727 if (mLoadingBits == 0 && mIsActive) { in clearLoadingBit()
|
D | AlbumSetPage.java | 84 private boolean mIsActive = false; field in AlbumSetPage 191 if (!mIsActive) return; in onSingleTapUp() 238 if (!mIsActive) return; in pickAlbum() 400 if (mLoadingBits == 0 && mIsActive) { in clearLoadingBit() 437 mIsActive = false; in onPause() 457 mIsActive = true; in onResume() 716 if (resultCode == MediaSet.SYNC_RESULT_ERROR && mIsActive) { in onSyncDone()
|
D | SlideshowPage.java | 84 private boolean mIsActive = false; field in SlideshowPage 158 if (mIsActive) { in showPendingBitmap() 175 mIsActive = false; in onPause() 186 mIsActive = true; in onResume()
|
D | PhotoDataAdapter.java | 153 private boolean mIsActive; field in PhotoDataAdapter 351 mIsActive = true; in resume() 366 mIsActive = false; in pause() 386 if (index < 0 || index >= mSize || !mIsActive) return null; in getItem() 448 if (index < 0 || index >= mSize || !mIsActive) return null; in getScreenNail() 657 if (!mIsActive) return; in updateImageRequests()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WakeupController.java | 106 private boolean mIsActive = false; field in WakeupController 195 if (mIsActive != isActive) { in setActive() 197 mIsActive = isActive; in setActive() 222 if (mIsActive) { in setLastDisconnectInfo() 267 if (mIsActive) { in start() 474 pw.println("mIsActive: " + mIsActive); in dump() 484 return mIsActive; in getData() 489 mIsActive = data; in setData()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricProducer.cpp | 72 mIsActive(mEventActivationMap.empty()), in MetricProducer() 110 if (!mIsActive) { in onMatchedLogEventLocked() 192 if (!mIsActive) { in flushIfExpire() 195 mIsActive = evaluateActiveStateLocked(elapsedTimestampNs); in flushIfExpire() 196 if (!mIsActive) { in flushIfExpire() 216 bool oldActiveState = mIsActive; in activateLocked() 217 mIsActive = true; in activateLocked() 254 mIsActive = true; in loadActiveMetricLocked()
|
D | DurationMetricProducer.cpp | 424 if (!mIsActive) { in onSlicedConditionMayChangeLocked() 445 if (mIsActive) { in onActiveStateChangedLocked() 450 whatIt.second->onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked() 452 } else if (mIsActive) { in onActiveStateChangedLocked() 454 onSlicedConditionMayChangeInternalLocked(mIsActive, eventTimeNs); in onActiveStateChangedLocked() 457 whatIt.second->onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked() 467 if (!mIsActive) { in onConditionChangedLocked() 687 if (mIsActive) { in handleMatchedLogEventValuesLocked() 776 condition = condition && mIsActive; in handleMatchedLogEventValuesLocked()
|
D | MetricsManager.cpp | 268 mIsActive = mIsAlwaysActive; in initializeConfigActiveStatus() 270 mIsActive |= mAllMetricProducers[metric]->isActive(); in initializeConfigActiveStatus() 272 VLOG("mIsActive is initialized to %d", mIsActive); in initializeConfigActiveStatus() 557 mIsActive = isActive || !activeMetricsIndices.empty(); in onLogEvent() 607 mIsActive = isActive; in onLogEvent() 713 if (!mIsActive && metric->isActive()) { in loadActiveConfig() 717 mIsActive |= metric->isActive(); in loadActiveConfig()
|
D | GaugeMetricProducer.cpp | 211 if (mIsActive && mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE) { in onConfigUpdatedLocked() 357 if (mIsActive && mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE) { in prepareFirstBucketLocked() 412 if (mTriggerAtomId == -1 || (mIsActive && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE)) { in onActiveStateChangedLocked() 423 if (!mIsActive) { in onConditionChangedLocked() 438 if (!mIsActive) { in onSlicedConditionMayChangeLocked()
|
D | ValueMetricProducer.cpp | 179 mConditionTimer.onConditionChanged(mIsActive && mCondition == ConditionState::kTrue, in ValueMetricProducer() 254 if (mCondition != ConditionState::kTrue || !mIsActive) { in onStateChanged() 498 if (mUseDiff && !mIsActive) { in onActiveStateChangedLocked() 506 mConditionTimer.onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked() 508 updateCurrentSlicedBucketConditionTimers(mIsActive, eventTimeNs); in onActiveStateChangedLocked() 517 if (!mIsActive) { in onConditionChangedLocked() 601 if (mIsActive && mIsPulled && mCondition == ConditionState::kTrue && mUseDiff) { in prepareFirstBucketLocked()
|
D | MetricProducer.h | 430 if (!mIsActive) { in onActiveStateChangedLocked() 436 return mIsActive; in isActiveLocked() 524 bool mIsActive; variable
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSlidingWindow.java | 77 private boolean mIsActive = false; field in AlbumSlidingWindow 129 if (!mIsActive) { in setContentWindow() 178 if (mIsActive) updateAllImageRequests(); in setActiveWindow() 191 if (!mIsActive) return; in updateTextureUploadQueue() 338 if (index >= mContentStart && index < mContentEnd && mIsActive) { in onContentChanged() 349 mIsActive = true; in resume() 358 mIsActive = false; in pause()
|
D | AlbumSetSlidingWindow.java | 69 private boolean mIsActive = false; field in AlbumSetSlidingWindow 181 if (mIsActive) { in setActiveWindow() 314 if (!mIsActive) return; in updateTextureUploadQueue() 354 if (mIsActive && mSize != size) { in onSizeChanged() 364 if (!mIsActive) { in onContentChanged() 398 mIsActive = false; in pause() 408 mIsActive = true; in resume() 532 if (!mIsActive) return; in onSlotSizeChanged()
|
/packages/apps/Settings/src/com/android/settings/network/helper/ |
D | SubscriptionAnnotation.java | 41 private boolean mIsActive; field in SubscriptionAnnotation 96 mIsActive = activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex()); in SubscriptionAnnotation() 102 mIsActive = (mSubInfo.getSimSlotIndex() > SubscriptionManager.INVALID_SIM_SLOT_INDEX) in SubscriptionAnnotation() 128 return mIsActive; in isActive()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | SyncStateSwitchPreference.java | 35 private boolean mIsActive = false; field in SyncStateSwitchPreference 66 final boolean activeVisible = mIsActive || mIsPending; in onBindViewHolder() 68 syncActiveView.setAnimating(mIsActive); in onBindViewHolder() 94 mIsActive = isActive; in setActive()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | SyncStateSwitchPreference.java | 36 private boolean mIsActive = false; field in SyncStateSwitchPreference 80 final boolean activeVisible = mIsActive || mIsPending; in onBindViewHolder() 82 syncActiveView.setAnimating(mIsActive); in onBindViewHolder() 108 mIsActive = isActive; in setActive()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/helper/ |
D | SubscriptionGroupingTest.java | 93 private boolean mIsActive; field in SubscriptionGroupingTest.TestSubAnnotation 102 mIsActive = isActive; in TestSubAnnotation() 124 return mIsActive; in isActive()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioPlaybackCallbackTest.java | 501 private boolean mIsActive = true; field in CarAudioPlaybackCallbackTest.AudioPlaybackConfigurationBuilder 515 mIsActive = false; in setInactive() 525 when(configuration.isActive()).thenReturn(mIsActive); in build()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZoneTest.java | 344 private boolean mIsActive = true; field in CarAudioZoneTest.Builder 358 mIsActive = false; in setInactive() 368 when(configuration.isActive()).thenReturn(mIsActive); in build()
|