Searched refs:timestamp_ticks (Results 1 – 2 of 2) sorted by relevance
/external/openthread/tests/scripts/thread-cert/ |
D | mle.py | 935 def __init__(self, timestamp_seconds, timestamp_ticks, u): argument 937 self._timestamp_ticks = timestamp_ticks 945 def timestamp_ticks(self): member in ActiveTimestamp 955 …f.timestamp_seconds == other.timestamp_seconds and self.timestamp_ticks == other.timestamp_ticks a… 960 self.timestamp_seconds, self.timestamp_ticks, self.u) 970 timestamp_ticks = ticks >> 1 972 return ActiveTimestamp(timestamp_seconds, timestamp_ticks, u) 977 def __init__(self, timestamp_seconds, timestamp_ticks, u): argument 979 self._timestamp_ticks = timestamp_ticks 987 def timestamp_ticks(self): member in PendingTimestamp [all …]
|
D | test_mle.py | 1560 timestamp_ticks = any_timestamp_ticks() 1562 … active_timestamp_obj = mle.ActiveTimestamp(any_timestamp_seconds(), timestamp_ticks, any_u()) 1565 actual_timestamp_ticks = active_timestamp_obj.timestamp_ticks 1568 self.assertEqual(timestamp_ticks, actual_timestamp_ticks) 1588 timestamp_ticks = any_timestamp_ticks() 1593 … data = struct.pack(">Q", timestamp_seconds)[2:] + struct.pack(">H", (timestamp_ticks << 1) | u) 1601 self.assertEqual(timestamp_ticks, active_timestamp.timestamp_ticks) 1621 timestamp_ticks = any_timestamp_ticks() 1623 … pending_timestamp_obj = mle.PendingTimestamp(any_timestamp_seconds(), timestamp_ticks, any_u()) 1626 actual_timestamp_ticks = pending_timestamp_obj.timestamp_ticks [all …]
|