Searched refs:isCarModeOrProjectionActive (Results 1 – 6 of 6) sorted by relevance
127 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()
349 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()
152 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(isInCarMode); in setIsInCarMode()
119 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(false); in setUp()
174 public boolean isCarModeOrProjectionActive() { in isCarModeOrProjectionActive() method in SystemStateHelper
335 … mAllowInteractiveResponse = !callsManager.getSystemStateHelper().isCarModeOrProjectionActive(); in CallRedirectionProcessor()