Searched refs:isCarMode (Results 1 – 7 of 7) sorted by relevance
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallController.java | 545 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()
|
D | SystemStateHelper.java | 50 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/ |
D | SystemStateHelperTest.java | 118 assertTrue(new SystemStateHelper(mContext).isCarMode()); in testQuerySystemForCarMode_True() 126 assertFalse(new SystemStateHelper(mContext).isCarMode()); in testQuerySystemForCarMode_False()
|
D | InCallControllerTests.java | 743 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()
|
D | CallRedirectionProcessorTest.java | 154 when(mSystemStateHelper.isCarMode()).thenReturn(isInCarMode); in setIsInCarMode()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 113 when(mSystemStateHelper.isCarMode()).thenReturn(false); in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/ |
D | CallRedirectionProcessor.java | 297 mAllowInteractiveResponse = !callsManager.getSystemStateHelper().isCarMode(); in CallRedirectionProcessor()
|