Searched refs:twos_compliment (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Uwb/service/java/com/android/server/uwb/params/ |
D | CccEncoder.java | 137 (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()
|
D | AliroEncoder.java | 138 (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()
|
D | FiraEncoder.java | 205 (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/ |
D | UwbOwrAoaMeasurement.java | 40 UwbUtil.twos_compliment(aoaAzimuth, 16), 9, 7); in UwbOwrAoaMeasurement() 43 UwbUtil.twos_compliment(aoaElevation, 16), 9, 7); in UwbOwrAoaMeasurement()
|
D | UwbDlTDoAMeasurement.java | 159 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()
|
D | UwbTwoWayMeasurement.java | 143 return UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(value, 16), in toFloatFromQFormat()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/ |
D | UwbOwrAoaMeasurementTest.java | 47 UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(TEST_AOA_AZIMUTH, 16), 9, 7); 53 UwbUtil.convertQFormatToFloat(UwbUtil.twos_compliment(TEST_AOA_ELEVATION, 16), 9, 7);
|
D | UwbRangingDataTest.java | 63 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/ |
D | UwbAdvertiseManagerTest.java | 68 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/ |
D | UwbUtil.java | 130 public static int twos_compliment(int nInput, int nBits) { in twos_compliment() method in UwbUtil
|