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.java49 @Mock private SystemStateHelper mSystemStateHelper; field in CallAudioModeStateMachineTest
74 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testNoFocusWhenRingerSilenced()
106 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testNoRingWhenDeviceIsAtEar()
120 when(mSystemStateHelper.isDeviceAtEar()).thenReturn(true); in testNoRingWhenDeviceIsAtEar()
142 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testRegainFocusWhenHfpIsConnectedSilenced()
186 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testDoNotRingTwiceWhenHfpConnected()
224 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in testStartRingingAfterHfpConnectedIfNotAlreadyPlaying()
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.java89 @Mock private SystemStateHelper mSystemStateHelper; field in NewOutgoingCallIntentBroadcasterTest
104 when(mCallsManager.getSystemStateHelper()).thenReturn(mSystemStateHelper); in setUp()
113 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(false); in setUp()
DCallAudioModeTransitionTests.java103 @Mock private SystemStateHelper mSystemStateHelper; field in CallAudioModeTransitionTests
132 CallAudioModeStateMachine sm = new CallAudioModeStateMachine(mSystemStateHelper, in modeTransitionTest()
DCallsManagerTest.java191 @Mock private SystemStateHelper mSystemStateHelper; field in CallsManagerTest
254 mSystemStateHelper, in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioModeStateMachine.java648 if (args.hasHoldingCalls && mSystemStateHelper.isDeviceAtEar()) { in processMessage()
686 private final SystemStateHelper mSystemStateHelper; field in CallAudioModeStateMachine
696 mSystemStateHelper = systemStateHelper; in CallAudioModeStateMachine()
709 mSystemStateHelper = systemStateHelper; in CallAudioModeStateMachine()
DInCallController.java993 private final SystemStateHelper mSystemStateHelper; field in InCallController
1050 mSystemStateHelper = systemStateHelper; in InCallController()
1055 mSystemStateHelper.addListener(mSystemStateListener); in InCallController()
DCallsManager.java348 private final SystemStateHelper mSystemStateHelper; field in CallsManager
504 mSystemStateHelper = systemStateHelper; in CallsManager()
4594 return mSystemStateHelper;