Searched refs:mUptimeSupplier (Results 1 – 2 of 2) sorted by relevance
78 @Mock LongSupplier mUptimeSupplier; field in InputHalServiceTest96 when(mUptimeSupplier.getAsLong()).thenReturn(0L); in setUp()97 mInputHalService = new InputHalService(mVehicleHal, mUptimeSupplier); in setUp()289 when(mUptimeSupplier.getAsLong()).thenReturn(5L); in handlesRepeatedKeys_anyDisplay()299 when(mUptimeSupplier.getAsLong()).thenReturn(10L); in handlesRepeatedKeys_anyDisplay()309 when(mUptimeSupplier.getAsLong()).thenReturn(15L); in handlesRepeatedKeys_anyDisplay()335 when(mUptimeSupplier.getAsLong()).thenReturn(5L); in handlesRepeatedKeyWithIndents_anyDisplay()349 when(mUptimeSupplier.getAsLong()).thenReturn(42L); in handlesKeyUp_withoutKeyDown_mainDisplay()363 when(mUptimeSupplier.getAsLong()).thenReturn(42L); in handlesKeyUp_withoutKeyDown_clusterDisplay()378 when(mUptimeSupplier.getAsLong()).thenReturn(27L); in separateKeyDownEvents_areIndependent_mainDisplay()[all …]
93 private final LongSupplier mUptimeSupplier; field in InputHalService154 mUptimeSupplier = uptimeSupplier; in InputHalService()762 dispatchKeyEvent(listener, action, code, display, mUptimeSupplier.getAsLong());