Merge from widevine of http://go/wvgerrit/48885 iOS prohibits using clock_settime. In order to make the test consistent, we set time using settimeofday instead. Test: tested as part of http://go/ag/4674759 Change-Id: I8812b9b099fa8160591fafece070c34afeed82fa