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()
181 UsbManager.FUNCTION_PTP)); in setFunctionsPtp()182 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_PTP, 0); in setFunctionsPtp()
127 testGetCurrentFunctionsMock_Matched(UsbManager.FUNCTION_PTP); in testGetCurrentFunctions_shouldMatched()136 testSetCurrentFunctionsMock_Matched(UsbManager.FUNCTION_PTP); in testSetCurrentFunctions_shouldMatched()
647 public static final long FUNCTION_PTP = 1 << 4; field in UsbManager706 private static final long SETTABLE_FUNCTIONS = FUNCTION_MTP | FUNCTION_PTP | FUNCTION_RNDIS718 FUNCTION_NAME_TO_CODE.put(UsbManager.USB_FUNCTION_PTP, FUNCTION_PTP); in FUNCTION_NAME_TO_CODE.put() argument732 FUNCTION_PTP,1784 if ((functions & FUNCTION_PTP) != 0) { in usbFunctionsToString()
325 mControlFds.put(UsbManager.FUNCTION_PTP, ptpFd); in UsbDeviceManager()1284 || (functions & UsbManager.FUNCTION_PTP) != 0; in isUsbDataTransferActive()1342 } else if (mCurrentFunctions == UsbManager.FUNCTION_PTP) { in updateUsbNotification()2428 } else if (functions == UsbManager.FUNCTION_PTP) { in setCurrentFunctions()
54 FUNCTION_PTP = 16; enumerator
6067 field public static final long FUNCTION_PTP = 16L; // 0x10L
22415 Landroid/hardware/usb/UsbManager;->FUNCTION_PTP:J