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.java352 public static final long FUNCTION_ACCESSORY = GadgetFunction.ACCESSORY; field in UsbManager
376 FUNCTION_NAME_TO_CODE.put(UsbManager.USB_FUNCTION_ACCESSORY, FUNCTION_ACCESSORY); in FUNCTION_NAME_TO_CODE.put() argument
924 if ((functions & FUNCTION_ACCESSORY) != 0) { in usbFunctionsToString()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java407 functions |= UsbManager.FUNCTION_ACCESSORY; in startAccessoryMode()
808 if ((mCurrentFunctions & UsbManager.FUNCTION_ACCESSORY) != 0) { in handleMessage()
989 if (!mConnected || (mCurrentFunctions & UsbManager.FUNCTION_ACCESSORY) == 0) { in handleMessage()
1067 } else if (mCurrentFunctions == UsbManager.FUNCTION_ACCESSORY) { in updateUsbNotification()
2035 } else if (functions == UsbManager.FUNCTION_ACCESSORY) { in setCurrentFunctions()
/frameworks/base/core/proto/android/service/
Dusb.proto50 FUNCTION_ACCESSORY = 2; enumerator