/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/ |
D | DistanceMeasurementManagerTest.java | 30 import android.bluetooth.le.DistanceMeasurementMethod; 90 .setMethodId(DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI) in testStartRssiTracker() 97 DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI); in testStartRssiTracker() 106 .setMethodId(DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI) in testStopRssiTracker() 110 mUuid, mDevice, DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI, false); in testStopRssiTracker() 114 DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI); in testStopRssiTracker() 123 .setMethodId(DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI) in testHandleRssiStarted() 130 DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI); in testHandleRssiStarted() 132 IDENTITY_ADDRESS, DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI); in testHandleRssiStarted() 142 .setMethodId(DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI) in testHandleRssiStartFail() [all …]
|
D | DistanceMeasurementTrackerTest.java | 27 import android.bluetooth.le.DistanceMeasurementMethod; 58 private int mMethod = DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI;
|
D | GattServiceTest.java | 33 import android.bluetooth.le.DistanceMeasurementMethod; 671 int method = DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI; in stopDistanceMeasurement()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
D | DistanceMeasurementManager.java | 23 import android.bluetooth.le.DistanceMeasurementMethod; 74 DistanceMeasurementMethod[] getSupportedDistanceMeasurementMethods() { in getSupportedDistanceMeasurementMethods() 75 ArrayList<DistanceMeasurementMethod> methods = new ArrayList<DistanceMeasurementMethod>(); in getSupportedDistanceMeasurementMethods() 77 new DistanceMeasurementMethod.Builder( in getSupportedDistanceMeasurementMethods() 78 DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI) in getSupportedDistanceMeasurementMethods() 82 new DistanceMeasurementMethod.Builder( in getSupportedDistanceMeasurementMethods() 83 DistanceMeasurementMethod in getSupportedDistanceMeasurementMethods() 87 return methods.toArray(new DistanceMeasurementMethod[methods.size()]); in getSupportedDistanceMeasurementMethods() 119 case DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_AUTO: in startDistanceMeasurement() 120 case DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI: in startDistanceMeasurement() [all …]
|
D | GattService.java | 45 import android.bluetooth.le.DistanceMeasurementMethod; 1190 public List<DistanceMeasurementMethod> getSupportedDistanceMeasurementMethods( in getSupportedDistanceMeasurementMethods() 2052 DistanceMeasurementMethod[] getSupportedDistanceMeasurementMethods() { in getSupportedDistanceMeasurementMethods()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | DistanceMeasurementMethod.java | 40 public final class DistanceMeasurementMethod implements Parcelable { class 80 private DistanceMeasurementMethod( in DistanceMeasurementMethod() method in DistanceMeasurementMethod 161 if (!(o instanceof DistanceMeasurementMethod)) return false; in equals() 163 final DistanceMeasurementMethod u = (DistanceMeasurementMethod) o; in equals() 178 public static final @NonNull Parcelable.Creator<DistanceMeasurementMethod> CREATOR = 179 new Parcelable.Creator<DistanceMeasurementMethod>() { 181 public @NonNull DistanceMeasurementMethod createFromParcel(@NonNull Parcel in) { 189 public @NonNull DistanceMeasurementMethod[] newArray(int size) { 190 return new DistanceMeasurementMethod[size]; 255 public DistanceMeasurementMethod build() { in build() [all …]
|
D | DistanceMeasurementParams.java | 26 import android.bluetooth.le.DistanceMeasurementMethod.DistanceMeasurementMethodId; 226 private int mMethodId = DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI; 291 case DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_AUTO: in setMethodId() 292 case DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI: in setMethodId() 293 case DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_CHANNEL_SOUNDING: in setMethodId()
|
D | DistanceMeasurementManager.java | 89 public @NonNull List<DistanceMeasurementMethod> getSupportedMethods() { in getSupportedMethods() 90 final List<DistanceMeasurementMethod> supportedMethods = new ArrayList<>(); in getSupportedMethods()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | distance_measurement_manager.h | 27 enum DistanceMeasurementMethod { enum 48 DistanceMeasurementMethod method; 54 virtual void OnDistanceMeasurementStarted(Address address, DistanceMeasurementMethod method) = 0; 56 Address address, DistanceMeasurementErrorCode reason, DistanceMeasurementMethod method) = 0; 58 Address address, DistanceMeasurementErrorCode reason, DistanceMeasurementMethod method) = 0; 67 DistanceMeasurementMethod method) = 0; 88 const Address&, uint16_t interval, DistanceMeasurementMethod method); 89 void StopDistanceMeasurement(const Address& address, DistanceMeasurementMethod method); 121 struct formatter<bluetooth::hci::DistanceMeasurementMethod> 122 : enum_formatter<bluetooth::hci::DistanceMeasurementMethod> {};
|
D | distance_measurement_manager_mock.h | 34 MOCK_METHOD(void, OnDistanceMeasurementStarted, (Address, DistanceMeasurementMethod)); 38 (Address, DistanceMeasurementErrorCode, DistanceMeasurementMethod)); 42 (Address, DistanceMeasurementErrorCode, DistanceMeasurementMethod)); 46 (Address, uint32_t, uint32_t, int, int, int, int, DistanceMeasurementMethod)); 52 MOCK_METHOD(void, StartDistanceMeasurement, (Address, uint16_t, DistanceMeasurementMethod));
|
D | distance_measurement_manager.cc | 198 DistanceMeasurementMethod::METHOD_CS); in OnResult() 241 const Address& address, uint16_t interval, DistanceMeasurementMethod method) { in start_distance_measurement() 331 void stop_distance_measurement(const Address& address, DistanceMeasurementMethod method) { in stop_distance_measurement() 1485 DistanceMeasurementMethod::METHOD_RSSI); in on_read_rssi_complete() 1582 const Address& address, uint16_t interval, DistanceMeasurementMethod method) { in StartDistanceMeasurement() 1587 const Address& address, DistanceMeasurementMethod method) { in StopDistanceMeasurement()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | distance_measurement_manager.cc | 26 using bluetooth::hci::DistanceMeasurementMethod; 53 static_cast<DistanceMeasurementMethod>(method)); in StartDistanceMeasurement() 60 static_cast<DistanceMeasurementMethod>(method)); in StopDistanceMeasurement() 65 DistanceMeasurementMethod method) override { in OnDistanceMeasurementStarted() 74 DistanceMeasurementMethod method) override { in OnDistanceMeasurementStartFail() 84 DistanceMeasurementMethod method) override { in OnDistanceMeasurementStopped() 97 DistanceMeasurementMethod method) override { in OnDistanceMeasurementResult()
|
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/ |
D | DistanceMeasurementInitiator.java | 28 import android.bluetooth.le.DistanceMeasurementMethod; 49 new Pair<>(DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_AUTO, "AUTO"), 50 new Pair<>(DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_RSSI, "RSSI"), 52 DistanceMeasurementMethod.DISTANCE_MEASUREMENT_METHOD_CHANNEL_SOUNDING, 178 List<DistanceMeasurementMethod> list = distanceMeasurementManager.getSupportedMethods(); in getDistanceMeasurementMethods() 181 for (DistanceMeasurementMethod method : list) { in getDistanceMeasurementMethods()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/le/ |
D | DistanceMeasurementMethod.aidl | 19 parcelable DistanceMeasurementMethod;
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothGatt.aidl | 25 import android.bluetooth.le.DistanceMeasurementMethod; 185 …List<DistanceMeasurementMethod> getSupportedDistanceMeasurementMethods(in AttributionSource attrib… in getSupportedDistanceMeasurementMethods()
|
/packages/modules/Bluetooth/framework/api/ |
D | system-current.txt | 1289 …UETOOTH_PRIVILEGED}) public java.util.List<android.bluetooth.le.DistanceMeasurementMethod> getSupp… 1293 public final class DistanceMeasurementMethod implements android.os.Parcelable { 1299 …static final android.os.Parcelable.Creator<android.bluetooth.le.DistanceMeasurementMethod> CREATOR; 1305 public static final class DistanceMeasurementMethod.Builder { 1306 ctor public DistanceMeasurementMethod.Builder(int); 1307 method @NonNull public android.bluetooth.le.DistanceMeasurementMethod build(); 1308 …method @NonNull public android.bluetooth.le.DistanceMeasurementMethod.Builder setAltitudeAngleSupp… 1309 …method @NonNull public android.bluetooth.le.DistanceMeasurementMethod.Builder setAzimuthAngleSuppo…
|