what-the-bank/sources/com/google/android/gms/common/util/DefaultClock.java

36 lines
930 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.util;
import android.os.SystemClock;
/* loaded from: classes.dex */
public class DefaultClock implements Clock {
private static final DefaultClock zza = new DefaultClock();
@Override // com.google.android.gms.common.util.Clock
public final long currentThreadTimeMillis() {
return SystemClock.currentThreadTimeMillis();
}
@Override // com.google.android.gms.common.util.Clock
public final long currentTimeMillis() {
return System.currentTimeMillis();
}
@Override // com.google.android.gms.common.util.Clock
public final long elapsedRealtime() {
return SystemClock.elapsedRealtime();
}
@Override // com.google.android.gms.common.util.Clock
public final long nanoTime() {
return System.nanoTime();
}
public static Clock getInstance() {
return zza;
}
private DefaultClock() {
}
}