Home
last modified time | relevance | path

Searched refs:device_context (Results 1 – 25 of 49) sorted by relevance

12

/external/autotest/client/cros/cellular/mbim_compliance/sequences/
Dmbim_open_generic_sequence.py53 device_context = self.device_context
54 device_type = device_context.device_type
56 device_context.descriptor_cache.mbim_communication_interface)
58 device_context.descriptor_cache.ncm_communication_interface)
60 device_context.descriptor_cache.no_data_data_interface)
62 device_context.descriptor_cache.ncm_data_interface)
64 device_context.descriptor_cache.mbim_data_interface)
66 device_context.descriptor_cache.mbim_functional)
68 device_context.descriptor_cache.interrupt_endpoint)
69 descriptor_cache = device_context.descriptor_cache
[all …]
Dmbim_cid_device_services_sequence.py34 device_context = self.device_context
36 device_context._device,
37 device_context.mbim_communication_interface.bInterfaceNumber,
38 device_context.interrupt_endpoint.bEndpointAddress,
39 device_context.max_control_transfer_size)
Dmbim_close_sequence.py39 device_context = self.device_context
40 descriptor_cache = device_context.descriptor_cache
43 device_context.max_control_transfer_size)
45 device_context._device,
48 device_context.max_control_transfer_size)
Dmbim_cid_device_caps_sequence.py38 device_context = self.device_context
39 descriptor_cache = device_context.descriptor_cache
43 device_context.max_control_transfer_size)
45 device_context._device,
48 device_context.max_control_transfer_size)
Dopen_sequence.py71 control.set_interface(self.device_context.device,
85 self.device_context.device.ctrl_transfer(bmRequestType=0b00100001,
102 ntb_parameters = self.device_context.device.ctrl_transfer(
124 response = self.device_context.device.ctrl_transfer(
143 response = self.device_context.device.ctrl_transfer(
164 response = self.device_context.device.ctrl_transfer(
182 response = self.device_context.device.ctrl_transfer(
Dconnect_sequence.py63 device_context = self.device_context
64 descriptor_cache = device_context.descriptor_cache
86 device_context.max_control_transfer_size)
88 device_context._device,
91 device_context.max_control_transfer_size)
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_data_transfer_unittest.py143 device_context = TestMbimDeviceContext()
144 device_context.device = 1
145 device_context.max_out_data_transfer_size = 100
146 device_context.max_in_data_transfer_size = 100
147 device_context.out_data_transfer_divisor = 32
148 device_context.out_data_transfer_payload_remainder = 0
149 device_context.descriptor_cache = TestMbimDescriptorCache()
150 device_context.descriptor_cache.mbim_data_interface = (
152 device_context.descriptor_cache.bulk_in_endpoint = (
154 device_context.descriptor_cache.bulk_out_endpoint = (
[all …]
Dmbim_dts_test_base.py33 self.device_context)
35 self.device_context.update_descriptor_cache(descriptors)
37 self.device_context)
39 connect_seq = connect_sequence.ConnectSequence(self.device_context)
45 (self.device_context.current_ntb_format != ntb_format)):
Dentity.py15 def __init__(self, device_context): argument
20 self.device_context = device_context
/external/autotest/client/site_tests/cellular_MbimComplianceControlRequest/
Dcellular_MbimComplianceCM13.py45 self.device_context).run()
46 self.device_context.update_descriptor_cache(descriptors)
48 self.device_context).run()
49 connect_sequence.ConnectSequence(self.device_context).run()
50 mbim_close_sequence.MBIMCloseSequence(self.device_context).run()
52 self.device_context).run()
55 device_context = self.device_context
56 descriptor_cache = device_context.descriptor_cache
60 device_context.max_control_transfer_size)
62 device_context._device,
[all …]
Dcellular_MbimComplianceCM07.py39 self.device_context).run()
40 self.device_context.update_descriptor_cache(descriptors)
42 self.device_context).run()
46 device_context = self.device_context
47 descriptor_cache = device_context.descriptor_cache
55 device_context.max_control_transfer_size)
57 device_context._device,
60 device_context.max_control_transfer_size)
Dcellular_MbimComplianceCM08.py42 self.device_context).run()
43 self.device_context.update_descriptor_cache(descriptors)
45 self.device_context).run()
48 device_context = self.device_context
49 descriptor_cache = device_context.descriptor_cache
58 device_context.max_control_transfer_size)
60 device_context._device,
63 device_context.max_control_transfer_size)
Dcellular_MbimComplianceCM05.py43 self.device_context).run()
44 self.device_context.update_descriptor_cache(descriptors)
46 self.device_context).run()
48 device_context = self.device_context
49 descriptor_cache = device_context.descriptor_cache
51 device_context._device,
54 device_context.max_control_transfer_size)
60 device_context.max_control_transfer_size)
69 device_context.max_control_transfer_size)
Dcellular_MbimComplianceCM16.py44 self.device_context)
46 self.device_context.update_descriptor_cache(descriptors)
48 self.device_context)
51 device_context = self.device_context
52 descriptor_cache = device_context.descriptor_cache
54 device_context.device,
57 device_context.max_control_transfer_size)
63 device_context.max_control_transfer_size)
71 device_context.max_control_transfer_size)
Dcellular_MbimComplianceCM14.py38 self.device_context).run()
39 self.device_context.update_descriptor_cache(descriptors)
41 self.device_context).run()
42 mbim_close_sequence.MBIMCloseSequence(self.device_context).run()
46 connect_sequence.ConnectSequence(self.device_context).run(
Dcellular_MbimComplianceCM10.py35 self.device_context).run()
36 self.device_context.update_descriptor_cache(descriptors)
38 self.device_context).run()
42 self.device_context).run()
Dcellular_MbimComplianceCM09.py35 self.device_context).run()
36 self.device_context.update_descriptor_cache(descriptors)
38 self.device_context).run()
42 connect_sequence.ConnectSequence(self.device_context).run())
Dcellular_MbimComplianceCM03.py33 self.device_context).run()
34 self.device_context.update_descriptor_cache(descriptors)
36 self.device_context).run()
41 self.device_context).run())
Dcellular_MbimComplianceCM04.py34 self.device_context).run()
35 self.device_context.update_descriptor_cache(descriptors)
37 self.device_context).run()
42 self.device_context).run())
Dcellular_MbimComplianceCM06.py35 self.device_context).run()
36 self.device_context.update_descriptor_cache(descriptors)
38 self.device_context).run()
43 self.device_context).run())
Dcellular_MbimComplianceCM15.py36 self.device_context).run()
37 self.device_context.update_descriptor_cache(descriptors)
39 self.device_context)
44 self.device_context)
/external/autotest/client/site_tests/cellular_MbimComplianceError/
Dcellular_MbimComplianceERR02.py36 self.device_context).run()
37 self.device_context.update_descriptor_cache(descriptors)
39 self.device_context)
44 connect_sequence.ConnectSequence(self.device_context).run(
Dcellular_MbimComplianceERR04.py36 self.device_context).run()
37 self.device_context.update_descriptor_cache(descriptors)
39 self.device_context)
44 connect_sequence.ConnectSequence(self.device_context).run(
Dcellular_MbimComplianceERR03.py36 self.device_context).run()
37 self.device_context.update_descriptor_cache(descriptors)
39 self.device_context)
44 connect_sequence.ConnectSequence(self.device_context).run(
/external/autotest/client/site_tests/cellular_MbimComplianceControlCommand/
Dcellular_MbimComplianceCID01.py36 self.device_context)
38 self.device_context.update_descriptor_cache(descriptors)
40 self.device_context)
43 self.device_context)

12