Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbBackend.java32 private static final int MODE_DATA_MASK = 0x03 << 1; field in UsbBackend
119 int dataRole = (mode & MODE_DATA_MASK) == MODE_DATA_NONE in setMode()
124 setUsbFunction(mode & MODE_DATA_MASK); in setMode()
133 if (mRestricted && (mode & MODE_DATA_MASK) != MODE_DATA_NONE in isModeSupported()
134 && (mode & MODE_DATA_MASK) != MODE_DATA_MIDI) { in isModeSupported()
140 if ((mode & MODE_DATA_MASK) != 0) { in isModeSupported()