Home
last modified time | relevance | path

Searched refs:isInCarMode (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCarModeTrackerTest.java70 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 …]
DInCallControllerTests.java286 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()
DCallRedirectionProcessorTest.java151 private void setIsInCarMode(boolean isInCarMode) { in setIsInCarMode() argument
152 when(mSystemStateHelper.isCarModeOrProjectionActive()).thenReturn(isInCarMode); in setIsInCarMode()
/packages/services/Telecomm/src/com/android/server/telecom/
DCarModeTracker.java255 public boolean isInCarMode() { in isInCarMode() method in CarModeTracker
DInCallController.java1754 return mCarModeTracker.isInCarMode(); in shouldUseCarModeUI()