mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
36 lines
1 KiB
Java
36 lines
1 KiB
Java
package androidx.media3.common.util;
|
|
|
|
import android.os.Handler;
|
|
import android.os.Looper;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class SystemClock implements Clock {
|
|
@Override // androidx.media3.common.util.Clock
|
|
public void onThreadBlocked() {
|
|
}
|
|
|
|
@Override // androidx.media3.common.util.Clock
|
|
public long currentTimeMillis() {
|
|
return System.currentTimeMillis();
|
|
}
|
|
|
|
@Override // androidx.media3.common.util.Clock
|
|
public long elapsedRealtime() {
|
|
return android.os.SystemClock.elapsedRealtime();
|
|
}
|
|
|
|
@Override // androidx.media3.common.util.Clock
|
|
public long uptimeMillis() {
|
|
return android.os.SystemClock.uptimeMillis();
|
|
}
|
|
|
|
@Override // androidx.media3.common.util.Clock
|
|
public long nanoTime() {
|
|
return System.nanoTime();
|
|
}
|
|
|
|
@Override // androidx.media3.common.util.Clock
|
|
public HandlerWrapper createHandler(Looper looper, Handler.Callback callback) {
|
|
return new SystemHandlerWrapper(new Handler(looper, callback));
|
|
}
|
|
}
|