/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/free_install/ |
H A D | service_center_connection.cpp | 33 connectState_ = ServiceCenterConnectState::DISCONNECTED; in OnAbilityConnectDone() 40 connectState_ = ServiceCenterConnectState::DISCONNECTED; in OnAbilityConnectDone() 45 connectState_ = ServiceCenterConnectState::CONNECTED; in OnAbilityConnectDone() 68 connectState_ = ServiceCenterConnectState::DISCONNECTED; in OnAbilityDisconnectDone()
|
H A D | bundle_connect_ability_mgr.cpp | 431 while (connectState_ == ServiceCenterConnectState::CONNECTING) { in WaitFromConnecting() 440 while (connectState_ != ServiceCenterConnectState::CONNECTED) { in WaitFromConnected() 441 if (connectState_ == ServiceCenterConnectState::DISCONNECTED) { in WaitFromConnected() 454 if (connectState_ == ServiceCenterConnectState::CONNECTING) { in ConnectAbility() 456 } else if (connectState_ == ServiceCenterConnectState::DISCONNECTED) { in ConnectAbility() 457 connectState_ = ServiceCenterConnectState::CONNECTING; in ConnectAbility() 458 serviceCenterConnection_ = new (std::nothrow) ServiceCenterConnection(connectState_, in ConnectAbility() 462 connectState_ = ServiceCenterConnectState::DISCONNECTED; in ConnectAbility() 469 if (connectState_ != ServiceCenterConnectState::CONNECTED) { in ConnectAbility() 479 if (connectState_ in ConnectAbility() [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_render_connection.cpp | 51 connectState_ = ConnectState::CONNECTED; in OnAbilityConnectDone() 80 element.GetURI().c_str(), resultCode, connectState_); in OnAbilityDisconnectDone() 81 // If connectState_ is CONNECTING, it means connect failed and host will try again, don't need to notify host in OnAbilityDisconnectDone() 82 if (resultCode && connectState_ == ConnectState::CONNECTING) { in OnAbilityDisconnectDone() 85 connectState_ = ConnectState::DISCONNECTED; in OnAbilityDisconnectDone() 90 connectState_ = ConnectState::CONNECTING; in SetStateConnecting() 95 connectState_ = ConnectState::DISCONNECTED; in SetStateDisconnected()
|
/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/ |
H A D | bt_statistic.cpp | 43 connectState_ = { static_cast<int32_t>(BTConnectState::CONNECTED) }; in BtStatistic() 166 A2dpSource::GetProfile()->GetDevicesByStates(connectState_, devices); in GetA2dpSrcDeviceInfo() 173 devices = A2dpSink::GetProfile()->GetDevicesByStates(connectState_); in GetA2dpSinkDeviceInfo() 180 devices = AvrcpController::GetProfile()->GetDevicesByStates(connectState_); in GetAvrCTDeviceInfo() 187 devices = AvrcpTarget::GetProfile()->GetDevicesByStates(connectState_); in GetAvrTGDeviceInfo() 194 devices = HandsFreeAudioGateway::GetProfile()->GetDevicesByStates(connectState_); in GetHfpAGDeviceInfo() 201 devices = HandsFreeUnit::GetProfile()->GetDevicesByStates(connectState_); in GetHfpHFDeviceInfo() 208 MapMse::GetProfile()->GetDevicesByStates(connectState_, devices); in GetMapMseDeviceInfo() 215 PbapPse::GetProfile()->GetDevicesByStates(connectState_, devices); in GetPbapPseDeviceInfo() 222 HidHost::GetProfile()->GetDevicesByStates(connectState_, device in GetHidHostDeviceInfo() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_state_manager.cpp | 95 preferredMediaRenderDevice_->connectState_ = state;
in UpdatePreferredMediaRenderDeviceConnectState() 101 preferredCallRenderDevice_->connectState_ = state;
in UpdatePreferredCallRenderDeviceConnectState() 107 preferredCallCaptureDevice_->connectState_ = state;
in UpdatePreferredCallCaptureDeviceConnectState() 113 preferredRecordCaptureDevice_->connectState_ = state;
in UpdatePreferredRecordCaptureDeviceConnectState()
|
H A D | audio_device_manager.cpp | 100 if (devDesc->connectState_ == VIRTUAL_CONNECTED) { in DeviceAttrMatch() 371 && descriptor->connectState_ == VIRTUAL_CONNECTED; in RemoveVirtualConnectedDevice() 423 devices.append(":" + std::to_string(static_cast<uint32_t>(iter->connectState_))); in GetConnDevicesStr() 813 if (desc->deviceType_ == DEVICE_TYPE_BLUETOOTH_SCO && desc->connectState_ == CONNECTED) { in GetScoState() 886 desc->connectState_ = devDesc->connectState_; in UpdateConnectState() 893 devDesc->connectState_ == CONNECTED) { in UpdateConnectState() 895 desc->connectState_ = SUSPEND_CONNECTED; in UpdateConnectState() 899 desc->connectState_ == SUSPEND_CONNECTED && in UpdateConnectState() 900 (devDesc->connectState_ in UpdateConnectState() [all...] |
H A D | audio_policy_service.cpp | 1350 selectedDesc[0]->connectState_ = VIRTUAL_CONNECTED; in SelectOutputDeviceByFilterInner() 1400 selectedDesc[0]->connectState_ = VIRTUAL_CONNECTED; in SelectOutputDevice() 2637 if (desc->connectState_ == DEACTIVE_CONNECTED || lastAudioScene_ != audioScene_) { in HandleScoOutputDeviceFetched() 2731 !NeedRehandleA2DPDevice(desc) && desc->connectState_ != DEACTIVE_CONNECTED && in HandleDeviceChangeForFetchOutputDevice() 2998 desc->macAddress_ == deviceInfo.macAddress && desc->connectState_ == deviceInfo.connectState) { in IsSameDevice() 3015 desc->macAddress_ == deviceDesc.macAddress_ && desc->connectState_ == deviceDesc.connectState_) { in IsSameDevice() 3034 if (desc->connectState_ == DEACTIVE_CONNECTED || lastAudioScene_ != audioScene_) { in HandleScoInputDeviceFetched() 3099 (IsSameDevice(desc, capturerChangeInfo->inputDeviceInfo) && desc->connectState_ != DEACTIVE_CONNECTED)) { in HandleDeviceChangeForFetchInputDevice() 3129 ret = ScoInputDeviceFetchedForRecongnition(true, desc->macAddress_, desc->connectState_); in BluetoothScoFetch() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/free_install/ |
H A D | service_center_connection.h | 34 : connectState_(connectState), cv_(cv), connectAbilityMgr_(connectAbilityMgr) in ServiceCenterConnection() 58 int32_t &connectState_; member in OHOS::AppExecFwk::ServiceCenterConnection
|
H A D | bundle_connect_ability_mgr.h | 276 int32_t connectState_ = ServiceCenterConnectState::DISCONNECTED; member in OHOS::AppExecFwk::BundleConnectAbilityMgr
|
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_gatt_device.cpp | 34 if (!parcel.WriteInt32(connectState_)) { in Marshalling() 69 if (!parcel.ReadInt32(connectState_)) { in ReadFromParcel()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/routers/ |
H A D | router_base.h | 52 (descs[i]->deviceType_ == DEVICE_TYPE_BLUETOOTH_SCO && descs[i]->connectState_ == SUSPEND_CONNECTED)) { in GetLatestConnectDeivce() 80 captureDesc->connectState_ != SUSPEND_CONNECTED)) { in GetPairCaptureDevice() 84 "exceptionFlag[%{public}d]", captureDesc->deviceType_, captureDesc->connectState_, in GetPairCaptureDevice()
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_device_descriptor.cpp | 39 connectState_ = CONNECTED; in AudioDeviceDescriptor() 61 connectState_ = CONNECTED; in AudioDeviceDescriptor() 91 connectState_ = deviceDescriptor.connectState_; in AudioDeviceDescriptor() 118 connectState_ = deviceDescriptor->connectState_; in AudioDeviceDescriptor()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_gatt_manager.cpp | 88 if (stateSet.find(item.connectState_) != stateSet.end()) { in GetDevicesByStates() 113 if (item.connectState_ == static_cast<int>(BTConnectState::CONNECTED)) { in GetConnectedDevices()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | gatt_data.cpp | 25 transport_(transport), addressType_(type), connectState_(0), addr_(addr) in GattDevice() 31 transport_(transport), addressType_(type), connectState_(state), addr_(addr) in GattDevice() 37 transport_(transport), addressType_(0), connectState_(0), addr_(addr) {} in GattDevice()
|
H A D | gatt_data.h | 167 GattDevice() : isEncryption_(false), transport_(0), addressType_(0), connectState_(0), addr_() {} in GattDevice() 178 int connectState_ = 0; member
|
/foundation/ability/form_fwk/services/include/ |
H A D | form_render_connection.h | 77 ConnectState connectState_ = ConnectState::DISCONNECTED; member in OHOS::AppExecFwk::FormRenderConnection
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/routers/ |
H A D | pair_device_router.cpp | 43 if (pairDevice != nullptr && pairDevice->connectState_ != SUSPEND_CONNECTED && !pairDevice->exceptionFlag_ && in GetCallCaptureDevice()
|
/foundation/communication/dsoftbus/core/common/dfx/statistics/include/ |
H A D | bt_statistic.h | 56 std::vector<int32_t> connectState_; member in Communication::Softbus::BtStatistic
|
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_service_unit_test/src/ |
H A D | audio_policy_service_third_unit_test.cpp | 129 desc->connectState_ = DEACTIVE_CONNECTED; in HWTEST_F() 150 desc->connectState_ = VIRTUAL_CONNECTED; in HWTEST_F() 171 desc->connectState_ = VIRTUAL_CONNECTED; in HWTEST_F() 192 desc->connectState_ = VIRTUAL_CONNECTED; in HWTEST_F()
|
H A D | audio_policy_service_second_unit_test.cpp | 1251 desc.connectState_ = ConnectState::DEACTIVE_CONNECTED; in HWTEST_F() 1255 desc.connectState_ = ConnectState::CONNECTED; in HWTEST_F()
|
H A D | audio_policy_service_first_unit_test.cpp | 748 audioDeviceDescriptor->connectState_ = VIRTUAL_CONNECTED; in HWTEST_F() 2183 audioDeviceDescriptor->connectState_ = VIRTUAL_CONNECTED; in HWTEST_F()
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_native_object.h | 132 : deviceAddr_(deviceAddr), connectState_(connectState), stateChangeCause_(cause) {} in NapiNativeStateChangeParam() 138 int connectState_ = -1; member in OHOS::Bluetooth::NapiNativeStateChangeParam
|
/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/ |
H A D | bluetooth_device_manager.cpp | 447 desc.connectState_ = ConnectState::CONNECTED; in NotifyToUpdateAudioDevice() 474 desc.connectState_ = ConnectState::VIRTUAL_CONNECTED; in NotifyToUpdateVirtualDevice() 889 desc.connectState_ = ConnectState::DEACTIVE_CONNECTED; in NotifyToUpdateAudioDevice() 918 desc.connectState_ = ConnectState::VIRTUAL_CONNECTED; in NotifyToUpdateVirtualDevice() 993 desc.connectState_ = ConnectState::CONNECTED; in OnScoStateChanged() 1005 desc.connectState_ = reason == HFP_AG_SCO_REMOTE_USER_TERMINATED ? ConnectState::SUSPEND_CONNECTED in OnScoStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_native_object.cpp | 179 ConvertStateChangeParamToJS(env, result, deviceAddr_, connectState_, stateChangeCause_); in ToNapiValue()
|
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiomanager/include/ |
H A D | audio_system_manager.h | 57 ConnectState connectState_ = CONNECTED; member in OHOS::AudioStandard::AudioDeviceDescriptor
|