Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSystemStateHelperTest.java127 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForCarMode_True()
134 assertFalse(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForCarMode_False()
142 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjection_True()
146 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjection_True()
154 assertFalse(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjection_False()
163 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjectionAndCarMode_True()
172 assertFalse(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjectionOrCarMode_nullService()
DInCallControllerTests.java349 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testCarModeAppRemoval()
370 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testRandomAppRemovalInCarMode()
388 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testAutomotiveProjectionAppRemoval()
960 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testBindToService_CarModeUI_Crash()
1312 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testBindToService_CarModeUI()
1341 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testNoBindToInvalidService_CarModeUI()
1528 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testCarmodeRebindHigherPriority()
1674 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testBindToService_SelfManagedCarModeUI()
1712 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testBindToService_SelfManagedNoCarModeUI()
DCallRedirectionProcessorTest.java152 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(isInCarMode); in setIsInCarMode()
DNewOutgoingCallIntentBroadcasterTest.java119 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(false); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/
DSystemStateHelper.java174 public boolean isCarModeOrProjectionActive() { in isCarModeOrProjectionActive() method in SystemStateHelper
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
DCallRedirectionProcessor.java335 … mAllowInteractiveResponse = !callsManager.getSystemStateHelper().isCarModeOrProjectionActive(); in CallRedirectionProcessor()