text:
.class public final Landroid/bluetooth/BluetoothAdapter;
.super Ljava/lang/Object;
.source "BluetoothAdapter.java"

# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Landroid/bluetooth/BluetoothAdapter$StateChangeCallbackWrapper;,
        Landroid/bluetooth/BluetoothAdapter$BluetoothStateChangeCallback;
    }
.end annotation

# static fields
.field public static final ACTION_CONNECTION_STATE_CHANGED:Ljava/lang/String; = "android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED"

.field public static final ACTION_DISCOVERY_FINISHED:Ljava/lang/String; = "android.bluetooth.adapter.action.DISCOVERY_FINISHED"

.field public static final ACTION_DISCOVERY_STARTED:Ljava/lang/String; = "android.bluetooth.adapter.action.DISCOVERY_STARTED"

.field public static final ACTION_LOCAL_NAME_CHANGED:Ljava/lang/String; = "android.bluetooth.adapter.action.LOCAL_NAME_CHANGED"

.field public static final ACTION_REQUEST_DISCOVERABLE:Ljava/lang/String; = "android.bluetooth.adapter.action.REQUEST_DISCOVERABLE"

.field public static final ACTION_REQUEST_ENABLE:Ljava/lang/String; = "android.bluetooth.adapter.action.REQUEST_ENABLE"

.field public static final ACTION_SCAN_MODE_CHANGED:Ljava/lang/String; = "android.bluetooth.adapter.action.SCAN_MODE_CHANGED"

.field public static final ACTION_STATE_CHANGED:Ljava/lang/String; = "android.bluetooth.adapter.action.STATE_CHANGED"

.field private static final ADDRESS_LENGTH:I = 0x11

.field public static final BLUETOOTH_MANAGER_SERVICE:Ljava/lang/String; = "bluetooth_manager"

.field private static final DBG:Z = true

.field public static final ERROR:I = -0x80000000

.field public static final EXTRA_CONNECTION_STATE:Ljava/lang/String; = "android.bluetooth.adapter.extra.CONNECTION_STATE"

.field public static final EXTRA_DISCOVERABLE_DURATION:Ljava/lang/String; = "android.bluetooth.adapter.extra.DISCOVERABLE_DURATION"

.field public static final EXTRA_LOCAL_NAME:Ljava/lang/String; = "android.bluetooth.adapter.extra.LOCAL_NAME"

.field public static final EXTRA_PREVIOUS_CONNECTION_STATE:Ljava/lang/String; = "android.bluetooth.adapter.extra.PREVIOUS_CONNECTION_STATE"

.field public static final EXTRA_PREVIOUS_SCAN_MODE:Ljava/lang/String; = "android.bluetooth.adapter.extra.PREVIOUS_SCAN_MODE"

.field public static final EXTRA_PREVIOUS_STATE:Ljava/lang/String; = "android.bluetooth.adapter.extra.PREVIOUS_STATE"

.field public static final EXTRA_SCAN_MODE:Ljava/lang/String; = "android.bluetooth.adapter.extra.SCAN_MODE"

.field public static final EXTRA_STATE:Ljava/lang/String; = "android.bluetooth.adapter.extra.STATE"

.field public static final SCAN_MODE_CONNECTABLE:I = 0x15

.field public static final SCAN_MODE_CONNECTABLE_DISCOVERABLE:I = 0x17

.field public static final SCAN_MODE_NONE:I = 0x14

.field public static final STATE_CONNECTED:I = 0x2

.field public static final STATE_CONNECTING:I = 0x1

.field public static final STATE_DISCONNECTED:I = 0x0

.field public static final STATE_DISCONNECTING:I = 0x3

.field public static final STATE_OFF:I = 0xa

.field public static final STATE_ON:I = 0xc

.field public static final STATE_TURNING_OFF:I = 0xd

.field public static final STATE_TURNING_ON:I = 0xb

.field private static final TAG:Ljava/lang/String; = "BluetoothAdapter"

.field private static final VDBG:Z

.field private static sAdapter:Landroid/bluetooth/BluetoothAdapter;

# instance fields
.field private final mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

.field private final mManagerService:Landroid/bluetooth/IBluetoothManager;

.field private mProxyServiceStateCallbacks:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Landroid/bluetooth/IBluetoothManagerCallback;",
            ">;"
        }
    .end annotation
.end field

.field private mService:Landroid/bluetooth/IBluetooth;

.field private mServiceRecordHandler:Landroid/os/Handler;

# direct methods
.method constructor <init>(Landroid/bluetooth/IBluetoothManager;)V
    .locals 3
    .parameter "managerService"

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

    .line 1212
    new-instance v1, Landroid/bluetooth/BluetoothAdapter$1;

    invoke-direct {v1, p0}, Landroid/bluetooth/BluetoothAdapter$1;-><init>(Landroid/bluetooth/BluetoothAdapter;)V

    iput-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    .line 1382
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mProxyServiceStateCallbacks:Ljava/util/ArrayList;

    .line 389
    if-nez p1, :cond_0

    .line 390
    new-instance v1, Ljava/lang/IllegalArgumentException;

    const-string v2, "bluetooth manager service is null"

    invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v1

    .line 393
    :cond_0
    :try_start_0
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    invoke-interface {p1, v1}, Landroid/bluetooth/IBluetoothManager;->registerAdapter(Landroid/bluetooth/IBluetoothManagerCallback;)Landroid/bluetooth/IBluetooth;

    move-result-object v1

    iput-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 395
    :goto_0
    iput-object p1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerService:Landroid/bluetooth/IBluetoothManager;

    .line 396
    const/4 v1, 0x0

    iput-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mServiceRecordHandler:Landroid/os/Handler;

    .line 397
    return-void

    .line 394
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method static synthetic access$000(Landroid/bluetooth/BluetoothAdapter;)Landroid/bluetooth/IBluetoothManagerCallback;
    .locals 1
    .parameter "x0"

    .prologue
    .line 75
    iget-object v0, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    return-object v0
.end method

.method static synthetic access$102(Landroid/bluetooth/BluetoothAdapter;Landroid/bluetooth/IBluetooth;)Landroid/bluetooth/IBluetooth;
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 75
    iput-object p1, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    return-object p1
.end method

.method static synthetic access$200(Landroid/bluetooth/BluetoothAdapter;)Ljava/util/ArrayList;
    .locals 1
    .parameter "x0"

    .prologue
    .line 75
    iget-object v0, p0, Landroid/bluetooth/BluetoothAdapter;->mProxyServiceStateCallbacks:Ljava/util/ArrayList;

    return-object v0
.end method

.method public static checkBluetoothAddress(Ljava/lang/String;)Z
    .locals 5
    .parameter "address"

    .prologue
    const/16 v4, 0x11

    const/4 v2, 0x0

    .line 1355
    if-eqz p0, :cond_0

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v3

    if-eq v3, v4, :cond_1

    .line 1375
    :cond_0
    :goto_0
    return v2

    .line 1358
    :cond_1
    const/4 v1, 0x0

    .local v1, i:I
    :goto_1
    if-ge v1, v4, :cond_4

    .line 1359
    invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C

    move-result v0

    .line 1360
    .local v0, c:C
    rem-int/lit8 v3, v1, 0x3

    packed-switch v3, :pswitch_data_0

    .line 1358
    :cond_2
    :goto_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 1363
    :pswitch_0
    const/16 v3, 0x30

    if-lt v0, v3, :cond_3

    const/16 v3, 0x39

    if-le v0, v3, :cond_2

    :cond_3
    const/16 v3, 0x41

    if-lt v0, v3, :cond_0

    const/16 v3, 0x46

    if-gt v0, v3, :cond_0

    goto :goto_2

    .line 1369
    :pswitch_1
    const/16 v3, 0x3a

    if-ne v0, v3, :cond_0

    goto :goto_2

    .line 1375
    .end local v0           #c:C
    :cond_4
    const/4 v2, 0x1

    goto :goto_0

    .line 1360
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method private createNewRfcommSocketAndRecord(Ljava/lang/String;Ljava/util/UUID;ZZ)Landroid/bluetooth/BluetoothServerSocket;
    .locals 5
    .parameter "name"
    .parameter "uuid"
    .parameter "auth"
    .parameter "encrypt"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 1027
    new-instance v1, Landroid/bluetooth/BluetoothServerSocket;

    const/4 v2, 0x1

    new-instance v3, Landroid/os/ParcelUuid;

    invoke-direct {v3, p2}, Landroid/os/ParcelUuid;-><init>(Ljava/util/UUID;)V

    invoke-direct {v1, v2, p3, p4, v3}, Landroid/bluetooth/BluetoothServerSocket;-><init>(IZZLandroid/os/ParcelUuid;)V

    .line 1029
    .local v1, socket:Landroid/bluetooth/BluetoothServerSocket;
    invoke-virtual {v1, p1}, Landroid/bluetooth/BluetoothServerSocket;->setServiceName(Ljava/lang/String;)V

    .line 1030
    iget-object v2, v1, Landroid/bluetooth/BluetoothServerSocket;->mSocket:Landroid/bluetooth/BluetoothSocket;

    invoke-virtual {v2}, Landroid/bluetooth/BluetoothSocket;->bindListen()I

    move-result v0

    .line 1031
    .local v0, errno:I
    if-eqz v0, :cond_0

    .line 1035
    new-instance v2, Ljava/io/IOException;

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "Error: "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 1037
    :cond_0
    return-object v1
