Home
last modified time | relevance | path

Searched refs:instructionCode (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/
DFiraConnectorMessage.java123 @NonNull public final InstructionCode instructionCode; field in FiraConnectorMessage
146 InstructionCode instructionCode = in fromBytes() local
152 return new FiraConnectorMessage(messageType, instructionCode, payload); in fromBytes()
166 | (instructionCode.getValue() & INSTRUCTION_CODE_BITMASK)) in toBytes()
177 .append(instructionCode) in toString()
184 MessageType messageType, InstructionCode instructionCode, byte[] payload) { in FiraConnectorMessage() argument
188 if (instructionCode == null) { in FiraConnectorMessage()
192 this.instructionCode = instructionCode; in FiraConnectorMessage()
DAdminErrorMessage.java185 && message.instructionCode == InstructionCode.ERROR_INDICATION in isAdminErrorMessage()
DAdminEventMessage.java133 && message.instructionCode == InstructionCode.DATA_EXCHANGE in isAdminEventMessage()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/info/
DFiraConnectorMessageTest.java85 assertThat(message.instructionCode).isEqualTo(expectedCode); in testHeaderFromBytes()
DAdminEventMessageTest.java123 assertThat(message.instructionCode).isEqualTo(InstructionCode.DATA_EXCHANGE); in testConstructor()
DAdminErrorMessageTest.java130 assertThat(message.instructionCode).isEqualTo(InstructionCode.ERROR_INDICATION); in testConstructwithBytes()