Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java331 public static final long FUNCTION_ACCESSORY = GadgetFunction.ACCESSORY; field in UsbManager
355 FUNCTION_NAME_TO_CODE.put(UsbManager.USB_FUNCTION_ACCESSORY, FUNCTION_ACCESSORY); in FUNCTION_NAME_TO_CODE.put() argument
891 if ((functions & FUNCTION_ACCESSORY) != 0) { in usbFunctionsToString()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java422 functions |= UsbManager.FUNCTION_ACCESSORY; in startAccessoryMode()
815 if ((mCurrentFunctions & UsbManager.FUNCTION_ACCESSORY) != 0) { in handleMessage()
996 if (!mConnected || (mCurrentFunctions & UsbManager.FUNCTION_ACCESSORY) == 0) { in handleMessage()
1087 } else if (mCurrentFunctions == UsbManager.FUNCTION_ACCESSORY) { in updateUsbNotification()
2031 } else if (functions == UsbManager.FUNCTION_ACCESSORY) { in setCurrentFunctions()
/frameworks/base/core/proto/android/service/
Dusb.proto50 FUNCTION_ACCESSORY = 2; enumerator