Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DCccEncoder.java137 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromCccOpenRangingParams()
140 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromCccOpenRangingParams()
143 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromCccOpenRangingParams()
146 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromCccOpenRangingParams()
202 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromCccRangingReconfiguredParams()
205 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromCccRangingReconfiguredParams()
208 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromCccRangingReconfiguredParams()
211 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromCccRangingReconfiguredParams()
DAliroEncoder.java138 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromAliroOpenRangingParams()
141 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromAliroOpenRangingParams()
144 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromAliroOpenRangingParams()
147 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromAliroOpenRangingParams()
DFiraEncoder.java205 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromFiraOpenSessionParams()
208 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromFiraOpenSessionParams()
211 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromFiraOpenSessionParams()
214 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromFiraOpenSessionParams()
364 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromFiraRangingReconfigureParams()
367 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromFiraRangingReconfigureParams()
370 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromFiraRangingReconfigureParams()
373 (short) UwbUtil.twos_compliment(UwbUtil.convertFloatToQFormat( in getTlvBufferFromFiraRangingReconfigureParams()
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbOwrAoaMeasurement.java40 UwbUtil.twos_compliment(aoaAzimuth, 16), 9, 7); in UwbOwrAoaMeasurement()
43 UwbUtil.twos_compliment(aoaElevation, 16), 9, 7); in UwbOwrAoaMeasurement()
DUwbDlTDoAMeasurement.java159 return UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(value, 16), in toFloatFromQ9_7_Format()
164 return UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(value, 16), in toFloatFromQ6_10_Format()
DUwbTwoWayMeasurement.java143 return UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(value, 16), in toFloatFromQFormat()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DUwbOwrAoaMeasurementTest.java47 UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(TEST_AOA_AZIMUTH, 16), 9, 7);
53 UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(TEST_AOA_ELEVATION, 16), 9, 7);
DUwbRangingDataTest.java63 UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(TEST_AOA_AZIMUTH, 16), 9, 7);
69 UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(TEST_AOA_ELEVATION, 16), 9, 7);
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/advertisement/
DUwbAdvertiseManagerTest.java68 UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(TEST_AOA_AZIMUTH, 16), 9, 7);
75 UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(TEST_AOA_ELEVATION, 16), 9, 7);
/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DUwbUtil.java130 public static int twos_compliment(int nInput, int nBits) { in twos_compliment() method in UwbUtil