Home
last modified time | relevance | path

Searched refs:mSystemStateHelper (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioModeStateMachineTest.java59 @Mock private SystemStateHelper mSystemStateHelper; field in CallAudioModeStateMachineTest
89 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testNoFocusWhenRingerSilenced()
121 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testSwitchToStreamingMode()
151 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testExitStreamingMode()
179 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testNoRingWhenDeviceIsAtEar()
193 when(mSystemStateHelper.isDeviceAtEar()).thenReturn(true); in testNoRingWhenDeviceIsAtEar()
215 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testRegainFocusWhenHfpIsConnectedSilenced()
259 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testDoNotRingTwiceWhenHfpConnected()
297 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testStartRingingAfterHfpConnectedIfNotAlreadyPlaying()
335 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testAudioFocusRequestWithResolveHiddenDependencies()
DCallRedirectionProcessorTest.java83 @Mock private SystemStateHelper mSystemStateHelper; field in CallRedirectionProcessorTest
129 when(mCallsManager.getSystemStateHelper()).thenReturn(mSystemStateHelper); in setUp()
152 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(isInCarMode); in setIsInCarMode()
DNewOutgoingCallIntentBroadcasterTest.java93 @Mock private SystemStateHelper mSystemStateHelper; field in NewOutgoingCallIntentBroadcasterTest
110 when(mCallsManager.getSystemStateHelper()).thenReturn(mSystemStateHelper); in setUp()
119 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(false); in setUp()
DCallAudioModeTransitionTests.java106 @Mock private SystemStateHelper mSystemStateHelper; field in CallAudioModeTransitionTests
136 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in modeTransitionTest()
DCallsManagerTest.java284 @Mock private SystemStateHelper mSystemStateHelper; field in CallsManagerTest
368 mSystemStateHelper, in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioModeStateMachine.java855 if (args.hasHoldingCalls && mSystemStateHelper.isDeviceAtEar()) { in processMessage()
894 private final SystemStateHelper mSystemStateHelper; field in CallAudioModeStateMachine
907 mSystemStateHelper = systemStateHelper; in CallAudioModeStateMachine()
923 mSystemStateHelper = systemStateHelper; in CallAudioModeStateMachine()
DInCallController.java1238 private final SystemStateHelper mSystemStateHelper; field in InCallController
1321 mSystemStateHelper = systemStateHelper; in InCallController()
1326 mSystemStateHelper.addListener(mSystemStateListener); in InCallController()
DCallsManager.java455 private final SystemStateHelper mSystemStateHelper; field in CallsManager
630 mSystemStateHelper = systemStateHelper; in CallsManager()
5710 return mSystemStateHelper;