Home
last modified time | relevance | path

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

/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DSystemStateHelperTest.java126 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForCarMode_True()
133 assertFalse(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForCarMode_False()
141 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjection_True()
145 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjection_True()
153 assertFalse(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjection_False()
162 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjectionAndCarMode_True()
171 assertFalse(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjectionOrCarMode_nullService()
H A DInCallControllerTests.java282 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testCarModeAppRemoval()
303 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testRandomAppRemovalInCarMode()
321 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testAutomotiveProjectionAppRemoval()
864 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testBindToService_CarModeUI()
894 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testNoBindToInvalidService_CarModeUI()
1067 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testCarmodeRebindHigherPriority()
1214 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testBindToService_SelfManagedCarModeUI()
1254 when(mMockSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(true); in testBindToService_SelfManagedNoCarModeUI()
H A DCallRedirectionProcessorTest.java152 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(isInCarMode); in setIsInCarMode()
H A DNewOutgoingCallIntentBroadcasterTest.java113 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(false); in setUp()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DSystemStateHelper.java172 public boolean isCarModeOrProjectionActive() { in isCarModeOrProjectionActive() method in SystemStateHelper
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
H A DCallRedirectionProcessor.java297 … mAllowInteractiveResponse = !callsManager.getSystemStateHelper().isCarModeOrProjectionActive(); in CallRedirectionProcessor()