Home
last modified time | relevance | path

Searched refs:AdvertiseSettings (Results 1 – 22 of 22) sorted by relevance

/system/bt/service/common/android/bluetooth/
Dadvertise_settings.h31 class AdvertiseSettings : public Parcelable,
32 public ::bluetooth::AdvertiseSettings {
35 AdvertiseSettings( in AdvertiseSettings() function
36 const ::bluetooth::AdvertiseSettings& advertise_settings) // NOLINT in AdvertiseSettings()
37 : ::bluetooth::AdvertiseSettings(advertise_settings){}; in AdvertiseSettings()
38 AdvertiseSettings() = default;
39 ~AdvertiseSettings() = default;
Dadvertise_settings.cc24 status_t AdvertiseSettings::writeToParcel(Parcel* parcel) const { in writeToParcel()
38 status_t AdvertiseSettings::readFromParcel(const Parcel* parcel) { in readFromParcel()
43 mode_ = static_cast<AdvertiseSettings::Mode>(value); in readFromParcel()
48 tx_power_level_ = static_cast<AdvertiseSettings::TxPowerLevel>(value); in readFromParcel()
DIBluetoothLeAdvertiserCallback.aidl19 import android.bluetooth.AdvertiseSettings;
23 void OnMultiAdvertiseCallback(int status, boolean is_start, in AdvertiseSettings settings); in OnMultiAdvertiseCallback()
DIBluetoothLeAdvertiser.aidl22 import android.bluetooth.AdvertiseSettings;
33 in AdvertiseSettings settings); in StartMultiAdvertising()
DAdvertiseSettings.aidl19 parcelable AdvertiseSettings cpp_header "android/bluetooth/advertise_settings.h";
DIBluetoothLowEnergyCallback.aidl20 import android.bluetooth.AdvertiseSettings;
DIBluetoothLowEnergy.aidl22 import android.bluetooth.AdvertiseSettings;
/system/bt/service/common/bluetooth/
Dadvertise_settings.cc21 AdvertiseSettings::AdvertiseSettings(Mode mode, base::TimeDelta timeout, in AdvertiseSettings() function in bluetooth::AdvertiseSettings
30 AdvertiseSettings::AdvertiseSettings() in AdvertiseSettings() function in bluetooth::AdvertiseSettings
35 bool AdvertiseSettings::operator==(const AdvertiseSettings& rhs) const { in operator ==()
Dadvertise_settings.h28 class AdvertiseSettings {
64 AdvertiseSettings(Mode mode, base::TimeDelta timeout,
71 AdvertiseSettings();
72 virtual ~AdvertiseSettings() = default;
87 bool operator==(const AdvertiseSettings& rhs) const;
/system/bt/service/
Dlow_energy_advertiser.cc47 int GetAdvertisingIntervalUnit(AdvertiseSettings::Mode mode) { in GetAdvertisingIntervalUnit()
51 case AdvertiseSettings::MODE_BALANCED: in GetAdvertisingIntervalUnit()
54 case AdvertiseSettings::MODE_LOW_LATENCY: in GetAdvertisingIntervalUnit()
57 case AdvertiseSettings::MODE_LOW_POWER: in GetAdvertisingIntervalUnit()
68 int8_t GetAdvertisingTxPower(AdvertiseSettings::TxPowerLevel tx_power) { in GetAdvertisingTxPower()
72 case AdvertiseSettings::TX_POWER_LEVEL_ULTRA_LOW: in GetAdvertisingTxPower()
75 case AdvertiseSettings::TX_POWER_LEVEL_LOW: in GetAdvertisingTxPower()
78 case AdvertiseSettings::TX_POWER_LEVEL_MEDIUM: in GetAdvertisingTxPower()
81 case AdvertiseSettings::TX_POWER_LEVEL_HIGH: in GetAdvertisingTxPower()
91 void GetAdvertiseParams(const AdvertiseSettings& settings, bool has_scan_rsp, in GetAdvertiseParams()
[all …]
Dlow_energy_advertiser.h56 bool StartAdvertising(const AdvertiseSettings& settings,
73 const AdvertiseSettings& advertise_settings() const { in advertise_settings()
105 AdvertiseSettings advertise_settings_;
/system/bt/service/test/
Dparcelable_unittest.cc33 using bluetooth::AdvertiseSettings;
67 AdvertiseSettings settings; in TEST()
69 TestData<AdvertiseSettings, android::bluetooth::AdvertiseSettings>( in TEST()
75 AdvertiseSettings settings( in TEST()
76 AdvertiseSettings::MODE_BALANCED, base::TimeDelta::FromMilliseconds(150), in TEST()
77 AdvertiseSettings::TX_POWER_LEVEL_HIGH, false /* connectable */); in TEST()
80 TestData<AdvertiseSettings, android::bluetooth::AdvertiseSettings>( in TEST()
DParcelableTest.aidl9 import android.bluetooth.AdvertiseSettings;
21 void OnAdvertiseSettings(in AdvertiseSettings advertise_settings); in OnAdvertiseSettings()
Dlow_energy_advertiser_unittest.cc162 AdvertiseSettings settings; in StartAdvertising()
178 AdvertiseSettings settings; in AdvertiseDataTestHelper()
283 AdvertiseSettings settings; in TEST_F()
341 AdvertiseSettings settings; in TEST_F()
411 AdvertiseSettings settings; in TEST_F()
526 AdvertiseSettings settings; in TEST_F()
/system/bt/binder/android/bluetooth/le/
DAdvertiseSettings.aidl19 parcelable AdvertiseSettings;
/system/bt/service/example/heart_rate/
Dheart_rate_server.cc69 bluetooth::AdvertiseSettings settings( in OnAdvertiserRegistered()
70 bluetooth::AdvertiseSettings::MODE_LOW_POWER, timeout, in OnAdvertiserRegistered()
71 bluetooth::AdvertiseSettings::TX_POWER_LEVEL_MEDIUM, true); in OnAdvertiserRegistered()
86 const android::bluetooth::AdvertiseSettings& /* settings */) { in OnMultiAdvertiseCallback() argument
/system/bt/service/ipc/binder/
Dbluetooth_le_advertiser_binder_server.h60 const android::bluetooth::AdvertiseSettings& settings,
Dbluetooth_le_advertiser_binder_server.cc69 const android::bluetooth::AdvertiseSettings& settings, bool* _aidl_return) { in StartMultiAdvertising()
/system/bt/service/doc/
DIBluetoothLowEnergy.txt84 * AdvertiseSettings data types.
89 in AdvertiseSettings settings);
DIBluetoothLowEnergyCallback.txt53 in AdvertiseSettings settings);
/system/bt/service/client/
Dmain.cc292 const android::bluetooth::AdvertiseSettings& /* settings */) { in OnMultiAdvertiseCallback() argument
722 bluetooth::AdvertiseSettings settings( in HandleStartAdv()
723 bluetooth::AdvertiseSettings::MODE_LOW_POWER, timeout, in HandleStartAdv()
724 bluetooth::AdvertiseSettings::TX_POWER_LEVEL_MEDIUM, connectable); in HandleStartAdv()
/system/bt/binder/android/bluetooth/
DIBluetoothGatt.aidl22 import android.bluetooth.le.AdvertiseSettings;