.end method

.method public static declared-synchronized getDefaultAdapter()Landroid/bluetooth/BluetoothAdapter;
    .locals 5

    .prologue
    .line 372
    const-class v3, Landroid/bluetooth/BluetoothAdapter;

    monitor-enter v3

    :try_start_0
    sget-object v2, Landroid/bluetooth/BluetoothAdapter;->sAdapter:Landroid/bluetooth/BluetoothAdapter;

    if-nez v2, :cond_0

    .line 373
    const-string v2, "bluetooth_manager"

    invoke-static {v2}, Landroid/os/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IBinder;

    move-result-object v0

    .line 374
    .local v0, b:Landroid/os/IBinder;
    if-eqz v0, :cond_1

    .line 375
    invoke-static {v0}, Landroid/bluetooth/IBluetoothManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/bluetooth/IBluetoothManager;

    move-result-object v1

    .line 376
    .local v1, managerService:Landroid/bluetooth/IBluetoothManager;
    new-instance v2, Landroid/bluetooth/BluetoothAdapter;

    invoke-direct {v2, v1}, Landroid/bluetooth/BluetoothAdapter;-><init>(Landroid/bluetooth/IBluetoothManager;)V

    sput-object v2, Landroid/bluetooth/BluetoothAdapter;->sAdapter:Landroid/bluetooth/BluetoothAdapter;

    .line 381
    .end local v1           #managerService:Landroid/bluetooth/IBluetoothManager;
    :cond_0
    :goto_0
    sget-object v2, Landroid/bluetooth/BluetoothAdapter;->sAdapter:Landroid/bluetooth/BluetoothAdapter;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v3

    return-object v2

    .line 378
    :cond_1
    :try_start_1
    const-string v2, "BluetoothAdapter"

    const-string v4, "Bluetooth binder is null"

    invoke-static {v2, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    .line 372
    :catchall_0
    move-exception v2

    monitor-exit v3

    throw v2
.end method

.method public static listenUsingScoOn()Landroid/bluetooth/BluetoothServerSocket;
    .locals 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    const/4 v4, 0x0

    .line 1092
    new-instance v1, Landroid/bluetooth/BluetoothServerSocket;

    const/4 v2, 0x2

    const/4 v3, -0x1

    invoke-direct {v1, v2, v4, v4, v3}, Landroid/bluetooth/BluetoothServerSocket;-><init>(IZZI)V

    .line 1094
    .local v1, socket:Landroid/bluetooth/BluetoothServerSocket;
    iget-object v2, v1, Landroid/bluetooth/BluetoothServerSocket;->mSocket:Landroid/bluetooth/BluetoothSocket;

    invoke-virtual {v2}, Landroid/bluetooth/BluetoothSocket;->bindListen()I

    move-result v0

    .line 1095
    .local v0, errno:I
    if-gez v0, :cond_0

    .line 1100
    :cond_0
    return-object v1
.end method

.method private toDeviceSet([Landroid/bluetooth/BluetoothDevice;)Ljava/util/Set;
    .locals 2
    .parameter "devices"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "([",
            "Landroid/bluetooth/BluetoothDevice;",
            ")",
            "Ljava/util/Set",
            "<",
            "Landroid/bluetooth/BluetoothDevice;",
            ">;"
        }
    .end annotation

    .prologue
    .line 1332
    new-instance v0, Ljava/util/HashSet;

    invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V

    .line 1333
    .local v0, deviceSet:Ljava/util/Set;,"Ljava/util/Set<Landroid/bluetooth/BluetoothDevice;>;"
    invoke-static {v0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;

    move-result-object v1

    return-object v1
.end method

# virtual methods
.method public cancelDiscovery()Z
    .locals 4

    .prologue
    const/4 v1, 0x0

    .line 788
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 794
    :goto_0
    return v1

    .line 790
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 791
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2}, Landroid/bluetooth/IBluetooth;->cancelDiscovery()Z

    move-result v2

    monitor-exit v3

    move v1, v2

    goto :goto_0

    .line 792
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 793
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, ""

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public changeApplicationBluetoothState(ZLandroid/bluetooth/BluetoothAdapter$BluetoothStateChangeCallback;)Z
    .locals 1
    .parameter "on"
    .parameter "callback"

    .prologue
    const/4 v0, 0x0

    .line 1294
    if-nez p2, :cond_0

    .line 1304
    :cond_0
    return v0
.end method

.method public closeProfileProxy(ILandroid/bluetooth/BluetoothProfile;)V
    .locals 5
    .parameter "profile"
    .parameter "proxy"

    .prologue
    .line 1186
    if-nez p2, :cond_0

    .line 1210
    :goto_0
    return-void

    .line 1188
    :cond_0
    packed-switch p1, :pswitch_data_0

    goto :goto_0

    :pswitch_0
    move-object v1, p2

    .line 1190
    check-cast v1, Landroid/bluetooth/BluetoothHeadset;

    .line 1191
    .local v1, headset:Landroid/bluetooth/BluetoothHeadset;
    invoke-virtual {v1}, Landroid/bluetooth/BluetoothHeadset;->close()V

    goto :goto_0

    .end local v1           #headset:Landroid/bluetooth/BluetoothHeadset;
    :pswitch_1
    move-object v0, p2

    .line 1194
    check-cast v0, Landroid/bluetooth/BluetoothA2dp;

    .line 1195
    .local v0, a2dp:Landroid/bluetooth/BluetoothA2dp;
    invoke-virtual {v0}, Landroid/bluetooth/BluetoothA2dp;->close()V

    goto :goto_0

    .end local v0           #a2dp:Landroid/bluetooth/BluetoothA2dp;
    :pswitch_2
    move-object v3, p2

    .line 1198
    check-cast v3, Landroid/bluetooth/BluetoothInputDevice;

    .line 1199
    .local v3, iDev:Landroid/bluetooth/BluetoothInputDevice;
    invoke-virtual {v3}, Landroid/bluetooth/BluetoothInputDevice;->close()V

    goto :goto_0

    .end local v3           #iDev:Landroid/bluetooth/BluetoothInputDevice;
    :pswitch_3
    move-object v4, p2

    .line 1202
    check-cast v4, Landroid/bluetooth/BluetoothPan;

    .line 1203
    .local v4, pan:Landroid/bluetooth/BluetoothPan;
    invoke-virtual {v4}, Landroid/bluetooth/BluetoothPan;->close()V

    goto :goto_0

    .end local v4           #pan:Landroid/bluetooth/BluetoothPan;
    :pswitch_4
    move-object v2, p2

    .line 1206
    check-cast v2, Landroid/bluetooth/BluetoothHealth;

    .line 1207
    .local v2, health:Landroid/bluetooth/BluetoothHealth;
    invoke-virtual {v2}, Landroid/bluetooth/BluetoothHealth;->close()V

    goto :goto_0

    .line 1188
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_4
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public disable()Z
    .locals 3

    .prologue
    .line 544
    :try_start_0
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerService:Landroid/bluetooth/IBluetoothManager;

    const/4 v2, 0x1

    invoke-interface {v1, v2}, Landroid/bluetooth/IBluetoothManager;->disable(Z)Z
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 546
    :goto_0
    return v1

    .line 545
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 546
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public disable(Z)Z
    .locals 3
    .parameter "persist"

    .prologue
    .line 562
    :try_start_0
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerService:Landroid/bluetooth/IBluetoothManager;

    invoke-interface {v1, p1}, Landroid/bluetooth/IBluetoothManager;->disable(Z)Z
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 564
    :goto_0
    return v1

    .line 563
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 564
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public enable()Z
    .locals 4

    .prologue
    const/4 v1, 0x1

    .line 508
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->isEnabled()Z

    move-result v2

    if-ne v2, v1, :cond_0

    .line 509
    const-string v2, "BluetoothAdapter"

    const-string v3, "enable(): BT is already enabled..!"

    invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 515
    :goto_0
    return v1

    .line 513
    :cond_0
    :try_start_0
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerService:Landroid/bluetooth/IBluetoothManager;

    invoke-interface {v1}, Landroid/bluetooth/IBluetoothManager;->enable()Z
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    goto :goto_0

    .line 514
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 515
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public enableNoAutoConnect()Z
    .locals 4

    .prologue
    const/4 v1, 0x1

    .line 1253
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->isEnabled()Z

    move-result v2

    if-ne v2, v1, :cond_0

    .line 1254
    const-string v2, "BluetoothAdapter"

    const-string v3, "enableNoAutoConnect(): BT is already enabled..!"

    invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1260
    :goto_0
    return v1

    .line 1258
    :cond_0
    :try_start_0
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerService:Landroid/bluetooth/IBluetoothManager;

    invoke-interface {v1}, Landroid/bluetooth/IBluetoothManager;->enableNoAutoConnect()Z
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    goto :goto_0

    .line 1259
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 1260
    const/4 v1, 0x0

    goto :goto_0
.end method

.method protected finalize()V
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Throwable;
        }
    .end annotation

    .prologue
    .line 1338
    :try_start_0
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerService:Landroid/bluetooth/IBluetoothManager;

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    invoke-interface {v1, v2}, Landroid/bluetooth/IBluetoothManager;->unregisterAdapter(Landroid/bluetooth/IBluetoothManagerCallback;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 1342
    :goto_0
    invoke-super {p0}, Ljava/lang/Object;->finalize()V

    .line 1344
    return-void

    .line 1339
    :catch_0
    move-exception v0

    .line 1340
    .local v0, e:Landroid/os/RemoteException;
    :try_start_1
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    .line 1342
    .end local v0           #e:Landroid/os/RemoteException;
    :catchall_0
    move-exception v1

    invoke-super {p0}, Ljava/lang/Object;->finalize()V

    throw v1
.end method

.method public getAddress()Ljava/lang/String;
    .locals 3

    .prologue
    .line 576
    :try_start_0
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerService:Landroid/bluetooth/IBluetoothManager;

    invoke-interface {v1}, Landroid/bluetooth/IBluetoothManager;->getAddress()Ljava/lang/String;
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    .line 578
    :goto_0
    return-object v1

    .line 577
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 578
    const/4 v1, 0x0

    goto :goto_0
.end method

.method getBluetoothManager()Landroid/bluetooth/IBluetoothManager;
    .locals 1

    .prologue
    .line 1379
    iget-object v0, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerService:Landroid/bluetooth/IBluetoothManager;

    return-object v0
.end method

.method getBluetoothService(Landroid/bluetooth/IBluetoothManagerCallback;)Landroid/bluetooth/IBluetooth;
    .locals 3
    .parameter "cb"

    .prologue
    .line 1385
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v1

    .line 1386
    if-nez p1, :cond_1

    .line 1387
    :try_start_0
    const-string v0, "BluetoothAdapter"

    const-string v2, "getBluetoothService() called with no BluetoothManagerCallback"

    invoke-static {v0, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 1391
    :cond_0
    :goto_0
    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1392
    iget-object v0, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    return-object v0

    .line 1388
    :cond_1
    :try_start_1
    iget-object v0, p0, Landroid/bluetooth/BluetoothAdapter;->mProxyServiceStateCallbacks:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 1389
    iget-object v0, p0, Landroid/bluetooth/BluetoothAdapter;->mProxyServiceStateCallbacks:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 1391
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw v0
.end method

.method public getBondedDevices()Ljava/util/Set;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Set",
            "<",
            "Landroid/bluetooth/BluetoothDevice;",
            ">;"
        }
    .end annotation

    .prologue
    const/4 v3, 0x0

    .line 838
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v1

    const/16 v2, 0xc

    if-eq v1, v2, :cond_0

    .line 839
    new-array v1, v3, [Landroid/bluetooth/BluetoothDevice;

    invoke-direct {p0, v1}, Landroid/bluetooth/BluetoothAdapter;->toDeviceSet([Landroid/bluetooth/BluetoothDevice;)Ljava/util/Set;

    move-result-object v1

    .line 847
    :goto_0
    return-object v1

    .line 842
    :cond_0
    :try_start_0
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v2
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 843
    :try_start_1
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v1, :cond_1

    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v1}, Landroid/bluetooth/IBluetooth;->getBondedDevices()[Landroid/bluetooth/BluetoothDevice;

    move-result-object v1

    invoke-direct {p0, v1}, Landroid/bluetooth/BluetoothAdapter;->toDeviceSet([Landroid/bluetooth/BluetoothDevice;)Ljava/util/Set;

    move-result-object v1

    monitor-exit v2

    goto :goto_0

    .line 844
    :catchall_0
    move-exception v1

    monitor-exit v2
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v1
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 846
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 847
    const/4 v1, 0x0

    goto :goto_0

    .line 844
    .end local v0           #e:Landroid/os/RemoteException;
    :cond_1
    :try_start_3
    monitor-exit v2
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .line 845
    const/4 v1, 0x0

    :try_start_4
    new-array v1, v1, [Landroid/bluetooth/BluetoothDevice;

    invoke-direct {p0, v1}, Landroid/bluetooth/BluetoothAdapter;->toDeviceSet([Landroid/bluetooth/BluetoothDevice;)Ljava/util/Set;
    :try_end_4
    .catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_4} :catch_0

    move-result-object v1

    goto :goto_0
.end method

.method public getConnectionState()I
    .locals 4

    .prologue
    const/4 v1, 0x0

    .line 864
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 870
    :goto_0
    return v1

    .line 866
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 867
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2}, Landroid/bluetooth/IBluetooth;->getAdapterConnectionState()I

    move-result v2

    monitor-exit v3

    move v1, v2

    goto :goto_0

    .line 868
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 869
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, "getConnectionState:"

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public getDiscoverableTimeout()I
    .locals 4

    .prologue
    const/4 v1, -0x1

    .line 711
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 717
    :goto_0
    return v1

    .line 713
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 714
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2}, Landroid/bluetooth/IBluetooth;->getDiscoverableTimeout()I

    move-result v2

    monitor-exit v3

    move v1, v2

    goto :goto_0

    .line 715
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 716
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, ""

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public getName()Ljava/lang/String;
    .locals 3

    .prologue
    .line 590
    :try_start_0
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerService:Landroid/bluetooth/IBluetoothManager;

    invoke-interface {v1}, Landroid/bluetooth/IBluetoothManager;->getName()Ljava/lang/String;
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    .line 592
    :goto_0
    return-object v1

    .line 591
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 592
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public getProfileConnectionState(I)I
    .locals 4
    .parameter "profile"

    .prologue
    const/4 v1, 0x0

    .line 889
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 897
    :goto_0
    return v1

    .line 891
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 892
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2, p1}, Landroid/bluetooth/IBluetooth;->getProfileConnectionState(I)I

    move-result v2

    monitor-exit v3

    move v1, v2

    goto :goto_0

    .line 893
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 894
    :catch_0
    move-exception v0

    .line 895
    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, "getProfileConnectionState:"

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public getProfileProxy(Landroid/content/Context;Landroid/bluetooth/BluetoothProfile$ServiceListener;I)Z
    .locals 8
    .parameter "context"
    .parameter "listener"
    .parameter "profile"

    .prologue
    const/4 v6, 0x0

    const/4 v5, 0x1

    .line 1152
    if-eqz p1, :cond_0

    if-nez p2, :cond_1

    :cond_0
    move v5, v6

    .line 1170
    :goto_0
    return v5

    .line 1154
    :cond_1
    if-ne p3, v5, :cond_2

    .line 1155
    new-instance v1, Landroid/bluetooth/BluetoothHeadset;

    invoke-direct {v1, p1, p2}, Landroid/bluetooth/BluetoothHeadset;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothProfile$ServiceListener;)V

    .line 1156
    .local v1, headset:Landroid/bluetooth/BluetoothHeadset;
    goto :goto_0

    .line 1157
    .end local v1           #headset:Landroid/bluetooth/BluetoothHeadset;
    :cond_2
    const/4 v7, 0x2

    if-ne p3, v7, :cond_3

    .line 1158
    new-instance v0, Landroid/bluetooth/BluetoothA2dp;

    invoke-direct {v0, p1, p2}, Landroid/bluetooth/BluetoothA2dp;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothProfile$ServiceListener;)V

    .line 1159
    .local v0, a2dp:Landroid/bluetooth/BluetoothA2dp;
    goto :goto_0

    .line 1160
    .end local v0           #a2dp:Landroid/bluetooth/BluetoothA2dp;
    :cond_3
    const/4 v7, 0x4

    if-ne p3, v7, :cond_4

    .line 1161
    new-instance v3, Landroid/bluetooth/BluetoothInputDevice;

    invoke-direct {v3, p1, p2}, Landroid/bluetooth/BluetoothInputDevice;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothProfile$ServiceListener;)V

    .line 1162
    .local v3, iDev:Landroid/bluetooth/BluetoothInputDevice;
    goto :goto_0

    .line 1163
    .end local v3           #iDev:Landroid/bluetooth/BluetoothInputDevice;
    :cond_4
    const/4 v7, 0x5

    if-ne p3, v7, :cond_5

    .line 1164
    new-instance v4, Landroid/bluetooth/BluetoothPan;

    invoke-direct {v4, p1, p2}, Landroid/bluetooth/BluetoothPan;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothProfile$ServiceListener;)V

    .line 1165
    .local v4, pan:Landroid/bluetooth/BluetoothPan;
    goto :goto_0

    .line 1166
    .end local v4           #pan:Landroid/bluetooth/BluetoothPan;
    :cond_5
    const/4 v7, 0x3

    if-ne p3, v7, :cond_6

    .line 1167
    new-instance v2, Landroid/bluetooth/BluetoothHealth;

    invoke-direct {v2, p1, p2}, Landroid/bluetooth/BluetoothHealth;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothProfile$ServiceListener;)V

    .line 1168
    .local v2, health:Landroid/bluetooth/BluetoothHealth;
    goto :goto_0

    .end local v2           #health:Landroid/bluetooth/BluetoothHealth;
    :cond_6
    move v5, v6

    .line 1170
    goto :goto_0
