Searched refs:FUNCTION_MTP (Results 1 – 5 of 5) sorted by relevance
152 UsbManager.FUNCTION_MTP)); in setFunctionsMtp()153 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in setFunctionsMtp()243 UsbManager.FUNCTION_MTP)); in userSwitchedDisablesMtp()244 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in userSwitchedDisablesMtp()256 UsbManager.FUNCTION_MTP)); in changedRestrictionsDisablesMtp()257 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in changedRestrictionsDisablesMtp()270 UsbManager.FUNCTION_MTP)); in disconnectResetsCharging()271 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in disconnectResetsCharging()283 UsbManager.FUNCTION_MTP)); in configuredSendsBroadcast()284 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in configuredSendsBroadcast()[all …]
328 public static final long FUNCTION_MTP = GadgetFunction.MTP; field in UsbManager366 private static final long SETTABLE_FUNCTIONS = FUNCTION_MTP | FUNCTION_PTP | FUNCTION_RNDIS372 FUNCTION_NAME_TO_CODE.put(UsbManager.USB_FUNCTION_MTP, FUNCTION_MTP); in FUNCTION_NAME_TO_CODE.put() argument912 if ((functions & FUNCTION_MTP) != 0) { in usbFunctionsToString()
275 mControlFds.put(UsbManager.FUNCTION_MTP, mtpFd); in UsbDeviceManager()1020 return (functions & UsbManager.FUNCTION_MTP) != 0 in isUsbDataTransferActive()1055 if (mCurrentFunctions == UsbManager.FUNCTION_MTP) { in updateUsbNotification()1235 return UsbManager.FUNCTION_MTP; in getChargingFunctions()2027 } else if (functions == UsbManager.FUNCTION_MTP) { in setCurrentFunctions()
51 FUNCTION_MTP = 4; enumerator
27071 Landroid/hardware/usb/UsbManager;->FUNCTION_MTP:J