Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | <?xml·version="1.0"·encoding="utf-8"?> | 1 | <?xml·version="1.0"·encoding="utf-8"?> |
2 | <manifest·android:hardwareAccelerated="true"·android:versionCode="1"·android:versionName="1.0"·android:windowSoftInputMode="adjustPan"·package="com.gladis.tictactoe"·xmlns:android="http://schemas.android.com/apk/res/android"> | 2 | <manifest·android:hardwareAccelerated="true"·android:versionCode="1"·android:versionName="1.0"·android:windowSoftInputMode="adjustPan"·package="com.gladis.tictactoe"·platformBuildVersionCode="17"·platformBuildVersionName="4.2.2-1425461"·xmlns:android="http://schemas.android.com/apk/res/android"> |
3 | ··<supports-screens·android:anyDensity="true"·android:largeScreens="true"·android:normalScreens="true"·android:resizeable="true"·android:smallScreens="true"·android:xlargeScreens="true"/> | 3 | ··<supports-screens·android:anyDensity="true"·android:largeScreens="true"·android:normalScreens="true"·android:resizeable="true"·android:smallScreens="true"·android:xlargeScreens="true"/> |
4 | ··<uses-permission·android:name="android.permission.VIBRATE"/> | 4 | ··<uses-permission·android:name="android.permission.VIBRATE"/> |
5 | ··<uses-permission·android:name="android.permission.ACCESS_NETWORK_STATE"/> | 5 | ··<uses-permission·android:name="android.permission.ACCESS_NETWORK_STATE"/> |
6 | ··<application·android: | 6 | ··<application·android:hardwareAccelerated="true"·android:icon="@drawable/icon"·android:label="@string/app_name"> |
7 | ····<activity·android:configChanges="keyboard|keyboardHidden|locale|orientation|screenSize"·android:label="@string/app_name"·android:name="TicTacToe"·android:theme="@android:style/Theme.Black.NoTitleBar"> | 7 | ····<activity·android:configChanges="keyboard|keyboardHidden|locale|orientation|screenSize"·android:label="@string/app_name"·android:name="TicTacToe"·android:theme="@android:style/Theme.Black.NoTitleBar"> |
8 | ······<intent-filter> | 8 | ······<intent-filter> |
9 | ········<action·android:name="android.intent.action.MAIN"/> | 9 | ········<action·android:name="android.intent.action.MAIN"/> |
10 | ········<category·android:name="android.intent.category.LAUNCHER"/> | 10 | ········<category·android:name="android.intent.category.LAUNCHER"/> |
11 | ······</intent-filter> | 11 | ······</intent-filter> |
12 | ····</activity> | 12 | ····</activity> |
13 | ··</application> | 13 | ··</application> |
Offset 19, 10 lines modified | Offset 19, 9 lines modified | ||
19 | .method·public·constructor·<init>()V | 19 | .method·public·constructor·<init>()V |
20 | ····.locals·0 | 20 | ····.locals·0 |
21 | ····.prologue | 21 | ····.prologue |
22 | ····.line·10 | 22 | ····.line·10 |
23 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 23 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
24 | ····.line·23 | ||
25 | ····return-void | 24 | ····return-void |
26 | .end·method | 25 | .end·method |
Offset 71, 15 lines modified | Offset 71, 15 lines modified | ||
71 | ····invoke-direct·{v0,·v1},·Ljava/io/File;-><init>(Ljava/lang/String;)V | 71 | ····invoke-direct·{v0,·v1},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
72 | ····.restart·local·v0····#·"newPath":Ljava/io/File; | 72 | ····.restart·local·v0····#·"newPath":Ljava/io/File; |
73 | ····goto·:goto_0 | 73 | ····goto·:goto_0 |
74 | .end·method | 74 | .end·method |
75 | .method·private·static·freeSpaceCalculation(Ljava/lang/String;)J | 75 | .method·private·static·freeSpaceCalculation(Ljava/lang/String;)J |
76 | ····.locals· | 76 | ····.locals·10 |
77 | ····.param·p0,·"path"····#·Ljava/lang/String; | 77 | ····.param·p0,·"path"····#·Ljava/lang/String; |
78 | ····.prologue | 78 | ····.prologue |
79 | ····.line·90 | 79 | ····.line·90 |
80 | ····new-instance·v4,·Landroid/os/StatFs; | 80 | ····new-instance·v4,·Landroid/os/StatFs; |
81 | ····invoke-direct·{v4,·p0},·Landroid/os/StatFs;-><init>(Ljava/lang/String;)V | 81 | ····invoke-direct·{v4,·p0},·Landroid/os/StatFs;-><init>(Ljava/lang/String;)V |
Offset 98, 25 lines modified | Offset 98, 25 lines modified | ||
98 | ····move-result·v5 | 98 | ····move-result·v5 |
99 | ····int-to-long·v0,·v5 | 99 | ····int-to-long·v0,·v5 |
100 | ····.line·93 | 100 | ····.line·93 |
101 | ····.local·v0,·"availableBlocks":J | 101 | ····.local·v0,·"availableBlocks":J |
102 | ····mul-long·v | 102 | ····mul-long·v6,·v0,·v2 |
103 | ····const-wide/16·v | 103 | ····const-wide/16·v8,·0x400 |
104 | ····div-long/2addr·v | 104 | ····div-long/2addr·v6,·v8 |
105 | ····return-wide·v | 105 | ····return-wide·v6 |
106 | .end·method | 106 | .end·method |
107 | .method·protected·static·getFreeDiskSpace(Z)J | 107 | .method·protected·static·getFreeDiskSpace(Z)J |
108 | ····.locals· | 108 | ····.locals·6 |
109 | ····.param·p0,·"checkInternal"····#·Z | 109 | ····.param·p0,·"checkInternal"····#·Z |
110 | ····.prologue | 110 | ····.prologue |
111 | ····.line·65 | 111 | ····.line·65 |
112 | ····invoke-static·{},·Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String; | 112 | ····invoke-static·{},·Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String; |
113 | ····move-result-object·v2 | 113 | ····move-result-object·v2 |
Offset 145, 19 lines modified | Offset 145, 19 lines modified | ||
145 | ····move-result-object·v3 | 145 | ····move-result-object·v3 |
146 | ····invoke-static·{v3},·Lorg/apache/cordova/DirectoryManager;->freeSpaceCalculation(Ljava/lang/String;)J | 146 | ····invoke-static·{v3},·Lorg/apache/cordova/DirectoryManager;->freeSpaceCalculation(Ljava/lang/String;)J |
147 | ····move-result-wide·v0 | 147 | ····move-result-wide·v0 |
148 | ····:goto_0 | 148 | ····:goto_0 |
149 | ····move-wide·v | 149 | ····move-wide·v4,·v0 |
150 | ····.line·80 | 150 | ····.line·80 |
151 | ····:goto_1 | 151 | ····:goto_1 |
152 | ····return-wide·v | 152 | ····return-wide·v4 |
153 | ····.line·72 | 153 | ····.line·72 |
154 | ····:cond_0 | 154 | ····:cond_0 |
155 | ····if-eqz·p0,·:cond_1 | 155 | ····if-eqz·p0,·:cond_1 |
156 | ····.line·73 | 156 | ····.line·73 |
157 | ····const-string·v3,·"/" | 157 | ····const-string·v3,·"/" |
Offset 166, 15 lines modified | Offset 166, 15 lines modified | ||
166 | ····move-result-wide·v0 | 166 | ····move-result-wide·v0 |
167 | ····goto·:goto_0 | 167 | ····goto·:goto_0 |
168 | ····.line·77 | 168 | ····.line·77 |
169 | ····:cond_1 | 169 | ····:cond_1 |
170 | ····const-wide/16·v | 170 | ····const-wide/16·v4,·-0x1 |
171 | ····goto·:goto_1 | 171 | ····goto·:goto_1 |
172 | .end·method | 172 | .end·method |
173 | .method·protected·static·getTempDirectoryPath(Landroid/content/Context;)Ljava/lang/String; | 173 | .method·protected·static·getTempDirectoryPath(Landroid/content/Context;)Ljava/lang/String; |
174 | ····.locals·3 | 174 | ····.locals·3 |
175 | ····.param·p0,·"ctx"····#·Landroid/content/Context; | 175 | ····.param·p0,·"ctx"····#·Landroid/content/Context; |
Offset 482, 15 lines modified | Offset 482, 15 lines modified | ||
482 | ····invoke-static·{v0,·v1},·Lorg/apache/cordova/api/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V | 482 | ····invoke-static·{v0,·v1},·Lorg/apache/cordova/api/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V |
483 | ····.line·975 | 483 | ····.line·975 |
484 | ····return-object·p0 | 484 | ····return-object·p0 |
485 | .end·method | 485 | .end·method |
486 | .method·public·getDoubleProperty(Ljava/lang/String;D)D | 486 | .method·public·getDoubleProperty(Ljava/lang/String;D)D |
487 | ····.locals· | 487 | ····.locals·6 |
488 | ····.param·p1,·"name"····#·Ljava/lang/String; | 488 | ····.param·p1,·"name"····#·Ljava/lang/String; |
489 | ····.param·p2,·"defaultValue"····#·D | 489 | ····.param·p2,·"defaultValue"····#·D |
490 | ····.prologue | 490 | ····.prologue |
491 | ····.line·570 | 491 | ····.line·570 |
492 | ····invoke-virtual·{p0},·Lorg/apache/cordova/DroidGap;->getIntent()Landroid/content/Intent; | 492 | ····invoke-virtual·{p0},·Lorg/apache/cordova/DroidGap;->getIntent()Landroid/content/Intent; |
Offset 547, 17 lines modified | Offset 547, 17 lines modified | ||
547 | ····invoke-virtual·{v3},·Ljava/lang/Object;->toString()Ljava/lang/String; | 547 | ····invoke-virtual·{v3},·Ljava/lang/Object;->toString()Ljava/lang/String; |
548 | ····move-result-object·v3 | 548 | ····move-result-object·v3 |
549 | ····invoke-static·{v3},·Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D | 549 | ····invoke-static·{v3},·Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D |
550 | ····move-result-wide·v | 550 | ····move-result-wide·v4 |
551 | ····invoke-static·{v | 551 | ····invoke-static·{v4,·v5},·Ljava/lang/Double;->valueOf(D)Ljava/lang/Double; |
552 | ····move-result-object·v2 | 552 | ····move-result-object·v2 |
553 | ····.restart·local·v2····#·"p":Ljava/lang/Double; | 553 | ····.restart·local·v2····#·"p":Ljava/lang/Double; |
554 | ····goto·:goto_1 | 554 | ····goto·:goto_1 |
555 | .end·method | 555 | .end·method |
Offset 562, 18 lines modified | Offset 562, 18 lines modified | ||
562 | ····.line·153 | 562 | ····.line·153 |
563 | ····:try_start_0 | 563 | ····:try_start_0 |
564 | ····monitor-enter·p0 | 564 | ····monitor-enter·p0 |
565 | ····:try_end_0 | 565 | ····:try_end_0 |
566 | ····.catch·Ljava/lang/InterruptedException;·{:try_start_0·..·:try_end_0}·:catch_0 | 566 | ····.catch·Ljava/lang/InterruptedException;·{:try_start_0·..·:try_end_0}·:catch_0 |
567 | ····.line·154 | 567 | ····.line·154 |
568 | ····int-to-long·v | 568 | ····int-to-long·v10,·v8 |
569 | ····:try_start_1 | 569 | ····:try_start_1 |
570 | ····invoke-virtual·{p0,·v | 570 | ····invoke-virtual·{p0,·v10,·v11},·Ljava/lang/Object;->wait(J)V |
571 | ····.line·155 | 571 | ····.line·155 |
572 | ····monitor-exit·p0 | 572 | ····monitor-exit·p0 |
573 | ····:try_end_1 | 573 | ····:try_end_1 |
574 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 574 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
575 | ····.line·160 | 575 | ····.line·160 |
Offset 30, 100 lines modified | Offset 30, 100 lines modified | ||
30 | ····return-void | 30 | ····return-void |
31 | .end·method | 31 | .end·method |
32 | #·virtual·methods | 32 | #·virtual·methods |
33 | .method·public·onExceededDatabaseQuota(Ljava/lang/String;Ljava/lang/String;JJJLandroid/webkit/WebStorage$QuotaUpdater;)V | 33 | .method·public·onExceededDatabaseQuota(Ljava/lang/String;Ljava/lang/String;JJJLandroid/webkit/WebStorage$QuotaUpdater;)V |
34 | ····.locals· | 34 | ····.locals·9 |
35 | ····.param·p1,·"url"····#·Ljava/lang/String; | 35 | ····.param·p1,·"url"····#·Ljava/lang/String; |
36 | ····.param·p2,·"databaseIdentifier"····#·Ljava/lang/String; | 36 | ····.param·p2,·"databaseIdentifier"····#·Ljava/lang/String; |
37 | ····.param·p3,·"currentQuota"····#·J | 37 | ····.param·p3,·"currentQuota"····#·J |
38 | ····.param·p5,·"estimatedSize"····#·J | 38 | ····.param·p5,·"estimatedSize"····#·J |
39 | ····.param·p7,·"totalUsedQuota"····#·J | 39 | ····.param·p7,·"totalUsedQuota"····#·J |
40 | ····.param·p9,·"quotaUpdater"····#·Landroid/webkit/WebStorage$QuotaUpdater; | 40 | ····.param·p9,·"quotaUpdater"····#·Landroid/webkit/WebStorage$QuotaUpdater; |
41 | ····.prologue | 41 | ····.prologue |
42 | ····.line·501 | 42 | ····.line·501 |
43 | ····const-string·v | 43 | ····const-string·v4,·"InAppBrowser" |
44 | ····const-string·v | 44 | ····const-string·v5,·"onExceededDatabaseQuota·estimatedSize:·%d··currentQuota:·%d··totalUsedQuota:·%d" |
45 | ····const/4·v | 45 | ····const/4·v6,·0x3 |
46 | ····new-array·v | 46 | ····new-array·v6,·v6,·[Ljava/lang/Object; |
47 | ····const/4·v | 47 | ····const/4·v7,·0x0 |
48 | ····invoke-static·{p5,·p6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 48 | ····invoke-static·{p5,·p6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
49 | ····move-result-object·v | 49 | ····move-result-object·v8 |
50 | ····aput-object·v | 50 | ····aput-object·v8,·v6,·v7 |
51 | ····const/4·v | 51 | ····const/4·v7,·0x1 |
52 | ····invoke-static·{p3,·p4},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 52 | ····invoke-static·{p3,·p4},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
53 | ····move-result-object·v | 53 | ····move-result-object·v8 |
54 | ····aput-object·v | 54 | ····aput-object·v8,·v6,·v7 |
55 | ····const/4·v | 55 | ····const/4·v7,·0x2 |
56 | ····invoke-static/range·{p7·..·p8},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 56 | ····invoke-static/range·{p7·..·p8},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
57 | ····move-result-object·v | 57 | ····move-result-object·v8 |
58 | ····aput-object·v | 58 | ····aput-object·v8,·v6,·v7 |
59 | ····invoke-static·{v | 59 | ····invoke-static·{v4,·v5,·v6},·Lorg/apache/cordova/api/LOG;->d(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V |
60 | ····.line·503 | 60 | ····.line·503 |
61 | ····iget-object·v | 61 | ····iget-object·v4,·p0,·Lorg/apache/cordova/InAppBrowser$InAppChromeClient;->this$0:Lorg/apache/cordova/InAppBrowser; |
62 | ····#·getter·for:·Lorg/apache/cordova/InAppBrowser;->MAX_QUOTA:J | 62 | ····#·getter·for:·Lorg/apache/cordova/InAppBrowser;->MAX_QUOTA:J |
63 | ····invoke-static·{v | 63 | ····invoke-static·{v4},·Lorg/apache/cordova/InAppBrowser;->access$900(Lorg/apache/cordova/InAppBrowser;)J |
64 | ····move-result-wide·v | 64 | ····move-result-wide·v4 |
65 | ····cmp-long·v | 65 | ····cmp-long·v4,·p5,·v4 |
66 | ····if-gez·v | 66 | ····if-gez·v4,·:cond_0 |
67 | ····.line·506 | 67 | ····.line·506 |
68 | ····move-wide·v | 68 | ····move-wide·v2,·p5 |
69 | ····.line·507 | 69 | ····.line·507 |
70 | ····.local·v | 70 | ····.local·v2,·"newQuota":J |
71 | ····const-string·v | 71 | ····const-string·v4,·"InAppBrowser" |
72 | ····const-string·v | 72 | ····const-string·v5,·"calling·quotaUpdater.updateQuota·newQuota:·%d" |
73 | ····const/4·v | 73 | ····const/4·v6,·0x1 |
74 | ····new-array·v | 74 | ····new-array·v6,·v6,·[Ljava/lang/Object; |
75 | ····const/4·v | 75 | ····const/4·v7,·0x0 |
76 | ····invoke-static·{v | 76 | ····invoke-static·{v2,·v3},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
77 | ····move-result-object·v | 77 | ····move-result-object·v8 |
78 | ····aput-object·v | 78 | ····aput-object·v8,·v6,·v7 |
79 | ····invoke-static·{v | 79 | ····invoke-static·{v4,·v5,·v6},·Lorg/apache/cordova/api/LOG;->d(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V |
80 | ····.line·508 | 80 | ····.line·508 |
81 | ····move-object/from16·v0,·p9 | 81 | ····move-object/from16·v0,·p9 |
82 | ····invoke-interface·{v0,·v | 82 | ····invoke-interface·{v0,·v2,·v3},·Landroid/webkit/WebStorage$QuotaUpdater;->updateQuota(J)V |
83 | ····.line·516 | 83 | ····.line·516 |
84 | ····.end·local·v | 84 | ····.end·local·v2····#·"newQuota":J |
85 | ····:goto_0 | 85 | ····:goto_0 |
86 | ····return-void | 86 | ····return-void |
87 | ····.line·514 | 87 | ····.line·514 |
88 | ····:cond_0 | 88 | ····:cond_0 |
89 | ····move-object/from16·v0,·p9 | 89 | ····move-object/from16·v0,·p9 |
Offset 9, 32 lines modified | Offset 9, 32 lines modified | ||
9 | .field·private·loaded:J | 9 | .field·private·loaded:J |
10 | .field·private·total:J | 10 | .field·private·total:J |
11 | #·direct·methods | 11 | #·direct·methods |
12 | .method·public·constructor·<init>()V | 12 | .method·public·constructor·<init>()V |
13 | ····.locals· | 13 | ····.locals·4 |
14 | ····.prologue | 14 | ····.prologue |
15 | ····const-wide/16·v | 15 | ····const-wide/16·v2,·0x0 |
16 | ····.line·27 | 16 | ····.line·27 |
17 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 17 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
18 | ····.line·29 | 18 | ····.line·29 |
19 | ····const/4·v0,·0x0 | 19 | ····const/4·v0,·0x0 |
20 | ····iput-boolean·v0,·p0,·Lorg/apache/cordova/FileProgressResult;->lengthComputable:Z | 20 | ····iput-boolean·v0,·p0,·Lorg/apache/cordova/FileProgressResult;->lengthComputable:Z |
21 | ····.line·30 | 21 | ····.line·30 |
22 | ····iput-wide·v | 22 | ····iput-wide·v2,·p0,·Lorg/apache/cordova/FileProgressResult;->loaded:J |
23 | ····.line·31 | 23 | ····.line·31 |
24 | ····iput-wide·v | 24 | ····iput-wide·v2,·p0,·Lorg/apache/cordova/FileProgressResult;->total:J |
25 | ····return-void | 25 | ····return-void |
26 | .end·method | 26 | .end·method |
27 | #·virtual·methods | 27 | #·virtual·methods |
28 | .method·public·getLengthComputable()Z | 28 | .method·public·getLengthComputable()Z |
Offset 76, 27 lines modified | Offset 76, 27 lines modified | ||
76 | ····iput-boolean·p1,·p0,·Lorg/apache/cordova/FileProgressResult;->lengthComputable:Z | 76 | ····iput-boolean·p1,·p0,·Lorg/apache/cordova/FileProgressResult;->lengthComputable:Z |
77 | ····.line·39 | 77 | ····.line·39 |
78 | ····return-void | 78 | ····return-void |
79 | .end·method | 79 | .end·method |
80 | .method·public·setLoaded(J)V | 80 | .method·public·setLoaded(J)V |
81 | ····.locals· | 81 | ····.locals·1 |
82 | ····.param·p1,·"bytes"····#·J | 82 | ····.param·p1,·"bytes"····#·J |
83 | ····.prologue | 83 | ····.prologue |
84 | ····.line·46 | 84 | ····.line·46 |
85 | ····iput-wide·p1,·p0,·Lorg/apache/cordova/FileProgressResult;->loaded:J | 85 | ····iput-wide·p1,·p0,·Lorg/apache/cordova/FileProgressResult;->loaded:J |
86 | ····.line·47 | 86 | ····.line·47 |
87 | ····return-void | 87 | ····return-void |
88 | .end·method | 88 | .end·method |
89 | .method·public·setTotal(J)V | 89 | .method·public·setTotal(J)V |
90 | ····.locals· | 90 | ····.locals·1 |
91 | ····.param·p1,·"bytes"····#·J | 91 | ····.param·p1,·"bytes"····#·J |
92 | ····.prologue | 92 | ····.prologue |
93 | ····.line·54 | 93 | ····.line·54 |
94 | ····iput-wide·p1,·p0,·Lorg/apache/cordova/FileProgressResult;->total:J | 94 | ····iput-wide·p1,·p0,·Lorg/apache/cordova/FileProgressResult;->total:J |
95 | ····.line·55 | 95 | ····.line·55 |
Offset 49, 30 lines modified | Offset 49, 30 lines modified | ||
49 | ····return-void | 49 | ····return-void |
50 | .end·method | 50 | .end·method |
51 | #·virtual·methods | 51 | #·virtual·methods |
52 | .method·public·run()V | 52 | .method·public·run()V |
53 | ····.locals· | 53 | ····.locals·4 |
54 | ····.prologue | 54 | ····.prologue |
55 | ····.line·438 | 55 | ····.line·438 |
56 | ····:try_start_0 | 56 | ····:try_start_0 |
57 | ····monitor-enter·p0 | 57 | ····monitor-enter·p0 |
58 | ····:try_end_0 | 58 | ····:try_end_0 |
59 | ····.catch·Ljava/lang/InterruptedException;·{:try_start_0·..·:try_end_0}·:catch_0 | 59 | ····.catch·Ljava/lang/InterruptedException;·{:try_start_0·..·:try_end_0}·:catch_0 |
60 | ····.line·439 | 60 | ····.line·439 |
61 | ····:try_start_1 | 61 | ····:try_start_1 |
62 | ····iget·v1,·p0,·Lorg/apache/cordova/CordovaWebView$3;->val$loadUrlTimeoutValue:I | 62 | ····iget·v1,·p0,·Lorg/apache/cordova/CordovaWebView$3;->val$loadUrlTimeoutValue:I |
63 | ····int-to-long·v | 63 | ····int-to-long·v2,·v1 |
64 | ····invoke-virtual·{p0,·v | 64 | ····invoke-virtual·{p0,·v2,·v3},·Ljava/lang/Object;->wait(J)V |
65 | ····.line·440 | 65 | ····.line·440 |
66 | ····monitor-exit·p0 | 66 | ····monitor-exit·p0 |
67 | ····:try_end_1 | 67 | ····:try_end_1 |
68 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 68 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
69 | ····.line·446 | 69 | ····.line·446 |
Offset 1196, 23 lines modified | Offset 1196, 23 lines modified | ||
1196 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1196 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
1197 | ····move-result-object·v2 | 1197 | ····move-result-object·v2 |
1198 | ····invoke-virtual·{v1,·v2},·Lorg/apache/cordova/CordovaWebView;->sendJavascript(Ljava/lang/String;)V | 1198 | ····invoke-virtual·{v1,·v2},·Lorg/apache/cordova/CordovaWebView;->sendJavascript(Ljava/lang/String;)V |
1199 | ····.line·282 | 1199 | ····.line·282 |
1200 | ····int-to-long·v | 1200 | ····int-to-long·v2,·v0 |
1201 | ····.line·285 | 1201 | ····.line·285 |
1202 | ····.end·local·v0····#·"curPos":I | 1202 | ····.end·local·v0····#·"curPos":I |
1203 | ····:goto_0 | 1203 | ····:goto_0 |
1204 | ····return-wide·v | 1204 | ····return-wide·v2 |
1205 | ····:cond_1 | 1205 | ····:cond_1 |
1206 | ····const-wide/16·v | 1206 | ····const-wide/16·v2,·-0x1 |
1207 | ····goto·:goto_0 | 1207 | ····goto·:goto_0 |
1208 | .end·method | 1208 | .end·method |
1209 | .method·public·getDuration(Ljava/lang/String;)F | 1209 | .method·public·getDuration(Ljava/lang/String;)F |
1210 | ····.locals·1 | 1210 | ····.locals·1 |
1211 | ····.param·p1,·"file"····#·Ljava/lang/String; | 1211 | ····.param·p1,·"file"····#·Ljava/lang/String; |
Offset 194, 15 lines modified | Offset 194, 15 lines modified | ||
194 | ····monitor-exit·p0 | 194 | ····monitor-exit·p0 |
195 | ····throw·v1 | 195 | ····throw·v1 |
196 | .end·method | 196 | .end·method |
197 | .method·public·beep(J)V | 197 | .method·public·beep(J)V |
198 | ····.locals·1 | 198 | ····.locals·11 |
199 | ····.param·p1,·"count"····#·J | 199 | ····.param·p1,·"count"····#·J |
200 | ····.prologue | 200 | ····.prologue |
201 | ····const-wide/16·v8,·0x64 | 201 | ····const-wide/16·v8,·0x64 |
202 | ····.line·108 | 202 | ····.line·108 |
203 | ····const/4·v6,·0x2 | 203 | ····const/4·v6,·0x2 |
Offset 386, 17 lines modified | Offset 386, 17 lines modified | ||
386 | ····move-result·v2 | 386 | ····move-result·v2 |
387 | ····if-eqz·v2,·:cond_0 | 387 | ····if-eqz·v2,·:cond_0 |
388 | ····.line·61 | 388 | ····.line·61 |
389 | ····invoke-virtual·{p2,·v1},·Lorg/json/JSONArray;->getLong(I)J | 389 | ····invoke-virtual·{p2,·v1},·Lorg/json/JSONArray;->getLong(I)J |
390 | ····move-result-wide·v | 390 | ····move-result-wide·v2 |
391 | ····invoke-virtual·{p0,·v | 391 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/apache/cordova/Notification;->beep(J)V |
392 | ····.line·94 | 392 | ····.line·94 |
393 | ····:goto_0 | 393 | ····:goto_0 |
394 | ····invoke-virtual·{p3},·Lorg/apache/cordova/api/CallbackContext;->success()V | 394 | ····invoke-virtual·{p3},·Lorg/apache/cordova/api/CallbackContext;->success()V |
395 | ····.line·95 | 395 | ····.line·95 |
396 | ····:goto_1 | 396 | ····:goto_1 |
Offset 411, 17 lines modified | Offset 411, 17 lines modified | ||
411 | ····move-result·v2 | 411 | ····move-result·v2 |
412 | ····if-eqz·v2,·:cond_1 | 412 | ····if-eqz·v2,·:cond_1 |
413 | ····.line·64 | 413 | ····.line·64 |
414 | ····invoke-virtual·{p2,·v1},·Lorg/json/JSONArray;->getLong(I)J | 414 | ····invoke-virtual·{p2,·v1},·Lorg/json/JSONArray;->getLong(I)J |
415 | ····move-result-wide·v | 415 | ····move-result-wide·v2 |
416 | ····invoke-virtual·{p0,·v | 416 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/apache/cordova/Notification;->vibrate(J)V |
417 | ····goto·:goto_0 | 417 | ····goto·:goto_0 |
418 | ····.line·66 | 418 | ····.line·66 |
419 | ····:cond_1 | 419 | ····:cond_1 |
420 | ····const-string·v2,·"alert" | 420 | ····const-string·v2,·"alert" |
Offset 721, 22 lines modified | Offset 721, 22 lines modified | ||
721 | ····monitor-exit·p0 | 721 | ····monitor-exit·p0 |
722 | ····throw·v0 | 722 | ····throw·v0 |
723 | .end·method | 723 | .end·method |
724 | .method·public·vibrate(J)V | 724 | .method·public·vibrate(J)V |
725 | ····.locals· | 725 | ····.locals·5 |
726 | ····.param·p1,·"time"····#·J | 726 | ····.param·p1,·"time"····#·J |
727 | ····.prologue | 727 | ····.prologue |
728 | ····.line·134 | 728 | ····.line·134 |
729 | ····const-wide/16·v | 729 | ····const-wide/16·v2,·0x0 |
730 | ····cmp-long·v1,·p1,·v | 730 | ····cmp-long·v1,·p1,·v2 |
731 | ····if-nez·v1,·:cond_0 | 731 | ····if-nez·v1,·:cond_0 |
732 | ····.line·135 | 732 | ····.line·135 |
733 | ····const-wide/16·p1,·0x1f4 | 733 | ····const-wide/16·p1,·0x1f4 |
734 | ····.line·137 | 734 | ····.line·137 |
Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
81 | ····.line·43 | 81 | ····.line·43 |
82 | ····iget·v0,·p0,·Lorg/apache/cordova/FileUploadResult;->responseCode:I | 82 | ····iget·v0,·p0,·Lorg/apache/cordova/FileUploadResult;->responseCode:I |
83 | ····return·v0 | 83 | ····return·v0 |
84 | .end·method | 84 | .end·method |
85 | .method·public·setBytesSent(J)V | 85 | .method·public·setBytesSent(J)V |
86 | ····.locals· | 86 | ····.locals·1 |
87 | ····.param·p1,·"bytes"····#·J | 87 | ····.param·p1,·"bytes"····#·J |
88 | ····.prologue | 88 | ····.prologue |
89 | ····.line·39 | 89 | ····.line·39 |
90 | ····iput-wide·p1,·p0,·Lorg/apache/cordova/FileUploadResult;->bytesSent:J | 90 | ····iput-wide·p1,·p0,·Lorg/apache/cordova/FileUploadResult;->bytesSent:J |
91 | ····.line·40 | 91 | ····.line·40 |
Offset 168, 57 lines modified | Offset 168, 57 lines modified | ||
168 | ····.local·v0,·"e":Lorg/json/JSONException; | 168 | ····.local·v0,·"e":Lorg/json/JSONException; |
169 | ····invoke-virtual·{v0},·Lorg/json/JSONException;->printStackTrace()V | 169 | ····invoke-virtual·{v0},·Lorg/json/JSONException;->printStackTrace()V |
170 | ····goto·:goto_0 | 170 | ····goto·:goto_0 |
171 | .end·method | 171 | .end·method |
172 | .method·private·getAccelerationJSON()Lorg/json/JSONObject; | 172 | .method·private·getAccelerationJSON()Lorg/json/JSONObject; |
173 | ····.locals· | 173 | ····.locals·6 |
174 | ····.prologue | 174 | ····.prologue |
175 | ····.line·274 | 175 | ····.line·274 |
176 | ····new-instance·v1,·Lorg/json/JSONObject; | 176 | ····new-instance·v1,·Lorg/json/JSONObject; |
177 | ····invoke-direct·{v1},·Lorg/json/JSONObject;-><init>()V | 177 | ····invoke-direct·{v1},·Lorg/json/JSONObject;-><init>()V |
178 | ····.line·276 | 178 | ····.line·276 |
179 | ····.local·v1,·"r":Lorg/json/JSONObject; | 179 | ····.local·v1,·"r":Lorg/json/JSONObject; |
180 | ····:try_start_0 | 180 | ····:try_start_0 |
181 | ····const-string·v2,·"x" | 181 | ····const-string·v2,·"x" |
182 | ····iget·v3,·p0,·Lorg/apache/cordova/AccelListener;->x:F | 182 | ····iget·v3,·p0,·Lorg/apache/cordova/AccelListener;->x:F |
183 | ····float-to-double·v | 183 | ····float-to-double·v4,·v3 |
184 | ····invoke-virtual·{v1,·v2,·v | 184 | ····invoke-virtual·{v1,·v2,·v4,·v5},·Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject; |
185 | ····.line·277 | 185 | ····.line·277 |
186 | ····const-string·v2,·"y" | 186 | ····const-string·v2,·"y" |
187 | ····iget·v3,·p0,·Lorg/apache/cordova/AccelListener;->y:F | 187 | ····iget·v3,·p0,·Lorg/apache/cordova/AccelListener;->y:F |
188 | ····float-to-double·v | 188 | ····float-to-double·v4,·v3 |
189 | ····invoke-virtual·{v1,·v2,·v | 189 | ····invoke-virtual·{v1,·v2,·v4,·v5},·Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject; |
190 | ····.line·278 | 190 | ····.line·278 |
191 | ····const-string·v2,·"z" | 191 | ····const-string·v2,·"z" |
192 | ····iget·v3,·p0,·Lorg/apache/cordova/AccelListener;->z:F | 192 | ····iget·v3,·p0,·Lorg/apache/cordova/AccelListener;->z:F |
193 | ····float-to-double·v | 193 | ····float-to-double·v4,·v3 |
194 | ····invoke-virtual·{v1,·v2,·v | 194 | ····invoke-virtual·{v1,·v2,·v4,·v5},·Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject; |
195 | ····.line·279 | 195 | ····.line·279 |
196 | ····const-string·v2,·"timestamp" | 196 | ····const-string·v2,·"timestamp" |
197 | ····iget-wide·v | 197 | ····iget-wide·v4,·p0,·Lorg/apache/cordova/AccelListener;->timestamp:J |
198 | ····invoke-virtual·{v1,·v2,·v | 198 | ····invoke-virtual·{v1,·v2,·v4,·v5},·Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject; |
199 | ····:try_end_0 | 199 | ····:try_end_0 |
200 | ····.catch·Lorg/json/JSONException;·{:try_start_0·..·:try_end_0}·:catch_0 | 200 | ····.catch·Lorg/json/JSONException;·{:try_start_0·..·:try_end_0}·:catch_0 |
201 | ····.line·283 | 201 | ····.line·283 |
202 | ····:goto_0 | 202 | ····:goto_0 |
203 | ····return-object·v1 | 203 | ····return-object·v1 |
Offset 242, 15 lines modified | Offset 242, 15 lines modified | ||
242 | ····iput·p1,·p0,·Lorg/apache/cordova/AccelListener;->status:I | 242 | ····iput·p1,·p0,·Lorg/apache/cordova/AccelListener;->status:I |
243 | ····.line·272 | 243 | ····.line·272 |
244 | ····return-void | 244 | ····return-void |
245 | .end·method | 245 | .end·method |
246 | .method·private·start()I | 246 | .method·private·start()I |
247 | ····.locals· | 247 | ····.locals·6 |
248 | ····.prologue | 248 | ····.prologue |
249 | ····.line·136 | 249 | ····.line·136 |
250 | ····iget·v2,·p0,·Lorg/apache/cordova/AccelListener;->status:I | 250 | ····iget·v2,·p0,·Lorg/apache/cordova/AccelListener;->status:I |
251 | ····sget·v3,·Lorg/apache/cordova/AccelListener;->RUNNING:I | 251 | ····sget·v3,·Lorg/apache/cordova/AccelListener;->RUNNING:I |
Offset 331, 17 lines modified | Offset 331, 17 lines modified | ||
331 | ····.line·158 | 331 | ····.line·158 |
332 | ····.local·v0,·"handler":Landroid/os/Handler; | 332 | ····.local·v0,·"handler":Landroid/os/Handler; |
333 | ····new-instance·v2,·Lorg/apache/cordova/AccelListener$1; | 333 | ····new-instance·v2,·Lorg/apache/cordova/AccelListener$1; |
334 | ····invoke-direct·{v2,·p0},·Lorg/apache/cordova/AccelListener$1;-><init>(Lorg/apache/cordova/AccelListener;)V | 334 | ····invoke-direct·{v2,·p0},·Lorg/apache/cordova/AccelListener$1;-><init>(Lorg/apache/cordova/AccelListener;)V |
335 | ····const-wide/16·v | 335 | ····const-wide/16·v4,·0x7d0 |
336 | ····invoke-virtual·{v0,·v2,·v | 336 | ····invoke-virtual·{v0,·v2,·v4,·v5},·Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z |
337 | ····.line·164 | 337 | ····.line·164 |
338 | ····iget·v2,·p0,·Lorg/apache/cordova/AccelListener;->status:I | 338 | ····iget·v2,·p0,·Lorg/apache/cordova/AccelListener;->status:I |
339 | ····goto·:goto_0 | 339 | ····goto·:goto_0 |
340 | ····.line·151 | 340 | ····.line·151 |
Offset 272, 95 lines modified | Offset 272, 95 lines modified | ||
272 | ····move-result·v0 | 272 | ····move-result·v0 |
273 | ····return·v0 | 273 | ····return·v0 |
274 | .end·method | 274 | .end·method |
275 | .method·public·onExceededDatabaseQuota(Ljava/lang/String;Ljava/lang/String;JJJLandroid/webkit/WebStorage$QuotaUpdater;)V | 275 | .method·public·onExceededDatabaseQuota(Ljava/lang/String;Ljava/lang/String;JJJLandroid/webkit/WebStorage$QuotaUpdater;)V |
276 | ····.locals· | 276 | ····.locals·9 |
277 | ····.param·p1,·"url"····#·Ljava/lang/String; | 277 | ····.param·p1,·"url"····#·Ljava/lang/String; |
278 | ····.param·p2,·"databaseIdentifier"····#·Ljava/lang/String; | 278 | ····.param·p2,·"databaseIdentifier"····#·Ljava/lang/String; |
279 | ····.param·p3,·"currentQuota"····#·J | 279 | ····.param·p3,·"currentQuota"····#·J |
280 | ····.param·p5,·"estimatedSize"····#·J | 280 | ····.param·p5,·"estimatedSize"····#·J |
281 | ····.param·p7,·"totalUsedQuota"····#·J | 281 | ····.param·p7,·"totalUsedQuota"····#·J |
282 | ····.param·p9,·"quotaUpdater"····#·Landroid/webkit/WebStorage$QuotaUpdater; | 282 | ····.param·p9,·"quotaUpdater"····#·Landroid/webkit/WebStorage$QuotaUpdater; |
283 | ····.prologue | 283 | ····.prologue |
284 | ····.line·289 | 284 | ····.line·289 |
285 | ····iget-object·v | 285 | ····iget-object·v4,·p0,·Lorg/apache/cordova/CordovaChromeClient;->TAG:Ljava/lang/String; |
286 | ····const-string·v | 286 | ····const-string·v5,·"DroidGap:··onExceededDatabaseQuota·estimatedSize:·%d··currentQuota:·%d··totalUsedQuota:·%d" |
287 | ····const/4·v | 287 | ····const/4·v6,·0x3 |
288 | ····new-array·v | 288 | ····new-array·v6,·v6,·[Ljava/lang/Object; |
289 | ····const/4·v | 289 | ····const/4·v7,·0x0 |
290 | ····invoke-static·{p5,·p6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 290 | ····invoke-static·{p5,·p6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
291 | ····move-result-object·v | 291 | ····move-result-object·v8 |
292 | ····aput-object·v | 292 | ····aput-object·v8,·v6,·v7 |
293 | ····const/4·v | 293 | ····const/4·v7,·0x1 |
294 | ····invoke-static·{p3,·p4},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 294 | ····invoke-static·{p3,·p4},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
295 | ····move-result-object·v | 295 | ····move-result-object·v8 |
296 | ····aput-object·v | 296 | ····aput-object·v8,·v6,·v7 |
297 | ····const/4·v | 297 | ····const/4·v7,·0x2 |
298 | ····invoke-static/range·{p7·..·p8},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 298 | ····invoke-static/range·{p7·..·p8},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
299 | ····move-result-object·v | 299 | ····move-result-object·v8 |
300 | ····aput-object·v | 300 | ····aput-object·v8,·v6,·v7 |
301 | ····invoke-static·{v | 301 | ····invoke-static·{v4,·v5,·v6},·Lorg/apache/cordova/api/LOG;->d(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V |
302 | ····.line·291 | 302 | ····.line·291 |
303 | ····iget-wide·v | 303 | ····iget-wide·v4,·p0,·Lorg/apache/cordova/CordovaChromeClient;->MAX_QUOTA:J |
304 | ····cmp-long·v | 304 | ····cmp-long·v4,·p5,·v4 |
305 | ····if-gez·v | 305 | ····if-gez·v4,·:cond_0 |
306 | ····.line·294 | 306 | ····.line·294 |
307 | ····move-wide·v | 307 | ····move-wide·v2,·p5 |
308 | ····.line·295 | 308 | ····.line·295 |
309 | ····.local·v | 309 | ····.local·v2,·"newQuota":J |
310 | ····iget-object·v | 310 | ····iget-object·v4,·p0,·Lorg/apache/cordova/CordovaChromeClient;->TAG:Ljava/lang/String; |
311 | ····const-string·v | 311 | ····const-string·v5,·"calling·quotaUpdater.updateQuota·newQuota:·%d" |
312 | ····const/4·v | 312 | ····const/4·v6,·0x1 |
313 | ····new-array·v | 313 | ····new-array·v6,·v6,·[Ljava/lang/Object; |
314 | ····const/4·v | 314 | ····const/4·v7,·0x0 |
315 | ····invoke-static·{v | 315 | ····invoke-static·{v2,·v3},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
316 | ····move-result-object·v | 316 | ····move-result-object·v8 |
317 | ····aput-object·v | 317 | ····aput-object·v8,·v6,·v7 |
318 | ····invoke-static·{v | 318 | ····invoke-static·{v4,·v5,·v6},·Lorg/apache/cordova/api/LOG;->d(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V |
319 | ····.line·296 | 319 | ····.line·296 |
320 | ····move-object/from16·v0,·p9 | 320 | ····move-object/from16·v0,·p9 |
321 | ····invoke-interface·{v0,·v | 321 | ····invoke-interface·{v0,·v2,·v3},·Landroid/webkit/WebStorage$QuotaUpdater;->updateQuota(J)V |
322 | ····.line·304 | 322 | ····.line·304 |
323 | ····.end·local·v | 323 | ····.end·local·v2····#·"newQuota":J |
324 | ····:goto_0 | 324 | ····:goto_0 |
325 | ····return-void | 325 | ····return-void |
326 | ····.line·302 | 326 | ····.line·302 |
327 | ····:cond_0 | 327 | ····:cond_0 |
328 | ····move-object/from16·v0,·p9 | 328 | ····move-object/from16·v0,·p9 |
Offset 205, 15 lines modified | Offset 205, 15 lines modified | ||
205 | ····:cond_0 | 205 | ····:cond_0 |
206 | ····return-void | 206 | ····return-void |
207 | .end·method | 207 | .end·method |
208 | #·virtual·methods | 208 | #·virtual·methods |
209 | .method·public·execute(Ljava/lang/String;Lorg/json/JSONArray;Lorg/apache/cordova/api/CallbackContext;)Z | 209 | .method·public·execute(Ljava/lang/String;Lorg/json/JSONArray;Lorg/apache/cordova/api/CallbackContext;)Z |
210 | ····.locals· | 210 | ····.locals·10 |
211 | ····.param·p1,·"action"····#·Ljava/lang/String; | 211 | ····.param·p1,·"action"····#·Ljava/lang/String; |
212 | ····.param·p2,·"args"····#·Lorg/json/JSONArray; | 212 | ····.param·p2,·"args"····#·Lorg/json/JSONArray; |
213 | ····.param·p3,·"callbackContext"····#·Lorg/apache/cordova/api/CallbackContext; | 213 | ····.param·p3,·"callbackContext"····#·Lorg/apache/cordova/api/CallbackContext; |
214 | ····.annotation·system·Ldalvik/annotation/Throws; | 214 | ····.annotation·system·Ldalvik/annotation/Throws; |
215 | ········value·=·{ | 215 | ········value·=·{ |
216 | ············Lorg/json/JSONException; | 216 | ············Lorg/json/JSONException; |
217 | ········} | 217 | ········} |
Offset 336, 17 lines modified | Offset 336, 17 lines modified | ||
336 | ····.line·114 | 336 | ····.line·114 |
337 | ····.local·v0,·"handler":Landroid/os/Handler; | 337 | ····.local·v0,·"handler":Landroid/os/Handler; |
338 | ····new-instance·v6,·Lorg/apache/cordova/CompassListener$1; | 338 | ····new-instance·v6,·Lorg/apache/cordova/CompassListener$1; |
339 | ····invoke-direct·{v6,·p0},·Lorg/apache/cordova/CompassListener$1;-><init>(Lorg/apache/cordova/CompassListener;)V | 339 | ····invoke-direct·{v6,·p0},·Lorg/apache/cordova/CompassListener$1;-><init>(Lorg/apache/cordova/CompassListener;)V |
340 | ····const-wide/16·v | 340 | ····const-wide/16·v8,·0x7d0 |
341 | ····invoke-virtual·{v0,·v6,·v | 341 | ····invoke-virtual·{v0,·v6,·v8,·v9},·Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z |
342 | ····.line·120 | 342 | ····.line·120 |
343 | ····.end·local·v0····#·"handler":Landroid/os/Handler; | 343 | ····.end·local·v0····#·"handler":Landroid/os/Handler; |
344 | ····.end·local·v4····#·"r":I | 344 | ····.end·local·v4····#·"r":I |
345 | ····:cond_4 | 345 | ····:cond_4 |
346 | ····new-instance·v6,·Lorg/apache/cordova/api/PluginResult; | 346 | ····new-instance·v6,·Lorg/apache/cordova/api/PluginResult; |
Offset 512, 64 lines modified | Offset 512, 64 lines modified | ||
512 | ····invoke-virtual·{p0},·Lorg/apache/cordova/CompassListener;->stop()V | 512 | ····invoke-virtual·{p0},·Lorg/apache/cordova/CompassListener;->stop()V |
513 | ····.line·147 | 513 | ····.line·147 |
514 | ····return-void | 514 | ····return-void |
515 | .end·method | 515 | .end·method |
516 | .method·public·onSensorChanged(Landroid/hardware/SensorEvent;)V | 516 | .method·public·onSensorChanged(Landroid/hardware/SensorEvent;)V |
517 | ····.locals· | 517 | ····.locals·6 |
518 | ····.param·p1,·"event"····#·Landroid/hardware/SensorEvent; | 518 | ····.param·p1,·"event"····#·Landroid/hardware/SensorEvent; |
519 | ····.prologue | 519 | ····.prologue |
520 | ····.line·219 | 520 | ····.line·219 |
521 | ····iget-object·v1,·p1,·Landroid/hardware/SensorEvent;->values:[F | 521 | ····iget-object·v1,·p1,·Landroid/hardware/SensorEvent;->values:[F |
522 | ····const/4·v2,·0x0 | 522 | ····const/4·v2,·0x0 |
523 | ····aget·v0,·v1,·v2 | 523 | ····aget·v0,·v1,·v2 |
524 | ····.line·222 | 524 | ····.line·222 |
525 | ····.local·v0,·"heading":F | 525 | ····.local·v0,·"heading":F |
526 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 526 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
527 | ····move-result-wide·v | 527 | ····move-result-wide·v2 |
528 | ····iput-wide·v | 528 | ····iput-wide·v2,·p0,·Lorg/apache/cordova/CompassListener;->timeStamp:J |
529 | ····.line·223 | 529 | ····.line·223 |
530 | ····iput·v0,·p0,·Lorg/apache/cordova/CompassListener;->heading:F | 530 | ····iput·v0,·p0,·Lorg/apache/cordova/CompassListener;->heading:F |
531 | ····.line·224 | 531 | ····.line·224 |
532 | ····sget·v1,·Lorg/apache/cordova/CompassListener;->RUNNING:I | 532 | ····sget·v1,·Lorg/apache/cordova/CompassListener;->RUNNING:I |
533 | ····invoke-direct·{p0,·v1},·Lorg/apache/cordova/CompassListener;->setStatus(I)V | 533 | ····invoke-direct·{p0,·v1},·Lorg/apache/cordova/CompassListener;->setStatus(I)V |
534 | ····.line·227 | 534 | ····.line·227 |
535 | ····iget-wide·v | 535 | ····iget-wide·v2,·p0,·Lorg/apache/cordova/CompassListener;->timeStamp:J |
536 | ····iget-wide·v | 536 | ····iget-wide·v4,·p0,·Lorg/apache/cordova/CompassListener;->lastAccessTime:J |
537 | ····sub-long/2addr·v | 537 | ····sub-long/2addr·v2,·v4 |
538 | ····iget-wide·v | 538 | ····iget-wide·v4,·p0,·Lorg/apache/cordova/CompassListener;->TIMEOUT:J |
539 | ····cmp-long·v1,·v | 539 | ····cmp-long·v1,·v2,·v4 |
540 | ····if-lez·v1,·:cond_0 | 540 | ····if-lez·v1,·:cond_0 |
541 | ····.line·228 | 541 | ····.line·228 |
542 | ····invoke-virtual·{p0},·Lorg/apache/cordova/CompassListener;->stop()V | 542 | ····invoke-virtual·{p0},·Lorg/apache/cordova/CompassListener;->stop()V |
543 | ····.line·230 | 543 | ····.line·230 |
544 | ····:cond_0 | 544 | ····:cond_0 |
545 | ····return-void | 545 | ····return-void |
546 | .end·method | 546 | .end·method |
547 | .method·public·setTimeout(J)V | 547 | .method·public·setTimeout(J)V |
548 | ····.locals· | 548 | ····.locals·1 |
549 | ····.param·p1,·"timeout"····#·J | 549 | ····.param·p1,·"timeout"····#·J |
550 | ····.prologue | 550 | ····.prologue |
551 | ····.line·257 | 551 | ····.line·257 |
552 | ····iput-wide·p1,·p0,·Lorg/apache/cordova/CompassListener;->TIMEOUT:J | 552 | ····iput-wide·p1,·p0,·Lorg/apache/cordova/CompassListener;->TIMEOUT:J |
553 | ····.line·258 | 553 | ····.line·258 |
Offset 638, 17 lines modified | Offset 638, 17 lines modified | ||
638 | ····iget-object·v2,·p0,·Lorg/apache/cordova/CompassListener;->mSensor:Landroid/hardware/Sensor; | 638 | ····iget-object·v2,·p0,·Lorg/apache/cordova/CompassListener;->mSensor:Landroid/hardware/Sensor; |
639 | ····invoke-virtual·{v1,·p0,·v2,·v3},·Landroid/hardware/SensorManager;->registerListener(Landroid/hardware/SensorEventListener;Landroid/hardware/Sensor;I)Z | 639 | ····invoke-virtual·{v1,·p0,·v2,·v3},·Landroid/hardware/SensorManager;->registerListener(Landroid/hardware/SensorEventListener;Landroid/hardware/Sensor;I)Z |
640 | ····.line·173 | 640 | ····.line·173 |
641 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 641 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
642 | ····move-result-wide·v | 642 | ····move-result-wide·v2 |
643 | ····iput-wide·v | 643 | ····iput-wide·v2,·p0,·Lorg/apache/cordova/CompassListener;->lastAccessTime:J |
644 | ····.line·174 | 644 | ····.line·174 |
645 | ····sget·v1,·Lorg/apache/cordova/CompassListener;->STARTING:I | 645 | ····sget·v1,·Lorg/apache/cordova/CompassListener;->STARTING:I |
646 | ····invoke-direct·{p0,·v1},·Lorg/apache/cordova/CompassListener;->setStatus(I)V | 646 | ····invoke-direct·{p0,·v1},·Lorg/apache/cordova/CompassListener;->setStatus(I)V |
647 | ····.line·182 | 647 | ····.line·182 |
Offset 1012, 15 lines modified | Offset 1012, 15 lines modified | ||
1012 | ····invoke-direct·{v8,·v9},·Lorg/apache/cordova/GlobalizationError;-><init>(Ljava/lang/String;)V | 1012 | ····invoke-direct·{v8,·v9},·Lorg/apache/cordova/GlobalizationError;-><init>(Ljava/lang/String;)V |
1013 | ····throw·v8 | 1013 | ····throw·v8 |
1014 | .end·method | 1014 | .end·method |
1015 | .method·private·getDateToString(Lorg/json/JSONArray;)Lorg/json/JSONObject; | 1015 | .method·private·getDateToString(Lorg/json/JSONArray;)Lorg/json/JSONObject; |
1016 | ····.locals· | 1016 | ····.locals·8 |
1017 | ····.param·p1,·"options"····#·Lorg/json/JSONArray; | 1017 | ····.param·p1,·"options"····#·Lorg/json/JSONArray; |
1018 | ····.annotation·system·Ldalvik/annotation/Throws; | 1018 | ····.annotation·system·Ldalvik/annotation/Throws; |
1019 | ········value·=·{ | 1019 | ········value·=·{ |
1020 | ············Lorg/apache/cordova/GlobalizationError; | 1020 | ············Lorg/apache/cordova/GlobalizationError; |
1021 | ········} | 1021 | ········} |
1022 | ····.end·annotation | 1022 | ····.end·annotation |
Offset 1047, 17 lines modified | Offset 1047, 17 lines modified | ||
1047 | ····move-result-object·v5 | 1047 | ····move-result-object·v5 |
1048 | ····check-cast·v5,·Ljava/lang/Long; | 1048 | ····check-cast·v5,·Ljava/lang/Long; |
1049 | ····invoke-virtual·{v5},·Ljava/lang/Long;->longValue()J | 1049 | ····invoke-virtual·{v5},·Ljava/lang/Long;->longValue()J |
1050 | ····move-result-wide·v | 1050 | ····move-result-wide·v6 |
1051 | ····invoke-direct·{v0,·v | 1051 | ····invoke-direct·{v0,·v6,·v7},·Ljava/util/Date;-><init>(J)V |
1052 | ····.line·183 | 1052 | ····.line·183 |
1053 | ····.local·v0,·"date":Ljava/util/Date; | 1053 | ····.local·v0,·"date":Ljava/util/Date; |
1054 | ····invoke-direct·{p0,·p1},·Lorg/apache/cordova/Globalization;->getDatePattern(Lorg/json/JSONArray;)Lorg/json/JSONObject; | 1054 | ····invoke-direct·{p0,·p1},·Lorg/apache/cordova/Globalization;->getDatePattern(Lorg/json/JSONArray;)Lorg/json/JSONObject; |
1055 | ····move-result-object·v1 | 1055 | ····move-result-object·v1 |
Offset 1162, 15 lines modified | Offset 1162, 15 lines modified | ||
1162 | ····invoke-direct·{v3,·v4},·Lorg/apache/cordova/GlobalizationError;-><init>(Ljava/lang/String;)V | 1162 | ····invoke-direct·{v3,·v4},·Lorg/apache/cordova/GlobalizationError;-><init>(Ljava/lang/String;)V |
1163 | ····throw·v3 | 1163 | ····throw·v3 |
1164 | .end·method | 1164 | .end·method |
1165 | .method·private·getIsDayLightSavingsTime(Lorg/json/JSONArray;)Lorg/json/JSONObject; | 1165 | .method·private·getIsDayLightSavingsTime(Lorg/json/JSONArray;)Lorg/json/JSONObject; |
1166 | ····.locals· | 1166 | ····.locals·8 |
1167 | ····.param·p1,·"options"····#·Lorg/json/JSONArray; | 1167 | ····.param·p1,·"options"····#·Lorg/json/JSONArray; |
1168 | ····.annotation·system·Ldalvik/annotation/Throws; | 1168 | ····.annotation·system·Ldalvik/annotation/Throws; |
1169 | ········value·=·{ | 1169 | ········value·=·{ |
1170 | ············Lorg/apache/cordova/GlobalizationError; | 1170 | ············Lorg/apache/cordova/GlobalizationError; |
1171 | ········} | 1171 | ········} |
1172 | ····.end·annotation | 1172 | ····.end·annotation |
Offset 1201, 17 lines modified | Offset 1201, 17 lines modified | ||
1201 | ····move-result-object·v5 | 1201 | ····move-result-object·v5 |
1202 | ····check-cast·v5,·Ljava/lang/Long; | 1202 | ····check-cast·v5,·Ljava/lang/Long; |
1203 | ····invoke-virtual·{v5},·Ljava/lang/Long;->longValue()J | 1203 | ····invoke-virtual·{v5},·Ljava/lang/Long;->longValue()J |
1204 | ····move-result-wide·v | 1204 | ····move-result-wide·v6 |
1205 | ····invoke-direct·{v0,·v | 1205 | ····invoke-direct·{v0,·v6,·v7},·Ljava/util/Date;-><init>(J)V |
1206 | ····.line·388 | 1206 | ····.line·388 |
1207 | ····.local·v0,·"date":Ljava/util/Date; | 1207 | ····.local·v0,·"date":Ljava/util/Date; |
1208 | ····invoke-static·{},·Landroid/text/format/Time;->getCurrentTimezone()Ljava/lang/String; | 1208 | ····invoke-static·{},·Landroid/text/format/Time;->getCurrentTimezone()Ljava/lang/String; |
1209 | ····move-result-object·v5 | 1209 | ····move-result-object·v5 |
Offset 1932, 15 lines modified | Offset 1932, 15 lines modified | ||
1932 | ····invoke-direct·{v4,·v5},·Lorg/apache/cordova/GlobalizationError;-><init>(Ljava/lang/String;)V | 1932 | ····invoke-direct·{v4,·v5},·Lorg/apache/cordova/GlobalizationError;-><init>(Ljava/lang/String;)V |
1933 | ····throw·v4 | 1933 | ····throw·v4 |
1934 | .end·method | 1934 | .end·method |
1935 | .method·private·getStringtoDate(Lorg/json/JSONArray;)Lorg/json/JSONObject; | 1935 | .method·private·getStringtoDate(Lorg/json/JSONArray;)Lorg/json/JSONObject; |
1936 | ····.locals· | 1936 | ····.locals·10 |
1937 | ····.param·p1,·"options"····#·Lorg/json/JSONArray; | 1937 | ····.param·p1,·"options"····#·Lorg/json/JSONArray; |
1938 | ····.annotation·system·Ldalvik/annotation/Throws; | 1938 | ····.annotation·system·Ldalvik/annotation/Throws; |
1939 | ········value·=·{ | 1939 | ········value·=·{ |
1940 | ············Lorg/apache/cordova/GlobalizationError; | 1940 | ············Lorg/apache/cordova/GlobalizationError; |
1941 | ········} | 1941 | ········} |
1942 | ····.end·annotation | 1942 | ····.end·annotation |
Offset 1995, 17 lines modified | Offset 1995, 17 lines modified | ||
1995 | ····invoke-direct·{v4},·Landroid/text/format/Time;-><init>()V | 1995 | ····invoke-direct·{v4},·Landroid/text/format/Time;-><init>()V |
1996 | ····.line·220 | 1996 | ····.line·220 |
1997 | ····.local·v4,·"time":Landroid/text/format/Time; | 1997 | ····.local·v4,·"time":Landroid/text/format/Time; |
1998 | ····invoke-virtual·{v0},·Ljava/util/Date;->getTime()J | 1998 | ····invoke-virtual·{v0},·Ljava/util/Date;->getTime()J |
1999 | ····move-result-wide·v | 1999 | ····move-result-wide·v6 |
2000 | ····invoke-virtual·{v4,·v | 2000 | ····invoke-virtual·{v4,·v6,·v7},·Landroid/text/format/Time;->set(J)V |
2001 | ····.line·223 | 2001 | ····.line·223 |
2002 | ····const-string·v5,·"year" | 2002 | ····const-string·v5,·"year" |
2003 | ····iget·v6,·v4,·Landroid/text/format/Time;->year:I | 2003 | ····iget·v6,·v4,·Landroid/text/format/Time;->year:I |
2004 | ····invoke-virtual·{v3,·v5,·v6},·Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; | 2004 | ····invoke-virtual·{v3,·v5,·v6},·Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; |
Offset 2046, 17 lines modified | Offset 2046, 17 lines modified | ||
2046 | ····invoke-virtual·{v3,·v5,·v6},·Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; | 2046 | ····invoke-virtual·{v3,·v5,·v6},·Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; |
2047 | ····.line·229 | 2047 | ····.line·229 |
2048 | ····const-string·v5,·"millisecond" | 2048 | ····const-string·v5,·"millisecond" |
2049 | ····new-instance·v6,·Ljava/lang/Long; | 2049 | ····new-instance·v6,·Ljava/lang/Long; |
2050 | ····const-wide/16·v | 2050 | ····const-wide/16·v8,·0x0 |
2051 | ····invoke-direct·{v6,·v | 2051 | ····invoke-direct·{v6,·v8,·v9},·Ljava/lang/Long;-><init>(J)V |
2052 | ····invoke-virtual·{v3,·v5,·v6},·Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; | 2052 | ····invoke-virtual·{v3,·v5,·v6},·Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; |
2053 | ····:try_end_0 | 2053 | ····:try_end_0 |
2054 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0 | 2054 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0 |
2055 | ····.line·230 | 2055 | ····.line·230 |
2056 | ····return-object·v3 | 2056 | ····return-object·v3 |
Offset 522, 15 lines modified | Offset 522, 15 lines modified | ||
522 | ····:cond_1 | 522 | ····:cond_1 |
523 | ····const/4·v1,·-0x1 | 523 | ····const/4·v1,·-0x1 |
524 | ····goto·:goto_0 | 524 | ····goto·:goto_0 |
525 | .end·method | 525 | .end·method |
526 | .method·public·getCurrentPositionAudio(Ljava/lang/String;)F | 526 | .method·public·getCurrentPositionAudio(Ljava/lang/String;)F |
527 | ····.locals· | 527 | ····.locals·4 |
528 | ····.param·p1,·"id"····#·Ljava/lang/String; | 528 | ····.param·p1,·"id"····#·Ljava/lang/String; |
529 | ····.prologue | 529 | ····.prologue |
530 | ····.line·276 | 530 | ····.line·276 |
531 | ····iget-object·v1,·p0,·Lorg/apache/cordova/AudioHandler;->players:Ljava/util/HashMap; | 531 | ····iget-object·v1,·p0,·Lorg/apache/cordova/AudioHandler;->players:Ljava/util/HashMap; |
532 | ····invoke-virtual·{v1,·p1},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 532 | ····invoke-virtual·{v1,·p1},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
Offset 542, 17 lines modified | Offset 542, 17 lines modified | ||
542 | ····.line·277 | 542 | ····.line·277 |
543 | ····.local·v0,·"audio":Lorg/apache/cordova/AudioPlayer; | 543 | ····.local·v0,·"audio":Lorg/apache/cordova/AudioPlayer; |
544 | ····if-eqz·v0,·:cond_0 | 544 | ····if-eqz·v0,·:cond_0 |
545 | ····.line·278 | 545 | ····.line·278 |
546 | ····invoke-virtual·{v0},·Lorg/apache/cordova/AudioPlayer;->getCurrentPosition()J | 546 | ····invoke-virtual·{v0},·Lorg/apache/cordova/AudioPlayer;->getCurrentPosition()J |
547 | ····move-result-wide·v | 547 | ····move-result-wide·v2 |
548 | ····long-to-float·v1,·v | 548 | ····long-to-float·v1,·v2 |
549 | ····const/high16·v2,·0x447a0000····#·1000.0f | 549 | ····const/high16·v2,·0x447a0000····#·1000.0f |
550 | ····div-float/2addr·v1,·v2 | 550 | ····div-float/2addr·v1,·v2 |
551 | ····.line·280 | 551 | ····.line·280 |
552 | ····:goto_0 | 552 | ····:goto_0 |