Home
last modified time | relevance | path

Searched refs:IsEnabled (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/system/service/ipc/binder/
Dbluetooth_binder_server.cc55 Status BluetoothBinderServer::IsEnabled(bool* _aidl_return) { in IsEnabled() function in ipc::binder::BluetoothBinderServer
57 *_aidl_return = adapter_->IsEnabled(); in IsEnabled()
199 if (!adapter_->IsEnabled()) { in GetA2dpSinkInterface()
222 if (!adapter_->IsEnabled()) { in GetA2dpSourceInterface()
245 if (!adapter_->IsEnabled()) { in GetLowEnergyInterface()
262 if (!adapter_->IsEnabled()) { in GetLeAdvertiserInterface()
280 if (!adapter_->IsEnabled()) { in GetLeScannerInterface()
297 if (!adapter_->IsEnabled()) { in GetGattClientInterface()
314 if (!adapter_->IsEnabled()) { in GetGattServerInterface()
331 if (!adapter_->IsEnabled()) { in GetAvrcpControlInterface()
[all …]
Dbluetooth_binder_server.h75 Status IsEnabled(bool* _aidl_return) override;
/packages/modules/Bluetooth/system/service/test/
Dadapter_unittest.cc113 TEST_F(AdapterTest, IsEnabled) { in TEST_F() argument
114 EXPECT_FALSE(adapter_->IsEnabled()); in TEST_F()
117 EXPECT_TRUE(adapter_->IsEnabled()); in TEST_F()
120 EXPECT_FALSE(adapter_->IsEnabled()); in TEST_F()
126 EXPECT_FALSE(adapter_->IsEnabled()); in TEST_F()
161 EXPECT_FALSE(adapter_->IsEnabled()); in TEST_F()
Dlow_energy_scanner_unittest.cc286 EXPECT_CALL(mock_adapter_, IsEnabled()) in TEST_F()
335 EXPECT_CALL(mock_adapter_, IsEnabled()).Times(1).WillOnce(Return(true)); in TEST_F()
Dmock_adapter.h37 MOCK_CONST_METHOD0(IsEnabled, bool());
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dle_advertiser.cc1288 if (legacy_advertiser_.IsEnabled() && legacy_advertiser_.timeout && in LeAdvertising()
1325 if (legacy_advertiser_.IsEnabled() && now >= legacy_advertiser_.next_event) { in LeAdvertising()
1365 if (advertiser.IsEnabled() && advertiser.timeout && in LeAdvertising()
1409 if (advertiser.IsEnabled() && advertiser.max_extended_advertising_events && in LeAdvertising()
1430 if (advertiser.IsEnabled() && now >= advertiser.next_event) { in LeAdvertising()
Dlink_layer_controller.cc98 if (legacy_advertiser_.IsEnabled() && in FilterAcceptListBusy()
105 if (advertiser.IsEnabled() && in FilterAcceptListBusy()
114 if (scanner_.IsEnabled() && in FilterAcceptListBusy()
126 if (initiator_.IsEnabled() && in FilterAcceptListBusy()
168 if (legacy_advertiser_.IsEnabled()) { in ResolvingListBusy()
173 if (advertiser.IsEnabled()) { in ResolvingListBusy()
179 if (scanner_.IsEnabled()) { in ResolvingListBusy()
185 if (initiator_.IsEnabled()) { in ResolvingListBusy()
248 if (legacy_advertiser_.IsEnabled() || scanner_.IsEnabled() || in LeSetRandomAddress()
249 initiator_.IsEnabled()) { in LeSetRandomAddress()
[all …]
Dle_advertiser.h46 bool IsEnabled() const { return advertising_enable; } in IsEnabled() function
Dlink_layer_controller.h962 bool IsEnabled() const { return scan_enable; } in IsEnabled() function
1009 bool IsEnabled() const { return connect_enable; } in IsEnabled() function
/packages/modules/Bluetooth/system/service/common/android/bluetooth/
DIBluetooth.aidl33 boolean IsEnabled(); in IsEnabled() method
/packages/modules/Bluetooth/system/service/example/heart_rate/
Dserver_main.cc102 bluetooth->IsEnabled(&enabled); in main()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_multi_adv.cc88 bool IsEnabled() { return enable_status; } in IsEnabled() function
195 bool restart = p_inst->IsEnabled() && p_inst->IsConnectable(); in ConfigureRpa()
210 bool restart = p_inst->IsEnabled() && p_inst->IsConnectable(); in ConfigureRpa()
877 if (adv_inst[inst_id].IsEnabled()) { in Unregister()
/packages/modules/Bluetooth/system/service/
Dadapter.h116 virtual bool IsEnabled() const = 0;
Dlow_energy_scanner.cc100 if (!adapter_.IsEnabled()) { in StartScan()
Dadapter.cc237 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled() function in bluetooth::AdapterImpl
265 if (!IsEnabled()) { in Disable()
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/
Dbt_binder_facade.cpp59 bt_iface->IsEnabled(&ret); in SharedValidator()
/packages/modules/Bluetooth/system/service/client/
Dmain.cc409 bt_iface->IsEnabled(&enabled); in HandleIsEnabled()