/base/powermgr/battery_manager/services/zidl/src/ |
D | battery_srv_stub.cpp | 101 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/ |
D | usb_srv_stub.cpp | 220 WRITE_PARCEL_WITH_RET(reply, Int32, functions, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoGetCurrentFunctions() 235 …WRITE_PARCEL_WITH_RET(reply, Int32, UsbFunctionsFromString(funcs), UEC_SERVICE_WRITE_PARCEL_ERROR); in DoUsbFunctionsFromString() 243 … WRITE_PARCEL_WITH_RET(reply, String, UsbFunctionsToString(funcs), UEC_SERVICE_WRITE_PARCEL_ERROR); in DoUsbFunctionsToString() 265 …WRITE_PARCEL_WITH_RET(reply, Bool, HasRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCEL_ERR… in DoHasRight() 274 …WRITE_PARCEL_WITH_RET(reply, Int32, RequestRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCE… in DoRequestRight() 282 …WRITE_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() 310 …WRITE_PARCEL_WITH_RET(reply, Int32, port.usbPortStatus.currentMode, UEC_SERVICE_WRITE_PARCEL_ERROR… in WriteUsbPort() [all …]
|
D | usb_srv_proxy.cpp | 30 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() 335 … WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(deviceName), UEC_INTERFACE_WRITE_PARCEL_ERROR); in RequestRight() 356 … WRITE_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/ |
D | power_mgr_proxy.cpp | 42 …WRITE_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 …]
|
D | power_mgr_stub.cpp | 150 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/ |
D | running_lock_info.cpp | 91 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/ |
D | display_power_mgr_proxy.cpp | 41 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 …]
|
D | display_power_mgr_stub.cpp | 187 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/ |
D | power_common.h | 61 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro
|
/base/powermgr/power_manager/utils/native/include/ |
D | power_common.h | 61 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro
|
/base/powermgr/display_manager/utils/native/include/ |
D | display_common.h | 61 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro
|
/base/usb/usb_manager/utils/native/include/ |
D | usb_common.h | 126 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \ macro
|