Searched refs:getBatteryDevicePath (Results 1 – 9 of 9) sorted by relevance
324 `when`(native.getBatteryDevicePath(DEVICE_ID)).thenReturn("/sys/dev/test/device1") in testListenersNotifiedOnUEventNotification()356 `when`(native.getBatteryDevicePath(DEVICE_ID)).thenReturn("/test/device1") in testBatteryPresenceChanged()469 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testUsiDeviceIsMonitoredPersistently()489 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testNoPollingWhenUsiDevicesAreMonitored()492 `when`(native.getBatteryDevicePath(SECOND_USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device2") in testNoPollingWhenUsiDevicesAreMonitored()509 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testExpectedFlowForUsiBattery()558 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testStylusPresenceExtendsValidUsiBatteryState()597 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testStylusPresenceMakesUsiBatteryStateValid()624 `when`(native.getBatteryDevicePath(USI_DEVICE_ID)).thenReturn("/sys/dev/usi_device") in testStylusPresenceDoesNotMakeUsiBatteryStateValidAtBoot()715 `when`(native.getBatteryDevicePath(BT_DEVICE_ID)).thenReturn("/sys/dev/bt_device") in testBluetoothBatteryIsPrioritized()[all …]
110 std::optional<std::string> getBatteryDevicePath(int32_t deviceId) { in getBatteryDevicePath() function in android::FuzzInputReader111 return reader->getBatteryDevicePath(deviceId); in getBatteryDevicePath()252 [&]() -> void { reader->getBatteryDevicePath(fdp->ConsumeIntegral<int32_t>()); }, in LLVMFuzzerTestOneInput()
158 String getBatteryDevicePath(int deviceId); in getBatteryDevicePath() method397 public native String getBatteryDevicePath(int deviceId); in getBatteryDevicePath() method in NativeInputManagerService.NativeImpl
628 final String batteryPath = mNative.getBatteryDevicePath(mState.deviceId); in startNativeMonitoring()
346 virtual std::optional<std::string> getBatteryDevicePath(int32_t deviceId) = 0;
104 std::optional<std::string> getBatteryDevicePath(int32_t deviceId) override;
797 std::optional<std::string> InputReader::getBatteryDevicePath(int32_t deviceId) { in getBatteryDevicePath() function in android::InputReader
2315 im->getInputManager()->getReader().getBatteryDevicePath(deviceId); in nativeGetBatteryDevicePath()
1290 ASSERT_EQ(mReader->getBatteryDevicePath(deviceId), FakeEventHub::BATTERY_DEVPATH); in TEST_F()