Use OffsettableClock to change time in PWM tests.

Using Thead.sleep() can add flakiness to tests and also causes
tests to run longer.

Test: atest WmTests
Bug: 309242061
Change-Id: I03ebed882422ec46471e9d39a0edaa09f97b071e
2 files changed