Searched refs:expectedEvent (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | CarPropertyTest.java | 206 for (CarPropertyValue expectedEvent : expectedSetEvents) { in testHvacActionsFromAndroid() 207 setPropertyAndWaitForValueChange(propMgr, expectedEvent); in testHvacActionsFromAndroid() 209 Class valueClass = expectedEvent.getValue().getClass(); in testHvacActionsFromAndroid() 211 expectedEvent.getPropertyId(), expectedEvent.getAreaId()); in testHvacActionsFromAndroid() 213 assertWithMessage("Mismatched events, expected: " + expectedEvent + ", received: " in testHvacActionsFromAndroid() 215 expectedEvent, receivedEvent)).isTrue(); in testHvacActionsFromAndroid() 265 for (CarPropertyValue expectedEvent : expectedEvents) { in testStaticInfoOperations() 267 expectedEvent.getPropertyId(), expectedEvent.getAreaId()); in testStaticInfoOperations() 270 actualEvent, expectedEvent)).that( in testStaticInfoOperations() 271 Utils.areCarPropertyValuesEqual(actualEvent, expectedEvent)).isTrue(); in testStaticInfoOperations() [all …]
|
D | VhalEventVerifier.java | 64 CarPropertyValue expectedEvent = mExpectedEvents.get(mIdx); in verify() local 65 if (!Utils.areCarPropertyValuesEqual(expectedEvent, nextEvent)) { in verify()
|
/packages/modules/DnsResolver/ |
D | PrivateDnsConfigurationTest.cpp | 411 NetworkDnsServerSupportReported expectedEvent; in TEST_F() local 414 expectedEvent.set_network_type(NetworkType::NT_UNKNOWN); in TEST_F() 415 expectedEvent.set_private_dns_modes(PrivateDnsModes::PDM_OPPORTUNISTIC); in TEST_F() 416 Server* server = expectedEvent.mutable_servers()->add_server(); in TEST_F() 420 server = expectedEvent.mutable_servers()->add_server(); in TEST_F() 424 server = expectedEvent.mutable_servers()->add_server(); in TEST_F() 428 server = expectedEvent.mutable_servers()->add_server(); in TEST_F() 432 server = expectedEvent.mutable_servers()->add_server(); in TEST_F() 436 EXPECT_THAT(event, NetworkDnsServerSupportEq(expectedEvent)); in TEST_F() 441 expectedEvent.Clear(); in TEST_F() [all …]
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcEventLogTest.java | 85 NfcEventProto.Event expectedEvent = NfcEventProto.Event.newBuilder() in testLogEvent() local 90 NfcEventProto.EventList.newBuilder().addEvents(expectedEvent).build(); in testLogEvent() 112 NfcEventProto.Event expectedEvent = NfcEventProto.Event.newBuilder() in testMultipleLogEvents() local 118 .addEvents(expectedEvent) in testMultipleLogEvents() 119 .addEvents(expectedEvent) in testMultipleLogEvents()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
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()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ip/ |
D | ConntrackMonitorTest.java | 221 final ConntrackEvent expectedEvent = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, in testConntrackEventNew() local 224 verify(mConsumer, timeout(TIMEOUT_MS)).accept(eq(expectedEvent)); in testConntrackEventNew() 330 final ConntrackEvent expectedEvent = in testConntrackEventDelete() local 334 verify(mConsumer, timeout(TIMEOUT_MS)).accept(eq(expectedEvent)); in testConntrackEventDelete()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPropertyServiceUnitTest.java | 1266 CarPropertyEvent expectedEvent = events.get(i); in testOnEventCallback_MustNotHaveDeadLock() local 1267 assertThat(actualEvent.getEventType()).isEqualTo(expectedEvent.getEventType()); in testOnEventCallback_MustNotHaveDeadLock() 1268 assertThat(actualEvent.getErrorCode()).isEqualTo(expectedEvent.getErrorCode()); in testOnEventCallback_MustNotHaveDeadLock() 1270 CarPropertyValue expectedCarPropertyValue = expectedEvent.getCarPropertyValue(); in testOnEventCallback_MustNotHaveDeadLock()
|