Home
last modified time | relevance | path

Searched defs:batteryId (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h422 inline std::optional<RawBatteryInfo> getRawBatteryInfo(int32_t batteryId) { in getRawBatteryInfo()
426 inline std::optional<int32_t> getBatteryCapacity(int32_t batteryId) { in getBatteryCapacity()
430 inline std::optional<int32_t> getBatteryStatus(int32_t batteryId) { in getBatteryStatus()
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp544 std::optional<int32_t> PeripheralController::getBatteryCapacity(int batteryId) { in getBatteryCapacity()
548 std::optional<int32_t> PeripheralController::getBatteryStatus(int batteryId) { in getBatteryStatus()
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h242 std::optional<int32_t> getBatteryCapacity(int32_t deviceId, int32_t batteryId) const override { in getBatteryCapacity()
247 std::optional<int32_t> getBatteryStatus(int32_t deviceId, int32_t batteryId) const override { in getBatteryStatus()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1306 std::optional<int32_t> getBatteryCapacity(int32_t batteryId) override { in getBatteryCapacity()
1310 std::optional<int32_t> getBatteryStatus(int32_t batteryId) override { in getBatteryStatus()