/base/telephony/call_manager/frameworks/native/src/ |
D | call_manager_service_proxy.cpp | 38 auto remote = Remote(); in RegisterCallBack() local 39 if (remote == nullptr) { in RegisterCallBack() 43 … int32_t error = remote->SendRequest(INTERFACE_REGISTER_CALLBACK, dataParcel, replyParcel, option); in RegisterCallBack() 60 auto remote = Remote(); in UnRegisterCallBack() local 61 if (remote == nullptr) { in UnRegisterCallBack() 65 …int32_t error = remote->SendRequest(INTERFACE_UNREGISTER_CALLBACK, dataParcel, replyParcel, option… in UnRegisterCallBack() 92 auto remote = Remote(); in DialCall() local 93 if (remote == nullptr) { in DialCall() 97 int32_t error = remote->SendRequest(INTERFACE_DIAL_CALL, dataParcel, replyParcel, option); in DialCall() 116 auto remote = Remote(); in AnswerCall() local [all …]
|
D | cellular_call_proxy.cpp | 38 auto remote = Remote(); in Dial() local 39 if (remote == nullptr) { in Dial() 43 …int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::DIAL), in, ou… in Dial() 67 auto remote = Remote(); in HangUp() local 68 if (remote == nullptr) { in HangUp() 72 …int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::HANG_UP), in,… in HangUp() 93 auto remote = Remote(); in Reject() local 94 if (remote == nullptr) { in Reject() 98 …int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::REJECT), in, … in Reject() 119 auto remote = Remote(); in Answer() local [all …]
|
/base/powermgr/battery_manager/services/zidl/src/ |
D | battery_srv_proxy.cpp | 30 sptr<IRemoteObject> remote = Remote(); in GetCapacity() local 31 RETURN_IF_WITH_RET(remote == nullptr, INVALID_BATT_INT_VALUE); in GetCapacity() 41 int ret = remote->SendRequest( in GetCapacity() 55 sptr<IRemoteObject> remote = Remote(); in GetChargingStatus() local 56 RETURN_IF_WITH_RET(remote == nullptr, BatteryChargeState::CHARGE_STATE_BUTT); in GetChargingStatus() 66 int ret = remote->SendRequest( in GetChargingStatus() 80 sptr<IRemoteObject> remote = Remote(); in GetHealthStatus() local 81 RETURN_IF_WITH_RET(remote == nullptr, BatteryHealthState::HEALTH_STATE_BUTT); in GetHealthStatus() 91 int ret = remote->SendRequest( in GetHealthStatus() 105 sptr<IRemoteObject> remote = Remote(); in GetPluggedType() local [all …]
|
/base/msdp/device_status/services/communication/client/src/ |
D | devicestatus_srv_proxy.cpp | 40 sptr<IRemoteObject> remote = Remote(); in Subscribe() local 41 DEV_RET_IF_NULL((remote == nullptr) || (callback == nullptr)); in Subscribe() 57 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(DeviceInterfaceCode::DEVICESTATUS_SUBSCRIB… in Subscribe() 70 sptr<IRemoteObject> remote = Remote(); in Unsubscribe() local 71 DEV_RET_IF_NULL((remote == nullptr) || (callback == nullptr)); in Unsubscribe() 86 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(DeviceInterfaceCode::DEVICESTATUS_UNSUBSCR… in Unsubscribe() 101 sptr<IRemoteObject> remote = Remote(); in GetCache() local 102 DEV_RET_IF_NULL_WITH_RET((remote == nullptr), devicestatusData); in GetCache() 115 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(DeviceInterfaceCode::DEVICESTATUS_GETCACHE… in GetCache() 142 sptr<IRemoteObject> remote = Remote(); in RegisterCoordinationListener() local [all …]
|
/base/update/updateservice/interfaces/inner_api/engine/ |
D | update_service_proxy.cpp | 33 #define RETURN_WHEN_REMOTE_NULL(remote) \ argument 34 ENGINE_CHECK((remote) != nullptr, return INT_CALL_IPC_ERR, "Can not get remote") 58 auto remote = Remote(); in RegisterUpdateCallback() local 59 RETURN_WHEN_REMOTE_NULL(remote); in RegisterUpdateCallback() 69 …int32_t ret = remote->SendRequest(CAST_UINT(UpdaterSaInterfaceCode::REGISTER_CALLBACK), data, repl… in RegisterUpdateCallback() 76 auto remote = Remote(); in UnregisterUpdateCallback() local 77 RETURN_WHEN_REMOTE_NULL(remote); in UnregisterUpdateCallback() 85 …int32_t ret = remote->SendRequest(CAST_UINT(UpdaterSaInterfaceCode::UNREGISTER_CALLBACK), data, re… in UnregisterUpdateCallback() 93 auto remote = Remote(); in CheckNewVersion() local 94 RETURN_WHEN_REMOTE_NULL(remote); in CheckNewVersion() [all …]
|
/base/powermgr/power_manager/services/zidl/src/ |
D | power_mgr_proxy.cpp | 31 sptr<IRemoteObject> remote = Remote(); in CreateRunningLock() local 32 RETURN_IF_WITH_RET(remote == nullptr, PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock() 46 int ret = remote->SendRequest( in CreateRunningLock() 60 sptr<IRemoteObject> remote = Remote(); in ReleaseRunningLock() local 61 RETURN_IF_WITH_RET(remote == nullptr, false); in ReleaseRunningLock() 74 int ret = remote->SendRequest( in ReleaseRunningLock() 86 sptr<IRemoteObject> remote = Remote(); in IsRunningLockTypeSupported() local 87 RETURN_IF_WITH_RET(remote == nullptr, false); in IsRunningLockTypeSupported() 100 int ret = remote->SendRequest( in IsRunningLockTypeSupported() 117 sptr<IRemoteObject> remote = Remote(); in Lock() local [all …]
|
/base/powermgr/display_manager/service/zidl/src/ |
D | display_power_mgr_proxy.cpp | 29 sptr<IRemoteObject> remote = Remote(); in SetDisplayState() local 30 RETURN_IF_WITH_RET(remote == nullptr, false); in SetDisplayState() 46 int ret = remote->SendRequest( in SetDisplayState() 64 sptr<IRemoteObject> remote = Remote(); in GetDisplayState() local 65 RETURN_IF_WITH_RET(remote == nullptr, DisplayState::DISPLAY_UNKNOWN); in GetDisplayState() 79 int ret = remote->SendRequest( in GetDisplayState() 97 sptr<IRemoteObject> remote = Remote(); in GetDisplayIds() local 100 RETURN_IF_WITH_RET(remote == nullptr, result); in GetDisplayIds() 112 int ret = remote->SendRequest( in GetDisplayIds() 139 sptr<IRemoteObject> remote = Remote(); in GetMainDisplayId() local [all …]
|
/base/powermgr/thermal_manager/services/zidl/src/ |
D | thermal_srv_proxy.cpp | 32 sptr<IRemoteObject> remote = Remote(); in SubscribeThermalTempCallback() local 33 THERMAL_RETURN_IF_WITH_RET((remote == nullptr) || (callback == nullptr), false); in SubscribeThermalTempCallback() 47 int ret = remote->SendRequest( in SubscribeThermalTempCallback() 60 sptr<IRemoteObject> remote = Remote(); in UnSubscribeThermalTempCallback() local 61 THERMAL_RETURN_IF_WITH_RET((remote == nullptr) || (callback == nullptr), false); in UnSubscribeThermalTempCallback() 74 int ret = remote->SendRequest( in UnSubscribeThermalTempCallback() 87 sptr<IRemoteObject> remote = Remote(); in SubscribeThermalLevelCallback() local 88 THERMAL_RETURN_IF_WITH_RET((remote == nullptr) || (callback == nullptr), false); in SubscribeThermalLevelCallback() 101 int ret = remote->SendRequest( in SubscribeThermalLevelCallback() 114 sptr<IRemoteObject> remote = Remote(); in UnSubscribeThermalLevelCallback() local [all …]
|
/base/telephony/core_service/frameworks/native/src/ |
D | telephony_state_registry_proxy.cpp | 55 sptr<IRemoteObject> remote = Remote(); in UpdateCellularDataConnectState() local 56 if (remote == nullptr) { in UpdateCellularDataConnectState() 59 int result = remote->SendRequest( in UpdateCellularDataConnectState() 83 sptr<IRemoteObject> remote = Remote(); in UpdateCellularDataFlow() local 84 if (remote == nullptr) { in UpdateCellularDataFlow() 87 int result = remote->SendRequest( in UpdateCellularDataFlow() 114 sptr<IRemoteObject> remote = Remote(); in UpdateCallState() local 115 if (remote == nullptr) { in UpdateCallState() 118 int result = remote->SendRequest( in UpdateCallState() 148 sptr<IRemoteObject> remote = Remote(); in UpdateCallStateForSlotId() local [all …]
|
D | core_service_proxy.cpp | 48 auto remote = Remote(); in GetPsRadioTech() local 49 if (remote == nullptr) { in GetPsRadioTech() 53 …int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_PS_RADIO_TECH), data, repl… in GetPsRadioTech() 75 auto remote = Remote(); in GetCsRadioTech() local 76 if (remote == nullptr) { in GetCsRadioTech() 80 …int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_CS_RADIO_TECH), data, repl… in GetCsRadioTech() 103 auto remote = Remote(); in GetOperatorNumeric() local 104 if (remote == nullptr) { in GetOperatorNumeric() 108 …int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_OPERATOR_NUMERIC), data, r… in GetOperatorNumeric() 128 auto remote = Remote(); in GetOperatorName() local [all …]
|
/base/telephony/state_registry/frameworks/native/observer/src/ |
D | telephony_observer_proxy.cpp | 41 sptr<IRemoteObject> remote = Remote(); in OnCallStateUpdated() local 42 if (remote == nullptr) { in OnCallStateUpdated() 46 int code = remote->SendRequest( in OnCallStateUpdated() 67 sptr<IRemoteObject> remote = Remote(); in OnSimStateUpdated() local 68 if (remote == nullptr) { in OnSimStateUpdated() 72 int code = remote->SendRequest( in OnSimStateUpdated() 99 sptr<IRemoteObject> remote = Remote(); in OnSignalInfoUpdated() local 100 if (remote == nullptr) { in OnSignalInfoUpdated() 104 int code = remote->SendRequest( in OnSignalInfoUpdated() 138 sptr<IRemoteObject> remote = Remote(); in OnCellInfoUpdated() local [all …]
|
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/ |
D | sys_installer_proxy.cpp | 31 auto remote = Remote(); in SysInstallerInit() local 32 if (remote == nullptr) { in SysInstallerInit() 43 int32_t ret = remote->SendRequest( in SysInstallerInit() 56 auto remote = Remote(); in StartUpdatePackageZip() local 57 if (remote == nullptr) { in StartUpdatePackageZip() 71 int32_t ret = remote->SendRequest( in StartUpdatePackageZip() 89 auto remote = Remote(); in SetUpdateCallback() local 90 if (remote == nullptr) { in SetUpdateCallback() 108 int32_t res = remote->SendRequest( in SetUpdateCallback() 120 auto remote = Remote(); in GetUpdateStatus() local [all …]
|
D | module_update_proxy.cpp | 30 auto remote = Remote(); in InstallModulePackage() local 31 if (remote == nullptr) { in InstallModulePackage() 45 int32_t ret = remote->SendRequest( in InstallModulePackage() 58 auto remote = Remote(); in UninstallModulePackage() local 59 if (remote == nullptr) { in UninstallModulePackage() 73 int32_t ret = remote->SendRequest( in UninstallModulePackage() 87 auto remote = Remote(); in GetModulePackageInfo() local 88 if (remote == nullptr) { in GetModulePackageInfo() 102 int32_t ret = remote->SendRequest( in GetModulePackageInfo() 116 auto remote = Remote(); in ReportModuleUpdateStatus() local [all …]
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
D | sms_service_proxy.cpp | 55 sptr<IRemoteObject> remote = Remote(); in SendMessage() local 56 if (remote == nullptr) { in SendMessage() 62 …remote->SendRequest(static_cast<int32_t>(SmsServiceInterfaceCode::TEXT_BASED_SMS_DELIVERY), dataPa… in SendMessage() 97 sptr<IRemoteObject> remote = Remote(); in SendMessage() local 98 if (remote == nullptr) { in SendMessage() 102 …remote->SendRequest(static_cast<int32_t>(SmsServiceInterfaceCode::DATA_BASED_SMS_DELIVERY), dataPa… in SendMessage() 119 sptr<IRemoteObject> remote = Remote(); in SetSmscAddr() local 120 if (remote == nullptr) { in SetSmscAddr() 124 remote->SendRequest(static_cast<int32_t>(SmsServiceInterfaceCode::SET_SMSC_ADDRESS), dataParcel, in SetSmscAddr() 140 sptr<IRemoteObject> remote = Remote(); in GetSmscAddr() local [all …]
|
/base/sensors/sensor/frameworks/native/sensor/src/ |
D | sensor_service_proxy.cpp | 49 sptr<IRemoteObject> remote = Remote(); in EnableSensor() local 50 CHKPR(remote, ERROR); in EnableSensor() 51 int32_t ret = remote->SendRequest(static_cast<uint32_t>(SensorInterfaceCode::ENABLE_SENSOR), in EnableSensor() 71 sptr<IRemoteObject> remote = Remote(); in DisableSensor() local 72 CHKPR(remote, ERROR); in DisableSensor() 73 int32_t ret = remote->SendRequest(static_cast<uint32_t>(SensorInterfaceCode::DISABLE_SENSOR), in DisableSensor() 93 sptr<IRemoteObject> remote = Remote(); in GetSensorList() local 94 if (remote == nullptr) { in GetSensorList() 98 int32_t ret = remote->SendRequest(static_cast<uint32_t>(SensorInterfaceCode::GET_SENSOR_LIST), in GetSensorList() 138 sptr<IRemoteObject> remote = Remote(); in TransferDataChannel() local [all …]
|
/base/powermgr/battery_statistics/services/zidl/src/ |
D | battery_stats_proxy.cpp | 32 sptr<IRemoteObject> remote = Remote(); in GetBatteryStats() local 33 STATS_RETURN_IF_WITH_RET(remote == nullptr, infoList); in GetBatteryStats() 44 int ret = remote->SendRequest( in GetBatteryStats() 66 sptr<IRemoteObject> remote = Remote(); in GetTotalTimeSecond() local 67 STATS_RETURN_IF_WITH_RET(remote == nullptr, StatsUtils::DEFAULT_VALUE); in GetTotalTimeSecond() 82 int ret = remote->SendRequest( in GetTotalTimeSecond() 96 sptr<IRemoteObject> remote = Remote(); in GetTotalDataBytes() local 97 STATS_RETURN_IF_WITH_RET(remote == nullptr, StatsUtils::DEFAULT_VALUE); in GetTotalDataBytes() 112 int ret = remote->SendRequest( in GetTotalDataBytes() 126 sptr<IRemoteObject> remote = Remote(); in GetAppStatsMah() local [all …]
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/src/ |
D | faultlogger_service_proxy.cpp | 31 sptr<IRemoteObject> remote = Remote(); in AddFaultLog() local 32 if (remote == nullptr) { in AddFaultLog() 49 if (remote->SendRequest(static_cast<uint32_t>(FaultLoggerServiceInterfaceCode::ADD_FAULTLOG), in AddFaultLog() 57 sptr<IRemoteObject> remote = Remote(); in QuerySelfFaultLog() local 58 if (remote == nullptr) { in QuerySelfFaultLog() 77 …if (remote->SendRequest(static_cast<uint32_t>(FaultLoggerServiceInterfaceCode::QUERY_SELF_FAULTLOG… in QuerySelfFaultLog() 91 sptr<IRemoteObject> remote = Remote(); in Destroy() local 92 if (remote == nullptr) { in Destroy() 103 if (remote->SendRequest(static_cast<uint32_t>(FaultLoggerServiceInterfaceCode::DESTROY), in Destroy()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/ |
D | dlp_permission_proxy.cpp | 59 sptr<IRemoteObject> remote = Remote(); in GenerateDlpCertificate() local 60 if (remote == nullptr) { in GenerateDlpCertificate() 64 int32_t requestResult = remote->SendRequest( in GenerateDlpCertificate() 104 sptr<IRemoteObject> remote = Remote(); in ParseDlpCertificate() local 105 if (remote == nullptr) { in ParseDlpCertificate() 110 int32_t requestResult = remote->SendRequest( in ParseDlpCertificate() 156 sptr<IRemoteObject> remote = Remote(); in InstallDlpSandbox() local 157 if (remote == nullptr) { in InstallDlpSandbox() 161 int32_t requestResult = remote->SendRequest( in InstallDlpSandbox() 210 sptr<IRemoteObject> remote = Remote(); in UninstallDlpSandbox() local [all …]
|
/base/telephony/cellular_call/services/manager/src/ |
D | cellular_call_callback.cpp | 36 auto remote = systemAbilityMgr->CheckSystemAbility(TELEPHONY_CELLULAR_CALL_SYS_ABILITY_ID); in ClearCellularCallList() local 37 if (remote == nullptr) { in ClearCellularCallList() 42 iface_cast<CellularCallInterface>(remote)->HangUpAllConnection(slotId); in ClearCellularCallList() 52 auto remote = systemAbilityMgr->CheckSystemAbility(TELEPHONY_CELLULAR_CALL_SYS_ABILITY_ID); in SetReadyToCall() local 53 if (remote == nullptr) { in SetReadyToCall() 57 iface_cast<CellularCallInterface>(remote)->SetReadyToCall(slotId, callType, isReadyToCall); in SetReadyToCall()
|
/base/sensors/miscdevice/frameworks/native/miscdevice/src/ |
D | miscdevice_service_proxy.cpp | 54 sptr<IRemoteObject> remote = Remote(); in Vibrate() local 55 CHKPR(remote, ERROR); in Vibrate() 58 int32_t ret = remote->SendRequest(static_cast<uint32_t>(MiscdeviceInterfaceCode::VIBRATE), in Vibrate() 79 sptr<IRemoteObject> remote = Remote(); in StopVibrator() local 80 CHKPR(remote, ERROR); in StopVibrator() 83 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(MiscdeviceInterfaceCode::STOP_VIBRATOR_ALL… in StopVibrator() 117 sptr<IRemoteObject> remote = Remote(); in PlayVibratorEffect() local 118 CHKPR(remote, ERROR); in PlayVibratorEffect() 121 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(MiscdeviceInterfaceCode::PLAY_VIBRATOR_EFF… in PlayVibratorEffect() 146 sptr<IRemoteObject> remote = Remote(); in StopVibrator() local [all …]
|
/base/telephony/core_service/services/ims_service_interaction/src/ |
D | ims_core_service_proxy.cpp | 36 auto remote = Remote(); in GetImsRegistrationStatus() local 37 if (remote == nullptr) { in GetImsRegistrationStatus() 43 …int32_t error = remote->SendRequest(static_cast<int32_t>(ImsCoreServiceInterfaceCode::IMS_GET_REGI… in GetImsRegistrationStatus() 67 auto remote = Remote(); in RegisterImsCoreServiceCallback() local 68 if (remote == nullptr) { in RegisterImsCoreServiceCallback() 74 …int32_t error = remote->SendRequest(static_cast<int32_t>(ImsCoreServiceInterfaceCode::IMS_REGISTER… in RegisterImsCoreServiceCallback() 91 auto remote = Remote(); in GetProxyObjectPtr() local 92 if (remote == nullptr) { in GetProxyObjectPtr() 98 …int32_t error = remote->SendRequest(static_cast<int32_t>(ImsCoreServiceInterfaceCode::IMS_GET_PROX… in GetProxyObjectPtr()
|
/base/security/security_component_manager/interfaces/inner_api/security_component/src/ |
D | sec_comp_proxy.cpp | 54 sptr<IRemoteObject> remote = Remote(); in RegisterSecurityComponent() local 55 if (remote == nullptr) { in RegisterSecurityComponent() 59 int32_t requestResult = remote->SendRequest( in RegisterSecurityComponent() 98 sptr<IRemoteObject> remote = Remote(); in UpdateSecurityComponent() local 99 if (remote == nullptr) { in UpdateSecurityComponent() 103 int32_t requestResult = remote->SendRequest( in UpdateSecurityComponent() 132 sptr<IRemoteObject> remote = Remote(); in UnregisterSecurityComponent() local 133 if (remote == nullptr) { in UnregisterSecurityComponent() 137 int32_t requestResult = remote->SendRequest( in UnregisterSecurityComponent() 189 sptr<IRemoteObject> remote = Remote(); in ReportSecurityComponentClickEvent() local [all …]
|
/base/usb/usb_manager/services/zidl/src/ |
D | usb_srv_proxy.cpp | 89 sptr<IRemoteObject> remote = Remote(); in GetDevices() local 90 if (remote == nullptr) { in GetDevices() 103 …ret = remote->SendRequest(static_cast<int32_t>(UsbInterfaceCode::USB_FUN_GET_DEVICES), data, reply… in GetDevices() 301 sptr<IRemoteObject> remote = Remote(); in OpenDevice() local 302 RETURN_IF_WITH_RET(remote == nullptr, UEC_SERVICE_INNER_ERR); in OpenDevice() 314 …ret = remote->SendRequest(static_cast<int32_t>(UsbInterfaceCode::USB_FUN_OPEN_DEVICE), data, reply… in OpenDevice() 326 sptr<IRemoteObject> remote = Remote(); in HasRight() local 327 RETURN_IF_WITH_RET(remote == nullptr, false); in HasRight() 334 …int32_t ret = remote->SendRequest(static_cast<int32_t>(UsbInterfaceCode::USB_FUN_HAS_RIGHT), data,… in HasRight() 351 sptr<IRemoteObject> remote = Remote(); in RequestRight() local [all …]
|
/base/hiviewdfx/hisysevent/adapter/native/idl/src/ |
D | sys_event_service_proxy.cpp | 30 auto remote = Remote(); in AddListener() local 31 if (remote == nullptr) { in AddListener() 55 int32_t res = remote->SendRequest(ADD_SYS_EVENT_LISTENER, data, reply, option); in AddListener() 71 auto remote = Remote(); in RemoveListener() local 72 if (remote == nullptr) { in RemoveListener() 91 int32_t res = remote->SendRequest(REMOVE_SYS_EVENT_LISTENER, data, reply, option); in RemoveListener() 108 auto remote = Remote(); in Query() local 109 if (remote == nullptr) { in Query() 137 int32_t res = remote->SendRequest(QUERY_SYS_EVENT, data, reply, option); in Query() 153 auto remote = Remote(); in SetDebugMode() local [all …]
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
D | sys_event_service_proxy.cpp | 30 auto remote = Remote(); in AddListener() local 31 if (remote == nullptr) { in AddListener() 55 int32_t res = remote->SendRequest( in AddListener() 72 auto remote = Remote(); in RemoveListener() local 73 if (remote == nullptr) { in RemoveListener() 92 int32_t res = remote->SendRequest( in RemoveListener() 110 auto remote = Remote(); in Query() local 111 if (remote == nullptr) { in Query() 139 int32_t res = remote->SendRequest( in Query() 156 auto remote = Remote(); in SetDebugMode() local [all …]
|