Home
last modified time | relevance | path

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

/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/
Dbluetooth_SDP_ServiceSearchAttributeRequest.py99 for attr_id in self.FAKE_GENERAL_ATTRIBUTE_IDS:
100 attr = ET.Element('attribute', {'id': str(attr_id)})
105 attr_id = self.FAKE_ATTRIBUTE_VALUE + offset
106 attr = ET.Element('attribute', {'id': str(attr_id)})
115 def test_non_existing(self, class_id, attr_id): argument
128 [attr_id],
132 'should not!' % (class_id, attr_id))
135 def get_attribute(self, class_id, attr_id, size): argument
149 [class_id], self.MAX_ATTR_BYTE_CNT, [attr_id], size)
153 res[0][0] == attr_id):
[all …]
/external/autotest/server/site_tests/bluetooth_SDP_ServiceBrowse/
Dbluetooth_SDP_ServiceBrowse.py22 def get_attribute_ssr_sar(self, class_id, attr_id, size): argument
41 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id])
43 value[0] == attr_id):
50 def get_attribute_ssar(self, class_id, attr_id, size): argument
61 [class_id], self.MAX_ATTR_BYTE_CNT, [attr_id], size)
69 elem[0] == attr_id):
76 def test_attribute(self, class_id, attr_id, get_attribute): argument
88 result_16 = get_attribute(class_id, attr_id, 16)
91 result_cur = get_attribute(class_id, attr_id, size)
/external/autotest/server/site_tests/bluetooth_SDP_ServiceAttributeRequest/
Dbluetooth_SDP_ServiceAttributeRequest.py140 def get_attribute(self, class_id, attr_id): argument
150 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id])
151 if isinstance(res, list) and len(res) == 2 and res[0] == attr_id:
158 def assert_attribute_equals(self, class_id, attr_id, expected_value): argument
166 self.assert_equal(self.get_attribute(class_id, attr_id),
308 for attr_id in self.FAKE_GENERAL_ATTRIBUTE_IDS:
310 attr_id, self.FAKE_ATTRIBUTE_VALUE)
318 attr_id = lang_base[1] + offset
321 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id])
322 self.assert_equal(response, [attr_id, self.FAKE_ATTRIBUTE_VALUE])
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_sake_common.c19 u8 attr_id, u8 len, const u8 *data) in eap_sake_parse_add_attr() argument
23 switch (attr_id) { in eap_sake_parse_add_attr()
133 if (attr_id < 128) { in eap_sake_parse_add_attr()
135 " attribute %d", attr_id); in eap_sake_parse_add_attr()
139 "attribute %d", attr_id); in eap_sake_parse_add_attr()
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_sdp_socket.py356 for attr_id in attr_ids:
359 if isinstance(attr_id, list):
361 attr_id[0], attr_id[1])
363 packed_attr_id = struct.pack('>BH', SDP_UINT16, attr_id)
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/
Deapol_test.sgml155 attr_id:syntax:value, or attr_id alone. attr_id should be the numeric
158 to send. When attr_id is given alone, NULL is used as the attribute