Searched refs:sub_tlvs (Results 1 – 5 of 5) sorted by relevance
/external/openthread/tests/scripts/thread-cert/ |
D | network_data.py | 64 sub_tlvs = [] 80 sub_tlvs.append(tlv) 82 return sub_tlvs 168 def __init__(self, domain_id, prefix_length, prefix, sub_tlvs, stable): argument 173 self._sub_tlvs = sub_tlvs 188 def sub_tlvs(self): member in Prefix 195 self.prefix == other.prefix and self.sub_tlvs == other.sub_tlvs) 198 sub_tlvs_str = ", ".join(["{}".format(tlv) for tlv in self.sub_tlvs]) 229 sub_tlvs = self._sub_tlvs_factory.parse(io.BytesIO(data.read()), message_info) 231 return Prefix(domain_id, prefix_length, prefix, sub_tlvs, message_info.stable) [all …]
|
D | test_network_data.py | 74 def convert_prefix_sub_tlvs_to_bytearray(sub_tlvs): argument 77 for sub_tlv in sub_tlvs: 102 def convert_service_sub_tlvs_to_bytearray(sub_tlvs): argument 105 for sub_tlv in sub_tlvs: 124 ) + service.service_data + convert_service_sub_tlvs_to_bytearray(service.sub_tlvs)) 223 sub_tlvs = [] 227 sub_tlvs.append(c()) 229 return sub_tlvs 273 sub_tlvs = [] 277 sub_tlvs.append(c()) [all …]
|
D | tlvs_parsing.py | 65 sub_tlvs = [] 78 sub_tlvs.append(tlv) 80 return sub_tlvs
|
D | command.py | 386 …assert contains_tlv(prefix.sub_tlvs, network_data.BorderRouter), 'Prefix doesn\'t contain a border… 387 …assert contains_tlv(prefix.sub_tlvs, network_data.LowpanId), 'Prefix doesn\'t contain a LowpanId s… 436 def contains_tlv(sub_tlvs, tlv_type): argument 439 return any(isinstance(sub_tlv, tlv_type) for sub_tlv in sub_tlvs) 442 def contains_tlvs(sub_tlvs, tlv_types): argument 445 … return all((any(isinstance(sub_tlv, tlv_type) for sub_tlv in sub_tlvs)) for tlv_type in tlv_types) 713 …border_router_tlv = assert_contains_tlv(prefix_tlv.sub_tlvs, CheckType.CONTAIN, network_data.Borde… 714 assert_contains_tlv(prefix_tlv.sub_tlvs, CheckType.CONTAIN, network_data.LowpanId) 752 assert contains_tlvs(commissioning_data_tlv.sub_tlvs,
|
D | test_mle.py | 1800 sub_tlvs=[
|