Home
last modified time | relevance | path

Searched refs:hasOngoingCall (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallControllerTest.kt407 assertThat(controller.hasOngoingCall()).isFalse() in hasOngoingCall_noOngoingCallNotifSent_returnsFalse()
414 assertThat(controller.hasOngoingCall()).isFalse() in hasOngoingCall_unrelatedNotifSent_returnsFalse()
421 assertThat(controller.hasOngoingCall()).isFalse() in hasOngoingCall_screeningCallNotifSent_returnsFalse()
431 assertThat(controller.hasOngoingCall()).isTrue() in hasOngoingCall_ongoingCallNotifSentAndCallAppNotVisible_returnsTrue()
441 assertThat(controller.hasOngoingCall()).isFalse() in hasOngoingCall_ongoingCallNotifSentButCallAppVisible_returnsFalse()
451 assertThat(controller.hasOngoingCall()).isFalse() in hasOngoingCall_ongoingCallNotifSentButInvalidChipView_returnsFalse()
461 assertThat(controller.hasOngoingCall()).isFalse() in hasOngoingCall_ongoingCallNotifSentThenRemoved_returnsFalse()
469 assertThat(controller.hasOngoingCall()).isFalse() in hasOngoingCall_ongoingCallNotifSentThenScreeningCallNotifSent_returnsFalse()
477 assertThat(controller.hasOngoingCall()).isTrue() in hasOngoingCall_ongoingCallNotifSentThenUnrelatedNotifSent_returnsTrue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/
DCollapsedStatusBarFragmentTest.java427 when(mOngoingCallController.hasOngoingCall()).thenReturn(false); in disable_noOngoingCall_chipHidden()
440 when(mOngoingCallController.hasOngoingCall()).thenReturn(true); in disable_hasOngoingCall_chipDisplayedAndNotificationIconsHidden()
454 when(mOngoingCallController.hasOngoingCall()).thenReturn(true); in disable_hasOngoingCallButNotificationIconsDisabled_chipHidden()
468 when(mOngoingCallController.hasOngoingCall()).thenReturn(true); in disable_hasOngoingCallButAlsoHun_chipHidden()
483 when(mOngoingCallController.hasOngoingCall()).thenReturn(true); in disable_ongoingCallEnded_chipHidden()
490 when(mOngoingCallController.hasOngoingCall()).thenReturn(false); in disable_ongoingCallEnded_chipHidden()
497 when(mOngoingCallController.hasOngoingCall()).thenReturn(true); in disable_ongoingCallEnded_chipHidden()
513 when(mOngoingCallController.hasOngoingCall()).thenReturn(true); in disable_hasOngoingCall_hidesNotifsWithoutAnimation()
527 when(mOngoingCallController.hasOngoingCall()).thenReturn(true); in screenSharingChipsDisabled_ignoresNewCallback()
539 when(mOngoingCallController.hasOngoingCall()).thenReturn(false); in screenSharingChipsDisabled_ignoresNewCallback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/repository/
DStatusBarModePerDisplayRepository.kt238 hasOngoingCall = ongoingCallState is OngoingCallModel.InCall, in isTransientShown()
259 hasOngoingCall: Boolean, in toBarMode()
262 hasOngoingCall && isInFullscreenMode -> StatusBarMode.SEMI_TRANSPARENT in toBarMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallController.kt162 if (hasOngoingCall()) { in <lambda>()
179 fun hasOngoingCall(): Boolean { in <lambda>() method in com.android.systemui.statusbar.phone.ongoingcall.OngoingCallController
187 if (hasOngoingCall()) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
DCollapsedStatusBarFragment.java606 showOngoingActivityChip = mOngoingCallController.hasOngoingCall(); in calculateInternalModel()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2467 boolean hasOngoingCall = false; in notifyPreciseCallState()
2470 hasOngoingCall = true; in notifyPreciseCallState()
2474 if (!hasOngoingCall) { in notifyPreciseCallState()