Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java163 byte bitMask = (byte) (1 << (featureId % 8)); in supportsFeature()
164 return (mPlayerFeatures[byteNumber] & bitMask) == bitMask; in supportsFeature()
341 byte bitMask = (byte) (1 << (feature % 8)); in setSupportedFeature()
342 mSupportedFeatures[byteNumber] = (byte) (mSupportedFeatures[byteNumber] | bitMask); in setSupportedFeature()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java2073 long bitMask, @NonNull NameOf nameFetcher, @NonNull String separator) { in appendStringRepresentationOfBitMaskToStringBuilder() argument
2076 while (bitMask != 0) { in appendStringRepresentationOfBitMaskToStringBuilder()
2077 if ((bitMask & 1) != 0) { in appendStringRepresentationOfBitMaskToStringBuilder()
2085 bitMask >>= 1; in appendStringRepresentationOfBitMaskToStringBuilder()