Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/connecteddevice/
DAdvancedConnectedDeviceController.java58 isDrivingModeAvailable(context)); in getConnectedDevicesSummaryResourceId()
62 static boolean isDrivingModeAvailable(Context context) { in isDrivingModeAvailable() method in AdvancedConnectedDeviceController
69 nfcPreferenceController, boolean isDrivingModeAvailable) { in getConnectedDevicesSummaryResourceId() argument
73 if (isDrivingModeAvailable) { in getConnectedDevicesSummaryResourceId()
81 if (isDrivingModeAvailable) { in getConnectedDevicesSummaryResourceId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/
DAdvancedConnectedDeviceController.java58 isDrivingModeAvailable(context)); in getConnectedDevicesSummaryResourceId()
62 static boolean isDrivingModeAvailable(Context context) { in isDrivingModeAvailable() method in AdvancedConnectedDeviceController
69 nfcPreferenceController, boolean isDrivingModeAvailable) { in getConnectedDevicesSummaryResourceId() argument
73 if (isDrivingModeAvailable) { in getConnectedDevicesSummaryResourceId()
81 if (isDrivingModeAvailable) { in getConnectedDevicesSummaryResourceId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DAdvancedConnectedDeviceControllerTest.java79 assertThat(AdvancedConnectedDeviceController.isDrivingModeAvailable(mContext)).isTrue(); in isDrivingModeAvailable_returnTrue()
86 assertThat(AdvancedConnectedDeviceController.isDrivingModeAvailable(mContext)).isFalse(); in isDrivingModeAvailable_returnFalse()