Home
last modified time | relevance | path

Searched refs:deviceIntent (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaControlInteractorTest.kt153 val deviceIntent = mock<PendingIntent> { whenever(it.isActivity).thenReturn(true) } in startDeviceIntent_showOverLockscreen() constant
155 underTest.startDeviceIntent(deviceIntent) in startDeviceIntent_showOverLockscreen()
157 verify(deviceIntent).send(any<Bundle>()) in startDeviceIntent_showOverLockscreen()
166 val deviceIntent = mock<PendingIntent> { whenever(it.isActivity).thenReturn(false) } in startDeviceIntent_intentNotActivity() constant
168 underTest.startDeviceIntent(deviceIntent) in startDeviceIntent_intentNotActivity()
170 verify(deviceIntent, never()).send(any<Bundle>()) in startDeviceIntent_intentNotActivity()
177 val deviceIntent = mock<PendingIntent> { whenever(it.isActivity).thenReturn(true) } in startDeviceIntent_hideOverLockscreen() constant
179 underTest.startDeviceIntent(deviceIntent) in startDeviceIntent_hideOverLockscreen()
181 verify(activityStarter).postStartActivityDismissingKeyguard(eq(deviceIntent)) in startDeviceIntent_hideOverLockscreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaControlInteractor.kt126 fun startDeviceIntent(deviceIntent: PendingIntent) { in <lambda>()
127 if (deviceIntent.isActivity) { in <lambda>()
128 if (!launchOverLockscreen(deviceIntent)) { in <lambda>()
129 activityStarter.postStartActivityDismissingKeyguard(deviceIntent) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt811 val deviceIntent = in <lambda>() constant
820 val enabled = deviceIntent != null && deviceIntent.isActivity in <lambda>()
829 deviceIntent, in <lambda>()
DLegacyMediaDataManagerImpl.kt866 val deviceIntent = in loadMediaDataInBg() constant
875 val enabled = deviceIntent != null && deviceIntent.isActivity in loadMediaDataInBg()
884 deviceIntent, in loadMediaDataInBg()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java752 PendingIntent deviceIntent = device.getIntent(); in bindOutputSwitcherAndBroadcastButton()
755 deviceIntent, mLockscreenUserManager.getCurrentUserId()); in bindOutputSwitcherAndBroadcastButton()
756 if (deviceIntent.isActivity()) { in bindOutputSwitcherAndBroadcastButton()
759 deviceIntent); in bindOutputSwitcherAndBroadcastButton()
766 deviceIntent.send(options.toBundle()); in bindOutputSwitcherAndBroadcastButton()