Home
last modified time | relevance | path

Searched refs:convertFloatToQFormat (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbTestUtils.java23 import static com.android.server.uwb.util.UwbUtil.convertFloatToQFormat;
161 TEST_LOS, TEST_DISTANCE, convertFloatToQFormat(TEST_AOA_AZIMUTH, 9, 7), in generateTwoWayMeasurementRangingData()
162 TEST_AOA_AZIMUTH_FOM, convertFloatToQFormat(TEST_AOA_ELEVATION, 9, 7), in generateTwoWayMeasurementRangingData()
163 TEST_AOA_ELEVATION_FOM, convertFloatToQFormat(TEST_AOA_DEST_AZIMUTH, 9, 7), in generateTwoWayMeasurementRangingData()
164 TEST_AOA_DEST_AZIMUTH_FOM, convertFloatToQFormat(TEST_AOA_DEST_ELEVATION, 9, 7), in generateTwoWayMeasurementRangingData()
178 convertFloatToQFormat(TEST_AOA_AZIMUTH, 9, 7), TEST_AOA_AZIMUTH_FOM, in generateOwrAoaMeasurementRangingData()
179 convertFloatToQFormat(TEST_AOA_ELEVATION, 9, 7), TEST_AOA_ELEVATION_FOM); in generateOwrAoaMeasurementRangingData()
193 convertFloatToQFormat(TEST_AOA_AZIMUTH, 9, 7), TEST_BAD_AOA_AZIMUTH_FOM, in generateBadOwrAoaMeasurementRangingData()
194 convertFloatToQFormat(TEST_AOA_ELEVATION, 9, 7), TEST_AOA_ELEVATION_FOM); in generateBadOwrAoaMeasurementRangingData()
210 TEST_LOS, convertFloatToQFormat(TEST_AOA_AZIMUTH, 9, 7), in generateDlTDoAMeasurementRangingData()
[all …]
/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/tests/src/com/android/server/uwb/data/
DUwbRangingDataTest.java22 import static com.android.server.uwb.util.UwbUtil.convertFloatToQFormat;
65 UwbUtil.convertFloatToQFormat(TEST_AOA_AZIMUTH_FLOAT, 9, 7);
71 UwbUtil.convertFloatToQFormat(TEST_AOA_ELEVATION_FLOAT, 9, 7);
99 TEST_DISTANCE, convertFloatToQFormat(TEST_AOA_AZIMUTH, 9, 7), in testInitializeUwbRangingData_withUwbTwoWayMeasurement()
100 TEST_AOA_AZIMUTH_FOM, convertFloatToQFormat(TEST_AOA_ELEVATION, 9, 7), in testInitializeUwbRangingData_withUwbTwoWayMeasurement()
101 TEST_AOA_ELEVATION_FOM, convertFloatToQFormat(TEST_AOA_DEST_AZIMUTH, 9, 7), in testInitializeUwbRangingData_withUwbTwoWayMeasurement()
102 TEST_AOA_DEST_AZIMUTH_FOM, convertFloatToQFormat(TEST_AOA_DEST_ELEVATION, 9, 7), in testInitializeUwbRangingData_withUwbTwoWayMeasurement()
DUwbOwrAoaMeasurementTest.java49 UwbUtil.convertFloatToQFormat(TEST_AOA_AZIMUTH_FLOAT, 9, 7);
55 UwbUtil.convertFloatToQFormat(TEST_AOA_ELEVATION_FLOAT, 9, 7);
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/advertisement/
DUwbAdvertiseManagerTest.java70 UwbUtil.convertFloatToQFormat(TEST_AOA_AZIMUTH_FLOAT, 9, 7);
77 UwbUtil.convertFloatToQFormat(TEST_AOA_ELEVATION_FLOAT, 9, 7);
/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DUwbUtil.java147 public static int convertFloatToQFormat(float in, int nInts, int nFracs) { in convertFloatToQFormat() method in UwbUtil