Home
last modified time | relevance | path

Searched refs:isCarMode (Results 1 – 7 of 7) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java545 public synchronized void chooseInitialInCallService(boolean isCarMode) { in chooseInitialInCallService() argument
546 Log.i(this, "chooseInitialInCallService: " + mIsCarMode + " => " + isCarMode); in chooseInitialInCallService()
547 if (isCarMode != mIsCarMode) { in chooseInitialInCallService()
548 mIsCarMode = isCarMode; in chooseInitialInCallService()
905 (priority, packageName, isCarMode) -> InCallController.this.handleCarModeChange(
906 priority, packageName, isCarMode);
1859 public void handleCarModeChange(int priority, String packageName, boolean isCarMode) { in handleCarModeChange() argument
1861 packageName, priority, isCarMode); in handleCarModeChange()
1868 if (isCarMode) { in handleCarModeChange()
DSystemStateHelper.java50 void onCarModeChanged(int priority, String packageName, boolean isCarMode); in onCarModeChanged() argument
110 public boolean isCarMode() { in isCarMode() method in SystemStateHelper
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSystemStateHelperTest.java118 assertTrue(new SystemStateHelper(mContext).isCarMode()); in testQuerySystemForCarMode_True()
126 assertFalse(new SystemStateHelper(mContext).isCarMode()); in testQuerySystemForCarMode_False()
DInCallControllerTests.java743 when(mMockSystemStateHelper.isCarMode()).thenReturn(true); in testBindToService_CarModeUI()
773 when(mMockSystemStateHelper.isCarMode()).thenReturn(true); in testNoBindToInvalidService_CarModeUI()
842 when(mMockSystemStateHelper.isCarMode()).thenReturn(true); in testCarmodeRebindHigherPriority()
989 when(mMockSystemStateHelper.isCarMode()).thenReturn(true); in testBindToService_SelfManagedCarModeUI()
1029 when(mMockSystemStateHelper.isCarMode()).thenReturn(true); in testBindToService_SelfManagedNoCarModeUI()
DCallRedirectionProcessorTest.java154 when(mSystemStateHelper.isCarMode()).thenReturn(isInCarMode); in setIsInCarMode()
DNewOutgoingCallIntentBroadcasterTest.java113 when(mSystemStateHelper.isCarMode()).thenReturn(false); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
DCallRedirectionProcessor.java297 mAllowInteractiveResponse = !callsManager.getSystemStateHelper().isCarMode(); in CallRedirectionProcessor()