Home
last modified time | relevance | path

Searched refs:cause (Results 1 - 25 of 126) sorted by relevance

123456

/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/
H A Derror.rs22 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 Dnapi_bluetooth_pan_observer.cpp30 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 Dnapi_bluetooth_pbap_pse_observer.cpp28 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 Dnapi_bluetooth_a2dp_src_observer.cpp26 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 Dnapi_bluetooth_map_mse_observer.cpp27 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 Dnapi_bluetooth_avrcp_ct_observer.cpp27 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 Dnapi_bluetooth_avrcp_tg_observer.cpp27 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 Dnapi_bluetooth_a2dp_snk_observer.cpp27 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 Dnapi_bluetooth_hfp_ag_observer.cpp29 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 Dnapi_bluetooth_hfp_hf_observer.cpp29 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 Dnapi_bluetooth_hid_host_observer.cpp31 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 Dnapi_bluetooth_remote_device_observer.cpp37 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 Dbluetooth_hid_host_observer_stub.cpp38 int cause = data.ReadInt32(); in OnRemoteRequest() local
39 OnConnectionStateChanged(*device, state, cause); in OnRemoteRequest()
H A Dbluetooth_pan_observer_stub.cpp35 int cause = data.ReadInt32(); in OnRemoteRequest() local
36 OnConnectionStateChanged(*address, state, cause); in OnRemoteRequest()
H A Dbluetooth_a2dp_sink_observer_stub.cpp65 int cause = data.ReadInt32(); in OnConnectionStateChangedInner() local
67 OnConnectionStateChanged(RawAddress(addr), state, cause); in OnConnectionStateChangedInner() local
H A Dbluetooth_avrcp_tg_observer_stub.cpp64 int cause = data.ReadInt32(); in OnConnectionStateChangedInner() local
66 stub->OnConnectionStateChanged(*addr, state, cause); in OnConnectionStateChangedInner()
H A Dbluetooth_pbap_pse_observer_stub.cpp63 int32_t cause = data.ReadInt32(); in OnConnectionStateChangedInner() local
65 stub->OnConnectionStateChanged(*device, state, cause); in OnConnectionStateChangedInner()
H A Dbluetooth_map_mse_observer_stub.cpp63 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 Dbluetooth_a2dp_sink_observer_proxy.cpp21 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 Dbluetooth_hid_host_observer_proxy.cpp20 ErrCode BluetoothHidHostObserverProxy::OnConnectionStateChanged(const BluetoothRawAddress &device, int state, int cause) in OnConnectionStateChanged() argument
31 data.WriteInt32(cause); in OnConnectionStateChanged()
H A Dbluetooth_pan_observer_proxy.cpp20 ErrCode BluetoothPanObserverProxy::OnConnectionStateChanged(const BluetoothRawAddress &device, int state, int cause) in OnConnectionStateChanged() argument
31 data.WriteInt32(cause); in OnConnectionStateChanged()
H A Dbluetooth_avrcp_tg_observer_proxy.cpp22 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 Dhi_audit.h30 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 Dbluetooth_map_mse.cpp43 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 Dbluetooth_pan.cpp42 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);

Completed in 5 milliseconds

123456