Home
last modified time | relevance | path

Searched refs:injectEvent (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDrivingRestrictionsTest.java99 getMockedVehicleHal().injectEvent( in testDrivingStateChange()
109 getMockedVehicleHal().injectEvent( in testDrivingStateChange()
119 getMockedVehicleHal().injectEvent( in testDrivingStateChange()
131 getMockedVehicleHal().injectEvent( in testDrivingStateChange()
147 getMockedVehicleHal().injectEvent( in testDrivingStateChange()
166 getMockedVehicleHal().injectEvent( in testDrivingStateChange()
189 getMockedVehicleHal().injectEvent( in testDrivingStateChangeForMalformedInputs()
199 getMockedVehicleHal().injectEvent( in testDrivingStateChangeForMalformedInputs()
209 getMockedVehicleHal().injectEvent( in testDrivingStateChangeForMalformedInputs()
227 getMockedVehicleHal().injectEvent( in testDrivingStateChangeForMalformedInputs()
DCarDiagnosticManagerTest.java303 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build(time)); in testLiveFrameEvent()
322 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build()); in testMissingSensorRead()
356 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build()); in testFuelSystemStatus()
383 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build(timestamp)); in testSecondaryAirStatus()
420 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build(timestamp)); in testIgnitionMonitors()
463 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build(timestamp)); in testIgnitionMonitors()
510 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build(timestamp)); in testFuelType()
534 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build(timestamp)); in testDiagnosticJson()
591 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build(time)); in testMultipleListeners()
621 getMockedVehicleHal().injectEvent(mLiveFrameEventBuilder.build(time)); in testMultipleListeners()
[all …]
DCarSensorManagerTest.java165 getMockedVehicleHal().injectEvent( in testEvents()
190 getMockedVehicleHal().injectEvent( in testEvents()
221 getMockedVehicleHal().injectEvent(value, true); in testEvents()
272 getMockedVehicleHal().injectEvent( in injectIgnitionStateAndAssert()
320 getMockedVehicleHal().injectEvent( in injectGearEventAndAssert()
372 getMockedVehicleHal().injectEvent(value, true); in testEventsWithMultipleListeners()
413 getMockedVehicleHal().injectEvent(value, true); in testEventsWithMultipleListeners()
454 getMockedVehicleHal().injectEvent(value, true); in testEventsWithMultipleListeners()
466 getMockedVehicleHal().injectEvent(value, true); in testEventsWithMultipleListeners()
DCarHvacManagerTest.java201 getMockedVehicleHal().injectEvent(v); in testEvent()
214 getMockedVehicleHal().injectEvent(v); in testEvent()
227 getMockedVehicleHal().injectEvent(v); in testEvent()
254 getMockedVehicleHal().injectEvent(v); in testUnregisterCallback()
263 assertThrows(AssertionFailedError.class, () -> getMockedVehicleHal().injectEvent(v)); in testUnregisterCallback()
DCarProjectionManagerTest.java137 getMockedVehicleHal().injectEvent(injectValue); in sendVoiceKey()
155 getMockedVehicleHal().injectEvent(injectValue); in sendVoiceKey()
DMockedVmsTestBase.java189 getMockedVehicleHal().injectEvent( in sendMessage()
196 getMockedVehicleHal().injectEvent( in sendMessage()
DCarCabinManagerTest.java159 getMockedVehicleHal().injectEvent(v); in testEvent()
172 getMockedVehicleHal().injectEvent(v); in testEvent()
DCarPropertyManagerTest.java587 getMockedVehicleHal().injectEvent(secFakeValueDriveSide); in testOnChangeEventWithSameAreaId()
589 getMockedVehicleHal().injectEvent(firstFakeValueDriveSide); in testOnChangeEventWithSameAreaId()
619 getMockedVehicleHal().injectEvent(fakeValuePsgSide); in testOnChangeEventWithDifferentAreaId()
620 getMockedVehicleHal().injectEvent(fakeValueDriveSide); in testOnChangeEventWithDifferentAreaId()
/packages/services/Car/vehicle-hal-support-lib/test/com/android/car/vehiclehal/test/
DMockedVehicleHal.java96 public synchronized void injectEvent(VehiclePropValue value, boolean setProperty) { in injectEvent() method in MockedVehicleHal
119 public synchronized void injectEvent(VehiclePropValue value) { in injectEvent() method in MockedVehicleHal
120 injectEvent(value, false); in injectEvent()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DLiveChannelsTestController.java77 assertTrue("Failed to inject key up event:" + event, injectEvent(event, sync)); in assertPressKey()
168 public boolean injectEvent(KeyEvent event, boolean sync) { in injectEvent() method in LiveChannelsTestController
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
DClusterHomeManagerTest.java183 getMockedVehicleHal().injectEvent(createSwitchUiEvent(UI_TYPE_2)); in testClusterSwitchUi()
193 getMockedVehicleHal().injectEvent(createDisplayStateEvent( in testClusterState()
/packages/services/Car/tests/carservice_test/src/com/android/car/input/
DCarInputManagerTest.java799 getMockedVehicleHal().injectEvent( in injectKeyEvent()
812 getMockedVehicleHal().injectEvent(builder.build()); in injectRotaryEvent()
819 getMockedVehicleHal().injectEvent(builder.build()); in injectCustomInputEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java482 getMockedVehicleHal().injectEvent( in sendPowerState()