Home
last modified time | relevance | path

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

/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_stub.cpp96 WRITE_PARCEL_WITH_RET(reply, Int32, ret, E_WRITE_PARCEL_ERROR); in GetCapacityStub()
103 WRITE_PARCEL_WITH_RET(reply, Uint32, static_cast<uint32_t>(ret), E_WRITE_PARCEL_ERROR); in GetChargingStatusStub()
110 WRITE_PARCEL_WITH_RET(reply, Uint32, static_cast<uint32_t>(ret), E_WRITE_PARCEL_ERROR); in GetHealthStatusStub()
117 WRITE_PARCEL_WITH_RET(reply, Uint32, static_cast<uint32_t>(ret), E_WRITE_PARCEL_ERROR); in GetPluggedTypeStub()
124 WRITE_PARCEL_WITH_RET(reply, Int32, ret, E_WRITE_PARCEL_ERROR); in GetVoltageStub()
131 WRITE_PARCEL_WITH_RET(reply, Bool, ret, E_WRITE_PARCEL_ERROR); in GetPresentStub()
138 WRITE_PARCEL_WITH_RET(reply, String16, ret, E_WRITE_PARCEL_ERROR); in GetTechnologyStub()
145 WRITE_PARCEL_WITH_RET(reply, Int32, ret, E_WRITE_PARCEL_ERROR); in GetBatteryTemperatureStub()
152 WRITE_PARCEL_WITH_RET(reply, Uint32, static_cast<uint32_t>(ret), E_WRITE_PARCEL_ERROR); in GetBatteryCapacityLevelStub()
159 WRITE_PARCEL_WITH_RET(reply, Int64, ret, E_WRITE_PARCEL_ERROR); in GetRemainingChargeTimeStub()
[all …]
Dbattery_srv_proxy.cpp393 WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(sceneName), E_WRITE_PARCEL_ERROR); in SetBatteryConfig()
394 WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(value), E_WRITE_PARCEL_ERROR); in SetBatteryConfig()
421 WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(sceneName), ""); in GetBatteryConfig()
449 WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(sceneName), false); in IsBatteryConfigSupported()
/base/usb/usb_manager/services/zidl/src/
Dusb_srv_stub.cpp230 WRITE_PARCEL_WITH_RET(reply, Int32, functions, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoGetCurrentFunctions()
245WRITE_PARCEL_WITH_RET(reply, Int32, UsbFunctionsFromString(funcs), UEC_SERVICE_WRITE_PARCEL_ERROR); in DoUsbFunctionsFromString()
253WRITE_PARCEL_WITH_RET(reply, String, UsbFunctionsToString(funcs), UEC_SERVICE_WRITE_PARCEL_ERROR); in DoUsbFunctionsToString()
275WRITE_PARCEL_WITH_RET(reply, Bool, HasRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCEL_ERR… in DoHasRight()
284WRITE_PARCEL_WITH_RET(reply, Int32, RequestRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCE… in DoRequestRight()
292WRITE_PARCEL_WITH_RET(reply, Int32, RemoveRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCEL… in DoRemoveRight()
306 WRITE_PARCEL_WITH_RET(reply, Int32, size, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoGetPorts()
318 WRITE_PARCEL_WITH_RET(reply, Int32, port.id, UEC_SERVICE_WRITE_PARCEL_ERROR); in WriteUsbPort()
319 WRITE_PARCEL_WITH_RET(reply, Int32, port.supportedModes, UEC_SERVICE_WRITE_PARCEL_ERROR); in WriteUsbPort()
320WRITE_PARCEL_WITH_RET(reply, Int32, port.usbPortStatus.currentMode, UEC_SERVICE_WRITE_PARCEL_ERROR… in WriteUsbPort()
[all …]
Dusb_srv_proxy.cpp37 WRITE_PARCEL_WITH_RET(data, Uint8, busNum, UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessage()
38 WRITE_PARCEL_WITH_RET(data, Uint8, devAddr, UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessage()
333 WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(deviceName), false); in HasRight()
357WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(deviceName), UEC_INTERFACE_WRITE_PARCEL_ERROR); in RequestRight()
379WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(deviceName), UEC_INTERFACE_WRITE_PARCEL_ERROR); in RemoveRight()
427 WRITE_PARCEL_WITH_RET(data, Int32, funcs, UEC_INTERFACE_WRITE_PARCEL_ERROR); in SetCurrentFunctions()
448 WRITE_PARCEL_WITH_RET(data, String, std::string {funcs}, UEC_INTERFACE_WRITE_PARCEL_ERROR); in UsbFunctionsFromString()
474 WRITE_PARCEL_WITH_RET(data, Int32, funcs, INVALID_STRING_VALUE); in UsbFunctionsToString()
548 WRITE_PARCEL_WITH_RET(data, Int32, portId, UEC_INTERFACE_WRITE_PARCEL_ERROR); in GetSupportedModes()
570 WRITE_PARCEL_WITH_RET(data, Int32, portId, UEC_INTERFACE_WRITE_PARCEL_ERROR); in SetPortRole()
[all …]
/base/powermgr/power_manager/frameworks/native/
Drunning_lock_info.cpp60 WRITE_PARCEL_WITH_RET(parcel, String16, Str8ToStr16(name), false); in Marshalling()
61 WRITE_PARCEL_WITH_RET(parcel, Uint32, static_cast<uint32_t>(type), false); in Marshalling()
62 WRITE_PARCEL_WITH_RET(parcel, String16, Str8ToStr16(bundleName), false); in Marshalling()
63 WRITE_PARCEL_WITH_RET(parcel, Int32, static_cast<int32_t>(pid), false); in Marshalling()
64 WRITE_PARCEL_WITH_RET(parcel, Int32, static_cast<int32_t>(uid), false); in Marshalling()
/base/powermgr/display_manager/state_manager/service/zidl/src/
Ddisplay_power_mgr_proxy.cpp42 WRITE_PARCEL_WITH_RET(data, Uint32, id, false); in SetDisplayState()
43 WRITE_PARCEL_WITH_RET(data, Uint32, static_cast<uint32_t>(state), false); in SetDisplayState()
44 WRITE_PARCEL_WITH_RET(data, Uint32, reason, false); in SetDisplayState()
77 WRITE_PARCEL_WITH_RET(data, Uint32, id, DisplayState::DISPLAY_UNKNOWN); in GetDisplayState()
184 WRITE_PARCEL_WITH_RET(data, Uint32, value, false); in SetBrightness()
185 WRITE_PARCEL_WITH_RET(data, Uint32, displayId, false); in SetBrightness()
186 WRITE_PARCEL_WITH_RET(data, Bool, continuous, false); in SetBrightness()
222 WRITE_PARCEL_WITH_RET(data, Double, discount, false); in DiscountBrightness()
223 WRITE_PARCEL_WITH_RET(data, Uint32, displayId, false); in DiscountBrightness()
256 WRITE_PARCEL_WITH_RET(data, Uint32, value, false); in OverrideBrightness()
[all …]
Ddisplay_power_mgr_stub.cpp209 WRITE_PARCEL_WITH_RET(reply, Int32, error, E_WRITE_PARCEL_ERROR); in SetBrightnessStub()
366 WRITE_PARCEL_WITH_RET(reply, Bool, isSucc, E_WRITE_PARCEL_ERROR); in RegisterCallbackStub()
/base/powermgr/power_manager/services/zidl/src/
Dpower_mgr_proxy.cpp44WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
45 WRITE_PARCEL_WITH_RET(data, Parcelable, &runningLockInfo, PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
73 WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in ReleaseRunningLock()
100 WRITE_PARCEL_WITH_RET(data, Uint32, static_cast<uint32_t>(type), false); in IsRunningLockTypeSupported()
130 WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in Lock()
131 WRITE_PARCEL_WITH_RET(data, Int32, timeOutMs, false); in Lock()
157 WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in UnLock()
214 WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in IsUsed()
241 WRITE_PARCEL_WITH_RET(data, Bool, isProxied, false); in ProxyRunningLock()
242 WRITE_PARCEL_WITH_RET(data, Int32, pid, false); in ProxyRunningLock()
[all …]
Dpower_mgr_stub.cpp179 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in CreateRunningLockStub()
238 WRITE_PARCEL_WITH_RET(reply, Bool, ret, E_WRITE_PARCEL_ERROR); in IsUsedStub()
251 WRITE_PARCEL_WITH_RET(reply, Bool, ret, E_WRITE_PARCEL_ERROR); in ProxyRunningLockStub()
272 WRITE_PARCEL_WITH_RET(reply, Bool, ret, E_WRITE_PARCEL_ERROR); in ProxyRunningLocksStub()
279 WRITE_PARCEL_WITH_RET(reply, Bool, ret, E_WRITE_PARCEL_ERROR); in ResetAllPorxyStub()
287 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in RebootDeviceStub()
295 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in RebootDeviceForDeprecatedStub()
303 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in ShutDownDeviceStub()
317 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in WakeupDeviceStub()
332 WRITE_PARCEL_WITH_RET(reply, Int32, static_cast<int32_t>(error), E_WRITE_PARCEL_ERROR); in SuspendDeviceStub()
[all …]
/base/powermgr/power_manager/services/zidl/src/shutdown/
Dtakeover_shutdown_callback_proxy.cpp40 WRITE_PARCEL_WITH_RET(data, Bool, isReboot, false); in OnTakeOverShutdown()
Dtakeover_shutdown_callback_stub.cpp55 WRITE_PARCEL_WITH_RET(reply, Bool, isTakeOver, E_WRITE_PARCEL_ERROR); in OnTakeOverShutdownCallbackStub()
/base/powermgr/power_manager/utils/native/include/
Dpower_common.h61 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro
/base/powermgr/battery_manager/utils/native/include/
Dpower_common.h61 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro
/base/powermgr/display_manager/state_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