Searched refs:FUNCTION_PTP (Results 1 – 4 of 4) sorted by relevance
313 public static final long FUNCTION_PTP = GadgetFunction.PTP; field in UsbManager345 private static final long SETTABLE_FUNCTIONS = FUNCTION_MTP | FUNCTION_PTP | FUNCTION_RNDIS352 FUNCTION_NAME_TO_CODE.put(UsbManager.USB_FUNCTION_PTP, FUNCTION_PTP); in FUNCTION_NAME_TO_CODE.put() argument882 if ((functions & FUNCTION_PTP) != 0) { in usbFunctionsToString()
163 UsbManager.FUNCTION_PTP)); in setFunctionsPtp()164 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_PTP, 0); in setFunctionsPtp()
285 mControlFds.put(UsbManager.FUNCTION_PTP, ptpFd); in UsbDeviceManager()1041 || (functions & UsbManager.FUNCTION_PTP) != 0; in isUsbDataTransferActive()1078 } else if (mCurrentFunctions == UsbManager.FUNCTION_PTP) { in updateUsbNotification()2025 } else if (functions == UsbManager.FUNCTION_PTP) { in setCurrentFunctions()
53 FUNCTION_PTP = 16; enumerator