Home
last modified time | relevance | path

Searched refs:expectedResponse (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DObd2CommandTest.java49 void checkLiveFrameIntCommand(int pid, String responseBytes, int expectedResponse) { in checkLiveFrameIntCommand() argument
74 assertEquals(expectedResponse, (int) receivedResponse.get()); in checkLiveFrameIntCommand()
77 void checkLiveFrameFloatCommand(int pid, String responseBytes, float expectedResponse) { in checkLiveFrameFloatCommand() argument
102 assertEquals(expectedResponse, (float) receivedResponse.get(), FLOAT_EQUALITY_DELTA); in checkLiveFrameFloatCommand()
105 void checkFreezeFrameIntCommand(int pid, String responseBytes, int expectedResponse) { in checkFreezeFrameIntCommand() argument
130 assertEquals(expectedResponse, (int) receivedResponse.get()); in checkFreezeFrameIntCommand()
133 void checkFreezeFrameFloatCommand(int pid, String responseBytes, float expectedResponse) { in checkFreezeFrameFloatCommand() argument
158 assertEquals(expectedResponse, (float) receivedResponse.get(), FLOAT_EQUALITY_DELTA); in checkFreezeFrameFloatCommand()
161 void checkCommand(int pid, String responseBytes, int expectedResponse) { in checkCommand() argument
162 checkLiveFrameIntCommand(pid, responseBytes, expectedResponse); in checkCommand()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapTtlsHandshakeStateTest.java291 byte[] expectedResponse, in testHandshake() argument
299 expectedResponse, in testHandshake()
318 byte[] expectedResponse, in testHandshake() argument
325 processMessageAndVerifyEapResponse(expectedResponse); in testHandshake()
DEapTtlsStateTest.java192 void processMessageAndVerifyEapResponse(byte[] expectedResponse) throws Exception { in processMessageAndVerifyEapResponse() argument
198 assertArrayEquals(expectedResponse, eapResponse.packet); in processMessageAndVerifyEapResponse()
DEapTtlsTunnelStateTest.java335 byte[] expectedResponse, in processMessageAndVerifyEapResponse() argument
343 processMessageAndVerifyEapResponse(expectedResponse); in processMessageAndVerifyEapResponse()
DEapSimAkaMethodStateMachineTest.java606 int expectedCounter, byte[] expectedResponse, boolean expectingMacWithResp) in testHandleEapAkaNotificationPostReauth() argument
643 assertArrayEquals(expectedResponse, eapResponse.packet); in testHandleEapAkaNotificationPostReauth()
/packages/apps/Nfc/testutils/src/com/android/nfc/reader/
DSimpleReaderActivity.java111 byte[] expectedResponse = HceUtils.hexStringToBytes(mResponses[count]); in onTagDiscovered()
113 if (!wildCard && !Arrays.equals(response, expectedResponse)) { in onTagDiscovered()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DBlockingHttpClientTests.java155 FakeSuccessResponseProcessor(byte[] expectedResponse) { in FakeSuccessResponseProcessor() argument
156 mExpectedResponse = expectedResponse; in FakeSuccessResponseProcessor()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/
DCarUserManagerUnitTest.java657 UserIdentificationAssociationResponse expectedResponse = in testGetUserIdentificationAssociation_ok() local
659 when(mService.getUserIdentificationAssociation(types)).thenReturn(expectedResponse); in testGetUserIdentificationAssociation_ok()
664 assertThat(actualResponse).isSameInstanceAs(expectedResponse); in testGetUserIdentificationAssociation_ok()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthConnectManagerTest.java2020 expectedResponse) { in verifyRecordTypeResponse()
2024 expectedResponse.get(recordTypeClass); in verifyRecordTypeResponse()