Searched refs:MODE_DATA_MASK (Results 1 – 1 of 1) sorted by relevance
34 private static final int MODE_DATA_MASK = 0x03 << 1; field in UsbBackend128 int dataRole = (mode & MODE_DATA_MASK) == MODE_DATA_NONE in setMode()133 setUsbFunction(mode & MODE_DATA_MASK); in setMode()142 if (mRestricted && (mode & MODE_DATA_MASK) != MODE_DATA_NONE in isModeDisallowed()143 && (mode & MODE_DATA_MASK) != MODE_DATA_MIDI) { in isModeDisallowed()151 if (mRestrictedBySystem && (mode & MODE_DATA_MASK) != MODE_DATA_NONE in isModeDisallowedBySystem()152 && (mode & MODE_DATA_MASK) != MODE_DATA_MIDI) { in isModeDisallowedBySystem()160 if (!mMidi && (mode & MODE_DATA_MASK) == MODE_DATA_MIDI) { in isModeSupported()166 if ((mode & MODE_DATA_MASK) != 0) { in isModeSupported()