Searched refs:FUNCTION_PTP (Results 1 – 8 of 8) sorted by relevance
101 assertSettableFunctions(true, UsbManager.FUNCTION_PTP); in testUsbManager_AreSettableFunctions()107 assertSettableFunctions(false, UsbManager.FUNCTION_MTP | UsbManager.FUNCTION_PTP); in testUsbManager_AreSettableFunctions()108 assertSettableFunctions(false, UsbManager.FUNCTION_PTP | UsbManager.FUNCTION_RNDIS); in testUsbManager_AreSettableFunctions()
163 UsbManager.FUNCTION_PTP)); in setFunctionsPtp()164 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_PTP, 0); in setFunctionsPtp()
117 testGetCurrentFunctionsMock_Matched(UsbManager.FUNCTION_PTP); in testGetCurrentFunctions_shouldMatched()125 testSetCurrentFunctionsMock_Matched(UsbManager.FUNCTION_PTP); in testSetCurrentFunctions_shouldMatched()
577 public static final long FUNCTION_PTP = GadgetFunction.PTP; field in UsbManager621 private static final long SETTABLE_FUNCTIONS = FUNCTION_MTP | FUNCTION_PTP | FUNCTION_RNDIS628 FUNCTION_NAME_TO_CODE.put(UsbManager.USB_FUNCTION_PTP, FUNCTION_PTP); in FUNCTION_NAME_TO_CODE.put() argument641 FUNCTION_PTP,1322 if ((functions & FUNCTION_PTP) != 0) { in usbFunctionsToString()
309 mControlFds.put(UsbManager.FUNCTION_PTP, ptpFd); in UsbDeviceManager()1133 || (functions & UsbManager.FUNCTION_PTP) != 0; in isUsbDataTransferActive()1190 } else if (mCurrentFunctions == UsbManager.FUNCTION_PTP) { in updateUsbNotification()2243 } else if (functions == UsbManager.FUNCTION_PTP) { in setCurrentFunctions()
54 FUNCTION_PTP = 16; enumerator
4485 field public static final long FUNCTION_PTP = 16L; // 0x10L
25293 Landroid/hardware/usb/UsbManager;->FUNCTION_PTP:J