Home
last modified time | relevance | path

Searched refs:DisconnectSco (Results 1 - 25 of 32) sorted by relevance

12

/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_hfp_ag.h38 virtual int32_t DisconnectSco(uint8_t callType) = 0;
40 virtual bool DisconnectSco() = 0;
H A Di_bluetooth_hfp_hf.h31 virtual bool DisconnectSco(const BluetoothRawAddress &device) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_hfp_ag_server.h39 bool DisconnectSco() override;
57 int32_t DisconnectSco(uint8_t callType) override;
H A Dbluetooth_hfp_hf_server.h33 bool DisconnectSco(const BluetoothRawAddress &device) override;
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_hfp_ag.h210 int32_t DisconnectSco(uint8_t callType);
226 bool DisconnectSco();
H A Dbluetooth_hfp_hf.h197 bool DisconnectSco(const BluetoothRemoteDevice &device);
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_hfp_ag_proxy.h35 int32_t DisconnectSco(uint8_t callType) override;
37 bool DisconnectSco() override;
H A Dbluetooth_hfp_hf_proxy.h29 bool DisconnectSco(const BluetoothRawAddress &device) override;
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_hfp_hf.h38 static napi_value DisconnectSco(napi_env env, napi_callback_info info);
H A Dnapi_bluetooth_hfp_ag.h39 static napi_value DisconnectSco(napi_env env, napi_callback_info info);
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_hfp_ag.cpp203 int32_t DisconnectSco(uint8_t callType) in DisconnectSco() function
207 return proxy->DisconnectSco(callType); in DisconnectSco()
218 bool DisconnectSco() in DisconnectSco() function
222 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, proxy->DisconnectSco(), "failed: no proxy"); in DisconnectSco()
536 int32_t HandsFreeAudioGateway::DisconnectSco(uint8_t callType) in DisconnectSco() function in OHOS::Bluetooth::HandsFreeAudioGateway
545 return pimpl->DisconnectSco(callType); in DisconnectSco()
553 bool HandsFreeAudioGateway::DisconnectSco() in DisconnectSco() function in OHOS::Bluetooth::HandsFreeAudioGateway
H A Dbluetooth_hfp_hf.cpp168 bool DisconnectSco(const BluetoothRemoteDevice &device) in DisconnectSco() function
173 return proxy->DisconnectSco(BluetoothRawAddress(device.GetDeviceAddr())); in DisconnectSco()
502 bool HandsFreeUnit::DisconnectSco(const BluetoothRemoteDevice &device) in DisconnectSco() function in OHOS::Bluetooth::HandsFreeUnit
512 return pimpl->DisconnectSco(device); in DisconnectSco()
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_hfp_ag.h181 virtual bool DisconnectSco() = 0;
H A Dinterface_profile_hfp_hf.h199 virtual bool DisconnectSco(const RawAddress &device) = 0;
/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/
H A Dnapi_bluetooth_hfp_ag.cpp50 DECLARE_NAPI_FUNCTION("disconnectSco", DisconnectSco), in DefineHandsFreeAudioGatewayJSClass()
239 napi_value NapiHandsFreeAudioGateway::DisconnectSco(napi_env env, napi_callback_info info) in DisconnectSco() function in OHOS::Bluetooth::NapiHandsFreeAudioGateway
265 isOK = profile->DisconnectSco(); in DisconnectSco()
H A Dnapi_bluetooth_hfp_hf.cpp43 DECLARE_NAPI_FUNCTION("disconnectSco", DisconnectSco), in DefineHandsFreeUnitJSClass()
258 napi_value NapiHandsFreeUnit::DisconnectSco(napi_env env, napi_callback_info info) in DisconnectSco() function in OHOS::Bluetooth::NapiHandsFreeUnit
282 bool isOK = profile->DisconnectSco(device); in DisconnectSco()
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_hfp_ag_server.cpp279 bool BluetoothHfpAgServer::DisconnectSco() in DisconnectSco() function in OHOS::Bluetooth::BluetoothHfpAgServer
283 return pimpl->HfpAgService_->DisconnectSco(); in DisconnectSco()
432 int BluetoothHfpAgServer::DisconnectSco(uint8_t callType) in DisconnectSco() function in OHOS::Bluetooth::BluetoothHfpAgServer
H A Dbluetooth_hfp_hf_server.cpp202 bool BluetoothHfpHfServer::DisconnectSco(const BluetoothRawAddress &device) { in DisconnectSco() function in OHOS::Bluetooth::BluetoothHfpHfServer
206 return pimpl->HfpHfService_->DisconnectSco(addr); in DisconnectSco()
/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Daudio_bluetooth_manager.h119 static int32_t DisconnectSco();
H A Daudio_bluetooth_manager.cpp477 AUDIO_INFO_LOG("Active hfp device is changed, need to DisconnectSco for current activeHfpDevice."); in SetActiveHfpDevice()
478 int32_t ret = DisconnectSco(); in SetActiveHfpDevice()
479 CHECK_AND_RETURN_RET_LOG(ret == 0, ERROR, "DisconnectSco failed, result: %{public}d", ret); in SetActiveHfpDevice()
523 ret = hfpInstance_->DisconnectSco(static_cast<uint8_t>(lastScoCategory)); in ConnectScoWithAudioScene()
536 int32_t AudioHfpManager::DisconnectSco() in DisconnectSco() function in OHOS::Bluetooth::AudioHfpManager
548 int32_t ret = hfpInstance_->DisconnectSco(static_cast<uint8_t>(currentScoCategory)); in DisconnectSco()
549 CHECK_AND_RETURN_RET_LOG(ret == 0, ERROR, "DisconnectSco failed, result: %{public}d", ret); in DisconnectSco()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_service.h167 bool DisconnectSco(const RawAddress &device) override;
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_hfp_ag_proxy.cpp157 int32_t BluetoothHfpAgProxy::DisconnectSco(uint8_t callType) in DisconnectSco() function in OHOS::Bluetooth::BluetoothHfpAgProxy
186 bool BluetoothHfpAgProxy::DisconnectSco() in DisconnectSco() function in OHOS::Bluetooth::BluetoothHfpAgProxy
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_hfp_ag_stub.cpp226 bool result = DisconnectSco(); in DisconnectScoInner()
395 bool result = DisconnectSco(); in DisconnectScoInnerEx()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_service.h189 bool DisconnectSco() override;
/foundation/communication/bluetooth_service/test/unittest/hfp/
H A Dhfp_hf_test.cpp121 * @tc.name: DisconnectSco
130 EXPECT_EQ(profile_->DisconnectSco(device), true); in HWTEST_F()

Completed in 15 milliseconds

12