/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/ |
H A D | error.rs | 22 cause: Option<Box<dyn Error + Send + Sync>>, 38 cause: None, in user_aborted() 51 pub fn other<T: Into<Box<dyn Error + Send + Sync>>>(cause: Option<T>) -> Self { in other() 54 cause: cause.map(Into::into), in other() 73 Self { kind, cause: None } 76 pub(crate) fn new_with_cause<T>(kind: ErrorKind, cause: Option<T>) -> Self 82 cause: cause.map(Into::into), 101 cause in from() [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | napi_bluetooth_pan_observer.cpp | 30 void NapiBluetoothPanObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged() argument 32 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d", in OnConnectionStateChanged() 33 GET_ENCRYPT_ADDR(device), state, cause); in OnConnectionStateChanged() 34 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/ |
H A D | napi_bluetooth_pbap_pse_observer.cpp | 28 void NapiPbapPseObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int32_t state, int32_t cause)
in OnConnectionStateChanged() argument 30 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d",
in OnConnectionStateChanged() 31 GET_ENCRYPT_ADDR(device), state, cause);
in OnConnectionStateChanged() 32 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause);
in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/ |
H A D | napi_bluetooth_a2dp_src_observer.cpp | 26 void NapiA2dpSourceObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged() argument 28 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d", in OnConnectionStateChanged() 29 GET_ENCRYPT_ADDR(device), state, cause); in OnConnectionStateChanged() 30 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/map/ |
H A D | napi_bluetooth_map_mse_observer.cpp | 27 void NapiMapMseObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int32_t state, int32_t cause)
in OnConnectionStateChanged() argument 29 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d",
in OnConnectionStateChanged() 30 GET_ENCRYPT_ADDR(device), state, cause);
in OnConnectionStateChanged() 31 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause);
in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ |
H A D | napi_bluetooth_avrcp_ct_observer.cpp | 27 void NapiAvrcpControllerObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged() argument 29 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d", in OnConnectionStateChanged() 30 GET_ENCRYPT_ADDR(device), state, cause); in OnConnectionStateChanged() 31 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
|
H A D | napi_bluetooth_avrcp_tg_observer.cpp | 27 void NapiAvrcpTargetObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged() argument 29 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d", in OnConnectionStateChanged() 30 GET_ENCRYPT_ADDR(device), state, cause); in OnConnectionStateChanged() 31 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
|
H A D | napi_bluetooth_a2dp_snk_observer.cpp | 27 void NapiA2dpSinkObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged() argument 29 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d", in OnConnectionStateChanged() 30 GET_ENCRYPT_ADDR(device), state, cause); in OnConnectionStateChanged() 31 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/ |
H A D | napi_bluetooth_hfp_ag_observer.cpp | 29 int state, int cause) in OnConnectionStateChanged() 31 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d", in OnConnectionStateChanged() 32 GET_ENCRYPT_ADDR(device), state, cause); in OnConnectionStateChanged() 33 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged() 28 OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) OnConnectionStateChanged() argument
|
H A D | napi_bluetooth_hfp_hf_observer.cpp | 29 void NapiHandsFreeUnitObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged() argument 31 HILOGD("enter, remote device address: %{public}s, state: %{public}d, cause: %{public}d", in OnConnectionStateChanged() 32 GET_ENCRYPT_ADDR(device), state, cause); in OnConnectionStateChanged() 33 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/ |
H A D | napi_bluetooth_hid_host_observer.cpp | 31 void NapiBluetoothHidHostObserver::OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged() argument 33 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/ |
H A D | napi_bluetooth_remote_device_observer.cpp | 37 void NapiBluetoothRemoteDeviceObserver::OnPairStatusChanged(const BluetoothRemoteDevice &device, int status, int cause) in OnPairStatusChanged() argument 41 HILOGI("addr:%{public}s, bondStatus:%{public}d, cause:%{public}d", GET_ENCRYPT_ADDR(device), bondStatus, cause); in OnPairStatusChanged() 43 auto nativeObject = std::make_shared<NapiNativeBondStateParam>(device.GetDeviceAddr(), bondStatus, cause); in OnPairStatusChanged()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_hid_host_observer_stub.cpp | 38 int cause = data.ReadInt32(); in OnRemoteRequest() local 39 OnConnectionStateChanged(*device, state, cause); in OnRemoteRequest()
|
H A D | bluetooth_pan_observer_stub.cpp | 35 int cause = data.ReadInt32(); in OnRemoteRequest() local 36 OnConnectionStateChanged(*address, state, cause); in OnRemoteRequest()
|
H A D | bluetooth_a2dp_sink_observer_stub.cpp | 65 int cause = data.ReadInt32(); in OnConnectionStateChangedInner() local 67 OnConnectionStateChanged(RawAddress(addr), state, cause); in OnConnectionStateChangedInner() local
|
H A D | bluetooth_avrcp_tg_observer_stub.cpp | 64 int cause = data.ReadInt32(); in OnConnectionStateChangedInner() local 66 stub->OnConnectionStateChanged(*addr, state, cause); in OnConnectionStateChangedInner()
|
H A D | bluetooth_pbap_pse_observer_stub.cpp | 63 int32_t cause = data.ReadInt32();
in OnConnectionStateChangedInner() local 65 stub->OnConnectionStateChanged(*device, state, cause);
in OnConnectionStateChangedInner()
|
H A D | bluetooth_map_mse_observer_stub.cpp | 63 int32_t cause = data.ReadInt32();
in OnConnectionStateChangedInner() local 64 stub->OnConnectionStateChanged(*device, state, cause);
in OnConnectionStateChangedInner()
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_a2dp_sink_observer_proxy.cpp | 21 void BluetoothA2dpSinkObserverProxy::OnConnectionStateChanged(const RawAddress &device, int state, int cause) in OnConnectionStateChanged() argument 36 if (!data.WriteInt32(cause)) { in OnConnectionStateChanged() 37 HILOGE("BluetoothA2dpSinkObserverProxy::OnConnectionStateChanged cause error"); in OnConnectionStateChanged()
|
H A D | bluetooth_hid_host_observer_proxy.cpp | 20 ErrCode BluetoothHidHostObserverProxy::OnConnectionStateChanged(const BluetoothRawAddress &device, int state, int cause) in OnConnectionStateChanged() argument 31 data.WriteInt32(cause); in OnConnectionStateChanged()
|
H A D | bluetooth_pan_observer_proxy.cpp | 20 ErrCode BluetoothPanObserverProxy::OnConnectionStateChanged(const BluetoothRawAddress &device, int state, int cause) in OnConnectionStateChanged() argument 31 data.WriteInt32(cause); in OnConnectionStateChanged()
|
H A D | bluetooth_avrcp_tg_observer_proxy.cpp | 22 int32_t state, int32_t cause) in OnConnectionStateChanged() 38 if (!data.WriteInt32(cause)) { in OnConnectionStateChanged() 39 HILOGE("BluetoothAvrcpTgObserverProxy::OnConnectionStateChanged cause error"); in OnConnectionStateChanged() 21 OnConnectionStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t cause) OnConnectionStateChanged() argument
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/utils/ |
H A D | hi_audit.h | 30 std::string cause; member 39 return "happenTime, packageName, isForeground, cause, isUserBehavior, operationType, operationScenario, " in TitleString() 45 return cause + ", " + std::to_string(isUserBehavior) + ", " + operationType + ", " + operationScenario + in ToString()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_map_mse.cpp | 43 void OnConnectionStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t cause) override
45 HILOGI("enter, device: %{public}s, state: %{public}s, cause: %{public}d",
46 GET_ENCRYPT_RAW_ADDR(device), GetProfileConnStateName(state).c_str(), cause);
47 observers_.ForEach([device, state, cause](std::shared_ptr<MapMseObserver> observer) {
49 observer->OnConnectionStateChanged(dev, state, cause);
|
H A D | bluetooth_pan.cpp | 42 ErrCode OnConnectionStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t cause) override 44 HILOGI("enter, device: %{public}s, state: %{public}d, cause: %{public}d", 45 GET_ENCRYPT_RAW_ADDR(device), state, cause); 47 observers_.ForEach([remoteDevice, state, cause](std::shared_ptr<PanObserver> observer) { 48 observer->OnConnectionStateChanged(remoteDevice, state, cause);
|