Searched refs:expectedEvent (Results 1 – 6 of 6) sorted by relevance
/aosp12/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
H A D | VhalEventVerifier.java | 40 public final CarPropertyValue expectedEvent; field in VhalEventVerifier.MismatchedEventPair 43 MismatchedEventPair(CarPropertyValue expectedEvent, CarPropertyValue mismatchedEvent, in MismatchedEventPair() argument 46 this.expectedEvent = expectedEvent; in MismatchedEventPair() 69 CarPropertyValue expectedEvent = mExpectedEvents.get(mIdx); in verify() local 70 if (!Utils.areCarPropertyValuesEqual(expectedEvent, nextEvent)) { in verify() 71 mMismatchedEvents.add(new MismatchedEventPair(expectedEvent, nextEvent, mIdx)); in verify() 90 + pair.expectedEvent + ", Received " in getResultString()
|
H A D | CarPropertyTest.java | 173 for (CarPropertyValue expectedEvent : expectedSetEvents) { in testHvacHardButtonOperations() 174 Class valueClass = expectedEvent.getValue().getClass(); in testHvacHardButtonOperations() 176 expectedEvent.getPropertyId(), in testHvacHardButtonOperations() 177 expectedEvent.getAreaId(), in testHvacHardButtonOperations() 178 expectedEvent.getValue()); in testHvacHardButtonOperations() 181 expectedEvent.getPropertyId(), expectedEvent.getAreaId()); in testHvacHardButtonOperations() 182 assertTrue("Mismatched events, expected: " + expectedEvent + ", received: " in testHvacHardButtonOperations() 218 for (CarPropertyValue expectedEvent : expectedEvents) { in testStaticInfoOperations() 220 expectedEvent.getPropertyId(), expectedEvent.getAreaId()); in testStaticInfoOperations() 223 actualEvent, expectedEvent), in testStaticInfoOperations() [all …]
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiMetricsTestUtil.java | 212 StaEvent expectedEvent = expected[i]; in assertLinkProbeStaEventsEqual() local 216 StaEvent.TYPE_LINK_PROBE, expectedEvent.type); in assertLinkProbeStaEventsEqual() 220 expectedEvent.linkProbeWasSuccess, actualEvent.linkProbeWasSuccess); in assertLinkProbeStaEventsEqual() 221 if (expectedEvent.linkProbeWasSuccess) { in assertLinkProbeStaEventsEqual() 224 expectedEvent.linkProbeSuccessElapsedTimeMs, in assertLinkProbeStaEventsEqual() 229 expectedEvent.linkProbeFailureReason, actualEvent.linkProbeFailureReason); in assertLinkProbeStaEventsEqual()
|
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
H A D | ConntrackMonitorTest.java | 219 final ConntrackEvent expectedEvent = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, in testConntrackEventNew() local 222 verify(mConsumer, timeout(TIMEOUT_MS)).accept(eq(expectedEvent)); in testConntrackEventNew() 328 final ConntrackEvent expectedEvent = in testConntrackEventDelete() local 332 verify(mConsumer, timeout(TIMEOUT_MS)).accept(eq(expectedEvent)); in testConntrackEventDelete()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | MagnificationGesturesObserverTest.java | 144 private static boolean compareMotionEvent(MotionEvent expectedEvent, MotionEvent actualEvent) { in compareMotionEvent() argument 145 if (expectedEvent == null || actualEvent == null) { in compareMotionEvent() 148 return expectedEvent.toString().contentEquals(actualEvent.toString()); in compareMotionEvent()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | UsageStatsQueryHelperTest.java | 118 Event expectedEvent = new Event(100L, Event.TYPE_SHORTCUT_INVOCATION); in testQueryShortcutInvocationEvent() local 122 assertEquals(expectedEvent, events.get(0)); in testQueryShortcutInvocationEvent()
|