/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_service.cpp | 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 154 if (connectState != RET_BAD_STATUS) { in ProcessConnectStateMessage() 155 deviceInfo->SetConnectState(connectState); in ProcessConnectStateMessage() 161 return connectState; in ProcessConnectStateMessage() [all …]
|
H A D | a2dp_service.h | 600 bool FindStateMatched(std::vector<int> states, int connectState) const;
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_mock.cpp | 366 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 D | p2pFound.ets | 36 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 D | service_center_connection.h | 32 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 D | p2pDiscoveryTest.ets | 44 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 D | napi_native_object.h | 131 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 D | servicecenterconnection_fuzzer.cpp | 41 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 D | gatt-development-guide.md | 78 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 D | classic_remote_device.cpp | 152 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 D | classic_remote_device.h | 246 void SetAclConnectState(int connectState);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/ |
H A D | bms_bundle_free_install_test.cpp | 1426 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 D | gatt-development-guide.md | 81 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 D | p2p_connect_state.cpp | 130 if (info.connectState != P2pConnectionState::P2P_CONNECTED) { in PreprocessP2pConnectionChangeEvent() 178 if (ret != SOFTBUS_OK || info.connectState == P2P_DISCONNECTED) { in OnP2pConnectionChangeEvent()
|
H A D | p2p_entity.cpp | 43 …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 D | p2p_create_group_state.cpp | 102 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 D | WifiModel.ets | 87 …resultStr = 'connectState��' + (info.connectState == 1 ? 'CONNECTED' : 'DISCONNECTED') + '\nisP2pG…
|
/ohos5.0/foundation/communication/wifi/wifi/interfaces/kits/c/ |
H A D | wifi_p2p_config.h | 124 P2pConnectionState connectState; member
|
/ohos5.0/base/location/services/location_geocode/geocode/include/ |
H A D | geo_convert_service.h | 94 void SetServiceConnectState(ServiceConnectState connectState);
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/ |
H A D | availableP2p.ets | 63 if ( this.p2pLinkedInfo !== null && this.p2pLinkedInfo.connectState == 1 ) {
|
/ohos5.0/base/location/services/location_geocode/geocode/source/ |
H A D | geo_convert_service.cpp | 437 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 D | P2P功能界面使用说明文档.md | 79 > | connectState | **P2pConnectState** | 是 | 否 | P2P连接状态。 |
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/entryability/model/ |
H A D | p2pInterface.ets | 439 let connectState = WifiP2pLinkedInfo.connectState 441 switch ( connectState ) { 456 AppStorage.setOrCreate("p2pConnectState" , connectState)
|
/ohos5.0/foundation/communication/wifi/wifi/interfaces/inner_api/ |
H A D | wifi_p2p_msg.h | 426 WifiP2pLinkedInfo() : connectState(P2pConnectedState::P2P_DISCONNECTED), isP2pGroupOwner(false) in WifiP2pLinkedInfo() 441 P2pConnectedState connectState;
|
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_p2p_msg.cpp | 661 connectState = setConnectState; in SetConnectState() 666 return connectState; in GetConnectState()
|