Home
last modified time | relevance | path

Searched refs:responseBytes (Results 1 – 3 of 3) 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
53 new String[] {String.format("41 %02X %s", pid, responseBytes), OBD2_PROMPT}; in checkLiveFrameIntCommand()
77 void checkLiveFrameFloatCommand(int pid, String responseBytes, float expectedResponse) { in checkLiveFrameFloatCommand() argument
81 new String[] {String.format("41 %02X %s", pid, responseBytes), OBD2_PROMPT}; in checkLiveFrameFloatCommand()
105 void checkFreezeFrameIntCommand(int pid, String responseBytes, int expectedResponse) { in checkFreezeFrameIntCommand() argument
109 new String[] {String.format("42 %02X 01 %s", pid, responseBytes), OBD2_PROMPT}; in checkFreezeFrameIntCommand()
133 void checkFreezeFrameFloatCommand(int pid, String responseBytes, float expectedResponse) { in checkFreezeFrameFloatCommand() argument
137 new String[] {String.format("42 %02X 01 %s", pid, responseBytes), OBD2_PROMPT}; in checkFreezeFrameFloatCommand()
161 void checkCommand(int pid, String responseBytes, int expectedResponse) { in checkCommand() argument
162 checkLiveFrameIntCommand(pid, responseBytes, expectedResponse); in checkCommand()
[all …]
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepValidationClientTests.java61 byte[] responseBytes = client.get(msg).getNdefMessage().toByteArray(); in testNonFragmented()
66 assertEquals(b, responseBytes[i++]); in testNonFragmented()
86 byte[] responseBytes = client.get(msg).getNdefMessage().toByteArray(); in testFragmented()
91 assertEquals(b, responseBytes[i++]); in testFragmented()
114 byte[] responseBytes; in testMultipleNdef()
119 responseBytes = client.get(msgA).getNdefMessage().toByteArray(); in testMultipleNdef()
124 assertEquals(b, responseBytes[i++]); in testMultipleNdef()
128 responseBytes = client.get(msgB).getNdefMessage().toByteArray(); in testMultipleNdef()
133 assertEquals(b, responseBytes[i++]); in testMultipleNdef()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessenger.java69 byte[] responseBytes = new byte[HEADER_LENGTH]; in sendMessage()
70 mSocket.receive(responseBytes); in sendMessage()
73 snepResponse = SnepMessage.fromByteArray(responseBytes); in sendMessage()
92 mSocket.receive(responseBytes); in sendMessage()
95 snepResponse = SnepMessage.fromByteArray(responseBytes); in sendMessage()
116 mSocket.receive(responseBytes); in sendMessage()
118 snepResponse = SnepMessage.fromByteArray(responseBytes); in sendMessage()