apkfuckery/com.discord/smali/com/facebook/soloader/j$a.smali

86 lines
1.9 KiB
Smali
Raw Normal View History

2019-02-17 00:24:05 +00:00
.class final Lcom/facebook/soloader/j$a;
2019-02-04 20:08:30 +00:00
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "SysUtil.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-02-17 00:24:05 +00:00
value = Lcom/facebook/soloader/j;
2019-02-04 20:08:30 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
2019-02-17 00:24:05 +00:00
name = "a"
2019-02-04 20:08:30 +00:00
.end annotation
# direct methods
.method public static fallocateIfSupported(Ljava/io/FileDescriptor;J)V
.locals 2
.annotation build Lcom/facebook/soloader/d;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-wide/16 v0, 0x0
:try_start_0
invoke-static {p0, v0, v1, p1, p2}, Landroid/system/Os;->posix_fallocate(Ljava/io/FileDescriptor;JJ)V
:try_end_0
.catch Landroid/system/ErrnoException; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
move-exception p0
iget p1, p0, Landroid/system/ErrnoException;->errno:I
sget p2, Landroid/system/OsConstants;->EOPNOTSUPP:I
if-eq p1, p2, :cond_1
iget p1, p0, Landroid/system/ErrnoException;->errno:I
sget p2, Landroid/system/OsConstants;->ENOSYS:I
if-eq p1, p2, :cond_1
iget p1, p0, Landroid/system/ErrnoException;->errno:I
sget p2, Landroid/system/OsConstants;->EINVAL:I
if-ne p1, p2, :cond_0
goto :goto_0
:cond_0
new-instance p1, Ljava/io/IOException;
invoke-virtual {p0}, Landroid/system/ErrnoException;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2, p0}, Ljava/io/IOException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw p1
:cond_1
:goto_0
return-void
.end method
.method public static getSupportedAbis()[Ljava/lang/String;
.locals 1
.annotation build Lcom/facebook/soloader/d;
.end annotation
sget-object v0, Landroid/os/Build;->SUPPORTED_ABIS:[Ljava/lang/String;
return-object v0
.end method