Home
last modified time | relevance | path

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

/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/
DExtendedAdvertisementUtils.java36 private static final int VERSION_MASK = 0b11100000; field in ExtendedAdvertisementUtils
46 return (byte) ((version << 5) & VERSION_MASK); in constructHeader()
55 return ((advertisement[HEADER_INDEX] & VERSION_MASK) >> HEADER_VERSION_OFFSET) in getVersion()
DFastAdvertisementUtils.java26 private static final int VERSION_MASK = 0b11100000; field in FastAdvertisementUtils
35 return (byte) (((version << 5) & VERSION_MASK) | ((identityType << 1) in constructHeader()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DFeatureVersions.java37 public static final long VERSION_MASK = 0x00F_FFFF_FFFFL; field in FeatureVersions
DDeviceConfigUtils.java27 import static com.android.net.module.util.FeatureVersions.VERSION_MASK;
350 || moduleVersion >= (featureId & VERSION_MASK); in isFeatureSupported()