Home
last modified time | relevance | path

Searched refs:dut (Results 1 – 19 of 19) sorted by relevance

/system/bt/gd/security/cert/
Dle_security_test.py77 self.dut_security = PyLeSecurity(self.dut)
79 self.dut_hci = PyHci(self.dut)
81 raw_addr = self.dut.hci_controller.GetMacAddress(empty_proto.Empty()).address
88 self.dut.security.SetLeInitiatorAddressPolicy(privacy_policy)
138 create_response = self.dut.hci_le_advertising_manager.CreateAdvertiser(request)
146 self.dut.security.CreateBondLe(self.cert_address)
156 self.dut.security.SetLeIoCapability(DISPLAY_ONLY)
167 self.dut.security.SendUiCallback(
193 self.dut.security.SetLeIoCapability(KEYBOARD_ONLY)
194 self.dut.security.SetLeOobDataPresent(OOB_NOT_PRESENT)
[all …]
Dsecurity_test.py93 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))
96 self.dut.name = b'DUT Device'
97 self.dut.address = self.dut.hci_controller.GetMacAddress(empty_proto.Empty()).address
102 self.dut.hci_controller.WriteLocalName(controller_facade.NameMsg(name=self.dut.name))
105 self.dut_security = PySecurity(self.dut)
113 self.dut.security.SetLeInitiatorAddressPolicy(privacy_policy)
/system/bt/gd/cert/
Dgd_base_test.py85 self.dut = self.gd_devices[1]
96 …setup_test_core(dut=self.dut, cert=self.cert, dut_module=self.dut_module, cert_module=self.cert_mo…
99 teardown_test_core(cert=self.cert, dut=self.dut)
128 dut=self.dut,
Dgd_base_test_lib.py124 def setup_test_core(dut, cert, dut_module, cert_module): argument
125 dut.rootservice.StartStack(
130 dut.wait_channel_ready()
134 def teardown_test_core(cert, dut): argument
136 dut.rootservice.StopStack(facade_rootservice.StopStackRequest())
139 def dump_crashes_core(dut, cert, rootcanal_running, rootcanal_process, rootcanal_logpath): argument
140 dut_crash, dut_log_tail = dut.get_crash_snippet_and_log_tail()
/system/bt/gd/hci/cert/
Dacl_manager_test.py34 self.dut_acl_manager = PyAclManager(self.dut)
54 dut_address = self.dut.hci_controller.GetMacAddressSimple()
55 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))
70 dut_address = self.dut.hci_controller.GetMacAddressSimple()
71 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))
89 dut_address = self.dut.hci_controller.GetMacAddressSimple()
90 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))
Dcontroller_test.py33 dut_address = self.dut.hci_controller.GetMacAddressSimple()
39 self.dut.hci_controller.WriteLocalName(controller_facade.NameMsg(name=b'ImTheDUT'))
42 dut_name = self.dut.hci_controller.GetLocalNameSimple()
Dle_acl_manager_test.py40 self.dut_le_acl_manager = PyLeAclManager(self.dut)
56 self.dut.hci_le_initiator_address.SetPrivacyPolicyForInitiatorAddress(private_policy)
180 self.dut.hci_le_initiator_address.SetPrivacyPolicyForInitiatorAddress(privacy_policy)
190 self.dut.hci_le_initiator_address.SetPrivacyPolicyForInitiatorAddress(privacy_policy)
195 self.dut.hci_le_initiator_address.SetPrivacyPolicyForInitiatorAddress(
202 self.dut.hci_le_initiator_address.SetPrivacyPolicyForInitiatorAddress(
231 self.dut.hci_le_advertising_manager.CreateAdvertiser(request)
Dle_advertising_manager_test.py80 create_response = self.dut.hci_le_advertising_manager.CreateAdvertiser(request)
85 self.dut.hci_le_advertising_manager.RemoveAdvertiser(remove_request)
Dle_scanning_manager_test.py63 self.dut.hci_le_initiator_address.SetPrivacyPolicyForInitiatorAddress(privacy_policy)
75 … self.dut.hci_le_scanning_manager.StartScan(empty_proto.Empty())) as advertising_event_stream:
Dle_scanning_with_security_test.py64 … self.dut.hci_le_scanning_manager.StartScan(empty_proto.Empty())) as advertising_event_stream:
Ddirect_hci_test.py90 self.dut_hci = PyHci(self.dut, acl_streaming=True)
101 self.dut.hci.SendAcl(common.Data(payload=bytes(acl.Serialize())))
/system/update_engine/scripts/
Dupdate_device.py388 def PushMetadata(dut, otafile, metadata_path): argument
403 return dut.adb([
444 dut = AdbHost(args.s)
455 use_omaha = 'omaha' in dut.adb_output(help_cmd)
459 if PushMetadata(dut, args.otafile, metadata_path):
460 dut.adb([
467 if PushMetadata(dut, args.otafile, metadata_path):
468 dut.adb([
484 dut.adb(["root"])
488 dut.adb(["push", care_map_fp.name,
[all …]
/system/bt/gd/l2cap/le/cert/
Ddual_l2cap_test.py44 self.dut_address = self.dut.hci_controller.GetMacAddressSimple()
48 self.dut_l2cap = PyL2cap(self.dut, cert_address)
50 self.dut_le_l2cap = PyLeL2cap(self.dut)
79 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))
97 create_response = self.dut.hci_le_advertising_manager.CreateAdvertiser(request)
Dle_l2cap_test.py44 self.dut_l2cap = PyLeL2cap(self.dut)
85 create_response = self.dut.hci_le_advertising_manager.CreateAdvertiser(request)
/system/bt/gd/shim/cert/
Dshim_test.py37 result = self.dut.shim.Dump(empty_proto.Empty())
/system/bt/gd/iso/cert/
Dle_iso_test.py55 self.dut_l2cap = PyLeL2cap(self.dut)
76 self.dut_iso = PyLeIso(self.dut)
103 create_response = self.dut.hci_le_advertising_manager.CreateAdvertiser(request)
/system/bt/gd/neighbor/cert/
Dneighbor_test.py41 self.dut_neighbor = PyNeighbor(self.dut)
/system/bt/gd/hal/cert/
Dsimple_hal_test.py44 self.dut_hal = PyHal(self.dut)
/system/bt/gd/l2cap/classic/cert/
Dl2cap_test.py53 self.dut_address = self.dut.hci_controller.GetMacAddressSimple()
57 self.dut_l2cap = PyL2cap(self.dut, cert_address)
66 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))
1284 self.dut.neighbor.EnablePageScan(neighbor_facade.EnableMsg(enabled=True))