Searched refs:getBatteryDevicePath (Results 1 – 9 of 9) sorted by relevance
327 `when`(native.getBatteryDevicePath(DEVICE_ID)).thenReturn("/sys/dev/test/device1") in testListenersNotifiedOnUEventNotification()359 `when`(native.getBatteryDevicePath(DEVICE_ID)).thenReturn("/test/device1") in testBatteryPresenceChanged()472 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testUsiDeviceIsMonitoredPersistently()492 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testNoPollingWhenUsiDevicesAreMonitored()495 `when`(native.getBatteryDevicePath(SECOND_USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device2") in testNoPollingWhenUsiDevicesAreMonitored()512 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testExpectedFlowForUsiBattery()561 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testStylusPresenceExtendsValidUsiBatteryState()600 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testStylusPresenceMakesUsiBatteryStateValid()627 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testStylusPresenceDoesNotMakeUsiBatteryStateValidAtBoot()718 `when`(native.getBatteryDevicePath(BT_DEVICE_ID)).thenReturn("/sys/dev/bt_device") in testBluetoothBatteryIsPrioritized()[all …]
108 std::optional<std::string> getBatteryDevicePath(int32_t deviceId) { in getBatteryDevicePath() function in android::FuzzInputReader109 return reader->getBatteryDevicePath(deviceId); in getBatteryDevicePath()252 [&]() -> void { reader->getBatteryDevicePath(fdp->ConsumeIntegral<int32_t>()); }, in LLVMFuzzerTestOneInput()
166 String getBatteryDevicePath(int deviceId); in getBatteryDevicePath() method434 public native String getBatteryDevicePath(int deviceId); in getBatteryDevicePath() method in NativeInputManagerService.NativeImpl
628 final String batteryPath = mNative.getBatteryDevicePath(mState.deviceId); in startNativeMonitoring()
360 virtual std::optional<std::string> getBatteryDevicePath(int32_t deviceId) = 0;
101 std::optional<std::string> getBatteryDevicePath(int32_t deviceId) override;
784 std::optional<std::string> InputReader::getBatteryDevicePath(int32_t deviceId) { in getBatteryDevicePath() function in android::InputReader
2406 im->getInputManager()->getReader().getBatteryDevicePath(deviceId); in nativeGetBatteryDevicePath()
1386 ASSERT_EQ(mReader->getBatteryDevicePath(deviceId), FakeEventHub::BATTERY_DEVPATH); in TEST_F()