| | | |
Offset 25, 135 lines modified | Offset 25, 62 lines modified |
| |
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·static·constructor·<clinit>()V | 26 | .method·static·constructor·<clinit>()V |
27 | ····.locals·1 | 27 | ····.locals·1 |
| |
28 | ····const-string·v0,·"textclassifier" | 28 | ····const-string·v0,·"textclassifier" |
| |
29 | ····.line·33 | 29 | ····.line·31 |
30 | ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V | 30 | ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V |
| |
31 | ····return-void | 31 | ····return-void |
32 | .end·method | 32 | .end·method |
| |
33 | .method·public·constructor·<init>(I)V | 33 | .method·public·constructor·<init>(I)V |
34 | ····.locals·1 | 34 | ····.locals·1 |
| |
35 | ····const/4·v0,·0x0 | 35 | ····const/4·v0,·0x0 |
| |
36 | ····.line·50 | 36 | ····.line·48 |
37 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(I[B)V | 37 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(I[B)V |
| |
38 | ····return-void | 38 | ····return-void |
39 | .end·method | 39 | .end·method |
| |
40 | .method·public·constructor·<init>(I[B)V | 40 | .method·public·constructor·<init>(I[B)V |
41 | ····.locals·2 | 41 | ····.locals·2 |
| |
42 | ····.line·42 | 42 | ····.line·40 |
43 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 43 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
44 | ····.line·30 | 44 | ····.line·28 |
45 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; | 45 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; |
| |
46 | ····const/4·v1,·0x0 | 46 | ····const/4·v1,·0x0 |
| |
47 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V | 47 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V |
| |
48 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; | 48 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; |
| |
49 | ····.line·43 | 49 | ····.line·41 |
50 | ····invoke-static·{p1,·p2},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModel(I[B)J | 50 | ····invoke-static·{p1,·p2},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModel(I[B)J |
| |
51 | ····move-result-wide·p1 | 51 | ····move-result-wide·p1 |
| |
52 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | 52 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J |
| |
53 | ····const-wide/16·v0,·0x0 | 53 | ····const-wide/16·v0,·0x0 |
| |
54 | ····cmp-long·p0,·p1,·v0 | 54 | ····cmp-long·p0,·p1,·v0 |
| |
55 | ····if-eqz·p0,·:cond_0 | 55 | ····if-eqz·p0,·:cond_0 |
| |
56 | ····return-void | 56 | ····return-void |
| |
57 | ····.line·45 | 57 | ····.line·43 |
58 | ····:cond_0 | |
59 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | |
| |
60 | ····const-string·p1,·"Couldn\'t·initialize·actions·model·from·file·descriptor." | |
| |
61 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | |
| |
62 | ····throw·p0 | |
63 | .end·method | |
| |
64 | .method·public·constructor·<init>(Landroid/content/res/AssetFileDescriptor;)V | |
65 | ····.locals·1 | |
| |
66 | ····const/4·v0,·0x0 | |
| |
67 | ····.line·86 | |
68 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(Landroid/content/res/AssetFileDescriptor;[B)V | |
| |
69 | ····return-void | |
70 | .end·method | |
| |
71 | .method·public·constructor·<init>(Landroid/content/res/AssetFileDescriptor;[B)V | |
72 | ····.locals·7 | |
| |
73 | ····.line·73 | |
74 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | |
| |
75 | ····.line·30 | |
76 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; | |
| |
77 | ····const/4·v1,·0x0 | |
| |
78 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V | |
| |
79 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; | |
| |
80 | ····.line·76 | |
81 | ····invoke-virtual·{p1},·Landroid/content/res/AssetFileDescriptor;->getParcelFileDescriptor()Landroid/os/ParcelFileDescriptor; | |
| |
82 | ····move-result-object·v0 | |
| |
83 | ····invoke-virtual·{v0},·Landroid/os/ParcelFileDescriptor;->getFd()I | |
| |
84 | ····move-result·v1 | |
| |
85 | ····.line·77 | |
86 | ····invoke-virtual·{p1},·Landroid/content/res/AssetFileDescriptor;->getStartOffset()J | |
| |
87 | ····move-result-wide·v2 | |
| |
88 | ····.line·78 | |
89 | ····invoke-virtual·{p1},·Landroid/content/res/AssetFileDescriptor;->getLength()J | |
| |
90 | ····move-result-wide·v4 | |
| |
91 | ····move-object·v6,·p2 | |
| |
92 | ····.line·75 | |
93 | ····invoke-static/range·{v1·..·v6},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModelWithOffset(IJJ[B)J | |
| |
94 | ····move-result-wide·p1 | |
| |
95 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | |
| |
96 | ····const-wide/16·v0,·0x0 | |
| |
97 | ····cmp-long·p0,·p1,·v0 | |
| |
98 | ····if-eqz·p0,·:cond_0 | |
| |
99 | ····return-void | |
| |
100 | ····.line·81 | |
101 | ····:cond_0 | 58 | ····:cond_0 |
102 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 59 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
| |
103 | ····const-string·p1,·"Couldn\'t·initialize·actions·model·from·file·descriptor." | 60 | ····const-string·p1,·"Couldn\'t·initialize·actions·model·from·file·descriptor." |
| |
104 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 61 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
| |
Offset 161, 184 lines modified | Offset 88, 94 lines modified |
161 | .end·method | 88 | .end·method |
| |
162 | .method·public·constructor·<init>(Ljava/lang/String;)V | 89 | .method·public·constructor·<init>(Ljava/lang/String;)V |
163 | ····.locals·1 | 90 | ····.locals·1 |
| |
164 | ····const/4·v0,·0x0 | 91 | ····const/4·v0,·0x0 |
| |
165 | ····.line·65 | 92 | ····.line·63 |
166 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(Ljava/lang/String;[B)V | 93 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(Ljava/lang/String;[B)V |
| |
167 | ····return-void | 94 | ····return-void |
168 | .end·method | 95 | .end·method |
| |
169 | .method·public·constructor·<init>(Ljava/lang/String;[B)V | 96 | .method·public·constructor·<init>(Ljava/lang/String;[B)V |
170 | ····.locals·2 | 97 | ····.locals·2 |
| |
171 | ····.line·57 | 98 | ····.line·55 |
172 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 99 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
173 | ····.line·30 | 100 | ····.line·28 |
174 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; | 101 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; |
| |
175 | ····const/4·v1,·0x0 | 102 | ····const/4·v1,·0x0 |
| |
176 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V | 103 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V |
| |
177 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; | 104 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; |
| |
178 | ····.line·58 | 105 | ····.line·56 |
179 | ····invoke-static·{p1,·p2},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModelFromPath(Ljava/lang/String;[B)J | 106 | ····invoke-static·{p1,·p2},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModelFromPath(Ljava/lang/String;[B)J |
| |
180 | ····move-result-wide·p1 | 107 | ····move-result-wide·p1 |
| |
181 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | 108 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J |
| |
182 | ····const-wide/16·v0,·0x0 | 109 | ····const-wide/16·v0,·0x0 |
| |
183 | ····cmp-long·p0,·p1,·v0 | 110 | ····cmp-long·p0,·p1,·v0 |
| |
184 | ····if-eqz·p0,·:cond_0 | 111 | ····if-eqz·p0,·:cond_0 |
| |
185 | ····return-void | 112 | ····return-void |
| |
186 | ····.line·60 | 113 | ····.line·58 |
187 | ····:cond_0 | 114 | ····:cond_0 |
188 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 115 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
| |
189 | ····const-string·p1,·"Couldn\'t·initialize·actions·model·from·given·file." | 116 | ····const-string·p1,·"Couldn\'t·initialize·actions·model·from·given·file." |
| |
190 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 117 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
| |
191 | ····throw·p0 | 118 | ····throw·p0 |
192 | .end·method | 119 | .end·method |
| |
193 | .method·public·static·getLocales(I)Ljava/lang/String; | 120 | .method·public·static·getLocales(I)Ljava/lang/String; |
194 | ····.locals·0 | 121 | ····.locals·0 |
| |
195 | ····.line·138 | 122 | ····.line·115 |
196 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetLocales(I)Ljava/lang/String; | 123 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetLocales(I)Ljava/lang/String; |
| |
197 | ····move-result-object·p0 | 124 | ····move-result-object·p0 |
| |
198 | ····return-object·p0 | 125 | ····return-object·p0 |
199 | .end·method | 126 | .end·method |
| |
200 | .method·public·static·getLocales(Landroid/content/res/AssetFileDescriptor;)Ljava/lang/String; | |
201 | ····.locals·5 | |
| |
202 | ····.line·144 | |
203 | ····invoke-virtual·{p0},·Landroid/content/res/AssetFileDescriptor;->getParcelFileDescriptor()Landroid/os/ParcelFileDescriptor; | |
| |
204 | ····move-result-object·v0 | |
| |
205 | ····invoke-virtual·{v0},·Landroid/os/ParcelFileDescriptor;->getFd()I | |
| |
206 | ····move-result·v0 | |
| |
207 | ····.line·145 | |
208 | ····invoke-virtual·{p0},·Landroid/content/res/AssetFileDescriptor;->getStartOffset()J | |
| |
209 | ····move-result-wide·v1 | |
| |
210 | ····.line·146 | |
211 | ····invoke-virtual·{p0},·Landroid/content/res/AssetFileDescriptor;->getLength()J | |
| |
212 | ····move-result-wide·v3 | |
| |
213 | ····.line·143 | |
214 | ····invoke-static·{v0,·v1,·v2,·v3,·v4},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetLocalesWithOffset(IJJ)Ljava/lang/String; | |
| |
215 | ····move-result-object·p0 | |
| |
216 | ····return-object·p0 | |
217 | .end·method | |
| |
218 | .method·public·static·getName(I)Ljava/lang/String; | 127 | .method·public·static·getName(I)Ljava/lang/String; |
219 | ····.locals·0 | 128 | ····.locals·0 |
| |
220 | ····.line·164 | 129 | ····.line·125 |
221 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetName(I)Ljava/lang/String; | 130 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetName(I)Ljava/lang/String; |
| |
222 | ····move-result-object·p0 | 131 | ····move-result-object·p0 |
| |
223 | ····return-object·p0 | 132 | ····return-object·p0 |
224 | .end·method | 133 | .end·method |
| |
225 | .method·public·static·getName(Landroid/content/res/AssetFileDescriptor;)Ljava/lang/String; | |
226 | ····.locals·5 | |
| |
227 | ····.line·170 | |
228 | ····invoke-virtual·{p0},·Landroid/content/res/AssetFileDescriptor;->getParcelFileDescriptor()Landroid/os/ParcelFileDescriptor; | |
| |
229 | ····move-result-object·v0 | |
| |
230 | ····invoke-virtual·{v0},·Landroid/os/ParcelFileDescriptor;->getFd()I | |
| |
231 | ····move-result·v0 | |
| |
232 | ····.line·171 | |
233 | ····invoke-virtual·{p0},·Landroid/content/res/AssetFileDescriptor;->getStartOffset()J | |
| |
234 | ····move-result-wide·v1 | |
| |
235 | ····.line·172 | |
236 | ····invoke-virtual·{p0},·Landroid/content/res/AssetFileDescriptor;->getLength()J | |
| |
237 | ····move-result-wide·v3 | |
| |
238 | ····.line·169 | |
239 | ····invoke-static·{v0,·v1,·v2,·v3,·v4},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetNameWithOffset(IJJ)Ljava/lang/String; | |
| |
240 | ····move-result-object·p0 | |
| |
241 | ····return-object·p0 | |
242 | .end·method | |
| |
243 | .method·public·static·getVersion(I)I | 134 | .method·public·static·getVersion(I)I |
244 | ····.locals·0 | 135 | ····.locals·0 |
| |
245 | ····.line·151 | 136 | ····.line·120 |
246 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetVersion(I)I | 137 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetVersion(I)I |
| |
247 | ····move-result·p0 | 138 | ····move-result·p0 |
| |
248 | ····return·p0 | 139 | ····return·p0 |
249 | .end·method | 140 | .end·method |
| |
250 | .method·public·static·getVersion(Landroid/content/res/AssetFileDescriptor;)I | |
251 | ····.locals·5 | |
| |
252 | ····.line·157 | |
253 | ····invoke-virtual·{p0},·Landroid/content/res/AssetFileDescriptor;->getParcelFileDescriptor()Landroid/os/ParcelFileDescriptor; | |
| |
254 | ····move-result-object·v0 | |
| |
255 | ····invoke-virtual·{v0},·Landroid/os/ParcelFileDescriptor;->getFd()I | |
| |
256 | ····move-result·v0 | |
| |
257 | ····.line·158 | |
258 | ····invoke-virtual·{p0},·Landroid/content/res/AssetFileDescriptor;->getStartOffset()J | |
| |
259 | ····move-result-wide·v1 | |
| |
260 | ····.line·159 | |
261 | ····invoke-virtual·{p0},·Landroid/content/res/AssetFileDescriptor;->getLength()J | |
| |
262 | ····move-result-wide·v3 | |
| |
263 | ····.line·156 | |
264 | ····invoke-static·{v0,·v1,·v2,·v3,·v4},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetVersionWithOffset(IJJ)I | |
| |
265 | ····move-result·p0 | |
| |
266 | ····return·p0 | |
267 | .end·method | |
| |
268 | .method·private·native·nativeCloseActionsModel(J)V | 141 | .method·private·native·nativeCloseActionsModel(J)V |
269 | .end·method | 142 | .end·method |
| |
270 | .method·private·static·native·nativeGetLocales(I)Ljava/lang/String; | 143 | .method·private·static·native·nativeGetLocales(I)Ljava/lang/String; |
271 | .end·method | 144 | .end·method |
| |
272 | .method·private·static·native·nativeGetLocalesWithOffset(IJJ)Ljava/lang/String; | 145 | .method·private·static·native·nativeGetLocalesWithOffset(IJJ)Ljava/lang/String; |
Offset 346, 17 lines modified | Offset 183, 14 lines modified |
| |
346 | .method·private·static·native·nativeGetName(I)Ljava/lang/String; | 183 | .method·private·static·native·nativeGetName(I)Ljava/lang/String; |
347 | .end·method | 184 | .end·method |
| |
348 | .method·private·static·native·nativeGetNameWithOffset(IJJ)Ljava/lang/String; | 185 | .method·private·static·native·nativeGetNameWithOffset(IJJ)Ljava/lang/String; |
349 | .end·method | 186 | .end·method |
| |
350 | .method·private·native·nativeGetNativeModelPtr(J)J | |
351 | .end·method | |
| |
352 | .method·private·static·native·nativeGetVersion(I)I | 187 | .method·private·static·native·nativeGetVersion(I)I |
353 | .end·method | 188 | .end·method |
| |
354 | .method·private·static·native·nativeGetVersionWithOffset(IJJ)I | 189 | .method·private·static·native·nativeGetVersionWithOffset(IJJ)I |
355 | .end·method | 190 | .end·method |
| |
356 | .method·private·static·native·nativeNewActionsModel(I[B)J | 191 | .method·private·static·native·nativeNewActionsModel(I[B)J |
Offset 372, 91 lines modified | Offset 206, 78 lines modified |
372 | .end·method | 206 | .end·method |
| |
| |
373 | #·virtual·methods | 207 | #·virtual·methods |
374 | .method·public·close()V | 208 | .method·public·close()V |
375 | ····.locals·3 | 209 | ····.locals·3 |
| |
376 | ····.line·121 | 210 | ····.line·98 |
377 | ····iget-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; | 211 | ····iget-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; |
| |
378 | ····const/4·v1,·0x0 | 212 | ····const/4·v1,·0x0 |
| |
379 | ····const/4·v2,·0x1 | 213 | ····const/4·v2,·0x1 |
| |
380 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z | 214 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z |
| |
381 | ····move-result·v0 | 215 | ····move-result·v0 |
| |
382 | ····if-eqz·v0,·:cond_0 | 216 | ····if-eqz·v0,·:cond_0 |
| |
383 | ····.line·122 | 217 | ····.line·99 |
384 | ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | 218 | ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J |
| |
385 | ····invoke-direct·{p0,·v0,·v1},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeCloseActionsModel(J)V | 219 | ····invoke-direct·{p0,·v0,·v1},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeCloseActionsModel(J)V |
| |
386 | ····const-wide/16·v0,·0x0 | 220 | ····const-wide/16·v0,·0x0 |
| |
387 | ····.line·123 | 221 | ····.line·100 |
388 | ····iput-wide·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | 222 | ····iput-wide·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J |
| |
389 | ····:cond_0 | 223 | ····:cond_0 |
390 | ····return-void | 224 | ····return-void |
391 | .end·method | 225 | .end·method |
| |
392 | .method·protected·finalize()V | 226 | .method·protected·finalize()V |
393 | ····.locals·1 | 227 | ····.locals·1 |
394 | ····.annotation·system·Ldalvik/annotation/Throws; | 228 | ····.annotation·system·Ldalvik/annotation/Throws; |
395 | ········value·=·{ | 229 | ········value·=·{ |
396 | ············Ljava/lang/Throwable; | 230 | ············Ljava/lang/Throwable; |
397 | ········} | 231 | ········} |
398 | ····.end·annotation | 232 | ····.end·annotation |
| |
399 | ····.line·130 | 233 | ····.line·107 |
400 | ····:try_start_0 | 234 | ····:try_start_0 |
401 | ····invoke-virtual·{p0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->close()V | 235 | ····invoke-virtual·{p0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->close()V |
402 | ····:try_end_0 | 236 | ····:try_end_0 |
403 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 237 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
| |
404 | ····.line·132 | 238 | ····.line·109 |
405 | ····invoke-super·{p0},·Ljava/lang/Object;->finalize()V | 239 | ····invoke-super·{p0},·Ljava/lang/Object;->finalize()V |
| |
406 | ····return-void | 240 | ····return-void |
| |
407 | ····:catchall_0 | 241 | ····:catchall_0 |
408 | ····move-exception·v0 | 242 | ····move-exception·v0 |
| |
409 | ····invoke-super·{p0},·Ljava/lang/Object;->finalize()V | 243 | ····invoke-super·{p0},·Ljava/lang/Object;->finalize()V |
| |
410 | ····.line·133 | 244 | ····.line·110 |
411 | ····throw·v0 | 245 | ····throw·v0 |
412 | .end·method | 246 | .end·method |
| |
413 | .method·getNativeModelPointer()J | |
414 | ····.locals·2 | |
| |
415 | ····.line·303 | |
416 | ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | |
| |
417 | ····invoke-direct·{p0,·v0,·v1},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeGetNativeModelPtr(J)J | |
| |
418 | ····move-result-wide·v0 | |
| |
419 | ····return-wide·v0 | |
420 | .end·method | |
| |
421 | .method·public·suggestActions(Lcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions;Lcom/google/android/textclassifier/AnnotatorModel;)[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion; | 247 | .method·public·suggestActions(Lcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions;Lcom/google/android/textclassifier/AnnotatorModel;)[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion; |
422 | ····.locals·10 | 248 | ····.locals·10 |
| |
423 | ····.line·92 | 249 | ····.line·69 |
424 | ····iget-wide·v1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | 250 | ····iget-wide·v1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J |
| |
425 | ····if-eqz·p3,·:cond_0 | 251 | ····if-eqz·p3,·:cond_0 |
| |
426 | ····.line·96 | 252 | ····.line·73 |
427 | ····invoke-virtual·{p3},·Lcom/google/android/textclassifier/AnnotatorModel;->getNativeAnnotatorPointer()J | 253 | ····invoke-virtual·{p3},·Lcom/google/android/textclassifier/AnnotatorModel;->getNativeAnnotatorPointer()J |
| |
428 | ····move-result-wide·v3 | 254 | ····move-result-wide·v3 |
| |
429 | ····goto·:goto_0 | 255 | ····goto·:goto_0 |
| |
430 | ····:cond_0 | 256 | ····:cond_0 |
Offset 473, 31 lines modified | Offset 294, 31 lines modified |
| |
473 | ····move-object·v0,·p0 | 294 | ····move-object·v0,·p0 |
| |
474 | ····move-object·v3,·p1 | 295 | ····move-object·v3,·p1 |
| |
475 | ····move-object·v4,·p2 | 296 | ····move-object·v4,·p2 |
| |
476 | ····.line·92 | 297 | ····.line·69 |
477 | ····invoke-direct/range·{v0·..·v9},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeSuggestActions(JLcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions;JLjava/lang/Object;Ljava/lang/String;Z)[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion; | 298 | ····invoke-direct/range·{v0·..·v9},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeSuggestActions(JLcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions;JLjava/lang/Object;Ljava/lang/String;Z)[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion; |
| |
478 | ····move-result-object·p0 | 299 | ····move-result-object·p0 |
| |
479 | ····return-object·p0 | 300 | ····return-object·p0 |
480 | .end·method | 301 | .end·method |
| |
481 | .method·public·suggestActionsWithIntents(Lcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions;Ljava/lang/Object;Ljava/lang/String;Lcom/google/android/textclassifier/AnnotatorModel;)[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion; | 302 | .method·public·suggestActionsWithIntents(Lcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions;Ljava/lang/Object;Ljava/lang/String;Lcom/google/android/textclassifier/AnnotatorModel;)[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion; |
482 | ····.locals·10 | 303 | ····.locals·10 |
| |
483 | ····.line·108 | 304 | ····.line·85 |
484 | ····iget-wide·v1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | 305 | ····iget-wide·v1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J |
| |
485 | ····if-eqz·p5,·:cond_0 | 306 | ····if-eqz·p5,·:cond_0 |
| |
486 | ····.line·112 | 307 | ····.line·89 |
487 | ····invoke-virtual·{p5},·Lcom/google/android/textclassifier/AnnotatorModel;->getNativeAnnotatorPointer()J | 308 | ····invoke-virtual·{p5},·Lcom/google/android/textclassifier/AnnotatorModel;->getNativeAnnotatorPointer()J |
| |
488 | ····move-result-wide·v3 | 309 | ····move-result-wide·v3 |
| |
489 | ····goto·:goto_0 | 310 | ····goto·:goto_0 |
| |
490 | ····:cond_0 | 311 | ····:cond_0 |
Offset 514, 14 lines modified | Offset 335, 14 lines modified |
| |
514 | ····move-object·v4,·p2 | 335 | ····move-object·v4,·p2 |
| |
515 | ····move-object·v7,·p3 | 336 | ····move-object·v7,·p3 |
| |
516 | ····move-object·v8,·p4 | 337 | ····move-object·v8,·p4 |
| |
517 | ····.line·108 | 338 | ····.line·85 |
518 | ····invoke-direct/range·{v0·..·v9},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeSuggestActions(JLcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions;JLjava/lang/Object;Ljava/lang/String;Z)[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion; | 339 | ····invoke-direct/range·{v0·..·v9},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeSuggestActions(JLcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions;JLjava/lang/Object;Ljava/lang/String;Z)[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion; |
| |
519 | ····move-result-object·p0 | 340 | ····move-result-object·p0 |
| |
520 | ····return-object·p0 | 341 | ····return-object·p0 |
521 | .end·method | 342 | .end·method |