Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 44) sorted by relevance

12

/openthread-latest/tests/unit/
Dtest_multicast_listeners_table.cpp69 MulticastListenersTable &table = sInstance->Get<MulticastListenersTable>(); in TestMulticastListenersTable() local
71 for (MulticastListenersTable::Listener &listener : table.Iterate()) in TestMulticastListenersTable()
77 table.Remove(static_cast<const Ip6::Address &>(MA401)); in TestMulticastListenersTable()
81 SuccessOrQuit(table.Add(static_cast<const Ip6::Address &>(MA401), TimerMilli::GetNow())); in TestMulticastListenersTable()
82 SuccessOrQuit(table.Add(static_cast<const Ip6::Address &>(MA501), TimerMilli::GetNow())); in TestMulticastListenersTable()
83 VerifyOrQuit(table.Count() == 2, "Table count is wrong"); in TestMulticastListenersTable()
86 …VerifyOrQuit(table.Add(static_cast<const Ip6::Address &>(MA201), TimerMilli::GetNow()) == kErrorIn… in TestMulticastListenersTable()
88 …VerifyOrQuit(table.Add(static_cast<const Ip6::Address &>(MA301), TimerMilli::GetNow()) == kErrorIn… in TestMulticastListenersTable()
93 table.Expire(); in TestMulticastListenersTable()
94 VerifyOrQuit(table.Count() == 0, "Table count is wrong"); in TestMulticastListenersTable()
[all …]
Dtest_ndproxy_table.cpp66 BackboneRouter::NdProxyTable &table = sInstance->Get<BackboneRouter::NdProxyTable>(); in TestNdProxyTable() local
74 SuccessOrQuit(table.Register(existedAddressIid, existedMeshLocalIid, 0, nullptr)); in TestNdProxyTable()
75 VerifyOrQuit(table.IsRegistered(existedAddressIid)); in TestNdProxyTable()
76 VerifyOrQuit(!table.IsRegistered(notExistAddressIid)); in TestNdProxyTable()
84 SuccessOrQuit(table.Register(addressIid, meshLocalIid, i, nullptr)); in TestNdProxyTable()
86 VerifyOrQuit(table.IsRegistered(addressIid)); in TestNdProxyTable()
89 SuccessOrQuit(table.Register(addressIid, meshLocalIid, i, nullptr)); in TestNdProxyTable()
92 … VerifyOrQuit(table.Register(addressIid, notExistMeshLocalIid, i, nullptr) == kErrorDuplicated); in TestNdProxyTable()
94 VerifyOrQuit(table.IsRegistered(addressIid)); in TestNdProxyTable()
98 …VerifyOrQuit(table.Register(notExistAddressIid, notExistMeshLocalIid, OPENTHREAD_CONFIG_NDPROXY_TA… in TestNdProxyTable()
[all …]
Dtest_child_table.cpp298 ChildTable *table; in TestChildTable() local
304 table = &sInstance->Get<ChildTable>(); in TestChildTable()
309 VerifyOrQuit(table->GetMaxChildrenAllowed() == table->GetMaxChildren(), in TestChildTable()
314 VerifyOrQuit(table->HasChildren(filter) == false); in TestChildTable()
315 VerifyOrQuit(table->GetNumChildren(filter) == 0); in TestChildTable()
322 VerifyChildTableContent(*table, 0, testChildList); in TestChildTable()
324 VerifyOrQuit(table->GetMaxChildrenAllowed() >= testListLength, in TestChildTable()
332 child = table->GetNewChild(); in TestChildTable()
339 VerifyChildTableContent(*table, i + 1, testChildList); in TestChildTable()
345 table->Clear(); in TestChildTable()
[all …]
/openthread-latest/tests/scripts/thread-cert/
Dtest_child_supervision.py87 table = parent.get_child_table()
88 self.assertEqual(len(table), 1)
89 self.assertEqual(table[1]['suprvsn'], int(child.get_child_supervision_interval()))
101 table = parent.get_child_table()
102 self.assertEqual(len(table), 1)
103 self.assertEqual(table[1]['suprvsn'], int(child.get_child_supervision_interval()))
116 table = parent.get_child_table()
117 self.assertEqual(len(table), 1)
131 table = parent.get_child_table()
132 child_timeout = table[1]['timeout']
[all …]
/openthread-latest/tests/toranj/cli/
Dtest-009-router-table.py114 table = r1.get_router_table()
115 verify(len(table) == 6)
116 for entry in table:
149 table = r2.get_router_table()
150 verify(len(table) == 6)
151 for entry in table:
182 table = r4.get_router_table()
183 verify(len(table) == 6)
184 for entry in table:
215 table = r5.get_router_table()
[all …]
Dtest-704-multi-radio-scan.py74 table = cli.Node.parse_table(scan_result)
75 verify(len(table) >= len(nodes))
78 for entry in table:
Dtest-004-scan.py43 table = cli.Node.parse_table(scan_result)
44 verify(len(table) >= len(nodes))
47 for entry in table:
Dtest-703-multi-radio-mesh-header-msg.py100 table = r1.get_router_table()
101 verify(len(table) == 3)
102 for entry in table:
Dtest-705-multi-radio-discover-scan.py74 table = cli.Node.parse_table(scan_result)
75 verify(len(table) >= len(nodes))
78 for entry in table:
Dtest-031-service-aloc-route-lookup.py102 table = r1.get_router_table()
103 verify(len(table) == 4)
104 for entry in table:
Dtest-006-traffic-multi-hop.py130 table = r1.get_router_table()
131 verify(len(table) == 4)
132 for entry in table:
Dtest-701-multi-radio-probe.py85 table = r1.get_router_table()
86 verify(len(table) == 2)
87 for entry in table:
Dtest-702-multi-radio-discover-by-rx.py85 table = r1.get_router_table()
86 verify(len(table) == 2)
87 for entry in table:
Dtest-013-address-cache-parent-switch.py114 table = r1.get_router_table()
115 verify(len(table) == 3)
116 for entry in table:
Dtest-015-clear-addresss-cache-for-sed.py103 table = r1.get_router_table()
104 verify(len(table) == 3)
105 for entry in table:
Dtest-007-off-mesh-route-traffic.py113 table = r1.get_router_table()
114 verify(len(table) == 4)
115 for entry in table:
Dtest-012-reset-recovery.py150 table = child1.get_router_table()
151 verify(len(table) == 2)
Dtest-008-multicast-traffic.py131 table = r1.get_router_table()
132 verify(len(table) == 4)
133 for entry in table:
Dtest-014-address-resolver.py108 table = r1.get_router_table()
109 verify(len(table) == 3)
110 for entry in table:
/openthread-latest/tools/ot-fct/
DREADME.md5 The ot-fct is used to store the power calibration table into the factory configuration file and sho…
15 Show the power calibration table.
30 Add power calibration table entry.
44 Clear the power calibration table.
53 Show the region and regulatory domain mapping table.
64 Show the target power table.
/openthread-latest/src/posix/platform/
Dopenthread.conf.example7 # Target power table entries.
14 # Region domain mapping table entries.
19 # Power calibration table entries.
/openthread-latest/src/core/backbone_router/
Dndproxy_table.cpp99 NdProxyTable &table = GetInstance().Get<BackboneRouter::NdProxyTable>(); in Iterator() local
101 mItem = &table.mProxies[0]; in Iterator()
112 NdProxyTable &table = GetInstance().Get<BackboneRouter::NdProxyTable>(); in Iterator() local
113 mItem = GetArrayEnd(table.mProxies); in Iterator()
118 NdProxyTable &table = GetInstance().Get<BackboneRouter::NdProxyTable>(); in Advance() local
123 } while (mItem < GetArrayEnd(table.mProxies) && !MatchesFilter(*mItem, mFilter)); in Advance()
/openthread-latest/src/cli/
DREADME_COMMISSIONER.md18 - [joiner table](#joiner-table)
128 ### joiner table
130 Usage: `commissioner joiner table`
135 > commissioner joiner table
DREADME_HISTORY.md80 Print the unicast IPv6 address history as table.
120 Print the multicast IPv6 address history as table.
158 Print the neighbor table history. Each entry provides:
167 Print the neighbor history as a table.
213 Print the Network Info history as a table.
276 Print the history as a table.
320 Print the history as a table.
346 Print the route table history. Each item provides:
353 Print the history as a table.
422 Print the IPv6 message RX history in either table or list format. Entries provide same information …
[all …]
/openthread-latest/tests/toranj/
Dstart.sh177 run cli/test-009-router-table.py
242 run ncp/test-011-child-table.py
247 run ncp/test-016-neighbor-table.py
250 run ncp/test-020-router-table.py
251 run ncp/test-021-address-cache-table.py
269 run ncp/test-039-address-cache-table-snoop.py

12