.end method

.method public getRemoteDevice(Ljava/lang/String;)Landroid/bluetooth/BluetoothDevice;
    .locals 1
    .parameter "address"

    .prologue
    .line 412
    new-instance v0, Landroid/bluetooth/BluetoothDevice;

    invoke-direct {v0, p1}, Landroid/bluetooth/BluetoothDevice;-><init>(Ljava/lang/String;)V

    return-object v0
.end method

.method public getRemoteDevice([B)Landroid/bluetooth/BluetoothDevice;
    .locals 9
    .parameter "address"

    .prologue
    const/4 v8, 0x4

    const/4 v7, 0x3

    const/4 v6, 0x2

    const/4 v5, 0x1

    const/4 v4, 0x0

    .line 427
    if-eqz p1, :cond_0

    array-length v0, p1

    const/4 v1, 0x6

    if-eq v0, v1, :cond_1

    .line 428
    :cond_0
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Bluetooth address must have 6 bytes"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 430
    :cond_1
    new-instance v0, Landroid/bluetooth/BluetoothDevice;

    const-string v1, "%02X:%02X:%02X:%02X:%02X:%02X"

    const/4 v2, 0x6

    new-array v2, v2, [Ljava/lang/Object;

    aget-byte v3, p1, v4

    invoke-static {v3}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;

    move-result-object v3

    aput-object v3, v2, v4

    aget-byte v3, p1, v5

    invoke-static {v3}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;

    move-result-object v3

    aput-object v3, v2, v5

    aget-byte v3, p1, v6

    invoke-static {v3}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;

    move-result-object v3

    aput-object v3, v2, v6

    aget-byte v3, p1, v7

    invoke-static {v3}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;

    move-result-object v3

    aput-object v3, v2, v7

    aget-byte v3, p1, v8

    invoke-static {v3}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;

    move-result-object v3

    aput-object v3, v2, v8

    const/4 v3, 0x5

    const/4 v4, 0x5

    aget-byte v4, p1, v4

    invoke-static {v4}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/bluetooth/BluetoothDevice;-><init>(Ljava/lang/String;)V

    return-object v0
.end method

.method public getScanMode()I
    .locals 4

    .prologue
    const/16 v1, 0x14

    .line 655
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 661
    :goto_0
    return v1

    .line 657
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 658
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2}, Landroid/bluetooth/IBluetooth;->getScanMode()I

    move-result v2

    monitor-exit v3

    move v1, v2

    goto :goto_0

    .line 659
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 660
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, ""

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public getState()I
    .locals 5

    .prologue
    .line 465
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 466
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_0

    .line 468
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2}, Landroid/bluetooth/IBluetooth;->getState()I

    move-result v1

    .line 470
    .local v1, state:I
    monitor-exit v3

    .line 477
    .end local v1           #state:I
    :goto_0
    return v1

    .line 474
    :cond_0
    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 476
    :goto_1
    const-string v2, "BluetoothAdapter"

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ": getState() :  mService = null. Returning STATE_OFF"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 477
    const/16 v1, 0xa

    goto :goto_0

    .line 474
    :catchall_0
    move-exception v2

    :try_start_2
    monitor-exit v3
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    :try_start_3
    throw v2
    :try_end_3
    .catch Landroid/os/RemoteException; {:try_start_3 .. :try_end_3} :catch_0

    .line 475
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, ""

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_1
.end method

