Loading services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/Face10Test.java +3 −2 Original line number Diff line number Diff line Loading @@ -102,7 +102,8 @@ public class Face10Test { FaceSensorProperties.TYPE_UNKNOWN, supportsFaceDetection, supportsSelfIllumination, resetLockoutRequiresChallenge); Face10.sSystemClock = Clock.fixed(Instant.ofEpochMilli(100), ZoneId.of("PST")); Face10.sSystemClock = Clock.fixed( Instant.ofEpochMilli(100), ZoneId.of("America/Los_Angeles")); mFace10 = new Face10(mContext, sensorProps, mLockoutResetDispatcher, mHandler, mScheduler, mBiometricContext); mBinder = new Binder(); Loading @@ -112,7 +113,7 @@ public class Face10Test { waitForIdle(); Face10.sSystemClock = Clock.fixed(Instant.ofEpochSecond( Face10.sSystemClock.instant().getEpochSecond() + seconds), ZoneId.of("PST")); ZoneId.of("America/Los_Angeles")); } @Test Loading Loading
services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/Face10Test.java +3 −2 Original line number Diff line number Diff line Loading @@ -102,7 +102,8 @@ public class Face10Test { FaceSensorProperties.TYPE_UNKNOWN, supportsFaceDetection, supportsSelfIllumination, resetLockoutRequiresChallenge); Face10.sSystemClock = Clock.fixed(Instant.ofEpochMilli(100), ZoneId.of("PST")); Face10.sSystemClock = Clock.fixed( Instant.ofEpochMilli(100), ZoneId.of("America/Los_Angeles")); mFace10 = new Face10(mContext, sensorProps, mLockoutResetDispatcher, mHandler, mScheduler, mBiometricContext); mBinder = new Binder(); Loading @@ -112,7 +113,7 @@ public class Face10Test { waitForIdle(); Face10.sSystemClock = Clock.fixed(Instant.ofEpochSecond( Face10.sSystemClock.instant().getEpochSecond() + seconds), ZoneId.of("PST")); ZoneId.of("America/Los_Angeles")); } @Test Loading