Home
last modified time | relevance | path

Searched refs:ADAPTER_BLE (Results 1 - 20 of 20) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dprofile_service_manager.cpp148 for (auto &sp : GET_CONFIG_PROFILES(BTTransport::ADAPTER_BLE)) { in CreateBleProfileServices()
154 pimpl->startedProfiles_.SetProfile(BTTransport::ADAPTER_BLE, sp.name_, bredrProfile); in CreateBleProfileServices()
156 pimpl->profilesState_.SetProfile(BTTransport::ADAPTER_BLE, sp.name_, ServiceStateID::TURN_OFF); in CreateBleProfileServices()
164 pimpl->startedProfiles_.SetProfile(BTTransport::ADAPTER_BLE, sp.name_, newProfile); in CreateBleProfileServices()
165 pimpl->profilesState_.SetProfile(BTTransport::ADAPTER_BLE, sp.name_, ServiceStateID::TURN_OFF); in CreateBleProfileServices()
183 } else if (pimpl->startedProfiles_.Find(BTTransport::ADAPTER_BLE, sp.name_, profile)) { in Stop()
185 pimpl->startedProfiles_.SetProfile(BTTransport::ADAPTER_BLE, sp.name_, nullptr); in Stop()
264 (transport == BTTransport::ADAPTER_BREDR) ? BTTransport::ADAPTER_BLE : BTTransport::ADAPTER_BREDR; in EnableProfiles()
319 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BLE, profileName, state)) && in EnableCompleteProcess()
322 pimpl->profilesState_.SetProfile(BTTransport::ADAPTER_BLE, profileNam in EnableCompleteProcess()
[all...]
H A Dadapter_state_machine.cpp49 (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()
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()
H A Dsys_state_machine.cpp50 am_.Disable(BTTransport::ADAPTER_BLE); in StoppingBaseProcess()
101 int stateBLE = am_.GetState(BTTransport::ADAPTER_BLE); in Entry()
137 int stateBLE = am_.GetState(BTTransport::ADAPTER_BLE); in Entry()
173 int stateBLE = am_.GetState(BTTransport::ADAPTER_BLE); in Entry()
H A Dadapter_manager.cpp144 transport = BTTransport::ADAPTER_BLE; in OnEnable()
161 transport = BTTransport::ADAPTER_BLE; in OnDisable()
179 if (transport == ADAPTER_BLE && bleAdapter_ && bleAdapter_->stateMachine) { in ProcessMessage()
364 (transport == ADAPTER_BLE && pimpl->bleAdapter_ == nullptr)) { in Enable()
398 (transport == ADAPTER_BLE && pimpl->bleAdapter_ == nullptr)) { in Disable()
502 if (transport == ADAPTER_BLE && pimpl->bleAdapter_) { in GetState()
601 (transport == ADAPTER_BLE && pimpl->bleAdapter_ == nullptr)) { in OnAdapterStateChange()
604 if ((transport == ADAPTER_BLE) && (state == STATE_TURN_ON)) { in OnAdapterStateChange()
609 HILOGI("disable ADAPTER_BLE"); in OnAdapterStateChange()
610 Disable(ADAPTER_BLE); in OnAdapterStateChange()
[all...]
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_adapter_utils.cpp81 case ADAPTER_BLE: in GetAclStateName()
102 } else if (transport == ADAPTER_BLE && state == ACL_CONNECTION_STATE_CONNECTED) { in ConvertAclState()
104 } else if (transport == ADAPTER_BLE && state == ACL_CONNECTION_STATE_DISCONNECTED) { in ConvertAclState()
/foundation/multimedia/av_session/services/session/server/test/
H A Ddetect_bluetooth_host_observer_test.cpp78 int32_t transport = OHOS::Bluetooth::BTTransport::ADAPTER_BLE; in HWTEST_F()
92 int32_t transport = OHOS::Bluetooth::BTTransport::ADAPTER_BLE; in HWTEST_F()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_profile_manager.cpp124 if (transport == ADAPTER_BLE && status == STATE_TURN_OFF) { in NotifyBluetoothStateChange()
132 if (transport == ADAPTER_BLE && status == STATE_TURN_ON) { in NotifyBluetoothStateChange()
H A Dbluetooth_utils.cpp99 case BTTransport::ADAPTER_BLE: in GetBtTransportName()
100 return "ADAPTER_BLE(1)"; in GetBtTransportName()
H A Dbluetooth_host.cpp206 if (transport == BTTransport::ADAPTER_BLE && in isNeedInterceptSwitchStatus()
346 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BLE);
368 BluetoothRemoteDevice remoteDevice(device.GetAddress(), BTTransport::ADAPTER_BLE);
1238 pimpl->bleObserverImp_->OnStateChanged(BTTransport::ADAPTER_BLE, BTStateID::STATE_TURN_OFF); in OnRemoveBluetoothSystemAbility()
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_host_server.cpp184 if (transport == BTTransport::ADAPTER_BLE && state == BTStateID::STATE_TURN_OFF) { in OnStateChangeV2()
215 } else if (transport == BTTransport::ADAPTER_BLE) {
844 } else if ((transport == BTTransport::ADAPTER_BLE) && IsBleEnabled() && bleService) { in GetDeviceType()
880 if (IAdapterManager::GetInstance()->Enable(BTTransport::ADAPTER_BLE)) { in EnableBle()
889 if (IAdapterManager::GetInstance()->Disable(BTTransport::ADAPTER_BLE)) { in DisableBle()
902 return IAdapterManager::GetInstance()->GetState(BTTransport::ADAPTER_BLE) == BTStateID::STATE_TURN_ON; in IsBleEnabled()
1077 } else if ((transport == BTTransport::ADAPTER_BLE) && IsBleEnabled() && bleService) { in GetBondableMode()
1092 } else if ((transport == BTTransport::ADAPTER_BLE) && IsBleEnabled() && bleService) { in SetBondableMode()
1154 } else if ((transport == BTTransport::ADAPTER_BLE) && IsBleEnabled() && bleService) { in IsBtDiscovering()
1244 } else if ((transport == BTTransport::ADAPTER_BLE) in RemovePair()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_security.cpp702 [addr](IAdapterBleObserver &observer) { observer.OnPairRequested(BTTransport::ADAPTER_BLE, addr); }); in GapLePairFeatureReq()
742 observer.OnPairConfirmed(BTTransport::ADAPTER_BLE, addr, pairMethod, 0); in GapLePairPassKeyReq()
757 observer.OnPairConfirmed(BTTransport::ADAPTER_BLE, addr, pairMethod, number); in GapLePairPassKeyNotification()
771 observer.OnPairConfirmed(BTTransport::ADAPTER_BLE, addr, pairMethod, 0); in GapLePairOobReq()
785 observer.OnPairConfirmed(BTTransport::ADAPTER_BLE, addr, pairMethod, 0); in GapLePairScOobReq()
800 observer.OnPairConfirmed(BTTransport::ADAPTER_BLE, addr, pairMethod, number); in GapLePairScUserConfirmReq()
H A Dble_adapter.cpp531 *pimpl->gattClientcallback_, addr, BTTransport::ADAPTER_BLE); in RegisterGattClientApplication()
718 AdapterManager::GetInstance()->OnPairDevicesRemoved(BTTransport::ADAPTER_BLE, removeDevices); in RemovePairWithDisConnect()
722 observer.OnPairStatusChanged(ADAPTER_BLE, device, BLE_PAIR_NONE); in RemovePairWithDisConnect()
769 AdapterManager::GetInstance()->OnPairDevicesRemoved(BTTransport::ADAPTER_BLE, removeDevices); in RemoveAllPairs()
969 int status = AdapterManager::GetInstance()->GetState(BTTransport::ADAPTER_BLE); in IsBleEnabled()
1390 observer.OnPairStatusChanged(ADAPTER_BLE, device, BLE_PAIR_PAIRED); in LePairComplete()
1400 observer.OnPairStatusChanged(ADAPTER_BLE, device, BLE_PAIR_NONE); in LePairComplete()
1424 observer.OnPairStatusChanged(ADAPTER_BLE, device, BLE_PAIR_PAIRING); in LePairingStatus()
H A Dble_central_manager_impl.cpp681 int status = AdapterManager::GetInstance()->GetState(BTTransport::ADAPTER_BLE); in StartScan()
1265 int status = AdapterManager::GetInstance()->GetState(BTTransport::ADAPTER_BLE); in CheckScanFilterConfig()
H A Dble_advertiser_impl.cpp180 int status = AdapterManager::GetInstance()->GetState(BTTransport::ADAPTER_BLE); in ReStartLegacyAdvertising()
215 int status = AdapterManager::GetInstance()->GetState(BTTransport::ADAPTER_BLE); in CheckAdvertiserPara()
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_gatt_server.cpp274 BluetoothRemoteDevice remoteDevice(rsp.deviceId, BTTransport::ADAPTER_BLE); in SendResponse()
338 BluetoothRemoteDevice remoteDevice(deviceId, BTTransport::ADAPTER_BLE); in NotifyCharacteristicChangedEx()
388 BluetoothRemoteDevice remoteDevice(deviceId, BTTransport::ADAPTER_BLE); in NotifyCharacteristicChanged()
/foundation/multimedia/av_session/services/session/server/test/fuzztest/avsessionservice_fuzzer/
H A Davsessionservice_fuzzer.cpp802 transport = OHOS::Bluetooth::BTTransport::ADAPTER_BLE; in OnStateChangedTest()
806 transport = OHOS::Bluetooth::BTTransport::ADAPTER_BLE; in OnStateChangedTest()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_def.h66 ADAPTER_BLE, enumerator
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_hogp.cpp42 *gattCallback_, addr, BTTransport::ADAPTER_BLE); in RegisterGattClientApplication()
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dbt_def.h73 ADAPTER_BLE, enumerator
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_connection_manager.cpp900 IAdapterManager::GetInstance()->GetState(ADAPTER_BLE) == STATE_TURN_ON) || in CheckDeviceParameter()

Completed in 32 milliseconds