/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | profile_service_manager.cpp | 129 for (auto &sp : GET_CONFIG_PROFILES(BTTransport::ADAPTER_BREDR)) { in CreateClassicProfileServices() 136 pimpl->startedProfiles_.SetProfile(BTTransport::ADAPTER_BREDR, sp.name_, profile); in CreateClassicProfileServices() 137 pimpl->profilesState_.SetProfile(BTTransport::ADAPTER_BREDR, sp.name_, ServiceStateID::TURN_OFF); in CreateClassicProfileServices() 151 if (pimpl->startedProfiles_.Find(BTTransport::ADAPTER_BREDR, sp.name_, bredrProfile)) { in CreateBleProfileServices() 179 if (pimpl->startedProfiles_.Find(BTTransport::ADAPTER_BREDR, sp.name_, profile)) { in Stop() 181 pimpl->startedProfiles_.SetProfile(BTTransport::ADAPTER_BREDR, sp.name_, nullptr); in Stop() 264 (transport == BTTransport::ADAPTER_BREDR) ? BTTransport::ADAPTER_BLE : BTTransport::ADAPTER_BREDR; in EnableProfiles() 310 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BREDR, profileName, state)) && in EnableCompleteProcess() 313 pimpl->profilesState_.SetProfile(BTTransport::ADAPTER_BREDR, profileNam in EnableCompleteProcess() [all...] |
H A D | adapter_state_machine.cpp | 49 (adapter_.GetContext()->Name() == ADAPTER_NAME_CLASSIC) ? BTTransport::ADAPTER_BREDR : BTTransport::ADAPTER_BLE; in Entry() 80 (adapter_.GetContext()->Name() == ADAPTER_NAME_CLASSIC) ? BTTransport::ADAPTER_BREDR : BTTransport::ADAPTER_BLE; in Entry() 90 (adapter_.GetContext()->Name() == ADAPTER_NAME_CLASSIC) ? BTTransport::ADAPTER_BREDR : BTTransport::ADAPTER_BLE; in Dispatch() 97 if (transport == BTTransport::ADAPTER_BREDR) { in Dispatch() 138 (adapter_.GetContext()->Name() == ADAPTER_NAME_CLASSIC) ? BTTransport::ADAPTER_BREDR : BTTransport::ADAPTER_BLE; in Entry() 170 (adapter_.GetContext()->Name() == ADAPTER_NAME_CLASSIC) ? BTTransport::ADAPTER_BREDR : BTTransport::ADAPTER_BLE; in Entry() 180 (adapter_.GetContext()->Name() == ADAPTER_NAME_CLASSIC) ? BTTransport::ADAPTER_BREDR : BTTransport::ADAPTER_BLE; in Dispatch() 187 if (transport == BTTransport::ADAPTER_BREDR) { in Dispatch()
|
H A D | adapter_manager.cpp | 139 BTTransport transport = BTTransport::ADAPTER_BREDR; in OnEnable() 142 transport = BTTransport::ADAPTER_BREDR; in OnEnable() 156 BTTransport transport = BTTransport::ADAPTER_BREDR; in OnDisable() 159 transport = BTTransport::ADAPTER_BREDR; in OnDisable() 174 if (transport == ADAPTER_BREDR && classicAdapter_ && classicAdapter_->stateMachine) { in ProcessMessage() 363 if ((transport == ADAPTER_BREDR && pimpl->classicAdapter_ == nullptr) || in Enable() 397 if ((transport == ADAPTER_BREDR && pimpl->classicAdapter_ == nullptr) || in Disable() 499 if (transport == ADAPTER_BREDR && pimpl->classicAdapter_) { in GetState() 588 if (transport == ADAPTER_BREDR && (state == BTStateID::STATE_TURN_ON || state == BTStateID::STATE_TURN_OFF)) { in PublishBluetoothStateChangeEvent() 600 if ((transport == ADAPTER_BREDR in OnAdapterStateChange() [all...] |
H A D | sys_state_machine.cpp | 49 am_.Disable(BTTransport::ADAPTER_BREDR); in StoppingBaseProcess() 100 int stateBREDR = am_.GetState(BTTransport::ADAPTER_BREDR); in Entry() 136 int stateBREDR = am_.GetState(BTTransport::ADAPTER_BREDR); in Entry() 172 int stateBREDR = am_.GetState(BTTransport::ADAPTER_BREDR); in Entry()
|
H A D | profile_info.cpp | 65 std::string section = (transport == BTTransport::ADAPTER_BREDR) ? SECTION_CLASSIC_ADAPTER : SECTION_BLE_ADAPTER; in GetConfigSupportProfiles()
|
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_adapter_utils.cpp | 72 case ADAPTER_BREDR: in GetAclStateName() 98 if (transport == ADAPTER_BREDR && state == ACL_CONNECTION_STATE_CONNECTED) { in ConvertAclState() 100 } else if (transport == ADAPTER_BREDR && state == ACL_CONNECTION_STATE_DISCONNECTED) { in ConvertAclState()
|
H A D | ohos_bt_gap.cpp | 47 * BTTransport::ADAPTER_BREDR : classic; 59 if (transport == BTTransport::ADAPTER_BREDR) {
|
/foundation/communication/bluetooth_service/test/moduletest/hosttest/ |
H A D | host_srv_module_test.cpp | 61 AdapterManager::GetInstance()->Enable(BTTransport::ADAPTER_BREDR); in HWTEST_F() 62 AdapterManager::GetInstance()->OnAdapterStateChange(BTTransport::ADAPTER_BREDR, BTStateID::STATE_TURN_OFF); in HWTEST_F()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_avrcp_ct.cpp | 59 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); 70 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); 81 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); 93 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); 109 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); 120 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); 133 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); 146 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); 157 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); 169 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); [all...] |
H A D | bluetooth_host.cpp | 152 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BREDR); 210 if (transport == BTTransport::ADAPTER_BREDR && in isNeedInterceptSwitchStatus() 215 if (transport == BTTransport::ADAPTER_BREDR) { in isNeedInterceptSwitchStatus() 238 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BREDR); 260 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BREDR); 276 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BREDR); 287 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BREDR); 297 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BREDR); 307 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BREDR); 325 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BREDR); [all...] |
H A D | bluetooth_avrcp_tg.cpp | 49 BluetoothRemoteDevice device(addr.GetAddress(), BTTransport::ADAPTER_BREDR); 197 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); in GetConnectedDevices() 220 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); in GetDevicesByStates()
|
H A D | bluetooth_utils.cpp | 97 case BTTransport::ADAPTER_BREDR:
in GetBtTransportName() 98 return "ADAPTER_BREDR(0)";
in GetBtTransportName()
|
H A D | bluetooth_map_mse.cpp | 162 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR);
in GetDevicesByStates()
|
H A D | bluetooth_a2dp_snk.cpp | 175 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); in GetDevicesByStates()
|
H A D | bluetooth_opp.cpp | 276 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); in GetDevicesByStates()
|
H A D | bluetooth_pbap_pse.cpp | 167 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR);
in GetDevicesByStates()
|
H A D | bluetooth_socket.cpp | 324 BluetoothRemoteDevice device(callbackParam.dev.GetAddress(), BTTransport::ADAPTER_BREDR);
|
H A D | bluetooth_a2dp_src.cpp | 189 BluetoothRemoteDevice device(rawAddr.GetAddress(), BTTransport::ADAPTER_BREDR); in GetDevicesByStates()
|
/foundation/multimedia/av_session/services/session/server/test/ |
H A D | detect_bluetooth_host_observer_test.cpp | 64 int32_t transport = OHOS::Bluetooth::BTTransport::ADAPTER_BREDR; in HWTEST_F() 107 int32_t transport = OHOS::Bluetooth::BTTransport::ADAPTER_BREDR; in HWTEST_F()
|
H A D | avsession_service_test.cpp | 1595 int transport = OHOS::Bluetooth::BTTransport::ADAPTER_BREDR; in HWTEST_F() 1605 int transport = OHOS::Bluetooth::BTTransport::ADAPTER_BREDR; in HWTEST_F() 1616 int transport = OHOS::Bluetooth::BTTransport::ADAPTER_BREDR; in HWTEST_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_host_server.cpp | 181 if (transport == BTTransport::ADAPTER_BREDR && state == BTStateID::STATE_TURN_ON) { in OnStateChangeV2() 194 if (transport == BTTransport::ADAPTER_BREDR) { 788 if (IAdapterManager::GetInstance()->Enable(bluetooth::BTTransport::ADAPTER_BREDR)) { in EnableBt() 796 if (IAdapterManager::GetInstance()->Disable(bluetooth::BTTransport::ADAPTER_BREDR)) { in DisableBt() 804 state = IAdapterManager::GetInstance()->GetState(bluetooth::BTTransport::ADAPTER_BREDR); in GetBtState() 842 if ((transport == BTTransport::ADAPTER_BREDR) && IsBtEnabled() && classicService) { in GetDeviceType() 1075 if ((transport == BTTransport::ADAPTER_BREDR) && IsBtEnabled() && classicService) { in GetBondableMode() 1090 if ((transport == BTTransport::ADAPTER_BREDR) && IsBtEnabled() && classicService) { in SetBondableMode() 1152 if ((transport == BTTransport::ADAPTER_BREDR) && IsBtEnabled() && classicService) { in IsBtDiscovering() 1240 if ((transport == BTTransport::ADAPTER_BREDR) in RemovePair() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_adapter.cpp | 1222 BTTransport transport = ADAPTER_BREDR; in SendPairConfirmed() 1562 SendPairStatusChanged(ADAPTER_BREDR, device, PAIR_NONE); in ReceiveSimplePairComplete() 1592 SendPairStatusChanged(ADAPTER_BREDR, device, PAIR_NONE); in ReceiveAuthenticationComplete() 1596 SendPairStatusChanged(ADAPTER_BREDR, device, PAIR_PAIRED); in ReceiveAuthenticationComplete() 1720 SendPairStatusChanged(ADAPTER_BREDR, device, PAIR_PAIRED); in SearchAttributeEnd() 1830 SendPairStatusChanged(ADAPTER_BREDR, device, PAIR_PAIRING); in StartPair() 1885 AdapterManager::GetInstance()->OnPairDevicesRemoved(BTTransport::ADAPTER_BREDR, removeDevices); in RemovePair() 1886 SendPairStatusChanged(BTTransport::ADAPTER_BREDR, device, PAIR_NONE); in RemovePair() 1912 AdapterManager::GetInstance()->OnPairDevicesRemoved(BTTransport::ADAPTER_BREDR, removeDevices); in RemoveAllPairs() 2051 SendPairStatusChanged(ADAPTER_BREDR, devic in ReceiveConnectionComplete() [all...] |
/foundation/multimedia/av_session/services/session/server/test/fuzztest/avsessionservice_fuzzer/ |
H A D | avsessionservice_fuzzer.cpp | 798 int transport = OHOS::Bluetooth::BTTransport::ADAPTER_BREDR; in OnStateChangedTest() 812 transport = OHOS::Bluetooth::BTTransport::ADAPTER_BREDR; in OnStateChangedTest()
|
/foundation/communication/nfc/services/src/tag/ |
H A D | bt_connection_manager.cpp | 752 if (transport == static_cast<int>(Bluetooth::BTTransport::ADAPTER_BREDR) &&
in OnStateChanged()
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_def.h | 65 ADAPTER_BREDR = 0, enumerator
|