Searched refs:settings (Results 1 - 25 of 28) sorted by relevance

12

/system/bt/service/common/android/bluetooth/
H A DIBluetoothLeAdvertiserCallback.aidl23 void OnMultiAdvertiseCallback(int status, boolean is_start, in AdvertiseSettings settings);
H A DIBluetoothLeAdvertiser.aidl33 in AdvertiseSettings settings);
H A DIBluetoothLeScanner.aidl29 in ScanSettings settings,
/system/bt/service/doc/
H A DIBluetoothLowEnergy.txt61 * the parameters defined in |settings|. Scan results that are reported to the
66 boolean startScan(in int client_id, in ScanSettings settings,
89 in AdvertiseSettings settings);
H A DIBluetoothLowEnergyCallback.txt53 in AdvertiseSettings settings);
/system/bt/service/
H A Dlow_energy_advertiser.cc89 void GetAdvertiseParams(const AdvertiseSettings& settings, bool has_scan_rsp, argument
93 out_params->min_interval = GetAdvertisingIntervalUnit(settings.mode());
97 if (settings.connectable())
108 out_params->tx_power = GetAdvertisingTxPower(settings.tx_power_level());
142 bool LowEnergyAdvertiser::StartAdvertising(const AdvertiseSettings& settings, argument
169 advertise_settings_ = settings;
172 GetAdvertiseParams(settings, !scan_response.data().empty(), &params);
181 settings.timeout().InSeconds(),
H A Dlow_energy_advertiser.h53 // data and the provided |settings|. Reports the result of the operation in
56 bool StartAdvertising(const AdvertiseSettings& settings,
72 // Returns the current advertising settings.
104 // Latest advertising settings.
H A Dlow_energy_scanner.h70 // Initiates a BLE device scan for this client using the given |settings| and
74 bool StartScan(const ScanSettings& settings,
80 // Returns the current scan settings.
112 // Current scan settings.
H A Dlow_energy_scanner.cc95 bool LowEnergyScanner::StartScan(const ScanSettings& settings, argument
105 // TODO(jpawlowski): Push settings and filtering logic below the HAL.
/system/connectivity/wificond/tests/
H A Dscanner_unittest.cpp166 SingleScanSettings settings; local
167 settings.scan_type_ = IWifiScannerImpl::SCAN_TYPE_LOW_SPAN;
169 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk());
181 SingleScanSettings settings; local
182 settings.scan_type_ = IWifiScannerImpl::SCAN_TYPE_LOW_POWER;
184 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk());
196 SingleScanSettings settings; local
197 settings.scan_type_ = IWifiScannerImpl::SCAN_TYPE_HIGH_ACCURACY;
199 EXPECT_TRUE(scanner_impl.scan(settings, &success).isOk());
210 SingleScanSettings settings; local
224 SingleScanSettings settings; local
238 SingleScanSettings settings; local
[all...]
/system/bt/stack/btm/
H A Dbtm_acl.cc545 tBTM_PM_PWR_MD settings; local
594 memset((void*)&settings, 0, sizeof(settings));
595 settings.mode = BTM_PM_MD_ACTIVE;
596 status = BTM_SetPowerMode(BTM_PM_SET_ONLY_ID, p->remote_addr, &settings);
731 uint16_t* settings) {
735 /* BTM_TRACE_API ("%s: requested settings: 0x%04x", __func__, *settings ); */
738 if (*settings != HCI_DISABLE_ALL_LM_MODES) {
739 if ((*settings
730 BTM_SetLinkPolicy(const RawAddress& remote_bda, uint16_t* settings) argument
785 BTM_SetDefaultLinkPolicy(uint16_t settings) argument
[all...]
H A Dbtm_devctl.cc199 /* Set up the BLE privacy settings */
727 * See hcidefs.h for settings bitmask values.
730 void BTM_WriteVoiceSettings(uint16_t settings) { argument
731 BTM_TRACE_EVENT("BTM: BTM_WriteVoiceSettings: Settings: 0x%04x.", settings);
734 btsnd_hcic_write_voice_settings((uint16_t)(settings & 0x03ff));
/system/bt/stack/l2cap/
H A Dl2c_csm.cc188 tBTM_PM_PWR_MD settings; local
189 memset((void*)&settings, 0, sizeof(settings));
190 settings.mode = BTM_PM_MD_ACTIVE;
193 &settings);
246 tBTM_PM_PWR_MD settings; local
247 memset((void*)&settings, 0, sizeof(settings));
248 settings.mode = BTM_PM_MD_ACTIVE;
251 &settings);
1032 tBTM_PM_PWR_MD settings; local
1059 tBTM_PM_PWR_MD settings; local
[all...]
/system/bt/service/ipc/binder/
H A Dbluetooth_le_advertiser_binder_server.cc69 const android::bluetooth::AdvertiseSettings& settings, bool* _aidl_return) {
83 auto settings_copy = settings;
102 if (!advertiser->StartAdvertising(settings, advertise_data, scan_response,
66 StartMultiAdvertising( int advertiser_id, const android::bluetooth::AdvertiseData& advertise_data, const android::bluetooth::AdvertiseData& scan_response, const android::bluetooth::AdvertiseSettings& settings, bool* _aidl_return) argument
H A Dbluetooth_le_advertiser_binder_server.h60 const android::bluetooth::AdvertiseSettings& settings,
H A Dbluetooth_le_scanner_binder_server.h59 const android::bluetooth::ScanSettings& settings,
H A Dbluetooth_le_scanner_binder_server.cc66 int scanner_id, const android::bluetooth::ScanSettings& settings,
84 *_aidl_return = scanner->StartScan(settings, flt);
65 StartScan( int scanner_id, const android::bluetooth::ScanSettings& settings, const std::vector<android::bluetooth::ScanFilter>& filters, bool* _aidl_return) argument
/system/bt/service/test/
H A Dparcelable_unittest.cc67 AdvertiseSettings settings; local
70 settings);
75 AdvertiseSettings settings(
81 settings);
H A Dlow_energy_advertiser_unittest.cc162 AdvertiseSettings settings; local
165 settings, adv, scan_rsp, LowEnergyAdvertiser::StatusCallback()));
178 AdvertiseSettings settings; local
182 EXPECT_TRUE(le_advertiser_->StartAdvertising(settings, data,
282 // Use default advertising settings and data.
283 AdvertiseSettings settings; local
299 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback));
308 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback));
321 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback));
337 le_advertiser_->StartAdvertising(settings, adv_dat
341 AdvertiseSettings settings; local
411 AdvertiseSettings settings; local
526 AdvertiseSettings settings; local
[all...]
H A Dlow_energy_scanner_unittest.cc269 ScanSettings settings; local
273 EXPECT_FALSE(le_scanner_->StartScan(settings, filters));
275 // TODO(jpawlowski): add tests checking settings and filter parsing when
280 EXPECT_TRUE(le_scanner_->StartScan(settings, filters));
319 ScanSettings settings; local
321 ASSERT_TRUE(le_scanner_->StartScan(settings, filters));
/system/bt/stack/include/
H A Dbtm_api.h248 * See hcidefs.h for settings bitmask values.
251 extern void BTM_WriteVoiceSettings(uint16_t settings);
720 uint16_t* settings);
732 extern void BTM_SetDefaultLinkPolicy(uint16_t settings);
821 * Description This function is called to read the link policy settings.
1159 * the tBTM_ESCO_CBACK function with the current settings of
/system/bt/binder/android/bluetooth/
H A DIBluetoothGatt.aidl48 void startScan(in int scannerId, in ScanSettings settings, in List<ScanFilter> filters,
50 void startScanForIntent(in PendingIntent intent, in ScanSettings settings, in List<ScanFilter> filters,
/system/core/logcat/
H A Dlogpersist108 echo " Suggest add --clear to erase data and restart with new settings." >&2
177 am force-stop com.android.settings
/system/bt/service/example/heart_rate/
H A Dheart_rate_server.cc69 bluetooth::AdvertiseSettings settings(
79 ble->StartMultiAdvertising(advertiser_id, adv_data, scan_rsp, settings,
86 const android::bluetooth::AdvertiseSettings& /* settings */) {
/system/bt/service/client/
H A Dmain.cc238 const android::bluetooth::AdvertiseSettings& /* settings */) {
685 bluetooth::AdvertiseSettings settings(
710 ble_advertiser_id.load(), adv_data, scan_rsp, settings, &status);
902 bluetooth::ScanSettings settings; local
906 ble_scanner_iface->StartScan(ble_scanner_id.load(), settings, filters,

Completed in 930 milliseconds

12