Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DSystemStateProvider.java35 public void onCarModeChanged(boolean isCarMode); in onCarModeChanged() argument
82 public boolean isCarMode() { in isCarMode() method in SystemStateProvider
DInCallController.java317 public synchronized void setCarMode(boolean isCarMode) { in setCarMode() argument
318 Log.i(this, "carmodechange: " + mIsCarMode + " => " + isCarMode); in setCarMode()
319 if (isCarMode != mIsCarMode) { in setCarMode()
320 mIsCarMode = isCarMode; in setCarMode()
524 public void onCarModeChanged(boolean isCarMode) {
827 return mSystemStateProvider.isCarMode(); in shouldUseCarModeUI()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSystemStateProviderTest.java76 assertTrue(new SystemStateProvider(mContext).isCarMode()); in testQuerySystemForCarMode_True()
83 assertFalse(new SystemStateProvider(mContext).isCarMode()); in testQuerySystemForCarMode_False()