| /applications/standard/settings/napi/settings/ |
| H A D | napi_settings.cpp | 48 napi_value error; in ThrowExistingError() local [all...] |
| /base/location/frameworks/native/locator_sdk/source/ |
| H A D | locator_proxy.cpp | 50 int error = SendMsgWithReply(static_cast<int>(LocatorInterfaceCode::GET_SWITCH_STATE), reply); in GetSwitchState() local 68 int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::ENABLE_ABILITY), data, reply); in EnableAbility() local 80 int error; in SendMsgWithDataReply() local 134 int error = in RegisterSwitchCallback() local 141 int error = UnregisterSwitchCallback() local 148 int error = RegisterGnssStatusCallback() local 155 int error = UnregisterGnssStatusCallback() local 162 int error = SendRegisterMsgToRemote(static_cast<int>(LocatorInterfaceCode::REG_NMEA_CALLBACK), callback, uid); RegisterNmeaMessageCallback() local 168 int error = SendRegisterMsgToRemote(static_cast<int>(LocatorInterfaceCode::UNREG_NMEA_CALLBACK), callback, 0); UnregisterNmeaMessageCallback() local 188 int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::START_LOCATING), data, reply); StartLocating() local 199 int error = StopLocating() local 207 int error = SendMsgWithReply(static_cast<int>(LocatorInterfaceCode::GET_CACHE_LOCATION), reply); GetCacheLocation() local 235 int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::IS_PRIVACY_COMFIRMED), data, reply); IsLocationPrivacyConfirmed() local 255 int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::SET_PRIVACY_COMFIRM_STATUS), data, reply); SetLocationPrivacyConfirmStatus() local 280 int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::REG_CACHED_CALLBACK), data, reply); RegisterCachedLocationCallback() local 287 int error = SendRegisterMsgToRemote(static_cast<int>(LocatorInterfaceCode::UNREG_CACHED_CALLBACK), UnregisterCachedLocationCallback() local 297 int error = SendMsgWithReply(static_cast<int>(LocatorInterfaceCode::GET_CACHED_LOCATION_SIZE), reply); GetCachedGnssLocationsSize() local 310 int error = SendMsgWithReply(static_cast<int>(LocatorInterfaceCode::FLUSH_CACHED_LOCATIONS), reply); FlushCachedGnssLocations() local 327 int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::SEND_COMMAND), data, reply); SendCommand() local 338 int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::ENABLE_LOCATION_MOCK), data, reply); EnableLocationMock() local 354 int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::DISABLE_LOCATION_MOCK), data, reply); DisableLocationMock() local 377 int error = SendMsgWithDataReply(static_cast<int>(LocatorInterfaceCode::SET_MOCKED_LOCATIONS), data, reply); SetMockedLocations() local 390 int error = SendMsgWithReply(static_cast<int>(LocatorInterfaceCode::ENABLE_REVERSE_GEOCODE_MOCK), reply); EnableReverseGeocodingMock() local 402 int error = SendMsgWithReply(static_cast<int>(LocatorInterfaceCode::DISABLE_REVERSE_GEOCODE_MOCK), reply); DisableReverseGeocodingMock() local 422 int error = SetReverseGeocodingMockInfo() local 491 int error = remote->SendRequest(msgId, data, reply, option); SendMsgWithDataReplyV9() local 535 int error = remote->SendRequest(msgId, data, reply, option); SendRegisterMsgToRemoteV9() local [all...] |
| /base/location/frameworks/location_common/common/source/ |
| H A D | common_utils.cpp | 261 int32_t error = bundleMgrClient.GetNameForUid(uid, bundleName); in GetBundleNameByUid() local
|
| /base/location/services/location_network/network/source/ |
| H A D | network_ability.cpp | 352 int error = nlpServiceProxy_->SendRequest(REQUEST_NETWORK_LOCATION, data, reply, option); in RequestNetworkLocation() local 374 int error = nlpServiceProxy_->SendRequest(REMOVE_NETWORK_LOCATION, data, reply, option); in RemoveNetworkLocation() local
|
| /base/customization/enterprise_device_management/interfaces/kits/common/src/ |
| H A D | napi_edm_common.cpp | 459 napi_value error = nullptr; in NativeVoidCallbackComplete() local
|
| /base/global/resource_management/interfaces/js/innerkits/core/src/ |
| H A D | resource_manager_napi_async_impl.cpp | 106 napi_value error = nullptr; in GetCallbackErrorCode() local
|
| H A D | resource_manager_napi_utils.cpp | 155 napi_value error = nullptr; in NapiThrow() local
|
| /base/powermgr/power_manager/services/zidl/src/ |
| H A D | power_mgr_proxy.cpp | 56 int32_t error; in CreateRunningLock() local 177 int32_t error; in Lock() local 207 int32_t error; in UnLock() local 384 int32_t error; in RebootDevice() local 412 int32_t error; RebootDeviceForDeprecated() local 439 int32_t error; ShutDownDevice() local 466 int32_t error; SetSuspendTag() local 496 int32_t error; SuspendDevice() local 526 int32_t error; WakeupDevice() local 608 int32_t error; OverrideScreenOffTime() local 635 int32_t error; RestoreScreenOffTime() local 666 int error = asyncCallback->WaitForAsyncReply(waitTime); ForceSuspendDevice() local 1154 int error = asyncCallback->WaitForAsyncReply(waitTime); Hibernate() local 1180 int32_t error; SetDeviceMode() local 1269 int32_t error; IsStandby() local 1302 int32_t error; SetForceTimingOut() local 1332 int32_t error; LockScreenAfterTimingOut() local [all...] |
| H A D | power_mgr_stub.cpp | 219 PowerErrors error = CreateRunningLock(remoteObj, *runningLockInfo); in CreateRunningLockStub() local 274 PowerErrors error = Lock(remoteObj, timeOutMs); in LockStub() local 285 PowerErrors error = UnLock(remoteObj, name); in UnLockStub() local 354 PowerErrors error = RebootDevice(reason); in RebootDeviceStub() local 362 PowerErrors error = RebootDeviceForDeprecated(reason); in RebootDeviceForDeprecatedStub() local 370 PowerErrors error = ShutDownDevice(reason); ShutDownDeviceStub() local 378 PowerErrors error = SetSuspendTag(tag); SetSuspendTagStub() local 392 PowerErrors error = WakeupDevice(time, static_cast<WakeupDeviceType>(reason), details); WakeupDeviceStub() local 407 PowerErrors error = SuspendDevice(time, static_cast<SuspendDeviceType>(reason), suspendImmed); SuspendDeviceStub() local 432 PowerErrors error = OverrideScreenOffTime(timeout); OverrideScreenOffTimeStub() local 442 PowerErrors error = RestoreScreenOffTime(); RestoreScreenOffTimeStub() local 457 PowerErrors error = ForceSuspendDevice(time); ForceSuspendDeviceStub() local 651 PowerErrors error = Hibernate(clearMemory); HibernateStub() local 663 PowerErrors error = SetDeviceMode(static_cast<PowerMode>(mode)); SetDeviceModeStub() local [all...] |
| /base/request/request/frameworks/cj/ffi/src/ |
| H A D | cj_initialize.cpp | 566 ExceptionError error = { .code = ExceptionErrorCode::E_OK }; GetFD() local [all...] |
| /base/powermgr/battery_manager/frameworks/napi/src/ |
| H A D | battery_info.cpp | 190 NapiError error;
in SetBatteryConfig() local 220 NapiError error;
in GetBatteryConfig() local 249 NapiError error;
in IsBatteryConfigSupported() local
|
| /base/powermgr/power_manager/frameworks/native/ |
| H A D | power_mgr_client.cpp | 305 auto error = runningLock->Init(); in CreateRunningLock() local 450 std::string error = "can't connect service"; in Dump() local 451 RETURN_IF_WITH_RET(Connect() != ERR_OK, error); in Dump() local
|
| /base/powermgr/display_manager/state_manager/frameworks/napi/ |
| H A D | brightness.cpp | 108 DisplayErrors error = brightnessInfo_.GetServiceError();
in SetValue() local 229 void Brightness::Result::GetError(napi_env env, napi_value* error, size_t& size) const
in GetError() argument 274 napi_value error in ThrowError() local 341 bool error = result_.IsError(); ExecuteCallback() local [all...] |
| /base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
| H A D | ans_manager_proxy_unit_test.cpp | 72 SendRequestReplace(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option, int32_t error, bool setError, bool retBool, bool setRetBool) SendRequestReplace() argument 84 SendRequestReplaceNum(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option, int32_t error, bool setError, uint64_t retNum, bool setRetNum) SendRequestReplaceNum() argument 96 SendRequestReplaceString(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option, int32_t error, bool setError, std::string retStr, bool setRetStr) SendRequestReplaceString() argument 108 SendRequestGetAllEnableNotifications(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option, int32_t error, int32_t retnum, bool setError, int32_t notificationNum) SendRequestGetAllEnableNotifications() argument 1282 SendRequestReplaceSlot(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option, int32_t error, bool setError, int32_t slotNum) SendRequestReplaceSlot() argument 1658 SendRequestReplaceNotifications(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option, int32_t error, bool setError, int32_t notificationNum) SendRequestReplaceNotifications() argument 7445 SendRequestReplaceDumpInfo(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option, int32_t error, bool setError, int32_t num) SendRequestReplaceDumpInfo() argument [all...] |
| /base/tee/tee_client/services/teecd/include/ |
| H A D | fs_work_agent.h | 85 uint32_t error; member
|
| /base/telephony/call_manager/frameworks/native/src/ |
| H A D | cellular_call_proxy.cpp | 43 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::DIAL), in, out, option); in Dial() local 72 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::HANG_UP), in, out, option); in HangUp() local 98 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::REJECT), in, out, option); in Reject() local 124 int32_t error in Answer() local 150 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::HOLD_CALL), in, out, option); HoldCall() local 176 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::UN_HOLD_CALL), in, UnHoldCall() local 203 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SWITCH_CALL), in, out, option); SwitchCall() local 233 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::REGISTER_CALLBACK), in, RegisterCallManagerCallBack() local 257 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::UNREGISTER_CALLBACK), in, UnRegisterCallManagerCallBack() local 315 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::COMBINE_CONFERENCE), in, CombineConference() local 342 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SEPARATE_CONFERENCE), in, SeparateConference() local 368 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::INVITE_TO_CONFERENCE), in, InviteToConference() local 395 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::KICK_OUT_CONFERENCE), in, KickOutFromConference() local 419 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::HANG_UP_ALL_CONNECTION), in, HangUpAllConnection() local 449 int32_t error = SetReadyToCall() local 485 int32_t error = remote->SendRequest( SendUpdateCallMediaModeRequest() local 515 int32_t error = remote->SendRequest( SendUpdateCallMediaModeResponse() local 545 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::START_DTMF), in, out, option); StartDtmf() local 571 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::STOP_DTMF), in, out, option); StopDtmf() local 603 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::POST_DIAL_PROCEED), PostDialProceed() local 633 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SEND_DTMF), in, out, option); SendDtmf() local 658 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::START_RTT), in, out, option); StartRtt() local 680 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::STOP_RTT), in, out, option); StopRtt() local 705 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_CALL_TRANSFER), in, SetCallTransferInfo() local 731 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::CAN_SET_CALL_TRANSFER_TIME), CanSetCallTransferTime() local 759 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::GET_CALL_TRANSFER), in, GetCallTransferInfo() local 785 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_CALL_WAITING), in, SetCallWaiting() local 808 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::GET_CALL_WAITING), in, GetCallWaiting() local 834 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_CALL_RESTRICTION), in, SetCallRestriction() local 860 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::GET_CALL_RESTRICTION), in, GetCallRestriction() local 893 int32_t error = remote->SendRequest( SetCallRestrictionPassword() local 919 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_DOMAIN_PREFERENCE_MODE), SetDomainPreferenceMode() local 942 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::GET_DOMAIN_PREFERENCE_MODE), GetDomainPreferenceMode() local 968 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_IMS_SWITCH_STATUS), SetImsSwitchStatus() local 992 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::GET_IMS_SWITCH_STATUS), GetImsSwitchStatus() local 1020 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_VONR_SWITCH_STATUS), in, SetVoNRState() local 1044 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::GET_VONR_SWITCH_STATUS), in, GetVoNRState() local 1075 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_IMS_CONFIG_STRING), in, SetImsConfig() local 1104 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_IMS_CONFIG_INT), in, SetImsConfig() local 1130 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::GET_IMS_CONFIG), in, GetImsConfig() local 1159 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_IMS_FEATURE), in, SetImsFeatureValue() local 1185 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::GET_IMS_FEATURE), in, GetImsFeatureValue() local 1218 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::CTRL_CAMERA), in, out, option); ControlCamera() local 1257 int32_t error = SetPreviewWindow() local 1297 int32_t error = SetDisplayWindow() local 1324 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_CAMERA_ZOOM), in, SetCameraZoom() local 1357 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_PAUSE_IMAGE), in, SetPausePicture() local 1390 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_DEVICE_DIRECTION), in, SetDeviceDirection() local 1416 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_MUTE), in, out, option); SetMute() local 1438 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::GET_MUTE), in, out, option); GetMute() local 1478 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::SET_EMERGENCY_CALL_LIST), SetEmergencyCallList() local 1515 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::CLOSE_UNFINISHED_USSD), CloseUnFinishedUssd() local 1549 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::CLEAR_ALL_CALLS), ClearAllCalls() local 1579 int32_t error = remote->SendRequest( CancelCallUpgrade() local 1609 int32_t error = remote->SendRequest( RequestCameraCapabilities() local [all...] |
| /base/telephony/cellular_data/frameworks/js/napi/src/ |
| H A D | napi_cellular_data.cpp | 219 JsError error = NapiUtil::ConverErrorMessageWithPermissionForJs( in IsCellularDataEnabledCallback() local 300 JsError error = NapiUtil::ConverErrorMessageWithPermissionForJs( in EnableCellularDataCallback() local 320 JsError error = NapiUtil::ConverErrorMessageWithPermissionForJs( in DisableCellularDataCallback() local 340 JsError error = NapiUtil::ConverErrorMessageWithPermissionForJs( EnableCellularDataRoamingCallback() local 360 JsError error = NapiUtil::ConverErrorMessageWithPermissionForJs( DisableCellularDataRoamingCallback() local 578 JsError error = NapiUtil::ConverErrorMessageWithPermissionForJs( IsCellularDataRoamingEnabledCallback() local 779 JsError error = NapiUtil::ConverErrorMessageWithPermissionForJs( SetDefaultCellularDataSlotIdCallback() local [all...] |
| /base/telephony/cellular_call/services/ims_service_interaction/src/ |
| H A D | ims_call_proxy.cpp | 54 int32_t error = remote->SendRequest(static_cast<int32_t>(ImsCallInterfaceCode::IMS_DIAL), in, out, option);
in Dial() local 86 int32_t error = remote->SendRequest(static_cast<int32_t>(ImsCallInterfaceCode::IMS_HANG_UP), in, out, option);
in HangUp() local 122 int32_t error = remote->SendRequest(static_cast<int32_t>(ImsCallInterfaceCode::IMS_REJECT_WITH_REASON), in,
in RejectWithReason() local 155 int32_t error = remote->SendRequest(static_cast<int32_t>(ImsCallInterfaceCode::IMS_ANSWER), in, out, option); Answer() local 784 int32_t error = remote->SendRequest(static_cast<int32_t>(ImsCallInterfaceCode::IMS_CAN_SET_CALL_TRANSFER_TIME), in, CanSetCallTransferTime() local 1052 int32_t error = remote->SendRequest(eventId, in, out, option); SendRequest() local 1070 int32_t error = remote->SendRequest(eventId, in, out, option); SendRequest() local [all...] |
| /base/telephony/sms_mms/utils/ |
| H A D | text_coder.cpp | 212 GError *error = nullptr; in GetEncodeString() local [all...] |
| /base/web/webview/interfaces/kits/napi/webviewcontroller/ |
| H A D | native_media_player_impl.cpp | 290 void NapiNativeMediaPlayerHandlerImpl::HandleError(MediaError error, const std::string& message) in HandleError() argument
|
| /base/useriam/user_auth_framework/services/context/src/ |
| H A D | widget_context.cpp | 126 void WidgetContext::SetLatestError(int32_t error) in SetLatestError() argument
|
| /foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
| H A D | distributed_sched_proxy.cpp | 450 int32_t error = remote->SendRequest(static_cast<uint32_t>(IDSchedInterfaceCode::START_SYNC_MISSIONS_FROM_REMOTE), in StartSyncMissionsFromRemote() local 495 int32_t error = remote->SendRequest(static_cast<uint32_t>(IDSchedInterfaceCode::STOP_SYNC_MISSIONS_FROM_REMOTE), in StopSyncMissionsFromRemote() local 677 int32_t error = remote->SendRequest(static_cast<uint32_t> NotifyMissionsChangedFromRemote() local 712 int32_t error = remote->SendRequest(static_cast<uint32_t>(IDSchedInterfaceCode::GET_REMOTE_MISSION_SNAPSHOT_INFO), GetRemoteMissionSnapshotInfo() local 1076 int32_t error = remote->SendRequest(static_cast<uint32_t>(IDSchedInterfaceCode::GET_DISTRIBUTED_COMPONENT_LIST), GetDistributedComponentList() local [all...] |
| /foundation/ability/form_fwk/frameworks/js/napi/formUtil/ |
| H A D | napi_form_util.cpp | 120 napi_value error = CreateJsError(env, errCode, errMessage); in Throw() local 308 napi_value error = nullptr; InnerCreateCallbackRetMsg() local [all...] |
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
| H A D | js_drag_function.cpp | 45 napi_value error = nullptr; in NapiThrow() local
|
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
| H A D | js_rendering_context.cpp | 339 napi_value error = nullptr; in CreateErrorValue() local
|