Mock clock and calendar time

This change is to Mock the clock and calendar time in unit tests to
reduce the long execution time of unit tests and to avoid the
non-deterministic result.

Bug: 246955561
Test: atest iwlan
Change-Id: Ib514e154c22ff29983994439b337659d0fffe3ef
3 files changed