.method public getUuids()[Landroid/os/ParcelUuid;
    .locals 4

    .prologue
    const/4 v1, 0x0

    .line 604
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 610
    :goto_0
    return-object v1

    .line 606
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 607
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2}, Landroid/bluetooth/IBluetooth;->getUuids()[Landroid/os/ParcelUuid;

    move-result-object v2

    monitor-exit v3

    move-object v1, v2

    goto :goto_0

    .line 608
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 609
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, ""

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public isDiscovering()Z
    .locals 4

    .prologue
    const/4 v1, 0x0

    .line 817
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 823
    :goto_0
    return v1

    .line 819
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 820
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2}, Landroid/bluetooth/IBluetooth;->isDiscovering()Z

    move-result v2

    monitor-exit v3

    move v1, v2

    goto :goto_0

    .line 821
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 822
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, ""

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public isEnabled()Z
    .locals 3

    .prologue
    .line 445
    :try_start_0
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v2
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 446
    :try_start_1
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v1, :cond_0

    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v1}, Landroid/bluetooth/IBluetooth;->isEnabled()Z

    move-result v1

    monitor-exit v2

    .line 449
    :goto_0
    return v1

    .line 447
    :cond_0
    monitor-exit v2

    .line 449
    :goto_1
    const/4 v1, 0x0

    goto :goto_0

    .line 447
    :catchall_0
    move-exception v1

    monitor-exit v2
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v1
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 448
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_1
.end method

.method public listenUsingEncryptedRfcommOn(I)Landroid/bluetooth/BluetoothServerSocket;
    .locals 5
    .parameter "port"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    const/4 v3, 0x1

    .line 1071
    new-instance v1, Landroid/bluetooth/BluetoothServerSocket;

    const/4 v2, 0x0

    invoke-direct {v1, v3, v2, v3, p1}, Landroid/bluetooth/BluetoothServerSocket;-><init>(IZZI)V

    .line 1073
    .local v1, socket:Landroid/bluetooth/BluetoothServerSocket;
    iget-object v2, v1, Landroid/bluetooth/BluetoothServerSocket;->mSocket:Landroid/bluetooth/BluetoothSocket;

    invoke-virtual {v2}, Landroid/bluetooth/BluetoothSocket;->bindListen()I

    move-result v0

    .line 1074
    .local v0, errno:I
    if-gez v0, :cond_0

    .line 1078
    new-instance v2, Ljava/io/IOException;

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "Error: "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 1080
    :cond_0
    return-object v1
.end method

.method public listenUsingEncryptedRfcommWithServiceRecord(Ljava/lang/String;Ljava/util/UUID;)Landroid/bluetooth/BluetoothServerSocket;
    .locals 2
    .parameter "name"
    .parameter "uuid"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 1020
    const/4 v0, 0x0

    const/4 v1, 0x1

    invoke-direct {p0, p1, p2, v0, v1}, Landroid/bluetooth/BluetoothAdapter;->createNewRfcommSocketAndRecord(Ljava/lang/String;Ljava/util/UUID;ZZ)Landroid/bluetooth/BluetoothServerSocket;

    move-result-object v0

    return-object v0
.end method

.method public listenUsingInsecureRfcommOn(I)Landroid/bluetooth/BluetoothServerSocket;
    .locals 5
    .parameter "port"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    const/4 v3, 0x0

    .line 1049
    new-instance v1, Landroid/bluetooth/BluetoothServerSocket;

    const/4 v2, 0x1

    invoke-direct {v1, v2, v3, v3, p1}, Landroid/bluetooth/BluetoothServerSocket;-><init>(IZZI)V

    .line 1051
    .local v1, socket:Landroid/bluetooth/BluetoothServerSocket;
    iget-object v2, v1, Landroid/bluetooth/BluetoothServerSocket;->mSocket:Landroid/bluetooth/BluetoothSocket;

    invoke-virtual {v2}, Landroid/bluetooth/BluetoothSocket;->bindListen()I

    move-result v0

    .line 1052
    .local v0, errno:I
    if-eqz v0, :cond_0

    .line 1056
    new-instance v2, Ljava/io/IOException;

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "Error: "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 1058
    :cond_0
    return-object v1
.end method

.method public listenUsingInsecureRfcommWithServiceRecord(Ljava/lang/String;Ljava/util/UUID;)Landroid/bluetooth/BluetoothServerSocket;
    .locals 1
    .parameter "name"
    .parameter "uuid"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    const/4 v0, 0x0

    .line 982
    invoke-direct {p0, p1, p2, v0, v0}, Landroid/bluetooth/BluetoothAdapter;->createNewRfcommSocketAndRecord(Ljava/lang/String;Ljava/util/UUID;ZZ)Landroid/bluetooth/BluetoothServerSocket;

    move-result-object v0

    return-object v0
