Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DFiraDecoder.java190 private static boolean isBitSet(int flags, int mask) { in isBitSet() method in FiraDecoder
210 if (isBitSet(deviceRolesUci, INITIATOR)) { in getFiraSpecificationParamsFromTlvBuffer()
215 if (isBitSet(deviceRolesUci, RESPONDER)) { in getFiraSpecificationParamsFromTlvBuffer()
225 if (isBitSet(rangingMethodUci, DS_TWR_DEFERRED)) { in getFiraSpecificationParamsFromTlvBuffer()
228 if (isBitSet(rangingMethodUci, SS_TWR_DEFERRED)) { in getFiraSpecificationParamsFromTlvBuffer()
234 if (isBitSet(rangingMethodUci, DS_TWR_NON_DEFERRED) in getFiraSpecificationParamsFromTlvBuffer()
235 || isBitSet(rangingMethodUci, SS_TWR_NON_DEFERRED)) { in getFiraSpecificationParamsFromTlvBuffer()
241 if (isBitSet(stsConfigUci, STATIC_STS)) { in getFiraSpecificationParamsFromTlvBuffer()
244 if (isBitSet(stsConfigUci, DYNAMIC_STS)) { in getFiraSpecificationParamsFromTlvBuffer()
247 if (isBitSet(stsConfigUci, DYNAMIC_STS_RESPONDER_SPECIFIC_SUBSESSION_KEY)) { in getFiraSpecificationParamsFromTlvBuffer()
[all …]
DAliroDecoder.java104 private static boolean isBitSet(int flags, int mask) { in isBitSet() method in AliroDecoder
154 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_3)) { in getAliroSpecificationParamsFromTlvBuffer()
157 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_4)) { in getAliroSpecificationParamsFromTlvBuffer()
160 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_6)) { in getAliroSpecificationParamsFromTlvBuffer()
163 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_8)) { in getAliroSpecificationParamsFromTlvBuffer()
166 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_9)) { in getAliroSpecificationParamsFromTlvBuffer()
169 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_12)) { in getAliroSpecificationParamsFromTlvBuffer()
172 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_24)) { in getAliroSpecificationParamsFromTlvBuffer()
190 if (isBitSet(syncCodes, 1 << i)) { in getAliroSpecificationParamsFromTlvBuffer()
204 if (isBitSet(channels, CCC_CHANNEL_5)) { in getAliroSpecificationParamsFromTlvBuffer()
[all …]
DCccDecoder.java104 private static boolean isBitSet(int flags, int mask) { in isBitSet() method in CccDecoder
161 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_3)) { in getCccSpecificationParamsFromTlvBuffer()
164 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_4)) { in getCccSpecificationParamsFromTlvBuffer()
167 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_6)) { in getCccSpecificationParamsFromTlvBuffer()
170 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_8)) { in getCccSpecificationParamsFromTlvBuffer()
173 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_9)) { in getCccSpecificationParamsFromTlvBuffer()
176 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_12)) { in getCccSpecificationParamsFromTlvBuffer()
179 if (isBitSet(chapsPerslot, CCC_CHAPS_PER_SLOT_24)) { in getCccSpecificationParamsFromTlvBuffer()
196 if (isBitSet(syncCodes, 1 << i)) { in getCccSpecificationParamsFromTlvBuffer()
210 if (isBitSet(channels, CCC_CHANNEL_5)) { in getCccSpecificationParamsFromTlvBuffer()
[all …]
DRadarDecoder.java39 private static boolean isBitSet(int flags, int mask) { in isBitSet() method in RadarDecoder
48 if (isBitSet(radarCapabilities, RADAR_SWEEP_SAMPLES_SUPPORTED)) { in getRadarSpecificationParamsFromTlvBuffer()
DFiraEncoder.java173 if (deviceType == FiraParams.RANGING_DEVICE_TYPE_CONTROLLER && UwbUtil.isBitSet( in getTlvBufferFromFiraOpenSessionParams()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DUwbCapability.java334 private static boolean isBitSet(int flags, int mask) { in isBitSet() method in UwbCapability
644 if (isBitSet(deviceRolesRaw, INITIATOR)) { in fromBytes()
650 if (isBitSet(deviceRolesRaw, RESPONDER)) { in fromBytes()
665 if (isBitSet(stsConfigRaw, STATIC_STS)) { in fromBytes()
668 if (isBitSet(stsConfigRaw, DYNAMIC_STS)) { in fromBytes()
671 if (isBitSet(stsConfigRaw, DYNAMIC_STS_RESPONDER_SPECIFIC_SUBSESSION_KEY)) { in fromBytes()
682 if (isBitSet(multiNodeRaw, UNICAST)) { in fromBytes()
685 if (isBitSet(multiNodeRaw, ONE_TO_MANY)) { in fromBytes()
688 if (isBitSet(multiNodeRaw, MANY_TO_MANY)) { in fromBytes()
713 if (isBitSet(channelsRaw, CHANNEL_5)) { in fromBytes()
[all …]
DConfigurationParams.java302 private static boolean isBitSet(int flags, int mask) { in isBitSet() method in ConfigurationParams
414 if (isBitSet(aoaSupportRaw, AOA_AZIMUTH_90)) { in fromBytes()
417 if (isBitSet(aoaSupportRaw, AOA_AZIMUTH_180)) { in fromBytes()
420 if (isBitSet(aoaSupportRaw, AOA_ELEVATION)) { in fromBytes()
423 if (isBitSet(aoaSupportRaw, AOA_FOM)) { in fromBytes()
/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DUwbUtil.java162 public static boolean isBitSet(int flags, int mask) { in isBitSet() method in UwbUtil
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSessionManager.java3145 && UwbUtil.isBitSet(firaOpenSessionParams.getReferenceTimeBase(), in updateFiraParamsForSessionTimeBase()