Home
last modified time | relevance | path

Searched refs:mHasBattery (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DInputDeviceBatteryState.java34 private final boolean mHasBattery; field in InputDeviceBatteryState
39 mHasBattery = hasBattery; in InputDeviceBatteryState()
44 return mHasBattery; in isPresent()
49 if (!mHasBattery) { in getStatus()
57 if (mHasBattery) { in getCapacity()
/frameworks/base/core/java/android/view/
DInputDevice.java78 private final boolean mHasBattery; field in InputDevice
481 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()
/frameworks/native/libs/input/
DInputDevice.cpp171 mHasBattery(other.mHasBattery), in InputDeviceInfo()
194 mHasBattery = false; in initialize()
/frameworks/native/include/input/
DInputDevice.h247 inline void setHasBattery(bool hasBattery) { mHasBattery = hasBattery; } in setHasBattery()
248 inline bool hasBattery() const { return mHasBattery; } in hasBattery()
276 bool mHasBattery; variable