.end method

.method public listenUsingRfcommOn(I)Landroid/bluetooth/BluetoothServerSocket;
    .locals 5
    .parameter "channel"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    const/4 v2, 0x1

    .line 915
    new-instance v1, Landroid/bluetooth/BluetoothServerSocket;

    invoke-direct {v1, v2, v2, v2, p1}, Landroid/bluetooth/BluetoothServerSocket;-><init>(IZZI)V

    .line 917
    .local v1, socket:Landroid/bluetooth/BluetoothServerSocket;
    iget-object v2, v1, Landroid/bluetooth/BluetoothServerSocket;->mSocket:Landroid/bluetooth/BluetoothSocket;

    invoke-virtual {v2}, Landroid/bluetooth/BluetoothSocket;->bindListen()I

    move-result v0

    .line 918
    .local v0, errno:I
    if-eqz v0, :cond_0

    .line 922
    new-instance v2, Ljava/io/IOException;

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "Error: "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 924
    :cond_0
    return-object v1
.end method

.method public listenUsingRfcommWithServiceRecord(Ljava/lang/String;Ljava/util/UUID;)Landroid/bluetooth/BluetoothServerSocket;
    .locals 1
    .parameter "name"
    .parameter "uuid"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    const/4 v0, 0x1

    .line 951
    invoke-direct {p0, p1, p2, v0, v0}, Landroid/bluetooth/BluetoothAdapter;->createNewRfcommSocketAndRecord(Ljava/lang/String;Ljava/util/UUID;ZZ)Landroid/bluetooth/BluetoothServerSocket;

    move-result-object v0

    return-object v0
.end method

.method public readOutOfBandData()Landroid/util/Pair;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Landroid/util/Pair",
            "<[B[B>;"
        }
    .end annotation

    .prologue
    const/4 v2, 0x0

    .line 1112
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v0

    const/16 v1, 0xc

    if-eq v0, v1, :cond_0

    .line 1133
    :cond_0
    return-object v2
.end method

.method removeServiceStateCallback(Landroid/bluetooth/IBluetoothManagerCallback;)V
    .locals 2
    .parameter "cb"

    .prologue
    .line 1396
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v1

    .line 1397
    :try_start_0
    iget-object v0, p0, Landroid/bluetooth/BluetoothAdapter;->mProxyServiceStateCallbacks:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 1398
    monitor-exit v1

    .line 1399
    return-void

    .line 1398
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public setDiscoverableTimeout(I)V
    .locals 3
    .parameter "timeout"

    .prologue
    .line 722
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v1

    const/16 v2, 0xc

    if-eq v1, v2, :cond_0

    .line 728
    :goto_0
    return-void

    .line 724
    :cond_0
    :try_start_0
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v2
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 725
    :try_start_1
    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v1, :cond_1

    iget-object v1, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v1, p1}, Landroid/bluetooth/IBluetooth;->setDiscoverableTimeout(I)Z

    .line 726
    :cond_1
    monitor-exit v2

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v2
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v1
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 727
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v1, "BluetoothAdapter"

    const-string v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public setName(Ljava/lang/String;)Z
    .locals 4
    .parameter "name"

    .prologue
    const/4 v1, 0x0

    .line 629
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 635
    :goto_0
    return v1

    .line 631
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 632
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2, p1}, Landroid/bluetooth/IBluetooth;->setName(Ljava/lang/String;)Z

    move-result v2

    monitor-exit v3

    move v1, v2

    goto :goto_0

    .line 633
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 634
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, ""

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public setScanMode(I)Z
    .locals 2
    .parameter "mode"

    .prologue
    .line 704
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v0

    const/16 v1, 0xc

    if-eq v0, v1, :cond_0

    const/4 v0, 0x0

    .line 706
    :goto_0
    return v0

    :cond_0
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getDiscoverableTimeout()I

    move-result v0

    invoke-virtual {p0, p1, v0}, Landroid/bluetooth/BluetoothAdapter;->setScanMode(II)Z

    move-result v0

    goto :goto_0
.end method

.method public setScanMode(II)Z
    .locals 4
    .parameter "mode"
    .parameter "duration"

    .prologue
    const/4 v1, 0x0

    .line 693
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 699
    :goto_0
    return v1

    .line 695
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 696
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2, p1, p2}, Landroid/bluetooth/IBluetooth;->setScanMode(II)Z

    move-result v2

    monitor-exit v3

    move v1, v2

    goto :goto_0

    .line 697
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 698
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, ""

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method

