Searched refs:mHasBattery (Results 1 – 4 of 4) sorted by relevance
34 private final boolean mHasBattery; field in InputDeviceBatteryState39 mHasBattery = hasBattery; in InputDeviceBatteryState()44 return mHasBattery; in isPresent()49 if (!mHasBattery) { in getStatus()57 if (mHasBattery) { in getCapacity()
78 private final boolean mHasBattery; field in InputDevice481 mHasBattery = hasBattery; in InputDevice()501 mHasBattery = in.readInt() != 0; in InputDevice()861 mBatteryState = InputManager.getInstance().getInputDeviceBatteryState(mId, mHasBattery); in getBatteryState()1103 out.writeInt(mHasBattery ? 1 : 0); in writeToParcel()1150 description.append(" Has battery: ").append(mHasBattery).append("\n"); in toString()
171 mHasBattery(other.mHasBattery), in InputDeviceInfo()194 mHasBattery = false; in initialize()
247 inline void setHasBattery(bool hasBattery) { mHasBattery = hasBattery; } in setHasBattery()248 inline bool hasBattery() const { return mHasBattery; } in hasBattery()276 bool mHasBattery; variable