Searched refs:HciMatchers (Results 1 – 11 of 11) sorted by relevance
/system/bt/gd/cert/ |
D | captures.py | 22 from cert.matchers import HciMatchers 69 HciMatchers.CommandComplete(hci_packets.OpCode.READ_LOCAL_OOB_DATA), 70 …lambda packet: HciMatchers.ExtractMatchingCommandComplete(packet.payload, hci_packets.OpCode.READ_… 76 HciMatchers.CommandComplete(hci_packets.OpCode.READ_LOCAL_OOB_EXTENDED_DATA), 77 …lambda packet: HciMatchers.ExtractMatchingCommandComplete(packet.payload, hci_packets.OpCode.READ_… 83 HciMatchers.CommandComplete(hci_packets.OpCode.READ_BD_ADDR), 84 …lambda packet: hci_packets.ReadBdAddrCompleteView(HciMatchers.ExtractMatchingCommandComplete(packe… 89 HciMatchers.EventWithCode(hci_packets.EventCode.CONNECTION_REQUEST), 91 … HciMatchers.ExtractEventWithCode(packet.payload, hci_packets.EventCode.CONNECTION_REQUEST))) 96 HciMatchers.EventWithCode(hci_packets.EventCode.CONNECTION_COMPLETE), [all …]
|
D | matchers.py | 31 class HciMatchers(object): class 35 return lambda msg: HciMatchers._is_matching_command_complete(msg.payload, opcode) 39 return HciMatchers._extract_matching_command_complete(packet_bytes, opcode) 43 return HciMatchers._extract_matching_command_complete(packet_bytes, opcode) is not None 47 event = HciMatchers._extract_matching_event(packet_bytes, EventCode.COMMAND_COMPLETE) 61 return lambda msg: HciMatchers._is_matching_command_status(msg.payload, opcode) 65 return HciMatchers._extract_matching_command_complete(packet_bytes, opcode) 69 return HciMatchers._extract_matching_command_status(packet_bytes, opcode) is not None 73 event = HciMatchers._extract_matching_event(packet_bytes, EventCode.COMMAND_STATUS) 87 return lambda msg: HciMatchers._is_matching_event(msg.payload, event_code) [all …]
|
D | py_hal.py | 32 from cert.matchers import HciMatchers 132 assertThat(self.hci_event_stream).emits(HciMatchers.CommandComplete(opcode)) 135 assertThat(self.hci_event_stream).emits(HciMatchers.CommandStatus(opcode))
|
D | py_hci.py | 28 from cert.matchers import HciMatchers 105 HciMatchers.CommandComplete(OpCode.LE_SET_EXTENDED_ADVERTISING_ENABLE))
|
D | py_l2cap.py | 29 from cert.matchers import HciMatchers 154 assertThat(self._hci.get_event_stream()).emits(HciMatchers.LinkKeyRequest())
|
/system/bt/gd/security/cert/ |
D | cert_security.py | 23 from cert.matchers import HciMatchers 203 …assertThat(self._hci_event_stream).emits(HciMatchers.EventWithCode(hci_packets.EventCode.USER_PASS… 244 assertThat(self._hci_event_stream).emits(HciMatchers.PinCodeRequest()) 268 HciMatchers.CommandComplete(hci_packets.OpCode.WRITE_SIMPLE_PAIRING_MODE)) 279 HciMatchers.CommandComplete(hci_packets.OpCode.WRITE_SECURE_CONNECTIONS_HOST_SUPPORT)) 285 assertThat(self._hci_event_stream).emits(HciMatchers.IoCapabilityRequest()) 297 assertThat(self._hci_event_stream).emits(HciMatchers.LinkKeyRequest()) 302 assertThat(self._hci_event_stream).emits(HciMatchers.UserConfirmationRequest()) 308 assertThat(self._hci_event_stream).emits(HciMatchers.SimplePairingComplete()) 310 assertThat(self._hci_event_stream).emits(HciMatchers.LinkKeyNotification()) [all …]
|
D | le_security_test.py | 22 from cert.matchers import HciMatchers
|
/system/bt/gd/hal/cert/ |
D | simple_hal_test.py | 23 from cert.matchers import HciMatchers 60 …HciMatchers.Exactly(hci_packets.LeAddDeviceToConnectListCompleteBuilder(1, hci_packets.ErrorCode.S… 69 assertThat(self.dut_hal.get_hci_event_stream()).emits(HciMatchers.LoopbackOf(command)) 140 assertThat(self.cert_hal.get_hci_event_stream()).emits(HciMatchers.LeConnectionComplete()) 141 assertThat(self.dut_hal.get_hci_event_stream()).emits(HciMatchers.LeConnectionComplete())
|
/system/bt/gd/neighbor/cert/ |
D | neighbor_test.py | 20 from cert.matchers import HciMatchers, NeighborMatchers 53 …assertThat(self.cert_hci.get_event_stream()).emits(HciMatchers.CommandComplete(OpCode.WRITE_LOCAL_…
|
/system/bt/gd/hci/cert/ |
D | direct_hci_test.py | 22 from cert.matchers import HciMatchers 109 … assertThat(self.dut_hci.get_event_stream()).emits(HciMatchers.LoopbackOf(ReadLocalNameBuilder())) 118 …assertThat(self.dut_hci.get_event_stream()).emits(HciMatchers.EventWithCode(EventCode.INQUIRY_RESU…
|
/system/bt/gd/iso/cert/ |
D | le_iso_test.py | 22 from cert.matchers import HciMatchers, IsoMatchers, L2capMatchers
|