Home
last modified time | relevance | path

Searched refs:mSystemStateListener (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSystemStateHelperTest.java69 @Mock SystemStateListener mSystemStateListener; field in SystemStateHelperTest
107 assertFalse(systemStateHelper.removeListener(mSystemStateListener)); in testListeners()
108 systemStateHelper.addListener(mSystemStateListener); in testListeners()
109 assertTrue(systemStateHelper.removeListener(mSystemStateListener)); in testListeners()
110 assertFalse(systemStateHelper.removeListener(mSystemStateListener)); in testListeners()
148 new SystemStateHelper(mContext).addListener(mSystemStateListener); in testOnEnterExitCarMode()
154 verify(mSystemStateListener).onCarModeChanged(anyInt(), isNull(), eq(true)); in testOnEnterExitCarMode()
158 verify(mSystemStateListener).onCarModeChanged(anyInt(), isNull(), eq(false)); in testOnEnterExitCarMode()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java904 private final SystemStateListener mSystemStateListener = field in InCallController
956 mSystemStateHelper.addListener(mSystemStateListener); in InCallController()