You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
386 B
16 lines
386 B
#include "process.h"
|
|
|
|
#include <binder/Parcel.h>
|
|
|
|
status_t procfsinspector::ProcessInfo::writeToParcel(Parcel* parcel) const {
|
|
parcel->writeUint32(mPid);
|
|
parcel->writeUint32(mUid);
|
|
return android::OK;
|
|
}
|
|
|
|
status_t procfsinspector::ProcessInfo::readFromParcel(const Parcel* parcel) {
|
|
mPid = parcel->readUint32();
|
|
mUid = parcel->readUint32();
|
|
return android::OK;
|
|
}
|