Home
last modified time | relevance | path

Searched refs:mCurrentFunctions (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java495 protected long mCurrentFunctions; field in UsbDeviceManager.UsbHandler
637 setEnabledFunctions(mCurrentFunctions, true); in setAdbEnabled()
731 isUsbTransferAllowed() && isUsbDataTransferActive(mCurrentFunctions)); in updateUsbStateBroadcastIfNeeded()
762 boolean enabled = (mCurrentFunctions & UsbManager.FUNCTION_MIDI) != 0; in updateMidiFunction()
813 updateUsbStateBroadcastIfNeeded(getAppliedFunctions(mCurrentFunctions)); in handleMessage()
815 if ((mCurrentFunctions & UsbManager.FUNCTION_ACCESSORY) != 0) { in handleMessage()
861 updateUsbStateBroadcastIfNeeded(getAppliedFunctions(mCurrentFunctions)); in handleMessage()
938 && mCurrentFunctions == UsbManager.FUNCTION_NONE) { in handleMessage()
946 if (isUsbDataTransferActive(mCurrentFunctions) && !isUsbTransferAllowed()) { in handleMessage()
996 if (!mConnected || (mCurrentFunctions & UsbManager.FUNCTION_ACCESSORY) == 0) { in handleMessage()
[all …]
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java102 mCurrentFunctions = functions; in setEnabledFunctions()