IrDevice.smali

.class public Lcom/hzy/tvmao/ir/encode/IrDevice;
.super Ljava/lang/Object;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    const-string/jumbo v0, "kksdk"

    invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static synchronized native declared-synchronized createRemote(I[B)V
.end method

.method private static synchronized native declared-synchronized enc([B)[I
.end method

.method public static synchronized native declared-synchronized getFrequency()I
.end method

.method public static getPulsePattern([B)[I
    .registers 2

    invoke-static {p0}, Lcom/hzy/tvmao/ir/encode/IrDevice;->enc([B)[I

    move-result-object v0

    return-object v0
.end method

.method public static getTimePattern([B)[I
    .registers 5

    invoke-static {p0}, Lcom/hzy/tvmao/ir/encode/IrDevice;->enc([B)[I

    move-result-object v1

    const v0, 0xf4240

    invoke-static {}, Lcom/hzy/tvmao/ir/encode/IrDevice;->getFrequency()I

    move-result v2

    div-int v2, v0, v2

    const/4 v0, 0x0

    :goto_e
    array-length v3, v1

    if-ge v0, v3, :cond_19

    aget v3, v1, v0

    mul-int/2addr v3, v2

    aput v3, v1, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_e

    :cond_19
    return-object v1
.end method

.method public static synchronized native declared-synchronized init(Landroid/content/Context;Ljava/lang/String;)Z
.end method