Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteController.java168 private boolean mIsActive; field in CallAudioRouteController
377 mIsActive = false; in initialize()
463 return mIsActive; in isActive()
476 if (destRoute.equals(mPendingAudioRoute.getDestRoute()) && (mIsActive == active)) { in routeTo()
481 mPendingAudioRoute.getDestRoute(), mIsActive, destRoute, active); in routeTo()
488 mPendingAudioRoute.setOrigRoute(mIsActive, mPendingAudioRoute.getDestRoute()); in routeTo()
490 if (mCurrentRoute.equals(destRoute) && (mIsActive == active)) { in routeTo()
494 mIsActive, destRoute, active); in routeTo()
497 mPendingAudioRoute.setOrigRoute(mIsActive, mCurrentRoute); in routeTo()
500 mPendingAudioRoute.setOrigRoute(mIsActive, DUMMY_ROUTE); in routeTo()
[all …]
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDeviceItem.java25 private final boolean mIsActive; field in AudioSharingDeviceItem
30 mIsActive = isActive; in AudioSharingDeviceItem()
42 return mIsActive; in isActive()
48 mIsActive = in.readBoolean(); in AudioSharingDeviceItem()
55 dest.writeBoolean(mIsActive); in writeToParcel()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenMode.java92 private final boolean mIsActive; field in ZenMode
102 mIsActive = isActive; in ZenMode()
224 return mIsActive; in isActive()
232 && mIsActive == other.mIsActive; in equals()
237 return Objects.hash(mId, mRule, mIsActive); in hashCode()
242 return mId + "(" + (mIsActive ? "active" : "inactive") + ") -> " + mRule; in toString()
/packages/modules/StatsD/statsd/tests/e2e/
DMetricActivation_e2e_test.cpp280 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
298 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
305 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
324 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
337 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
355 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
371 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
499 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
521 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
528 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
[all …]
DDurationMetric_e2e_test.cpp65 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
148 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
270 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
296 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
309 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
340 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
408 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
518 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
628 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
643 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowDataAdapter.java53 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;
DAlbumPage.java85 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()
DSlideshowPage.java84 private boolean mIsActive = false; field in SlideshowPage
158 if (mIsActive) { in showPendingBitmap()
175 mIsActive = false; in onPause()
186 mIsActive = true; in onResume()
DAlbumSetPage.java84 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()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWakeupController.java116 private boolean mIsActive = false; field in WakeupController
211 if (mIsActive != isActive) { in setActive()
213 mIsActive = isActive; in setActive()
251 if (mIsActive) { in setLastDisconnectInfo()
289 if (mIsActive) { in start()
426 if (!isEnabledAndReady() || !mIsActive) { in handleScanResults()
506 pw.println("mIsActive: " + mIsActive); in dump()
516 return mIsActive; in getData()
521 mIsActive = data; in setData()
/packages/apps/Settings/src/com/android/settings/network/helper/
DSubscriptionAnnotation.java39 private boolean mIsActive; field in SubscriptionAnnotation
89 mIsActive = activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex()); in SubscriptionAnnotation()
95 mIsActive = (mSubInfo.getSimSlotIndex() > SubscriptionManager.INVALID_SIM_SLOT_INDEX) in SubscriptionAnnotation()
115 return mIsActive; in isActive()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DSyncStateSwitchPreference.java35 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/
DSyncStateSwitchPreference.java36 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/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DVolumeGroupBuilder.java62 private boolean mIsActive = true; field in VolumeGroupBuilder
122 mIsActive = isActive; in setIsActive()
181 when(carVolumeGroup.isActive()).thenReturn(mIsActive); in build()
183 when(carVolumeGroup.audioDevicesAdded(anyList())).thenReturn(!mIsActive); in build()
184 when(carVolumeGroup.audioDevicesRemoved(anyList())).thenReturn(!mIsActive); in build()
DAudioPlaybackConfigurationBuilder.java36 private boolean mIsActive = true; field in AudioPlaybackConfigurationBuilder
51 mIsActive = false; in setInactive()
66 when(configuration.isActive()).thenReturn(mIsActive); in build()
DTestCarAudioDeviceInfoBuilder.java44 private boolean mIsActive = true; field in TestCarAudioDeviceInfoBuilder
73 mIsActive = isActive; in setIsActive()
93 when(infoMock.isActive()).thenReturn(mIsActive); in build()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java77 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()
DAlbumSetSlidingWindow.java69 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/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java96 private boolean mIsActive; field in CarAudioDeviceInfo
334 mIsActive = true; in setAudioDeviceInfoWithNewInfoLocked()
368 mIsActive = false; in resetAudioDeviceInfoToDefaultLocked()
378 return mIsActive; in isActiveLocked()
466 writer.printf("Is active (%b)\n", mIsActive); in dump()
493 proto.write(CarAudioDeviceInfoProto.IS_ACTIVE , mIsActive); in dumpProto()
/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.cpp75 mIsActive(mEventActivationMap.empty()), in MetricProducer()
119 if (!mIsActive) { in onMatchedLogEventLocked()
236 if (!mIsActive) { in flushIfExpire()
245 mIsActive = false; in flushIfExpire()
264 if (!mIsActive) { // Metric was previously inactive and now is active. in activateLocked()
267 mIsActive = true; in activateLocked()
304 mIsActive = true; in loadActiveMetricLocked()
DGaugeMetricProducer.h85 return mIsActive && (mCondition == ConditionState::kTrue) && in isPullNeeded()
92 if (mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE && mIsActive) { in notifyAppUpgradeInternalLocked()
102 if (mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE && mIsActive) { in onStatsdInitCompleted()
DValueMetricProducer.cpp146 mConditionTimer.onConditionChanged(mIsActive && mCondition == ConditionState::kTrue, in ValueMetricProducer()
164 if (isPulled() && mCondition == ConditionState::kTrue && mIsActive) { in onStatsdInitCompleted()
173 if (isPulled() && mCondition == ConditionState::kTrue && mIsActive) { in notifyAppUpgradeInternalLocked()
275 if (mCondition != ConditionState::kTrue || !mIsActive) { in onStateChanged()
338 if (isPulled() && mCondition == ConditionState::kTrue && mIsActive) { in onDumpReportLocked()
495 if (!mIsActive) { in skipCurrentBucket()
551 if (!mIsActive) { in onConditionChangedLocked()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsImsManager.java735 boolean mIsActive; field in QnsImsManager.QnsSipDialogStateCallback
738 return mIsActive; in isActive()
745 if (!mIsActive) { in onActiveSipDialogsChanged()
746 mIsActive = true; in onActiveSipDialogsChanged()
747 notifySipDialogSessionStateChanged(mIsActive); in onActiveSipDialogsChanged()
752 if (mIsActive) { in onActiveSipDialogsChanged()
753 mIsActive = false; in onActiveSipDialogsChanged()
754 notifySipDialogSessionStateChanged(mIsActive); in onActiveSipDialogsChanged()
760 mIsActive = false; in onError()
761 notifySipDialogSessionStateChanged(mIsActive); in onError()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddFragment.java66 private boolean mIsActive; field in DeviceAdminAddFragment
234 mIsActive = mDpm.isAdminActive(mAdminComponentToUninstall); in startUninstall()
235 if (mIsActive) { in startUninstall()
259 if (mIsActive) { in onActivityResult()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/
DNearestTouchFrame.java45 private final boolean mIsActive; field in NearestTouchFrame
74 mIsActive = c.smallestScreenWidthDp < 600; in NearestTouchFrame()
180 if (mIsActive) {

12