Home
last modified time | relevance | path

Searched refs:receivedResponse (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DObd2CommandTest.java67 Optional<Integer> receivedResponse = Optional.empty(); in checkLiveFrameIntCommand() local
69 receivedResponse = commandObject.run(obd2Connection); in checkLiveFrameIntCommand()
73 assertTrue("live frame contains a response", receivedResponse.isPresent()); in checkLiveFrameIntCommand()
74 assertEquals(expectedResponse, (int) receivedResponse.get()); in checkLiveFrameIntCommand()
95 Optional<Float> receivedResponse = Optional.empty(); in checkLiveFrameFloatCommand() local
97 receivedResponse = commandObject.run(obd2Connection); in checkLiveFrameFloatCommand()
101 assertTrue("live frame contains a response", receivedResponse.isPresent()); in checkLiveFrameFloatCommand()
102 assertEquals(expectedResponse, (float) receivedResponse.get(), FLOAT_EQUALITY_DELTA); in checkLiveFrameFloatCommand()
123 Optional<Integer> receivedResponse = Optional.empty(); in checkFreezeFrameIntCommand() local
125 receivedResponse = commandObject.run(obd2Connection); in checkFreezeFrameIntCommand()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java628 byte[] receivedResponse) in checkAuthenticatorResponse() argument
633 return Arrays.equals(myResponse, receivedResponse); in checkAuthenticatorResponse()