Searched refs:FUNCTION_MTP (Results 1 – 4 of 4) sorted by relevance
155 UsbManager.FUNCTION_MTP)); in setFunctionsMtp()156 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in setFunctionsMtp()249 UsbManager.FUNCTION_MTP)); in userSwitchedDisablesMtp()250 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in userSwitchedDisablesMtp()262 UsbManager.FUNCTION_MTP)); in changedRestrictionsDisablesMtp()263 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in changedRestrictionsDisablesMtp()276 UsbManager.FUNCTION_MTP)); in disconnectResetsCharging()277 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in disconnectResetsCharging()289 UsbManager.FUNCTION_MTP)); in configuredSendsBroadcast()290 assertNotEquals(mUsbHandler.getEnabledFunctions() & UsbManager.FUNCTION_MTP, 0); in configuredSendsBroadcast()[all …]
307 public static final long FUNCTION_MTP = GadgetFunction.MTP; field in UsbManager345 private static final long SETTABLE_FUNCTIONS = FUNCTION_MTP | FUNCTION_PTP | FUNCTION_RNDIS351 FUNCTION_NAME_TO_CODE.put(UsbManager.USB_FUNCTION_MTP, FUNCTION_MTP); in FUNCTION_NAME_TO_CODE.put() argument879 if ((functions & FUNCTION_MTP) != 0) { in usbFunctionsToString()
280 mControlFds.put(UsbManager.FUNCTION_MTP, mtpFd); in UsbDeviceManager()1040 return (functions & UsbManager.FUNCTION_MTP) != 0 in isUsbDataTransferActive()1075 if (mCurrentFunctions == UsbManager.FUNCTION_MTP) { in updateUsbNotification()1243 return UsbManager.FUNCTION_MTP; in getChargingFunctions()2023 } else if (functions == UsbManager.FUNCTION_MTP) { in setCurrentFunctions()
51 FUNCTION_MTP = 4; enumerator