Home
last modified time | relevance | path

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

/foundation/ability/ability_runtime/test/unittest/connection_record_test/
H A Dconnection_record_test.cpp115 * Function: SetConnectState and GetConnectState
117 * FunctionPoints: SetConnectState and GetConnectState
123 connectionRecord_->SetConnectState(ConnectionState::CONNECTED); in HWTEST_F()
180 connectionRecord_->SetConnectState(ConnectionState::CONNECTED); in HWTEST_F()
227 connectionRecord_->SetConnectState(ConnectionState::CONNECTED); in HWTEST_F()
230 connectionRecord_->SetConnectState(ConnectionState::DISCONNECTING); in HWTEST_F()
246 connectionRecord_->SetConnectState(ConnectionState::DISCONNECTING); in HWTEST_F()
249 connectionRecord_->SetConnectState(ConnectionState::CONNECTING); in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dconnection_record.cpp50 connRecord->SetConnectState(ConnectionState::INIT); in CreateConnectionRecord()
54 void ConnectionRecord::SetConnectState(const ConnectionState &state) in SetConnectState() function in OHOS::AAFwk::ConnectionRecord
97 SetConnectState(ConnectionState::DISCONNECTING); in DisconnectAbility()
130 SetConnectState(ConnectionState::DISCONNECTED); in DisconnectAbility()
140 SetConnectState(ConnectionState::CONNECTED); in CompleteConnect()
152 SetConnectState(ConnectionState::DISCONNECTING); in CompleteConnect()
174 SetConnectState(ConnectionState::DISCONNECTED); in CompleteDisconnect()
H A Dability_connect_manager.cpp605 connectRecord->SetConnectState(ConnectionState::CONNECTING); in ConnectAbilityLocked()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service_connection.cpp59 info->SetConnectState(static_cast<int>(BTConnectState::CONNECTING)); in A2dpConnect()
84 deviceInfo->SetConnectState(static_cast<int>(BTConnectState::DISCONNECTING)); in A2dpDisconnect()
139 deviceInfo->SetConnectState(state); in AddDevice()
H A Da2dp_service_device.h74 void SetConnectState(int state);
H A Da2dp_service_device.cpp84 void A2dpDeviceInfo::SetConnectState(int state) in SetConnectState() function in OHOS::bluetooth::A2dpDeviceInfo
H A Da2dp_service.cpp155 deviceInfo->SetConnectState(connectState); in ProcessConnectStateMessage()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/mock/
H A Dmock_wfd_sink_session.cpp29 void MockWfdSinkSession::SetConnectState(bool state) in SetConnectState() function in OHOS::Sharing::MockWfdSinkSession
H A Dmock_wfd_sink_session.h35 void SetConnectState(bool state);
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_config_use_test.cpp69 p2pLinkedInfo.SetConnectState(P2pConnectedState::P2P_DISCONNECTED); in HWTEST_F()
160 p2pLinkedInfo.SetConnectState(P2pConnectedState::P2P_CONNECTED); in HWTEST_F()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/
H A Dwifi_p2p_service_test.cpp149 p2pInfo.SetConnectState(P2pConnectedState::P2P_DISCONNECTED); in HWTEST_F()
236 p2pInfo.SetConnectState(P2pConnectedState::P2P_CONNECTED); in HWTEST_F()
269 p2pInfo.SetConnectState(P2pConnectedState::P2P_DISCONNECTED); in HWTEST_F()
282 p2pInfo.SetConnectState(P2pConnectedState::P2P_CONNECTED); in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dconnection_record.h58 void SetConnectState(const ConnectionState &state);
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/
H A Dwfd_sink_session_test.cpp163 session_->SetConnectState(false); in HWTEST_F()
183 session_->SetConnectState(true); in HWTEST_F()
282 session_->SetConnectState(true); in HWTEST_F()
708 session_->SetConnectState(true); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/ability_connect_manager_test/
H A Dability_connect_manager_test.cpp827 newConnRecord2->SetConnectState(ConnectionState::DISCONNECTING); // newConnRecord2's state is DISCONNECTING in HWTEST_F()
857 newConnRecord1->SetConnectState(ConnectionState::CONNECTING); // newConnRecord1's state is CONNECTING in HWTEST_F()
885 newConnRecord1->SetConnectState(ConnectionState::CONNECTED); // newConnRecord1's state is CONNECTED in HWTEST_F()
915 newConnRecord2->SetConnectState(ConnectionState::CONNECTING); // newConnRecord2's state is CONNECTING in HWTEST_F()
944 newConnRecord1->SetConnectState(ConnectionState::CONNECTED); // newConnRecord1's state is CONNECTED in HWTEST_F()
948 newConnRecord2->SetConnectState(ConnectionState::CONNECTING); // newConnRecord2's state is CONNECTING in HWTEST_F()
953 newConnRecord3->SetConnectState(ConnectionState::CONNECTING); // newConnRecord3's state is CONNECTING in HWTEST_F()
997 it->SetConnectState(ConnectionState::CONNECTED); in HWTEST_F()
1033 it->SetConnectState(ConnectionState::CONNECTED); in HWTEST_F()
1040 it->SetConnectState(ConnectionStat in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/moduletest/ability_record_test/
H A Dability_record_module_test.cpp440 connectionRecord->SetConnectState(ConnectionState::CONNECTING); in HWTEST_F()
444 connectionRecord->SetConnectState(ConnectionState::DISCONNECTING); in HWTEST_F()
/foundation/ability/ability_runtime/test/fuzztest/connectionstatemanager_fuzzer/
H A Dconnectionstatemanager_fuzzer.cpp151 connectionRecord->SetConnectState(state); in DoSomethingInterestingWithMyAPI()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dgroup_negotiation_state.cpp84 p2pInfo.SetConnectState(P2pConnectedState::P2P_CONNECTED); in ProcessGroupStartedEvt()
H A Dp2p_state_machine.cpp307 info.SetConnectState(P2pConnectedState::P2P_DISCONNECTED); in DealGroupCreationFailed()
821 p2pInfo.SetConnectState(connectedState); in ChangeConnectedStatus()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dself_cure_state_machine_test.cpp834 linkedInfo.SetConnectState(P2pConnectedState::P2P_CONNECTED); in SelfCureForReassocTest()
839 linkedInfo.SetConnectState(P2pConnectedState::P2P_DISCONNECTED); in SelfCureForReassocTest()
892 linkedInfo.SetConnectState(P2pConnectedState::P2P_CONNECTED); in SelfCureForRandMacReassocTest()
897 linkedInfo.SetConnectState(P2pConnectedState::P2P_DISCONNECTED); in SelfCureForRandMacReassocTest()
1134 linkedInfo.SetConnectState(P2pConnectedState::P2P_DISCONNECTED); in HandleRssiChangedTest()
1143 linkedInfo.SetConnectState(P2pConnectedState::P2P_CONNECTED); in HandleRssiChangedTest()
1777 linkedInfo.SetConnectState(P2pConnectedState::P2P_CONNECTED); in SelfCureForResetTest4()
1792 linkedInfo.SetConnectState(P2pConnectedState::P2P_DISCONNECTED); in SelfCureForResetTest5()
1808 linkedInfo.SetConnectState(P2pConnectedState::P2P_DISCONNECTED); in SelfCureForResetTest6()
2988 linkedInfo.SetConnectState(P2pConnectedStat in HWTEST_F()
[all...]
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/scene/
H A Dwfd_source_scene_test.cpp294 info.SetConnectState(Wifi::P2pConnectedState::P2P_CONNECTED); in HWTEST_F()
530 info.SetConnectState(Wifi::P2pConnectedState::P2P_DISCONNECTED); in HWTEST_F()
/foundation/communication/wifi/wifi/interfaces/inner_api/
H A Dwifi_p2p_msg.h417 void SetConnectState(P2pConnectedState setConnectState);
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_p2p_callback_stub.cpp318 info.SetConnectState(static_cast<P2pConnectedState>(data.ReadInt32())); in RemoteOnP2pConnectionChanged()
H A Dwifi_p2p_msg.cpp639 void WifiP2pLinkedInfo::SetConnectState(P2pConnectedState setConnectState) in SetConnectState() function in OHOS::Wifi::WifiP2pLinkedInfo
H A Dwifi_p2p_proxy.cpp752 linkedInfo.SetConnectState(static_cast<P2pConnectedState>(reply.ReadInt32())); in QueryP2pLinkedInfo()
/foundation/ability/ability_runtime/test/unittest/ability_record_test/
H A Dability_record_test.cpp1980 connection1->SetConnectState(ConnectionState::CONNECTING); in HWTEST_F()
1981 connection2->SetConnectState(ConnectionState::CONNECTED); in HWTEST_F()

Completed in 38 milliseconds