Home
last modified time | relevance | path

Searched refs:AdvertiseSettings (Results 1 – 20 of 20) 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.cc46 int GetAdvertisingIntervalUnit(AdvertiseSettings::Mode mode) { in GetAdvertisingIntervalUnit()
50 case AdvertiseSettings::MODE_BALANCED: in GetAdvertisingIntervalUnit()
53 case AdvertiseSettings::MODE_LOW_LATENCY: in GetAdvertisingIntervalUnit()
56 case AdvertiseSettings::MODE_LOW_POWER: in GetAdvertisingIntervalUnit()
67 int8_t GetAdvertisingTxPower(AdvertiseSettings::TxPowerLevel tx_power) { in GetAdvertisingTxPower()
71 case AdvertiseSettings::TX_POWER_LEVEL_ULTRA_LOW: in GetAdvertisingTxPower()
74 case AdvertiseSettings::TX_POWER_LEVEL_LOW: in GetAdvertisingTxPower()
77 case AdvertiseSettings::TX_POWER_LEVEL_MEDIUM: in GetAdvertisingTxPower()
80 case AdvertiseSettings::TX_POWER_LEVEL_HIGH: in GetAdvertisingTxPower()
90 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/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.cc238 const android::bluetooth::AdvertiseSettings& /* settings */) { in OnMultiAdvertiseCallback() argument
684 bluetooth::AdvertiseSettings settings( in HandleStartAdv()
685 bluetooth::AdvertiseSettings::MODE_LOW_POWER, timeout, in HandleStartAdv()
686 bluetooth::AdvertiseSettings::TX_POWER_LEVEL_MEDIUM, connectable); in HandleStartAdv()