Lines Matching refs:p

32 status_t BatteryProperties::readFromParcel(Parcel* p) {  in readFromParcel()  argument
33 chargerAcOnline = p->readInt32() == 1 ? true : false; in readFromParcel()
34 chargerUsbOnline = p->readInt32() == 1 ? true : false; in readFromParcel()
35 chargerWirelessOnline = p->readInt32() == 1 ? true : false; in readFromParcel()
36 maxChargingCurrent = p->readInt32(); in readFromParcel()
37 maxChargingVoltage = p->readInt32(); in readFromParcel()
38 batteryStatus = p->readInt32(); in readFromParcel()
39 batteryHealth = p->readInt32(); in readFromParcel()
40 batteryPresent = p->readInt32() == 1 ? true : false; in readFromParcel()
41 batteryLevel = p->readInt32(); in readFromParcel()
42 batteryVoltage = p->readInt32(); in readFromParcel()
43 batteryTemperature = p->readInt32(); in readFromParcel()
44 batteryFullCharge = p->readInt32(); in readFromParcel()
45 batteryChargeCounter = p->readInt32(); in readFromParcel()
46 batteryTechnology = String8((p->readString16()).string()); in readFromParcel()
50 status_t BatteryProperties::writeToParcel(Parcel* p) const { in writeToParcel()
51 p->writeInt32(chargerAcOnline ? 1 : 0); in writeToParcel()
52 p->writeInt32(chargerUsbOnline ? 1 : 0); in writeToParcel()
53 p->writeInt32(chargerWirelessOnline ? 1 : 0); in writeToParcel()
54 p->writeInt32(maxChargingCurrent); in writeToParcel()
55 p->writeInt32(maxChargingVoltage); in writeToParcel()
56 p->writeInt32(batteryStatus); in writeToParcel()
57 p->writeInt32(batteryHealth); in writeToParcel()
58 p->writeInt32(batteryPresent ? 1 : 0); in writeToParcel()
59 p->writeInt32(batteryLevel); in writeToParcel()
60 p->writeInt32(batteryVoltage); in writeToParcel()
61 p->writeInt32(batteryTemperature); in writeToParcel()
62 p->writeInt32(batteryFullCharge); in writeToParcel()
63 p->writeInt32(batteryChargeCounter); in writeToParcel()
64 p->writeString16(String16(batteryTechnology)); in writeToParcel()