Home
last modified time | relevance | path

Searched refs:GetConnectState (Results 1 - 25 of 57) sorted by relevance

123

/foundation/ability/ability_runtime/test/unittest/connection_record_test/
H A Dconnection_record_test.cpp115 * Function: SetConnectState and GetConnectState
117 * FunctionPoints: SetConnectState and GetConnectState
124 EXPECT_EQ(connectionRecord_->GetConnectState(), ConnectionState::CONNECTED); in HWTEST_F()
184 EXPECT_EQ(connectionRecord_->GetConnectState(), ConnectionState::DISCONNECTED); in HWTEST_F()
198 EXPECT_EQ(connectionRecord_->GetConnectState(), ConnectionState::CONNECTED); in HWTEST_F()
213 EXPECT_EQ(connectionRecord_->GetConnectState(), ConnectionState::DISCONNECTED); in HWTEST_F()
232 EXPECT_EQ(connectionRecord_->GetConnectState(), ConnectionState::DISCONNECTED); in HWTEST_F()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service_connection.cpp111 connectionState = itr.second->GetConnectState(); in JudgeConnectedNum()
178 if ((static_cast<int>(BTConnectState::CONNECTED) == info->GetConnectState()) || in JudgeConnectExit()
179 (static_cast<int>(BTConnectState::CONNECTING) == info->GetConnectState())) { in JudgeConnectExit()
H A Da2dp_service_device.h126 int GetConnectState() const;
H A Da2dp_service.cpp348 if ((static_cast<int>(BTConnectState::DISCONNECTED) == info->GetConnectState()) || in Disconnect()
349 (static_cast<int>(BTConnectState::DISCONNECTING) == info->GetConnectState())) { in Disconnect()
411 connectionState = it->second->GetConnectState(); in GetConnectDevices()
419 int A2dpService::GetConnectState() in GetConnectState() function in OHOS::bluetooth::A2dpService
429 state = itr.second->GetConnectState(); in GetConnectState()
496 if (GetConnectState() != PROFILE_STATE_DISCONNECTED) { in DisableService()
521 connectionState = it->second->GetConnectState(); in GetDevicesByStates()
556 return info->GetConnectState(); in GetDeviceState()
592 if (iter->second->GetConnectState() != static_cast<int>(BTConnectState::CONNECTED)) { in SetActiveSinkDevice()
1134 __func__, isDoDisable, GetConnectState()); in CheckDisable()
[all...]
H A Da2dp_service_device.cpp93 int A2dpDeviceInfo::GetConnectState() const in GetConnectState() function in OHOS::bluetooth::A2dpDeviceInfo
H A Da2dp_service.h220 int GetConnectState() override;
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile.h72 * @brief profile connect state define, using to GetConnectState()...
125 virtual int GetConnectState() = 0;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket_service.h107 int GetConnectState() override;
H A Dsocket_service.cpp89 int SocketService::GetConnectState() in GetConnectState() function in OHOS::bluetooth::SocketService
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/
H A Dwifi_p2p_manager.cpp332 WifiCommonEventHelper::PublishP2pConnStateEvent((int)info.GetConnectState(), "OnP2pConnectStateChanged"); in DealP2pConnectionChanged()
344 WriteWifiP2pStateHiSysEvent(group.GetInterface(), (int32_t)info.IsGroupOwner(), (int32_t)info.GetConnectState()); in DealP2pConnectionChanged()
345 if (info.GetConnectState() == P2pConnectedState::P2P_CONNECTED) { in DealP2pConnectionChanged()
351 rptManager->OnP2pConnectionChanged(info.GetConnectState()); in DealP2pConnectionChanged()
H A Dwifi_multi_vap_manager.cpp75 if (p2pLinkedInfo.GetConnectState() == P2pConnectedState::P2P_CONNECTED) { in CheckP2pConnected()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dconnection_record.h65 ConnectionState GetConnectState() const;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_client_service.h59 int GetConnectState() override;
H A Dgatt_server_service.h60 int GetConnectState() override;
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_service.cpp260 if (linkedInfo.GetConnectState() == P2pConnectedState::P2P_DISCONNECTED) { in QueryP2pLinkedInfo()
275 if (p2pInfo.GetConnectState() == P2pConnectedState::P2P_DISCONNECTED) { in GetCurrentGroup()
302 status = static_cast<int>(p2pInfo.GetConnectState()); in GetP2pConnectedStatus()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_service.h68 int GetConnectState(void) override;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_service.h70 int GetConnectState(void) override;
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dconnection_record.cpp59 ConnectionState ConnectionRecord::GetConnectState() const in GetConnectState() function in OHOS::AAFwk::ConnectionRecord
281 ConvertConnectionState(GetConnectState())); in Dump()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dself_cure_service.cpp93 WIFI_LOGD("self cure p2p connection state change, connectState = %{public}d", info.GetConnectState()); in HandleP2pConnChanged()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_service.h141 int GetConnectState() override;
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_p2p_callback_stub.cpp163 WIFI_LOGI("WifiP2pCallbackStub::OnP2pConnectionChanged: %{public}d", static_cast<int>(info.GetConnectState())); in OnP2pConnectionChanged()
167 WriteWifiEventReceivedHiSysEvent(HISYS_P2P_CONN_STATE_CHANGE, static_cast<int>(info.GetConnectState())); in OnP2pConnectionChanged()
/foundation/communication/wifi/wifi/frameworks/cj/src/
H A Dwifi_callback.cpp337 static_cast<int>(info.GetConnectState()));
343 cinfo.connectState = static_cast<int32_t>(info.GetConnectState());
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_service.h147 int GetConnectState() override;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dprofile_service_manager.cpp549 unsigned int profileStateMask = (unsigned int)profile->GetConnectState(); in GetProfileServiceConnectState()
571 stateMask |= (unsigned int)profile->GetConnectState(); in GetProfileServicesConnectState()
/foundation/ability/ability_runtime/test/fuzztest/connectionstatemanager_fuzzer/
H A Dconnectionstatemanager_fuzzer.cpp152 connectionRecord->GetConnectState(); in DoSomethingInterestingWithMyAPI()

Completed in 15 milliseconds

123