Home
last modified time | relevance | path

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

12

/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/free_install/
H A Dservice_center_connection.h32 ServiceCenterConnection(int32_t &connectState, std::condition_variable &cv, in ServiceCenterConnection() argument
34 : connectState_(connectState), cv_(cv), connectAbilityMgr_(connectAbilityMgr) in ServiceCenterConnection()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/servicecenterconnection_fuzzer/
H A Dservicecenterconnection_fuzzer.cpp41 int32_t connectState = 0; in DoSomethingInterestingWithMyAPI() local
44 ServiceCenterConnection serviceCenterConnection(connectState, cv, connectAbilityMgr); in DoSomethingInterestingWithMyAPI()
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_mock.cpp374 info.connectState = P2P_CONNECTED; in CreateGroupSuccessAction()
388 info.connectState = P2P_DISCONNECTED; in CreateGroupFailureAction()
400 info.connectState = P2P_DISCONNECTED; in CreateGroupTimeOutAction()
414 info.connectState = P2P_CONNECTED; in ConnectSuccessAction()
426 info.connectState = P2P_DISCONNECTED; in ConnectFailureAction()
438 info.connectState = P2P_DISCONNECTED; in ConnectTimeOutAction()
452 info.connectState = P2P_DISCONNECTED; in DestroyGroupSuccessAction()
464 info.connectState = P2P_CONNECTED; in DestroyGroupFailureAction()
476 info.connectState = P2P_CONNECTED; in DestroyGroupTimeOutAction()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service.cpp60 int connectState = ProcessConnectStateMessage(btAddr, deviceInfo, connectPolicy, state, in OnConnectStateChanged() local
64 if (connectState == static_cast<int>(BTConnectState::DISCONNECTED)) { in OnConnectStateChanged()
71 } else if (connectState == static_cast<int>(BTConnectState::CONNECTED)) { in OnConnectStateChanged()
76 if ((connectState == static_cast<int>(BTConnectState::CONNECTED)) || in OnConnectStateChanged()
77 (connectState == static_cast<int>(BTConnectState::DISCONNECTED))) { in OnConnectStateChanged()
78 service->ProcessConnectFrameworkCallback(connectState, btAddr); in OnConnectStateChanged()
79 ProcessA2dpHdfLoad(connectState); in OnConnectStateChanged()
117 int connectState = RET_BAD_STATUS; in ProcessConnectStateMessage() local
123 msg, connectState, A2DP_MSG_CONNECT_FORBIDDEN, static_cast<int>(BTConnectState::CONNECTING)); in ProcessConnectStateMessage()
127 msg, connectState, A2DP_MSG_PROFILE_CONNECTE in ProcessConnectStateMessage()
[all...]
H A Da2dp_service.h595 * @param connectState The state of device connected
600 bool FindStateMatched(std::vector<int> states, int connectState) const;
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_remote_device.cpp152 void ClassicRemoteDevice::SetAclConnectState(int connectState) in SetAclConnectState() argument
154 LOG_DEBUG("[ClassicRemoteDevice]::%{public}s, state = %{public}d", __func__, connectState); in SetAclConnectState()
156 aclConnected_ = connectState; in SetAclConnectState()
H A Dclassic_remote_device.h244 * @param connectState Acl connect state.
246 void SetAclConnectState(int connectState);
H A Dclassic_adapter.cpp2056 int connectState = CONNECTION_STATE_CONNECTED; in ReceiveConnectionComplete() local
2058 connectState = CONNECTION_STATE_ENCRYPTED_BREDR; in ReceiveConnectionComplete()
2060 remoteDevice->SetAclConnectState(connectState); in ReceiveConnectionComplete()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/entity/
H A Dp2p_connect_state.cpp130 if (info.connectState != P2pConnectionState::P2P_CONNECTED) { in PreprocessP2pConnectionChangeEvent()
182 if (ret != SOFTBUS_OK || info.connectState == P2P_DISCONNECTED) { in OnP2pConnectionChangeEvent()
223 param.p2pLinkInfo.connectState = P2pConnectionState::P2P_CONNECTED; in OnTimeout()
H A Dp2p_entity.cpp43 CONN_LOGI(CONN_WIFI_DIRECT, "ConnectionState=%{public}d, isGroupOwner=%{public}d", info.connectState, in P2pConnectionChangeCallback()
393 if (info.connectState == P2pConnectionState::P2P_DISCONNECTED) { in OnP2pConnectionChangeEvent()
471 if (info.connectState == P2pConnectionState::P2P_DISCONNECTED || groupInfo == nullptr) { in UpdateInterfaceManager()
535 if (info.connectState == P2pConnectionState::P2P_DISCONNECTED) { in UpdateLinkManager()
H A Dp2p_create_group_state.cpp102 if (info.connectState == P2P_DISCONNECTED) { in OnP2pConnectionChangeEvent()
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_native_object.h131 NapiNativeStateChangeParam(std::string deviceAddr, int connectState, int cause = 0) in NapiNativeStateChangeParam() argument
132 : deviceAddr_(deviceAddr), connectState_(connectState), stateChangeCause_(cause) {} in NapiNativeStateChangeParam()
144 NapiNativeBleConnectionStateChangeParam(std::string deviceAddr, int connectState) in NapiNativeBleConnectionStateChangeParam() argument
145 : NapiNativeStateChangeParam(deviceAddr, connectState) {} in NapiNativeBleConnectionStateChangeParam()
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/entity/
H A Dp2p_connect_state_test.cpp64 info.connectState = P2pConnectionState::P2P_CONNECTED; in HWTEST_F()
/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_p2p_config.h117 P2pConnectionState connectState; member
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_test.cpp1426 int32_t connectState = 0; in HWTEST_F() local
1429 ServiceCenterConnection connection(connectState, cv, connectAbilityMgr); in HWTEST_F()
1447 int32_t connectState = 0; in HWTEST_F() local
1450 ServiceCenterConnection connection(connectState, cv, connectAbilityMgr); in HWTEST_F()
1468 int32_t connectState = 0; in HWTEST_F() local
1471 ServiceCenterConnection connection(connectState, cv, connectAbilityMgr); in HWTEST_F()
1872 int32_t connectState = 0; in HWTEST_F() local
1875 ServiceCenterConnection connection(connectState, cv, connectAbilityMgr); in HWTEST_F()
1899 int32_t connectState = 0; in HWTEST_F() local
1902 ServiceCenterConnection connection(connectState, c in HWTEST_F()
1925 int32_t connectState = 0; HWTEST_F() local
1951 int32_t connectState = 0; HWTEST_F() local
[all...]
/foundation/communication/wifi/wifi/frameworks/cj/include/
H A Dffi_structs.h110 int32_t connectState; member
/foundation/communication/wifi/wifi/interfaces/inner_api/
H A Dwifi_p2p_msg.h413 WifiP2pLinkedInfo() : connectState(P2pConnectedState::P2P_DISCONNECTED), isP2pGroupOwner(false) in WifiP2pLinkedInfo()
428 P2pConnectedState connectState; member in OHOS::Wifi::P2pWfdInfoType::P2pDeviceType::P2pDeviceCapability::P2pGroupCapability::WifiP2pLinkedInfo
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_p2p_msg.cpp641 connectState = setConnectState; in SetConnectState()
646 return connectState; in GetConnectState()
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/
H A Daudio_device_manager.h78 const string &macAddress, const string &networkId, ConnectState connectState);
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dble_service_data.cpp1285 * @param connectState Acl connection state.
1288 void BlePeripheralDevice::SetAclConnectState(int connectState) in SetAclConnectState() argument
1290 aclConnected_ = connectState; in SetAclConnectState()
H A Dble_service_data.h977 * @param connectState Acl connect state.
980 void SetAclConnectState(int connectState);
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_device_info.h434 ConnectState connectState = CONNECTED; member in OHOS::AudioStandard::DeviceInfo
/foundation/communication/wifi/wifi/frameworks/cj/src/
H A Dwifi_callback.cpp343 cinfo.connectState = static_cast<int32_t>(info.GetConnectState());
H A Dwifi_ffi.cpp548 info.connectState = static_cast<int>(linkedInfo.GetConnectState()); in FfiWifiGetP2pLinkedInfo()
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_p2p.cpp473 info.connectState = P2pConnectionState(static_cast<int>(linkedInfo.GetConnectState())); in ConvertP2pLinkedInfo()

Completed in 26 milliseconds

12