| | | |
Offset 9, 28 lines modified | Offset 9, 20 lines modified |
9 | .end·annotation | 9 | .end·annotation |
| |
10 | .annotation·system·Ldalvik/annotation/InnerClass; | 10 | .annotation·system·Ldalvik/annotation/InnerClass; |
11 | ····accessFlags·=·0x19 | 11 | ····accessFlags·=·0x19 |
12 | ····name·=·"ModelFile" | 12 | ····name·=·"ModelFile" |
13 | .end·annotation | 13 | .end·annotation |
| |
14 | .annotation·system·Ldalvik/annotation/MemberClasses; | |
15 | ····value·=·{ | |
16 | ········Lcom/android/textclassifier/ModelFileManager$ModelFile$ModelType; | |
17 | ····} | |
18 | .end·annotation | |
| |
| |
19 | #·instance·fields | 14 | #·instance·fields |
20 | .field·private·final·file:Ljava/io/File; | 15 | .field·private·final·file:Ljava/io/File; |
| |
21 | .field·private·final·languageIndependent:Z | 16 | .field·private·final·languageIndependent:Z |
| |
22 | .field·private·final·modelType:Ljava/lang/String; | |
| |
23 | .field·private·final·supportedLocales:Ljava/util/List; | 17 | .field·private·final·supportedLocales:Ljava/util/List; |
24 | ····.annotation·system·Ldalvik/annotation/Signature; | 18 | ····.annotation·system·Ldalvik/annotation/Signature; |
25 | ········value·=·{ | 19 | ········value·=·{ |
26 | ············"Ljava/util/List<", | 20 | ············"Ljava/util/List<", |
27 | ············"Ljava/util/Locale;", | 21 | ············"Ljava/util/Locale;", |
28 | ············">;" | 22 | ············">;" |
29 | ········} | 23 | ········} |
Offset 39, 74 lines modified | Offset 31, 66 lines modified |
| |
39 | .field·private·final·supportedLocalesStr:Ljava/lang/String; | 31 | .field·private·final·supportedLocalesStr:Ljava/lang/String; |
| |
40 | .field·private·final·version:I | 32 | .field·private·final·version:I |
| |
| |
41 | #·direct·methods | 33 | #·direct·methods |
42 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/io/File;ILjava/util/List;Ljava/lang/String;Z)V | 34 | .method·public·constructor·<init>(Ljava/io/File;ILjava/util/List;Ljava/lang/String;Z)V |
43 | ····.locals·0 | 35 | ····.locals·0 |
44 | ····.annotation·system·Ldalvik/annotation/Signature; | 36 | ····.annotation·system·Ldalvik/annotation/Signature; |
45 | ········value·=·{ | 37 | ········value·=·{ |
46 | ············"(", | 38 | ············"(", |
47 | ············"Ljava/lang/String;", | |
48 | ············"Ljava/io/File;", | 39 | ············"Ljava/io/File;", |
49 | ············"I", | 40 | ············"I", |
50 | ············"Ljava/util/List<", | 41 | ············"Ljava/util/List<", |
51 | ············"Ljava/util/Locale;", | 42 | ············"Ljava/util/Locale;", |
52 | ············">;", | 43 | ············">;", |
53 | ············"Ljava/lang/String;", | 44 | ············"Ljava/lang/String;", |
54 | ············"Z)V" | 45 | ············"Z)V" |
55 | ········} | 46 | ········} |
56 | ····.end·annotation | 47 | ····.end·annotation |
| |
57 | ····.line·386 | 48 | ····.line·210 |
58 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 49 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
59 | ····.line·387 | 50 | ····.line·211 |
60 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 51 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
| |
61 | ····check-cast·p1,·Ljava/lang/String; | 52 | ····check-cast·p1,·Ljava/io/File; |
| |
62 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->modelType:Ljava/lang/String; | 53 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->file:Ljava/io/File; |
| |
63 | ····.line·388 | 54 | ····.line·212 |
64 | ····invoke-static·{p2},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 55 | ····iput·p2,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I |
| |
65 | ····check-cast·p2,·Ljava/io/File; | 56 | ····.line·213 |
| 57 | ····invoke-static·{p3},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
| |
66 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->file:Ljava/io/File; | 58 | ····check-cast·p3,·Ljava/util/List; |
| |
67 | ····.line·389 | 59 | ····iput-object·p3,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocales:Ljava/util/List; |
68 | ····iput·p3,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I | |
| |
69 | ····.line·390 | 60 | ····.line·214 |
70 | ····invoke-static·{p4},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 61 | ····invoke-static·{p4},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
| |
71 | ····check-cast·p4,·Ljava/util/List; | 62 | ····check-cast·p4,·Ljava/lang/String; |
| |
72 | ····iput-object·p4,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocales:Ljava/util/List; | |
| |
73 | ····.line·391 | 63 | ····iput-object·p4,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; |
74 | ····invoke-static·{p5},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | |
| |
75 | ····check-cast·p5,·Ljava/lang/String; | 64 | ····.line·215 |
| 65 | ····iput-boolean·p5,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z |
76 | ····iput-object·p5,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; | |
| |
77 | ····.line·392 | |
78 | ····iput-boolean·p6,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z | |
| |
79 | ····return-void | 66 | ····return-void |
80 | .end·method | 67 | .end·method |
| |
81 | .method·static·synthetic·lambda$toModelInfos$0(Lcom/google/common/base/Optional;)Lcom/google/common/base/Optional; | 68 | .method·static·synthetic·lambda$toModelInfos$0(Lcom/google/common/base/Optional;)Lcom/google/common/base/Optional; |
82 | ····.locals·1 | 69 | ····.locals·1 |
| |
83 | ····.line·481 | 70 | ····.line·307 |
84 | ····sget-object·v0,·Lcom/android/textclassifier/-$$Lambda$2YrDcjRKLOb8HwDLV5g9t6JgsSg;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$2YrDcjRKLOb8HwDLV5g9t6JgsSg; | 71 | ····sget-object·v0,·Lcom/android/textclassifier/-$$Lambda$2YrDcjRKLOb8HwDLV5g9t6JgsSg;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$2YrDcjRKLOb8HwDLV5g9t6JgsSg; |
| |
85 | ····invoke-virtual·{p0,·v0},·Lcom/google/common/base/Optional;->transform(Lcom/google/common/base/Function;)Lcom/google/common/base/Optional; | 72 | ····invoke-virtual·{p0,·v0},·Lcom/google/common/base/Optional;->transform(Lcom/google/common/base/Function;)Lcom/google/common/base/Optional; |
| |
86 | ····move-result-object·p0 | 73 | ····move-result-object·p0 |
| |
87 | ····return-object·p0 | 74 | ····return-object·p0 |
Offset 123, 27 lines modified | Offset 107, 27 lines modified |
123 | ············"Lcom/google/common/collect/ImmutableList<", | 107 | ············"Lcom/google/common/collect/ImmutableList<", |
124 | ············"Lcom/google/common/base/Optional<", | 108 | ············"Lcom/google/common/base/Optional<", |
125 | ············"Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo;", | 109 | ············"Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo;", |
126 | ············">;>;" | 110 | ············">;>;" |
127 | ········} | 111 | ········} |
128 | ····.end·annotation | 112 | ····.end·annotation |
| |
129 | ····.line·480 | 113 | ····.line·306 |
130 | ····invoke-static·{p0},·Ljava/util/Arrays;->stream([Ljava/lang/Object;)Ljava/util/stream/Stream; | 114 | ····invoke-static·{p0},·Ljava/util/Arrays;->stream([Ljava/lang/Object;)Ljava/util/stream/Stream; |
| |
131 | ····move-result-object·p0 | 115 | ····move-result-object·p0 |
| |
132 | ····sget-object·v0,·Lcom/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk; | 116 | ····sget-object·v0,·Lcom/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk; |
| |
133 | ····.line·481 | 117 | ····.line·307 |
134 | ····invoke-interface·{p0,·v0},·Ljava/util/stream/Stream;->map(Ljava/util/function/Function;)Ljava/util/stream/Stream; | 118 | ····invoke-interface·{p0,·v0},·Ljava/util/stream/Stream;->map(Ljava/util/function/Function;)Ljava/util/stream/Stream; |
| |
135 | ····move-result-object·p0 | 119 | ····move-result-object·p0 |
| |
136 | ····.line·482 | 120 | ····.line·308 |
137 | ····invoke-static·{},·Ljava/util/stream/Collectors;->toList()Ljava/util/stream/Collector; | 121 | ····invoke-static·{},·Ljava/util/stream/Collectors;->toList()Ljava/util/stream/Collector; |
| |
138 | ····move-result-object·v0 | 122 | ····move-result-object·v0 |
| |
139 | ····sget-object·v1,·Lcom/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k; | 123 | ····sget-object·v1,·Lcom/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k; |
| |
140 | ····invoke-static·{v0,·v1},·Ljava/util/stream/Collectors;->collectingAndThen(Ljava/util/stream/Collector;Ljava/util/function/Function;)Ljava/util/stream/Collector; | 124 | ····invoke-static·{v0,·v1},·Ljava/util/stream/Collectors;->collectingAndThen(Ljava/util/stream/Collector;Ljava/util/function/Function;)Ljava/util/stream/Collector; |
Offset 166, 24 lines modified | Offset 150, 24 lines modified |
| |
166 | ····if-ne·p0,·p1,·:cond_0 | 150 | ····if-ne·p0,·p1,·:cond_0 |
| |
167 | ····const/4·p0,·0x1 | 151 | ····const/4·p0,·0x1 |
| |
168 | ····return·p0 | 152 | ····return·p0 |
| |
169 | ····.line·455 | 153 | ····.line·282 |
170 | ····:cond_0 | 154 | ····:cond_0 |
171 | ····instance-of·v0,·p1,·Lcom/android/textclassifier/ModelFileManager$ModelFile; | 155 | ····instance-of·v0,·p1,·Lcom/android/textclassifier/ModelFileManager$ModelFile; |
| |
172 | ····if-eqz·v0,·:cond_1 | 156 | ····if-eqz·v0,·:cond_1 |
| |
173 | ····.line·456 | 157 | ····.line·283 |
174 | ····check-cast·p1,·Lcom/android/textclassifier/ModelFileManager$ModelFile; | 158 | ····check-cast·p1,·Lcom/android/textclassifier/ModelFileManager$ModelFile; |
| |
175 | ····.line·457 | 159 | ····.line·284 |
176 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getPath()Ljava/lang/String; | 160 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getPath()Ljava/lang/String; |
| |
177 | ····move-result-object·p0 | 161 | ····move-result-object·p0 |
| |
178 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getPath()Ljava/lang/String; | 162 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getPath()Ljava/lang/String; |
| |
179 | ····move-result-object·p1 | 163 | ····move-result-object·p1 |
Offset 199, 54 lines modified | Offset 183, 54 lines modified |
| |
199 | ····return·p0 | 183 | ····return·p0 |
200 | .end·method | 184 | .end·method |
| |
201 | .method·public·getName()Ljava/lang/String; | 185 | .method·public·getName()Ljava/lang/String; |
202 | ····.locals·0 | 186 | ····.locals·0 |
| |
203 | ····.line·408 | 187 | ····.line·225 |
204 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->file:Ljava/io/File; | 188 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->file:Ljava/io/File; |
| |
205 | ····invoke-virtual·{p0},·Ljava/io/File;->getName()Ljava/lang/String; | 189 | ····invoke-virtual·{p0},·Ljava/io/File;->getName()Ljava/lang/String; |
| |
206 | ····move-result-object·p0 | 190 | ····move-result-object·p0 |
| |
207 | ····return-object·p0 | 191 | ····return-object·p0 |
208 | .end·method | 192 | .end·method |
| |
209 | .method·public·getPath()Ljava/lang/String; | 193 | .method·public·getPath()Ljava/lang/String; |
210 | ····.locals·0 | 194 | ····.locals·0 |
| |
211 | ····.line·403 | 195 | ····.line·220 |
212 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->file:Ljava/io/File; | 196 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->file:Ljava/io/File; |
| |
213 | ····invoke-virtual·{p0},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; | 197 | ····invoke-virtual·{p0},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; |
| |
214 | ····move-result-object·p0 | 198 | ····move-result-object·p0 |
| |
215 | ····return-object·p0 | 199 | ····return-object·p0 |
216 | .end·method | 200 | .end·method |
| |
217 | .method·public·getVersion()I | 201 | .method·public·getVersion()I |
218 | ····.locals·0 | 202 | ····.locals·0 |
| |
219 | ····.line·413 | 203 | ····.line·230 |
220 | ····iget·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I | 204 | ····iget·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I |
| |
221 | ····return·p0 | 205 | ····return·p0 |
222 | .end·method | 206 | .end·method |
| |
223 | .method·public·hashCode()I | 207 | .method·public·hashCode()I |
224 | ····.locals·2 | 208 | ····.locals·2 |
| |
225 | ····const/4·v0,·0x1 | 209 | ····const/4·v0,·0x1 |
| |
226 | ····new-array·v0,·v0,·[Ljava/lang/Object; | 210 | ····new-array·v0,·v0,·[Ljava/lang/Object; |
| |
227 | ····.line·447 | 211 | ····.line·274 |
228 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getPath()Ljava/lang/String; | 212 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getPath()Ljava/lang/String; |
| |
229 | ····move-result-object·p0 | 213 | ····move-result-object·p0 |
| |
230 | ····const/4·v1,·0x0 | 214 | ····const/4·v1,·0x0 |
| |
231 | ····aput-object·p0,·v0,·v1 | 215 | ····aput-object·p0,·v0,·v1 |
Offset 265, 18 lines modified | Offset 249, 18 lines modified |
265 | ············"(", | 249 | ············"(", |
266 | ············"Ljava/util/List<", | 250 | ············"Ljava/util/List<", |
267 | ············"Ljava/util/Locale$LanguageRange;", | 251 | ············"Ljava/util/Locale$LanguageRange;", |
268 | ············">;)Z" | 252 | ············">;)Z" |
269 | ········} | 253 | ········} |
270 | ····.end·annotation | 254 | ····.end·annotation |
| |
271 | ····.line·418 | 255 | ····.line·235 |
272 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 256 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
| |
273 | ····.line·419 | 257 | ····.line·236 |
274 | ····iget-boolean·v0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z | 258 | ····iget-boolean·v0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z |
| |
275 | ····if-nez·v0,·:cond_1 | 259 | ····if-nez·v0,·:cond_1 |
| |
276 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocales:Ljava/util/List; | 260 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocales:Ljava/util/List; |
| |
277 | ····invoke-static·{p1,·p0},·Ljava/util/Locale;->lookup(Ljava/util/List;Ljava/util/Collection;)Ljava/util/Locale; | 261 | ····invoke-static·{p1,·p0},·Ljava/util/Locale;->lookup(Ljava/util/List;Ljava/util/Collection;)Ljava/util/Locale; |
Offset 305, 41 lines modified | Offset 289, 41 lines modified |
| |
305 | ····const/4·v0,·0x1 | 289 | ····const/4·v0,·0x1 |
| |
306 | ····if-nez·p1,·:cond_0 | 290 | ····if-nez·p1,·:cond_0 |
| |
307 | ····return·v0 | 291 | ····return·v0 |
| |
308 | ····.line·431 | 292 | ····.line·258 |
309 | ····:cond_0 | 293 | ····:cond_0 |
310 | ····iget-boolean·v1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z | 294 | ····iget-boolean·v1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z |
| |
311 | ····if-nez·v1,·:cond_1 | 295 | ····if-nez·v1,·:cond_1 |
| |
312 | ····iget-boolean·v1,·p1,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z | 296 | ····iget-boolean·v1,·p1,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z |
| |
313 | ····if-eqz·v1,·:cond_1 | 297 | ····if-eqz·v1,·:cond_1 |
| |
314 | ····return·v0 | 298 | ····return·v0 |
| |
315 | ····.line·434 | 299 | ····.line·261 |
316 | ····:cond_1 | 300 | ····:cond_1 |
317 | ····iget-boolean·v1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z | 301 | ····iget-boolean·v1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z |
| |
318 | ····const/4·v2,·0x0 | 302 | ····const/4·v2,·0x0 |
| |
319 | ····if-eqz·v1,·:cond_2 | 303 | ····if-eqz·v1,·:cond_2 |
| |
320 | ····iget-boolean·v1,·p1,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z | 304 | ····iget-boolean·v1,·p1,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z |
| |
321 | ····if-nez·v1,·:cond_2 | 305 | ····if-nez·v1,·:cond_2 |
| |
322 | ····return·v2 | 306 | ····return·v2 |
| |
323 | ····.line·439 | 307 | ····.line·266 |
324 | ····:cond_2 | 308 | ····:cond_2 |
325 | ····iget·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I | 309 | ····iget·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I |
| |
326 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getVersion()I | 310 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getVersion()I |
| |
327 | ····move-result·p1 | 311 | ····move-result·p1 |
| |
Offset 350, 15 lines modified | Offset 334, 15 lines modified |
350 | ····:cond_3 | 334 | ····:cond_3 |
351 | ····return·v2 | 335 | ····return·v2 |
352 | .end·method | 336 | .end·method |
| |
353 | .method·public·toModelInfo()Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo; | 337 | .method·public·toModelInfo()Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo; |
354 | ····.locals·2 | 338 | ····.locals·2 |
| |
355 | ····.line·463 | 339 | ····.line·290 |
356 | ····new-instance·v0,·Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo; | 340 | ····new-instance·v0,·Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo; |
| |
357 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getVersion()I | 341 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getVersion()I |
| |
358 | ····move-result·v1 | 342 | ····move-result·v1 |
| |
359 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; | 343 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; |
Offset 367, 64 lines modified | Offset 351, 58 lines modified |
| |
367 | ····return-object·v0 | 351 | ····return-object·v0 |
368 | .end·method | 352 | .end·method |
| |
369 | .method·public·toString()Ljava/lang/String; | 353 | .method·public·toString()Ljava/lang/String; |
370 | ····.locals·4 | 354 | ····.locals·4 |
| |
371 | ····.line·468 | 355 | ····.line·295 |
372 | ····sget-object·v0,·Ljava/util/Locale;->US:Ljava/util/Locale; | 356 | ····sget-object·v0,·Ljava/util/Locale;->US:Ljava/util/Locale; |
| |
373 | ····const/4·v1,·0x5 | 357 | ····const/4·v1,·0x4 |
| |
374 | ····new-array·v1,·v1,·[Ljava/lang/Object; | 358 | ····new-array·v1,·v1,·[Ljava/lang/Object; |
| |
375 | ····iget-object·v2,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->modelType:Ljava/lang/String; | 359 | ····.line·298 |
| |
376 | ····const/4·v3,·0x0 | |
| |
377 | ····aput-object·v2,·v1,·v3 | |
| |
378 | ····.line·472 | |
379 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getPath()Ljava/lang/String; | 360 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getPath()Ljava/lang/String; |
| |
380 | ····move-result-object·v2 | 361 | ····move-result-object·v2 |
| |
381 | ····const/4·v3,·0x1 | 362 | ····const/4·v3,·0x0 |
| |
382 | ····aput-object·v2,·v1,·v3 | 363 | ····aput-object·v2,·v1,·v3 |
| |
383 | ····.line·473 | 364 | ····.line·299 |
384 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getName()Ljava/lang/String; | 365 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/ModelFileManager$ModelFile;->getName()Ljava/lang/String; |
| |
385 | ····move-result-object·v2 | 366 | ····move-result-object·v2 |
| |
386 | ····const/4·v3,·0x2 | 367 | ····const/4·v3,·0x1 |
| |
387 | ····aput-object·v2,·v1,·v3 | 368 | ····aput-object·v2,·v1,·v3 |
| |
388 | ····iget·v2,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I | 369 | ····iget·v2,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I |
| |
389 | ····.line·474 | 370 | ····.line·300 |
390 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 371 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
391 | ····move-result-object·v2 | 372 | ····move-result-object·v2 |
| |
392 | ····const/4·v3,·0x3 | 373 | ····const/4·v3,·0x2 |
| |
393 | ····aput-object·v2,·v1,·v3 | 374 | ····aput-object·v2,·v1,·v3 |
| |
394 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; | 375 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; |
| |
395 | ····const/4·v2,·0x4 | 376 | ····const/4·v2,·0x3 |
| |
396 | ····aput-object·p0,·v1,·v2 | 377 | ····aput-object·p0,·v1,·v2 |
| |
397 | ····const-string·p0,·"ModelFile·{·type=%s·path=%s·name=%s·version=%d·locales=%s·}" | 378 | ····const-string·p0,·"ModelFile·{·path=%s·name=%s·version=%d·locales=%s·}" |
| |
398 | ····.line·468 | 379 | ····.line·295 |
399 | ····invoke-static·{v0,·p0,·v1},·Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 380 | ····invoke-static·{v0,·p0,·v1},·Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
400 | ····move-result-object·p0 | 381 | ····move-result-object·p0 |
| |
401 | ····return-object·p0 | 382 | ····return-object·p0 |
402 | .end·method | 383 | .end·method |