Home
last modified time | relevance | path

Searched refs:WRITE_PARCEL_WITH_RET (Results 1 – 12 of 12) sorted by relevance

/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_stub.cpp101 WRITE_PARCEL_WITH_RET(reply, Int32, ret, E_WRITE_PARCEL_ERROR); in GetCapacityStub()
108 WRITE_PARCEL_WITH_RET(reply, Uint32, static_cast<uint32_t>(ret), E_WRITE_PARCEL_ERROR); in GetChargingStatusStub()
115 WRITE_PARCEL_WITH_RET(reply, Uint32, static_cast<uint32_t>(ret), E_WRITE_PARCEL_ERROR); in GetHealthStatusStub()
122 WRITE_PARCEL_WITH_RET(reply, Uint32, static_cast<uint32_t>(ret), E_WRITE_PARCEL_ERROR); in GetPluggedTypeStub()
129 WRITE_PARCEL_WITH_RET(reply, Int32, ret, E_WRITE_PARCEL_ERROR); in GetVoltageStub()
136 WRITE_PARCEL_WITH_RET(reply, Bool, ret, E_WRITE_PARCEL_ERROR); in GetPresentStub()
143 WRITE_PARCEL_WITH_RET(reply, String16, ret, E_WRITE_PARCEL_ERROR); in GetTechnologyStub()
150 WRITE_PARCEL_WITH_RET(reply, Int32, ret, E_WRITE_PARCEL_ERROR); in GetBatteryTemperatureStub()
157 WRITE_PARCEL_WITH_RET(reply, Uint32, static_cast<uint32_t>(ret), E_WRITE_PARCEL_ERROR); in GetCapacityLevelStub()
164 WRITE_PARCEL_WITH_RET(reply, Int64, ret, E_WRITE_PARCEL_ERROR); in GetRemainingChargeTimeStub()
[all …]
/base/usb/usb_manager/services/zidl/src/
Dusb_srv_stub.cpp220 WRITE_PARCEL_WITH_RET(reply, Int32, functions, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoGetCurrentFunctions()
235WRITE_PARCEL_WITH_RET(reply, Int32, UsbFunctionsFromString(funcs), UEC_SERVICE_WRITE_PARCEL_ERROR); in DoUsbFunctionsFromString()
243WRITE_PARCEL_WITH_RET(reply, String, UsbFunctionsToString(funcs), UEC_SERVICE_WRITE_PARCEL_ERROR); in DoUsbFunctionsToString()
265WRITE_PARCEL_WITH_RET(reply, Bool, HasRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCEL_ERR… in DoHasRight()
274WRITE_PARCEL_WITH_RET(reply, Int32, RequestRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCE… in DoRequestRight()
282WRITE_PARCEL_WITH_RET(reply, Int32, RemoveRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCEL… in DoRemoveRight()
296 WRITE_PARCEL_WITH_RET(reply, Int32, size, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoGetPorts()
308 WRITE_PARCEL_WITH_RET(reply, Int32, port.id, UEC_SERVICE_WRITE_PARCEL_ERROR); in WriteUsbPort()
309 WRITE_PARCEL_WITH_RET(reply, Int32, port.supportedModes, UEC_SERVICE_WRITE_PARCEL_ERROR); in WriteUsbPort()
310WRITE_PARCEL_WITH_RET(reply, Int32, port.usbPortStatus.currentMode, UEC_SERVICE_WRITE_PARCEL_ERROR… in WriteUsbPort()
[all …]
Dusb_srv_proxy.cpp30 WRITE_PARCEL_WITH_RET(data, Uint8, busNum, UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessage()
31 WRITE_PARCEL_WITH_RET(data, Uint8, devAddr, UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessage()
311 WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(deviceName), false); in HasRight()
335WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(deviceName), UEC_INTERFACE_WRITE_PARCEL_ERROR); in RequestRight()
356WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(deviceName), UEC_INTERFACE_WRITE_PARCEL_ERROR); in RemoveRight()
403 WRITE_PARCEL_WITH_RET(data, Int32, funcs, UEC_INTERFACE_WRITE_PARCEL_ERROR); in SetCurrentFunctions()
424 WRITE_PARCEL_WITH_RET(data, String, std::string {funcs}, UEC_INTERFACE_WRITE_PARCEL_ERROR); in UsbFunctionsFromString()
450 WRITE_PARCEL_WITH_RET(data, Int32, funcs, INVALID_STRING_VALUE); in UsbFunctionsToString()
520 WRITE_PARCEL_WITH_RET(data, Int32, portId, UEC_INTERFACE_WRITE_PARCEL_ERROR); in GetSupportedModes()
541 WRITE_PARCEL_WITH_RET(data, Int32, portId, UEC_INTERFACE_WRITE_PARCEL_ERROR); in SetPortRole()
[all …]
/base/powermgr/power_manager/services/zidl/src/
Dpower_mgr_proxy.cpp42WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
43 WRITE_PARCEL_WITH_RET(data, Parcelable, &runningLockInfo, PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
70 WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in ReleaseRunningLock()
96 WRITE_PARCEL_WITH_RET(data, Uint32, static_cast<uint32_t>(type), false); in IsRunningLockTypeSupported()
125 WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in Lock()
126 WRITE_PARCEL_WITH_RET(data, Parcelable, &runningLockInfo, false); in Lock()
127 WRITE_PARCEL_WITH_RET(data, Uint32, timeOutMs, false); in Lock()
152 WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in UnLock()
177 WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in IsUsed()
203 WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in SetWorkTriggerList()
[all …]
Dpower_mgr_stub.cpp150 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in CreateRunningLockStub()
200 WRITE_PARCEL_WITH_RET(reply, Bool, ret, E_WRITE_PARCEL_ERROR); in IsUsedStub()
230 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in RebootDeviceStub()
238 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in RebootDeviceForDeprecatedStub()
246 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in ShutDownDeviceStub()
260 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in WakeupDeviceStub()
275 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in SuspendDeviceStub()
428 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in SetDeviceModeStub()
/base/powermgr/power_manager/frameworks/native/
Drunning_lock_info.cpp91 WRITE_PARCEL_WITH_RET(parcel, String16, Str8ToStr16(name), false); in Marshalling()
92 WRITE_PARCEL_WITH_RET(parcel, Uint32, static_cast<uint32_t>(type), false); in Marshalling()
124 WRITE_PARCEL_WITH_RET(parcel, String, name_, false); in Marshalling()
125 WRITE_PARCEL_WITH_RET(parcel, Int32, uid_, false); in Marshalling()
126 WRITE_PARCEL_WITH_RET(parcel, Int32, pid_, false); in Marshalling()
127 WRITE_PARCEL_WITH_RET(parcel, Int32, abilityId_, false); in Marshalling()
/base/powermgr/display_manager/service/zidl/src/
Ddisplay_power_mgr_proxy.cpp41 WRITE_PARCEL_WITH_RET(data, Uint32, id, false); in SetDisplayState()
42 WRITE_PARCEL_WITH_RET(data, Uint32, static_cast<uint32_t>(state), false); in SetDisplayState()
43 WRITE_PARCEL_WITH_RET(data, Uint32, reason, false); in SetDisplayState()
75 WRITE_PARCEL_WITH_RET(data, Uint32, id, DisplayState::DISPLAY_UNKNOWN); in GetDisplayState()
179 WRITE_PARCEL_WITH_RET(data, Uint32, value, false); in SetBrightness()
180 WRITE_PARCEL_WITH_RET(data, Uint32, displayId, false); in SetBrightness()
215 WRITE_PARCEL_WITH_RET(data, Double, discount, false); in DiscountBrightness()
216 WRITE_PARCEL_WITH_RET(data, Uint32, displayId, false); in DiscountBrightness()
248 WRITE_PARCEL_WITH_RET(data, Uint32, value, false); in OverrideBrightness()
249 WRITE_PARCEL_WITH_RET(data, Uint32, displayId, false); in OverrideBrightness()
[all …]
Ddisplay_power_mgr_stub.cpp187 WRITE_PARCEL_WITH_RET(reply, Int32, error, E_WRITE_PARCEL_ERROR); in SetBrightnessStub()
330 WRITE_PARCEL_WITH_RET(reply, Bool, isSucc, E_WRITE_PARCEL_ERROR); in RegisterCallbackStub()
/base/powermgr/battery_manager/utils/native/include/
Dpower_common.h61 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro
/base/powermgr/power_manager/utils/native/include/
Dpower_common.h61 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro
/base/powermgr/display_manager/utils/native/include/
Ddisplay_common.h61 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro
/base/usb/usb_manager/utils/native/include/
Dusb_common.h126 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro