Searched refs:isInCarMode (Results 1 – 5 of 5) sorted by relevance
70 assertTrue(mCarModeTracker.isInCarMode()); in testEnterCarModeBasic()110 assertFalse(mCarModeTracker.isInCarMode()); in testForceExitCarMode()235 assertTrue(mCarModeTracker.isInCarMode()); in testSetAutomotiveProjectionBasic()248 assertTrue(mCarModeTracker.isInCarMode()); in testSetAutomotiveProjectionMultipleTimes()262 assertTrue(mCarModeTracker.isInCarMode()); in testSetAutomotiveProjectionMultipleTimesDifferentPackages()275 assertFalse(mCarModeTracker.isInCarMode()); in testReleaseAutomotiveProjectionBasic()281 assertFalse(mCarModeTracker.isInCarMode()); in testReleaseAutomotiveProjectionBasic()294 assertTrue(mCarModeTracker.isInCarMode()); in testAutomotiveProjectionOverridesCarMode()302 assertTrue(mCarModeTracker.isInCarMode()); in testAutomotiveProjectionOverridesCarMode()309 assertTrue(mCarModeTracker.isInCarMode()); in testAutomotiveProjectionOverridesCarMode()[all …]
286 assertTrue(mCarModeTracker.isInCarMode()); in testCarModeAppRemoval()290 assertFalse(mCarModeTracker.isInCarMode()); in testCarModeAppRemoval()307 assertTrue(mCarModeTracker.isInCarMode()); in testRandomAppRemovalInCarMode()311 assertTrue(mCarModeTracker.isInCarMode()); in testRandomAppRemovalInCarMode()325 assertTrue(mCarModeTracker.isInCarMode()); in testAutomotiveProjectionAppRemoval()329 assertFalse(mCarModeTracker.isInCarMode()); in testAutomotiveProjectionAppRemoval()
151 private void setIsInCarMode(boolean isInCarMode) { in setIsInCarMode() argument152 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(isInCarMode); in setIsInCarMode()
255 public boolean isInCarMode() { in isInCarMode() method in CarModeTracker
1754 return mCarModeTracker.isInCarMode(); in shouldUseCarModeUI()