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