Home
last modified time | relevance | path

Searched refs:getCurrentMode (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/service/controls/templates/
DControlTemplateTest.java160 assertEquals(TemperatureControlTemplate.MODE_UNKNOWN, thermostat.getCurrentMode()); in testThermostatParams_wrongMode()
168 assertEquals(TemperatureControlTemplate.MODE_UNKNOWN, thermostat.getCurrentMode()); in testThermostatParams_wrongMode()
/frameworks/base/core/java/android/service/controls/templates/
DTemperatureControlTemplate.java228 public int getCurrentMode() { in getCurrentMode() method in TemperatureControlTemplate
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java216 dump.write("current_mode", UsbPortStatusProto.CURRENT_MODE, status.getCurrentMode()); in writePortStatus()
219 UsbPort.modeToString(status.getCurrentMode())); in writePortStatus()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java348 public @UsbPortMode int getCurrentMode() { in getCurrentMode() method in UsbPortStatus
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java586 final int currentMode = portInfo.mUsbPortStatus.getCurrentMode(); in setPortRoles()
1215 || mUsbPortStatus.getCurrentMode() != currentMode in setStatus()
1251 || mUsbPortStatus.getCurrentMode() != currentMode in setStatus()
DUsbDeviceManager.java964 … mAudioAccessoryConnected = (status.getCurrentMode() == MODE_AUDIO_ACCESSORY); in handleMessage()
/frameworks/base/core/api/
Dsystem-current.txt5396 method public int getCurrentMode();
Dcurrent.txt38778 method public int getCurrentMode();