Enrico Granata | e23f034 | 2017-10-23 17:17:52 -0700 | [diff] [blame] | 1 | #include "process.h" |
2 | |||||
3 | #include <binder/Parcel.h> | ||||
4 | |||||
5 | status_t procfsinspector::ProcessInfo::writeToParcel(Parcel* parcel) const { | ||||
6 | parcel->writeUint32(mPid); | ||||
7 | parcel->writeUint32(mUid); | ||||
8 | return android::OK; | ||||
9 | } | ||||
10 | |||||
11 | status_t procfsinspector::ProcessInfo::readFromParcel(const Parcel* parcel) { | ||||
12 | mPid = parcel->readUint32(); | ||||
13 | mUid = parcel->readUint32(); | ||||
14 | return android::OK; | ||||
15 | } |