Home
last modified time | relevance | path

Searched refs:connectState (Results 1 – 25 of 58) sorted by relevance

123

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service.cpp64 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
154 if (connectState != RET_BAD_STATUS) { in ProcessConnectStateMessage()
155 deviceInfo->SetConnectState(connectState); in ProcessConnectStateMessage()
161 return connectState; in ProcessConnectStateMessage()
[all …]
H A Da2dp_service.h600 bool FindStateMatched(std::vector<int> states, int connectState) const;
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_mock.cpp366 info.connectState = P2P_CONNECTED; in CreateGroupSuccessAction()
380 info.connectState = P2P_DISCONNECTED; in CreateGroupFailureAction()
392 info.connectState = P2P_DISCONNECTED; in CreateGroupTimeOutAction()
406 info.connectState = P2P_CONNECTED; in ConnectSuccessAction()
418 info.connectState = P2P_DISCONNECTED; in ConnectFailureAction()
430 info.connectState = P2P_DISCONNECTED; in ConnectTimeOutAction()
444 info.connectState = P2P_DISCONNECTED; in DestroyGroupSuccessAction()
456 info.connectState = P2P_CONNECTED; in DestroyGroupFailureAction()
468 info.connectState = P2P_CONNECTED; in DestroyGroupTimeOutAction()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/pages/subManualApiTest/subP2pTest/
H A Dp2pFound.ets36 connectState : wifi.P2pConnectState.DISCONNECTED ,
60 if ( p2pLinkedInfo === null || p2pLinkedInfo.connectState === 0 ) {
63 connectState : 0 ,
76 let state = wifiP2pLinkedInfo.connectState
/ohos5.0/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()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/pages/subAppTest/
H A Dp2pDiscoveryTest.ets44 connectState : wifi.P2pConnectState.DISCONNECTED ,
74 if ( p2pLinkedInfo === null || p2pLinkedInfo.connectState === 0 ) {
77 connectState : 0 ,
90 let state = wifiP2pLinkedInfo.connectState
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_native_object.h131 NapiNativeStateChangeParam(std::string deviceAddr, int connectState, int cause = 0)
132 : deviceAddr_(deviceAddr), connectState_(connectState), stateChangeCause_(cause) {}
144 NapiNativeBleConnectionStateChangeParam(std::string deviceAddr, int connectState) in NapiNativeBleConnectionStateChangeParam() argument
145 : NapiNativeStateChangeParam(deviceAddr, connectState) {} in NapiNativeBleConnectionStateChangeParam()
/ohos5.0/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()
/ohos5.0/docs/zh-cn/application-dev/connectivity/bluetooth/
H A Dgatt-development-guide.md78 connectState: ble.ProfileConnectionState = constant.ProfileConnectionState.STATE_DISCONNECTED;
187 this.connectState = stateInfo.state;
197 if (this.connectState != constant.ProfileConnectionState.STATE_DISCONNECTED) {
232 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
254 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
280 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
303 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
333 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
375 connectState: ble.ProfileConnectionState = constant.ProfileConnectionState.STATE_DISCONNECTED;
/ohos5.0/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.h246 void SetAclConnectState(int connectState);
/ohos5.0/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; variable
1429 ServiceCenterConnection connection(connectState, cv, connectAbilityMgr);
1447 int32_t connectState = 0; variable
1450 ServiceCenterConnection connection(connectState, cv, connectAbilityMgr);
1468 int32_t connectState = 0; variable
1471 ServiceCenterConnection connection(connectState, cv, connectAbilityMgr);
1856 int32_t connectState = 0; variable
1859 ServiceCenterConnection connection(connectState, cv, connectAbilityMgr);
1883 int32_t connectState = 0; variable
1909 int32_t connectState = 0; variable
[all …]
/ohos5.0/docs/en/application-dev/connectivity/bluetooth/
H A Dgatt-development-guide.md81 connectState: ble.ProfileConnectionState = constant.ProfileConnectionState.STATE_DISCONNECTED;
190 this.connectState = stateInfo.state;
200 if (this.connectState != constant.ProfileConnectionState.STATE_DISCONNECTED) {
235 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
257 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
283 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
306 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
336 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) {
379 connectState: ble.ProfileConnectionState = constant.ProfileConnectionState.STATE_DISCONNECTED;
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/entity/
H A Dp2p_connect_state.cpp130 if (info.connectState != P2pConnectionState::P2P_CONNECTED) { in PreprocessP2pConnectionChangeEvent()
178 if (ret != SOFTBUS_OK || info.connectState == P2P_DISCONNECTED) { in OnP2pConnectionChangeEvent()
H A Dp2p_entity.cpp43 …NN_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()
/ohos5.0/foundation/communication/wifi/wifi/application/wifi_direct_demo/entry/src/main/ets/MainAbility/model/wifiModeImpl/
H A DWifiModel.ets87 …resultStr = 'connectState��' + (info.connectState == 1 ? 'CONNECTED' : 'DISCONNECTED') + '\nisP2pG…
/ohos5.0/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_p2p_config.h124 P2pConnectionState connectState; member
/ohos5.0/base/location/services/location_geocode/geocode/include/
H A Dgeo_convert_service.h94 void SetServiceConnectState(ServiceConnectState connectState);
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/
H A DavailableP2p.ets63 if ( this.p2pLinkedInfo !== null && this.p2pLinkedInfo.connectState == 1 ) {
/ohos5.0/base/location/services/location_geocode/geocode/source/
H A Dgeo_convert_service.cpp437 void GeoConvertService::SetServiceConnectState(ServiceConnectState connectState) in SetServiceConnectState() argument
440 connectState_ = connectState; in SetServiceConnectState()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/doc/ApiDoc/P2PDoc/
H A DP2P功能界面使用说明文档.md79 > | connectState | **P2pConnectState** | 是 | 否 | P2P连接状态。 |
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/entryability/model/
H A Dp2pInterface.ets439 let connectState = WifiP2pLinkedInfo.connectState
441 switch ( connectState ) {
456 AppStorage.setOrCreate("p2pConnectState" , connectState)
/ohos5.0/foundation/communication/wifi/wifi/interfaces/inner_api/
H A Dwifi_p2p_msg.h426 WifiP2pLinkedInfo() : connectState(P2pConnectedState::P2P_DISCONNECTED), isP2pGroupOwner(false) in WifiP2pLinkedInfo()
441 P2pConnectedState connectState;
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_p2p_msg.cpp661 connectState = setConnectState; in SetConnectState()
666 return connectState; in GetConnectState()

123