.method public startDiscovery()Z
    .locals 4

    .prologue
    const/4 v1, 0x0

    .line 761
    invoke-virtual {p0}, Landroid/bluetooth/BluetoothAdapter;->getState()I

    move-result v2

    const/16 v3, 0xc

    if-eq v2, v3, :cond_0

    .line 767
    :goto_0
    return v1

    .line 763
    :cond_0
    :try_start_0
    iget-object v3, p0, Landroid/bluetooth/BluetoothAdapter;->mManagerCallback:Landroid/bluetooth/IBluetoothManagerCallback;

    monitor-enter v3
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 764
    :try_start_1
    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    if-eqz v2, :cond_1

    iget-object v2, p0, Landroid/bluetooth/BluetoothAdapter;->mService:Landroid/bluetooth/IBluetooth;

    invoke-interface {v2}, Landroid/bluetooth/IBluetooth;->startDiscovery()Z

    move-result v2

    monitor-exit v3

    move v1, v2

    goto :goto_0

    .line 765
    :cond_1
    monitor-exit v3

    goto :goto_0

    :catchall_0
    move-exception v2

    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v2
    :try_end_2
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0

    .line 766
    :catch_0
    move-exception v0

    .local v0, e:Landroid/os/RemoteException;
    const-string v2, "BluetoothAdapter"

    const-string v3, ""

    invoke-static {v2, v3, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method


Heavy duty large capacity hopper bird feeders!
Extra Large Barn Feeder - All western red cedar construction, stainless steel and dichromate plated screws, washers, hooks and chains, hand sanded, assembled with screws. Many products coated with wood protector, which accents the wood grain and the natural warmth of large cedar. Super extra large 25 pound capacity, mixed seed, barn-style post or pole mount feeder. It has a convenient flip-top for easy refill. Handcrafted in the USA!
Capacity: 16.66 quarts, 25 lbs.
Dimensions: 15"L x 20"W x 12.75"H; Weight 11 lbs.


text:
Abbey Tap, E15 4QS
Address: 14 Broadway, E15 4QS (streetmap) (osm) (gmap) (bingmap) (streetview)
Website: https://www.craft-pubs...
Opening Hours: Mon-Thu: 10am-11pm; Fri-Sat: 10am-1am; Sun: 10am-11pm
Categories: Accessible Toilet, Cloud Wifi, Free Wireless, Pub Food, Pubs, Real Ale, Step-Free Access
Locales: E15, Stratford
Stonegate pub in Stratford. It was previously known as the Langthorne photo, but in 2018 Stonegate renamed it to the Abbey Tap and rebranded it as part of their "Craft Pubs" sub-brand.
It still feels like a chain pub, though the previous more traditional feel has given way to more of a bar sort of ambience. There's very little natural light inside, and the ceiling is low. Varnished wooden boards cover much of the floor, giving way to geometric tile designs around the bar. The upholstery designs are geometric too, and pink neon lighting strips on the ceiling suggest that the management seek a "buzzy" vibe rather than a relaxing one. Entertainment options are offered by silently-flashing fruit machines and at least six flatscreens including one large projection screen. There's outside seating at the front, partially covered.
Kake first visited on a Thursday afternoon in December 2014. There were a fair few people in when I arrived around 4:30pm, and it remained well-populated throughout my visit, though there were always free tables. Music was playing, very loud, and I was quite glad I was on my own and not trying to make conversation. Two real ales were on: Wychwood Hobgoblin (£3.50/pint) and Greene King IPA. A pint of lime and soda was 60p, and a packet of pork scratchings was £1.25. Service was friendly.
Kake visited again in October 2018, after the rebrand, in the company of bob. There were just two other customers when we arrived around 11:15am. The flatscreens were showing snooker with the sound off, and '90s music was playing. All four handpumps were clipped, offering Robinsons Trooper, Gales Seafarers (£4.30), Adnams Mosaic, and Sharp's Doom Bar. They also had ten keg taps for craft beer behind the bar, mainly mainstream options such as Meantime and BrewDog. A pint of lime and soda was 40p.
Traditional pub food is served all day from a chain-wide menu.
They have free wifi via The Cloud, which as of December 2014 requires registration and provision of email address, mobile phone number, and date of birth (though it doesn't check you've told the truth about any of these).
Kake's verdict: I thought it was OK before the rebrand, but I'm not a fan of the new ambience.
Accessibility: Step-free to bar, RADAR-locked accessible toilet, and some of the seating area. The rest of the seating is on a dais. Other toilets are up a flight of stairs with a sturdy handrail and three bends. All the seating on the level is now either backless benches, high stools, half-round seats with fixed arms, or banquettes fixed close to tables.
Pubs Galore comments
Fancyapint review
Beer In The Evening comments
WhatPub entry
Last visited by Kake and bob, October 2018. Opening hours taken from the Stonegate "Craft Pubs" website, October 2018.
OS X co-ord: 538815 OS Y co-ord: 184265 (Latitude: 51.540220 Longitude: 0.0002505)

redpajama_set_name: RedPajamaCommonCrawl


text:
Zuckerman Fellows Program 2018-2019, Harvard University, USA
Education, Governance, Public Administration, Public Health
Zuckerman Fellows Program
For study at Harvard Kennedy School, Harvard Graduate School of Education, or Harvard T.H. Chan School of Public Health.
The challenges we face in our public schools and public health systems, as well as in government at all levels, are too complicated to be solved without the insight and commitment of leaders with the highest-quality professional training. But for many who have a strong aptitude for public service, the opportunity costs associated with acquiring the necessary training are too high.
In response to this problem, the Zuckerman Fellows Program equips people from the fields of medicine, law, and business to provide leadership for the common good by making it possible for them to pursue public service degrees at the Harvard Graduate School of Education, Harvard T. H. Chan School of Public Health, or Harvard Kennedy School. The Zuckerman Fellowship provides recipients with full tuition and health insurance fees for one year plus a living stipend.
Step 1: Apply to Harvard Kennedy School, Harvard Graduate School of Education, or Harvard T.H. Chan School of Public Health. Please see respective school websites for deadline information.
Step 2: Apply for the Fellowship: The application deadline for the 2019-20 Zuckerman Fellowship is January 5, 2019.
The fellowship application requires the following materials:
A completed online application form,
A résumé or curriculum vitae,
A statement of purpose, and
Two letters of recommendation.
Please review the guidelines document for important details about preparing and submitting your fellowship application.
Fellowship applications may be submitted through the online portal. The portal will allow you to upload your résumé or curriculum vitae, and statement of purpose as attachments. Letters of recommendation should be sent separately by the recommenders via email to zuckermanfellows@harvard.edu or regular/express mail to:
Committee on General Scholarships
14 Story Street, 3rd floor
Candidates for the Zuckerman Fellows Program are individuals who have – or are pursuing - an M.B.A., J.D., or M.D., or D.M.D./D.D.S graduate degree from an accredited United States institution AND are seeking an additional master's degree from the Harvard Graduate School of Education, the Harvard Kennedy School, or the Harvard T.H. Chan School of Public Health.
Candidates who have completed their M.B.A J.D, or M.D., or D.M.D./D.D.S. degree are eligible.
Candidates who are working on their M.B.A J.D, or M.D., or D.M.D./D.D.S. degree are eligible.
Candidates who are applying to joint or concurrent degree programs in these fields are eligible.
Candidates must be U.S. citizens or permanent residents.
The fellowship application is separate from the candidate's application for admission to Harvard Graduate School of Education, Harvard Kennedy School, or Harvard T.H. Chan School of Public Health. Applications for admission must be submitted to the appropriate school according to the deadlines established at that school. Fellows must be admitted to their programs at the Harvard Graduate School of Education, Harvard Kennedy School, or T.H. Chan School of Public Health in order to take up the Fellowship.
Fellows must be in their first year at Harvard Graduate School of Education, Harvard Kennedy School, or Harvard T.H. Chan School of Public Health during their fellowship year. Further, fellows are required to be enrolled full time for the entire academic year at the Graduate School of Education, the Harvard Kennedy School, or the School of Public Health during their Fellowship year. There are NO exceptions to this policy.
Zuckerman Fellowships may not be deferred except in exceptional circumstances.
Fellows are required to participate fully in the co-curricular program during their fellowship year.
Finalists for the Zuckerman Fellowship will be asked to participate in an interview with members of the Zuckerman Fellows selection committee.
Further Official Information
Link To Original
International Undergraduate Summer School, 27 June - 21 August 2021, John Innes Centre, UK
RESPOND-AFRICA Fellowship 2021-2022 for Postgraduate Study in Medical Statistics/Epidemiology for African students
RMIT University Science Engineering and Health Scholarships for Chinese and Hong Kong Students 2021, Australia
MIEM Excellence Scholarships for International Students 2021 at University of Paris, France


When it comes to finding great wine for Father's Day for your Dad, husband or father-in-law this year, picking out a meaningful, memorable bottle that they'll enjoy is a truly challenging task. These men are important in your life, so instead of buying just one bottle, we suggest taking it a step further with a membership to The International Wine of the Month Club!
Since 1994, we've been helping our customers celebrate the special Dads in their lives by offering a gift that shows Dad just how much he's admired, loved, and appreciated throughout the year, not just in June. We invite you embrace that tradition and to let us do the hard work for you by consistently delivering outstanding, estate-bottled wines to Dad each month. Remember: Father's Day may come once a year, but with a membership to our monthly wine club, you'll be able to show your Dad how much you care every month throughout the year.
If your Dad loves a premium bottle of red or white wine that he can enjoy for any occasion, then we suggest our Premier Series Wine Club, our most popular club! Each month, your Dad will receive two bottles of high-quality, estate-bottled wines selected from the world's top wineries. Plus, with the ability to choose two red wines, two white wines, or a red and white wine, you'll find that giving your Dad great wine is easier than ever at unbeatable prices.
This Father's Day, don't give your dad the usual golfing accessories, ties, or cutesy coffee mugs he's expecting. Surprise him by buying a membership to our Bold Reds Wine Club! Each month, he'll receive two bottles of limited-production, robust, rich, and complex red wines procured from the leading domestic and international wineries. He might share a glass with you if you ask nicely.
We'll bet that your Dad likes to enjoy wine today and save a little for tomorrow, and with our Masters Series Wine Club, your Dad can do exactly that! Your gift recipient will find one bottle from The Premium Series and one bottle from The Collectors Series on their doorstep each month, either of which can be enjoyed today or cellared for a big event. Maybe he'll save one for the next Father's Day!
For those Dads who know and celebrate great wine, nothing compares to The Collectors Series Wine Club. With two bottles of extremely limited-production, rare red or white wines that are built to be cellared and aged shipped straight to his door each month, your Dad will have to build himself a new wine rack completely dedicated to storing his new favorite wines!
If your Dad is like most men out there, then he loves to pair wine with other indulgences. We have good news: with our Design Your Own Club™ program, you can give dad a completely personalized wine club experience by pairing his membership with rare cigars, microbrewed craft beers, artisanal cheeses, mouthwatering chocolates, and even flowers.
Choose From Four Membership Levels to Suit Dad's Palate — Select from 4 distinct wine club options to match Dad's tastes, ship two reds, two whites, or one of each. You can even save up to $25 by using our wine of the month club promo codes!
Combine Our Six Monthly Clubs and Create a Custom Membership — You can combine a wine club membership with our beer, cigar, cheese, chocolate or flower of the month clubs with our Design Your Own Club™ program.
A Wine Club Father's Day Gift Membership Keeps you in Touch — Over the years, many of our members have shared that our monthly shipments have given them an excuse to stay connected with their fathers, either by phone or in person as they discover new wines together.
Celebrate Dad More Than Just Once a Year on Any Budget — Memberships are available from 2-12 months. You may ship every month, every other month, quarterly or even on specific months.
Last Minute Shopping? We can Help — You can quickly print a personalized gift announcement now or email it on a specified date. Order online or toll free in minutes.


It was an enormous privilege for Alex and I to attend the grand opening of the HELP Sensory Youth Garden at the end of last year. Earlier in the year, we had worked closely with HELP on a project called "Breaking the Silence", which - among other things - recommended that sexual violence services consider being a bit creative around building spaces for youth.
Here is what happened next. The wishlist found its way to a fundraising event (at our favourite shop, Dalston), where it was sighted by the partner of landscape gardener Russell Dawe of InLandscape, who went home and said "you should design and build a garden for HELP." And he said "what a great idea, I'll make a couple of calls."
And then something amazing happened. All these different people and companies came on board and gave their time, resources, and products.** By December the results of this remarkable collaboration were obvious (see the pictures).
Occasionally, in the wonderful world of research and evaluation, we get to see some research of our research come to fruition (actually we quite often get to see it, But bear with me, I'm making a point). We try hard to write reports and make recommendations which don't sit on dusty shelves or act as a coffee coaster on someone's desk. And sometimes we even get to feel part of something wonderful. Thanks, HELP, for helping us feel part of such an amazing community, and for giving us a sense of hope around what can be done.


text:
A man goes to buy a talking dog
One Marine is better than 10 ISIS fighters | Funny Joke
Some things you just can't explain
A young woman gets nervous at dinner and this happens!
A man comes home from work and finds the place a wreck
His fiancee's 19 year old sister tries to have sex with him
Dirty Joke | Zoo makes a proposition to a worker
The Melbourne Zoo acquired a female of a very rare species of gorilla.
Within a few weeks, the gorilla became very cantankerous & difficult to handle.
Upon examination, the Zoo veterinarian determined the problem.
The Gorilla was on heat. To make matters worse, there were no male gorillas of the species available.
While reflecting on their problem, the Zoo management noticed Colin, a big Kiwi lad & a former All Black, responsible for fixing the Zoo's machinery.
Colin, like most Kiwis, seemed to be possessed with ample ability to satisfy a female of any species.
So the Zoo administrators thought they might have a solution.
Colin was approached with a proposition. Would he be willing to have sex with the gorilla for $500?
Colin showed some interest, but said he would have to think the matter over carefully.
The following day, Colin announced that he would accept their offer, but only under three conditions:
"Fust," he said, "I don't want to have to kuss er."
"Sicondly, you must niver niver tull anyone about thus."
The Zoo administration quickly agreed to these conditions, so they asked what his third condition was.
"Wull," said Colin, "You gotta give me another week to come up with the $500."
More From: Dirty Jokes
A man confesses his "sins" to his priest
The old man says he can tell her age by doing this
A blind man has a funny way of ordering his food
Two builders go into the pub after a hard day's work
© 2020 by Jokes Of The Day


text:
Baya al Ward (, ) is the fourth studio album by the Lebanese singer Amal Hijazi released under the label Rotana in 2006. For the project, Hijazi collaborated with renowned producers like Jean Saliba and Fady Bitar and worked with some of the biggest names in the industry like Elias Naser, Samer Nakhla and Haytham Ziad. Despite of the negative publicity and controversies over the album's theme, it was a commercial success, topping various charts in countries like Lebanon, Egypt, Syria, Morocco, Tunisia, UAE, and Kuwait. In addition, the album received generally positive reviews in the west and was sold highly in the UK, France and Canada.

"Baya al Ward" was the lead single from the album. Despite the controversies over its music video, it was a commercial success and debuted at number one in a number of countries all around the Middle East.

After the release of "Baya al Ward", Hijazi embarked on a highly publicised world tour. She even made a number of guest appearances in talk shows and gave various live concerts. Although there was a great demand for music videos of songs like "Rajaa", "Yala Lally Amaan", "Lemma Tghmmed Ayneik" and "Jnoon Bhebbak", Hijazi refused to film any of them because of the political instabilities in her native Lebanon. In early 2007, however, she released the music video of "Baheb Nuoa Kalamak" which gained generally negative reviews from critics due to its low budget and the poor production by Rotana. In addition, the music video was a fail being directed by Mirna Khayat. Critics later advised Hijazi not to cooperate with Khayat for future projects.

Despite of the attacks on the album and the music video and the controversies that Hijazi was in fact promoting homosexuality and lesbianism, the album was a bestseller of 2006. According to Hijazi, the Critical reception of her album generally had a positive impact, for it propagated the album. According to the official sales charts provided by Rotana more than three editions of the album were sold in less than a year, and this made Hijazi one of the biggest-selling singers in the Middle East, and one of the most wanted performers on stage.

Singles

"Ba'ad Sneen"
"Ba'ad Sneen" ("After Years") was released on 2005, becoming the album's lead single. The song portrays Hijazi as a young girl living in a traditional Arab village. When her lover leaves her, she is heartbroken. After many years of punishing her heart and waiting for him, she now finds it hard to accept his wish of coming back to her. There are also many flashbacks of the wonderful time Hijazi and her lover had together.

"Baya al Ward"
The album's title track, "Baya al Ward", directed by Yahya Sadeh is arguably one of the most controversial songs in Lebanese music history. It tells the story of a young girl, turned almost insane by the depression she received when her lover broke his promises. The song opens with Hijazi chopping off beautiful strands of her white-blond hair. She faces the camera and the song begins.

She goes down the stairs and smokes and then leaves in a picturesque blue convertible, driving up a long straight road. She drives the car as if in a dream. Later, a thorny plant appears and ravages her body. This scene is mixed between reality and daydreaming and then Hijazi finds herself and her car stopped in front of a tree besides a lake. She later walks towards the water, presumably to commit suicide.

"Baheb Nuoa Kalamak"
The album's third single, "Baheb Nuoa Kalamak" ("I love what you say") was released in early 2007, directed by Mirna Khayat and chosen over Yahia Sa'adeh. According to the Qatar-based daily Al Raya, Hijazi revealed that she had received numerous scripts for the clip by different directors because of the immense popularity of the song, even before the music video was released.

Despite the poor reviews of the video, the song managed to become one of the greatest hits of 2007 and an essential concert song for Hijazi.

Critical reception

The music video of the title track "Baya al Ward" was heavily criticized and caused huge controversies that Hijazi was promoting homosexuality  Hijazi denied the allegations, but critics argued that the T-shirt she was wearing in the music video had several symbols imprinted on it, which belonged to a garment manufacturer that specializes in clothing for homosexuals. At a press conference she held in Dubai to announce the launch of her album, Hijazi clarified that she did not know what the symbols on the shirt meant or that she never thought to find out when she chose to wear it.

Critics argued that Hijazi had gone to extremes and cut her hair shorter than that of an ordinary man or in other words, the versatile once again changed her looks, trading her brown locks for short pixie whitish-blonde hair and gowns to boyish trousers and T-shirts. In a candid interview, Hijazi stated that with the immense help of her colleagues and some talented image consultants she got this new look to match the jazzy theme of her album's title track. On the other hand, critics began accusing the video of "Baya al Ward" of being unusual because Hijazi chops her hair off and jumps off a cliff at the end of the video brooding over the guy who left her.

In addition, the artwork from the album was criticised for its "homosexual" theme.

Track listing

 "Baya al Ward" ( "The Florist")
 "Rajaa" ( "Come Back")
 "Lamma Tghammad Aeinak" ( "When you close your eyes")
 "Tesadq" ( "Do you believe?")
 "Ya Lalally Amaan" ( "Oh! Safe night")
 "Baheb Nuoa Kalamak" ( "I love what you say")
 "Gharam Kebeer" ( "Big Love")
 "Jnoon Behabak" ( "Your love is crazy")
 "Ba'ad Sneen" ( "After years")
 "Betsalni Meen" ( "You ask me who")

Amal Hijazi albums
2006 albums

redpajama_set_name: RedPajamaWikipedia


A camo dungaree for all of your outdoor adventures.
Wash cold, do not bleach and tumble dry medium. Remove promptly.
These are quality pants with a good fit just like my other Carhartts.
The one thing I was disappointed with was the amount of white in the pattern (way too much). I actually considered returning them for that reason, but like the fit and comfort, so decided to hang onto them.
Love the fit! The flex makes these my favorite carhartt pants. You can really move in these.
Bought them as a surprise gift, and he loved them! Purchased the 38'x 34' and they fit perfectly. (6'3 and 245 pounds) hope it helps!
2 of 3 people found this review helpful.
Bought this as Christmas Gift so don't yet know about fit, etc... They look and feel nice though. Light weight. I think will be great for early archery season!.
Ordered my regular size which were 5x too small, then prefer 3 sizes up and they were 10x too big. Now have two pairs of the same pants and neither fit.
Great hunting pants. I have a hard time finding cami pants with a 36 inch inseam. They are a tough and comfortable pant.
Camo Dungarees very comfortable and met all of my expectations!
Camo Dungarees are very comfortable! Just wore them this past weekend while archery hunting and would highly recommend this product!


text:
Charles "Chuck" L. Townsend
Charles L. "Chuck" Townsend
Senator Charles L. "Chuck" Townsend, 68, of Osage, died Wednesday, Dec. 28, 2011, at Weston County Health Services.
He was born Aug. 29, 1943, in Newcastle to William D. and Katherine Townsend, and spent the vast majority of his life in Weston County, graduating in 1961 from Upton High School, where he played football and basketball.
Following high school, Chuck attended Black Hills State College, earning a degree in Business Administration in 1965.
On July 11, 1965, he married Pat Simmons, and she accompanied him when he went to Minnesota and North Dakota to work for Standard Oil of Indiana. They missed Wyoming dearly, however, and moved back to Weston County in 1968.
Chuck was the chairman and CEO of Townsend Co. Inc., a family owned corporation involved in ranching and oil production in northeast Wyoming, and he spent most of his adult life working in the oilfields around Osage and Oil City, where he and Pat lived and raised their children. He was a member of the Lion's Club and the First United Methodist Church in Newcastle.
Chuck raced cars in his younger years, and loved to ride motorcycles throughout his life. He also enjoyed using Macintosh computers and experimenting with modern technology, but he was always happiest when he was out in the oil field, repairing equipment, monitoring wells and locations or just spending time with the people who worked with him in the "patch."
"His hobby was the oil field. It was more than his business - it was his passion," Pat said.
Chuck had a distinguished career as a public servant, and served on the Weston County School District #1 Board of Trustees from 1981 to 1989, where he became vice-chairman. He was on the board of directors of Powder River Energy Association, eventually holding the position of board president. He also served on the steering committee of the Wyoming Business Alliance and was vice-chair of the Petroleum Association of Wyoming.
In November of 2003, Chuck was appointed to the Wyoming State Senate, serving Weston, Crook and Niobrara counties, as well as small portions of Converse and Goshen. He completed the final two years of the unexpired term of Sen. Bill Barton beginning in 2004, and won election to the office in 2006, serving until his term ended in 2010.
While in the Senate, Chuck served on the Senate Agriculture, Public Lands and Water Resources Committee, the Minerals, Business and Economic Development Committee, the Education Committee and Appropriations Committee. He also served on the Clean Coal Research Task Force, Council of State Governments Energy and Environment Committee, the Enhanced and Improved Oil Recovery Commission, the Select Natural Resource Funding Committee, the Select Water Committee and the University of Wyoming Energy Resource Council.
Following his retirement from the Wyoming Senate, Chuck and Pat took great joy in spending time with their family, and particularly looked forward to those special times when their grandchildren would visit.
Survivors include his wife, Pat, Osage; son, Collin (Susan) and their daughter, Nichole, of Salt Lake City, Utah; daughters, Colleen (Kurt) Aungst and their children, Ryleigh, Payton and Brady, of Princeton, Texas, and Kara (Tony) Lenardson of Newcastle; two brothers, Mark, Osage, and Butch, Newcastle; and one sister, June Brown of Rapid City, S.D.
He was preceded in death by his parents and one sister, Kay Linton.
Services were held at the First United Methodist Church in Newcastle at 1 p.m. on Monday, Jan. 2, with a viewing at the church from 9 a.m. to 1 p.m. Refreshments were served following the service at the Weston County Senior Services Center.
The family suggests that memorials be sent to the Osage Fire and Ambulance Service or to a charity of choice in Chuck's name.


Heavy machinery needed in mining for exploration and development, to remove tripping, operator error, and hazards associated with equipment maintenance.
transport used ingold mining_Used Gold Mining Equipment For SaleUsed Sieve box upper part of the seal is used in static sealing, easy routine maintenance.
Transport machines. To transport materials off road from one point to another, it is generally necessary to use specialised machines travelling on tracks.
The gyratory crushers used to reduce this material have a great impact on of a CH660 crusher to a CS660 for a large gold mining company.
Since winning its first mining contract in 1967, Macmahon has continued to iron ore, diamonds, gold, copper, nickel, manganese, limestone and phosphates. and screening, train loading and the use of a large range of mining equipment. results in the management and maintenance of plant and equipment on site.
Whether placer mining equipment, industrial gold , large mining equipment, or heavy mining Mining heavy equipment, particularly mining equipment that is used measures, and equipment maintenance procedures to prevent an accident.
The product range of our company comprises mobile crushing plant, jaw crusher, . manufacture and supply of crushing equipment used in mining industry.


Ontario is making its written knowledge test for a G1 licence available in Urdu starting next spring, to support newcomers in learning the rules of the road and improve road safety.
Minister of Transportation Steven Del Duca was joined by Dr. Shafiq Qaadri, MPP for Etobicoke North,in Etobicoke today to make the announcement.
Adding Urdu will support newcomers to Ontario in completing their tests, knowing and understanding the province's driving laws and gaining the experience required to drive safely in the province.
The G1 knowledge test is currently offered at DriveTest Centres in 20 other languages – including Ontario's official languages of English and French. As part of Ontario's continued commitment to road safety, all new drivers must take a knowledge test as the first step the province's graduated licensing system. Beginner driver education programs can also help teach the skills and attitudes needed to be a safe and responsible driver.
Making the G1 knowledge test available in more languages is part of Ontario's plan to create fairness and opportunity during this period of rapid economic change. The plan includes a higher minimum wage and better working conditions, free tuition for hundreds of thousands of students, easier access to affordable child care, and free prescription drugs for everyone under 25 through the biggest expansion of medicare in a generation.


text:
from .base import EvaluatorBase
import scipy
from ...util.general import samples_multidimensional_uniform
import numpy as np

class LocalPenalization(EvaluatorBase):
    """
    Class for the batch method on 'Batch Bayesian optimization via local penalization' (Gonzalez et al., 2016).

    :param acquisition: acquisition function to be used to compute the batch.
    :param batch size: the number of elements in the batch.

    """
    def __init__(self, acquisition, batch_size):
        super(LocalPenalization, self).__init__(acquisition, batch_size)
        self.acquisition = acquisition
        self.batch_size = batch_size

    def compute_batch(self, duplicate_manager=None, context_manager=None):
        """
        Computes the elements of the batch sequentially by penalizing the acquisition.
        """
        from ...acquisitions import AcquisitionLP
        assert isinstance(self.acquisition, AcquisitionLP)

        self.acquisition.update_batches(None,None,None)

        # --- GET first element in the batch
        X_batch = self.acquisition.optimize()[0]
        k=1

        if self.batch_size >1:
            # ---------- Approximate the constants of the the method
            L = estimate_L(self.acquisition.model.model,self.acquisition.space.get_bounds())
            Min = self.acquisition.model.model.Y.min()

        # --- GET the remaining elements
        while k<self.batch_size:
            self.acquisition.update_batches(X_batch,L,Min)
            new_sample = self.acquisition.optimize()[0]
            X_batch = np.vstack((X_batch,new_sample))
            k +=1

        # --- Back to the non-penalized acquisition
        self.acquisition.update_batches(None,None,None)
        return X_batch

def estimate_L(model,bounds,storehistory=True):
    """
    Estimate the Lipschitz constant of f by taking maximizing the norm of the expectation of the gradient of *f*.
    """
    def df(x,model,x0):
        x = np.atleast_2d(x)
        dmdx,_ = model.predictive_gradients(x)
        if dmdx.ndim>2:
            dmdx = dmdx.reshape(dmdx.shape[:2])
        res = np.sqrt((dmdx*dmdx).sum(1)) # simply take the norm of the expectation of the gradient
        return -res

    samples = samples_multidimensional_uniform(bounds,500)
    samples = np.vstack([samples,model.X])
    pred_samples = df(samples,model,0)
    x0 = samples[np.argmin(pred_samples)]
    res = scipy.optimize.minimize(df,x0, method='L-BFGS-B',bounds=bounds, args = (model,x0), options = {'maxiter': 200})
    minusL = float(res.fun)
    L = -minusL
    if L<1e-7: L=10  ## to avoid problems in cases in which the model is flat.
    return L

redpajama_set_name: RedPajamaGithub


text:
The other two defendants also pleaded guilty. Velasco was sentenced March 18 to two years and six months in prison. Southwood was sentenced Aug. 25, 2015, also to two years and six months in prison. Each defendant was ordered to pay full restitution to all victims, including $6,526 to the U.S. Postal Service for repair to Postal Service mail receptacles.
The case resulted from an investigation by the U.S Postal Inspection Service and the Elk Grove Police Department, with assistance from the U.S. Postal Inspection Service's Narcotic and Economic Crimes Investigation Task Force.
Cathy Locke: 916-321-5287, @lockecathy
Video shows person of interest in July 4 arson fire in downtown Sacramento
A look at the illegal fireworks seized by Sacramento police
Sacramento man gets 30 years for producing pornography using children in Philippines
By David Garza
A Sacramento man convicted of producing child pornography using children in the Philippines was sentenced to 30 years in prison, according to the Office of the United States Attorney Eastern District of California.
MORE CRIME - SACTO 911
Crime - Sacto 911
Burglary suspects stole dead officer's identity and memorabilia, Placer sheriff says
Don't be alarmed, police say: 3 departments conduct drills Monday in Sacramento area
For first time in a decade, California State Fair reports no arrests on opening weekend
Man shot, killed in north Sacramento
Person of interest sought in July 4 arson in downtown Sacramento alley, officials say


Disruptors are catalysts for change in existing value chains.
KPMG's Value Chain Management services help companies enhance their value and secure competitive advantage by achieving supply chain and operating model efficiencies. Our Value Chain Management services are led by an integrated team of professionals from our Advisory and Tax practices with years of combined operations experience. Our Value Chain Management Center of Excellence combines these cross-functional teams, technology, and process accelerators to help companies execute on growth opportunities, reduce cost and risk, enhance return on investment, and drive efficiencies across operations.
Helping businesses create and preserve value through integrated tax and operational efficiencies.