Home
last modified time | relevance | path

Searched refs:service_data (Results 1 – 12 of 12) sorted by relevance

/external/autotest/client/cros/bluetooth/
Dadvertisement.py100 self.service_data = {} # Signature = a{sv}
101 service_data = advertisement_data.get('ServiceData', {})
102 for uuid, data in service_data.items():
103 self.service_data[uuid] = GLib.Variant('ay', data)
158 if self.service_data is not None:
160 self.service_data)
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/health/
Ddefault_health_check_service.cc62 ServiceData& service_data = p.second; in SetServingStatus() local
63 service_data.SetServingStatus(status); in SetServingStatus()
74 ServiceData& service_data = p.second; in Shutdown() local
75 service_data.SetServingStatus(NOT_SERVING); in Shutdown()
87 const ServiceData& service_data = it->second; in GetServingStatus() local
88 return service_data.GetServingStatus(); in GetServingStatus()
95 ServiceData& service_data = services_map_[service_name]; in RegisterCallHandler() local
96 service_data.AddCallHandler(handler /* copies ref */); in RegisterCallHandler()
98 h->SendHealth(std::move(handler), service_data.GetServingStatus()); in RegisterCallHandler()
107 ServiceData& service_data = it->second; in UnregisterCallHandler() local
[all …]
/external/openthread/tests/scripts/thread-cert/border_router/
Dtest_publish_meshcop_service.py147 def check_meshcop_service_by_data(self, br, service_data): argument
148 sb_data = service_data['txt']['sb'].encode('raw_unicode_escape')
162 self.assertEqual(service_data['txt']['nn'], br.get_network_name())
163 self.assertEqual(service_data['txt']['rv'], '1')
164 self.assertIn(service_data['txt']['tv'], ['1.1.0', '1.1.1', '1.2.0', '1.3.0'])
/external/openthread/tests/scripts/thread-cert/
Dtest_netdata_publisher.py138 service_data = bytes.fromhex(service[1])
139 self.assertTrue(len(service_data) >= 2)
140 self.assertEqual(service_data[0], ANYCAST_SERVICE_NUM)
141 self.assertEqual(service_data[1], int(ANYCAST_SEQ_NUM))
155 service_data = bytes.fromhex(service[1])
156 self.assertTrue(len(service_data) >= 1)
157 self.assertEqual(service_data[0], UNICAST_SERVICE_NUM)
330 service_data = '%02x%02x' % (ANYCAST_SERVICE_NUM, int(ANYCAST_SEQ_NUM))
332 node.add_service(str(THREAD_ENTERPRISE_NUMBER), service_data, '00')
Dnetwork_data.py414 service_data, argument
423 self._service_data = service_data
443 def service_data(self): member in Service
454 …lf.service_data_length == other.service_data_length and self.service_data == other.service_data and
467 self.service_data,
490 service_data = data.read(service_data_length)
499 service_data,
Dtest_network_data.py124 ) + service.service_data + convert_service_sub_tlvs_to_bytearray(service.sub_tlvs))
971 service_data = any_service_data()
978 service_data,
984 actual_service_data = service.service_data
987 self.assertEqual(service_data, actual_service_data)
1056 service_data = any_service_data(service_data_length)
1068 service_data,
1085 self.assertEqual(service_data, actual_service.service_data)
/external/libchrome/device/bluetooth/
Dbluetooth_advertisement.h79 std::unique_ptr<ServiceData> service_data() { in service_data() function
93 void set_service_data(std::unique_ptr<ServiceData> service_data) { in set_service_data() argument
94 service_data_ = std::move(service_data); in set_service_data()
/external/pigweed/pw_bluetooth/public/pw_bluetooth/low_energy/
Dadvertising_data.h46 span<const ServiceData> service_data; member
Dcentral.h133 Vector<ServiceData> service_data; member
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_leadvertising_tests.py274 service_data = ''.join(
278 uuid, service_data)
369 service_data = self._get_service_data_from_advertisement(found_adv)
373 if int(UUID, 16) not in service_data:
382 if formatted_data != service_data.get(int(UUID, 16)):
384 service_data.get(int(UUID, 16)), formatted_data)
/external/openthread/tools/otci/otci/
Dotci.py1596 enterprise_number, service_data, server_data = line[:3]
1603 service_data = self.__hex_to_bytes(service_data)
1607 services.append((enterprise_number, service_data, server_data, stable, rloc16))
1649 …def add_service(self, enterprise_number: int, service_data: Union[str, bytes], server_data: Union[…
1656 service_data = self.__validate_hex_or_bytes(service_data)
1660 def remove_service(self, enterprise_number, service_data): argument
1666 service_data = self.__validate_hex_or_bytes(service_data)
/external/pandora/avatar/avatar/bumble_server/
Dhost.py278 … if isinstance(service, Service) and (service_data := service.get_advertising_data()):
288 self.device.advertising_data += service_data
297 self.device.scan_response_data += service_data