| | | |
Offset 3, 44 lines modified | Offset 3, 44 lines modified |
3 | .source·"TextClassifierEventLogger.java" | 3 | .source·"TextClassifierEventLogger.java" |
| |
| |
4 | #·direct·methods | 4 | #·direct·methods |
5 | .method·public·constructor·<init>()V | 5 | .method·public·constructor·<init>()V |
6 | ····.locals·0 | 6 | ····.locals·0 |
| |
7 | ····.line·35 | 7 | ····.line·37 |
8 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 8 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
9 | ····return-void | 9 | ····return-void |
10 | .end·method | 10 | .end·method |
| |
11 | .method·private·static·getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I | 11 | .method·private·static·getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I |
12 | ····.locals·2 | 12 | ····.locals·2 |
| |
13 | ····.line·87 | 13 | ····.line·93 |
14 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I | 14 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I |
| |
15 | ····move-result·v0 | 15 | ····move-result·v0 |
| |
16 | ····const/4·v1,·0x5 | 16 | ····const/4·v1,·0x5 |
| |
17 | ····if-ne·v0,·v1,·:cond_1 | 17 | ····if-ne·v0,·v1,·:cond_1 |
| |
18 | ····.line·88 | 18 | ····.line·94 |
19 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getResultId()Ljava/lang/String; | 19 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getResultId()Ljava/lang/String; |
| |
20 | ····move-result-object·v0 | 20 | ····move-result-object·v0 |
| |
21 | ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->isFromDefaultTextClassifier(Ljava/lang/String;)Z | 21 | ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->isFromDefaultTextClassifier(Ljava/lang/String;)Z |
| |
22 | ····move-result·v0 | 22 | ····move-result·v0 |
| |
23 | ····if-eqz·v0,·:cond_1 | 23 | ····if-eqz·v0,·:cond_1 |
| |
24 | ····.line·89 | 24 | ····.line·95 |
25 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I | 25 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I |
| |
26 | ····move-result·v0 | 26 | ····move-result·v0 |
| |
27 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I | 27 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I |
| |
28 | ····move-result·p0 | 28 | ····move-result·p0 |
Offset 57, 15 lines modified | Offset 57, 15 lines modified |
| |
57 | ····:cond_0 | 57 | ····:cond_0 |
58 | ····const/4·p0,·0x3 | 58 | ····const/4·p0,·0x3 |
| |
59 | ····:goto_0 | 59 | ····:goto_0 |
60 | ····return·p0 | 60 | ····return·p0 |
| |
61 | ····.line·94 | 61 | ····.line·100 |
62 | ····:cond_1 | 62 | ····:cond_1 |
63 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I | 63 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I |
| |
64 | ····move-result·p0 | 64 | ····move-result·p0 |
| |
65 | ····return·p0 | 65 | ····return·p0 |
66 | .end·method | 66 | .end·method |
Offset 75, 23 lines modified | Offset 75, 23 lines modified |
| |
75 | ····const/4·v0,·0x0 | 75 | ····const/4·v0,·0x0 |
| |
76 | ····if-nez·p0,·:cond_0 | 76 | ····if-nez·p0,·:cond_0 |
| |
77 | ····return·v0 | 77 | ····return·v0 |
| |
78 | ····.line·180 | 78 | ····.line·199 |
79 | ····:cond_0 | 79 | ····:cond_0 |
80 | ····array-length·v1,·p0 | 80 | ····array-length·v1,·p0 |
| |
81 | ····if-lt·p1,·v1,·:cond_1 | 81 | ····if-lt·p1,·v1,·:cond_1 |
| |
82 | ····return·v0 | 82 | ····return·v0 |
| |
83 | ····.line·183 | 83 | ····.line·202 |
84 | ····:cond_1 | 84 | ····:cond_1 |
85 | ····aget·p0,·p0,·p1 | 85 | ····aget·p0,·p0,·p1 |
| |
86 | ····return·p0 | 86 | ····return·p0 |
87 | .end·method | 87 | .end·method |
| |
88 | .method·private·static·getIntAt([II)I | 88 | .method·private·static·getIntAt([II)I |
Offset 99, 23 lines modified | Offset 99, 23 lines modified |
| |
99 | ····const/4·v0,·0x0 | 99 | ····const/4·v0,·0x0 |
| |
100 | ····if-nez·p0,·:cond_0 | 100 | ····if-nez·p0,·:cond_0 |
| |
101 | ····return·v0 | 101 | ····return·v0 |
| |
102 | ····.line·190 | 102 | ····.line·209 |
103 | ····:cond_0 | 103 | ····:cond_0 |
104 | ····array-length·v1,·p0 | 104 | ····array-length·v1,·p0 |
| |
105 | ····if-lt·p1,·v1,·:cond_1 | 105 | ····if-lt·p1,·v1,·:cond_1 |
| |
106 | ····return·v0 | 106 | ····return·v0 |
| |
107 | ····.line·193 | 107 | ····.line·212 |
108 | ····:cond_1 | 108 | ····:cond_1 |
109 | ····aget·p0,·p0,·p1 | 109 | ····aget·p0,·p0,·p1 |
| |
110 | ····return·p0 | 110 | ····return·p0 |
111 | .end·method | 111 | .end·method |
| |
112 | .method·private·static·getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | 112 | .method·private·static·getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
Offset 130, 25 lines modified | Offset 130, 25 lines modified |
130 | ········} | 130 | ········} |
131 | ····.end·annotation | 131 | ····.end·annotation |
| |
132 | ····if-nez·p0,·:cond_0 | 132 | ····if-nez·p0,·:cond_0 |
| |
133 | ····return-object·p2 | 133 | ····return-object·p2 |
| |
134 | ····.line·159 | 134 | ····.line·178 |
135 | ····:cond_0 | 135 | ····:cond_0 |
136 | ····invoke-interface·{p0},·Ljava/util/List;->size()I | 136 | ····invoke-interface·{p0},·Ljava/util/List;->size()I |
| |
137 | ····move-result·v0 | 137 | ····move-result·v0 |
| |
138 | ····if-lt·p1,·v0,·:cond_1 | 138 | ····if-lt·p1,·v0,·:cond_1 |
| |
139 | ····return-object·p2 | 139 | ····return-object·p2 |
| |
140 | ····.line·162 | 140 | ····.line·181 |
141 | ····:cond_1 | 141 | ····:cond_1 |
142 | ····invoke-interface·{p0,·p1},·Ljava/util/List;->get(I)Ljava/lang/Object; | 142 | ····invoke-interface·{p0,·p1},·Ljava/util/List;->get(I)Ljava/lang/Object; |
| |
143 | ····move-result-object·p0 | 143 | ····move-result-object·p0 |
| |
144 | ····return-object·p0 | 144 | ····return-object·p0 |
145 | .end·method | 145 | .end·method |
Offset 165, 23 lines modified | Offset 165, 23 lines modified |
| |
165 | ····const/4·v0,·0x0 | 165 | ····const/4·v0,·0x0 |
| |
166 | ····if-nez·p0,·:cond_0 | 166 | ····if-nez·p0,·:cond_0 |
| |
167 | ····return-object·v0 | 167 | ····return-object·v0 |
| |
168 | ····.line·170 | 168 | ····.line·189 |
169 | ····:cond_0 | 169 | ····:cond_0 |
170 | ····array-length·v1,·p0 | 170 | ····array-length·v1,·p0 |
| |
171 | ····if-lt·p1,·v1,·:cond_1 | 171 | ····if-lt·p1,·v1,·:cond_1 |
| |
172 | ····return-object·v0 | 172 | ····return-object·v0 |
| |
173 | ····.line·173 | 173 | ····.line·192 |
174 | ····:cond_1 | 174 | ····:cond_1 |
175 | ····aget-object·p0,·p0,·p1 | 175 | ····aget-object·p0,·p0,·p1 |
| |
176 | ····return-object·p0 | 176 | ····return-object·p0 |
177 | .end·method | 177 | .end·method |
| |
178 | .method·private·static·getModelNames(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Lcom/google/common/collect/ImmutableList; | 178 | .method·private·static·getModelNames(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Lcom/google/common/collect/ImmutableList; |
Offset 193, 33 lines modified | Offset 193, 33 lines modified |
193 | ············")", | 193 | ············")", |
194 | ············"Lcom/google/common/collect/ImmutableList<", | 194 | ············"Lcom/google/common/collect/ImmutableList<", |
195 | ············"Ljava/lang/String;", | 195 | ············"Ljava/lang/String;", |
196 | ············">;" | 196 | ············">;" |
197 | ········} | 197 | ········} |
198 | ····.end·annotation | 198 | ····.end·annotation |
| |
199 | ····.line·197 | 199 | ····.line·216 |
200 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getModelName()Ljava/lang/String; | 200 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getModelName()Ljava/lang/String; |
| |
201 | ····move-result-object·v0 | 201 | ····move-result-object·v0 |
| |
202 | ····if-eqz·v0,·:cond_0 | 202 | ····if-eqz·v0,·:cond_0 |
| |
203 | ····.line·198 | 203 | ····.line·217 |
204 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getModelName()Ljava/lang/String; | 204 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getModelName()Ljava/lang/String; |
| |
205 | ····move-result-object·p0 | 205 | ····move-result-object·p0 |
| |
206 | ····invoke-static·{p0},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 206 | ····invoke-static·{p0},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
| |
207 | ····move-result-object·p0 | 207 | ····move-result-object·p0 |
| |
208 | ····return-object·p0 | 208 | ····return-object·p0 |
| |
209 | ····.line·200 | 209 | ····.line·219 |
210 | ····:cond_0 | 210 | ····:cond_0 |
211 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getResultId()Ljava/lang/String; | 211 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getResultId()Ljava/lang/String; |
| |
212 | ····move-result-object·p0 | 212 | ····move-result-object·p0 |
| |
213 | ····invoke-static·{p0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->getModelNames(Ljava/lang/String;)Lcom/google/common/collect/ImmutableList; | 213 | ····invoke-static·{p0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->getModelNames(Ljava/lang/String;)Lcom/google/common/collect/ImmutableList; |
| |
Offset 227, 49 lines modified | Offset 227, 49 lines modified |
| |
227 | ····return-object·p0 | 227 | ····return-object·p0 |
228 | .end·method | 228 | .end·method |
| |
229 | .method·private·static·getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; | 229 | .method·private·static·getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; |
230 | ····.locals·0 | 230 | ····.locals·0 |
| |
231 | ····.line·205 | 231 | ····.line·224 |
232 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventContext()Lcom/android/textclassifier/common/logging/TextClassificationContext; | 232 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventContext()Lcom/android/textclassifier/common/logging/TextClassificationContext; |
| |
233 | ····move-result-object·p0 | 233 | ····move-result-object·p0 |
| |
234 | ····if-nez·p0,·:cond_0 | 234 | ····if-nez·p0,·:cond_0 |
| |
235 | ····const/4·p0,·0x0 | 235 | ····const/4·p0,·0x0 |
| |
236 | ····return-object·p0 | 236 | ····return-object·p0 |
| |
237 | ····.line·209 | 237 | ····.line·228 |
238 | ····:cond_0 | 238 | ····:cond_0 |
239 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationContext;->getPackageName()Ljava/lang/String; | 239 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationContext;->getPackageName()Ljava/lang/String; |
| |
240 | ····move-result-object·p0 | 240 | ····move-result-object·p0 |
| |
241 | ····return-object·p0 | 241 | ····return-object·p0 |
242 | .end·method | 242 | .end·method |
| |
243 | .method·private·static·getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I | 243 | .method·private·static·getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I |
244 | ····.locals·12 | 244 | ····.locals·12 |
| |
245 | ····.line·213 | 245 | ····.line·232 |
246 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventContext()Lcom/android/textclassifier/common/logging/TextClassificationContext; | 246 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventContext()Lcom/android/textclassifier/common/logging/TextClassificationContext; |
| |
247 | ····move-result-object·p0 | 247 | ····move-result-object·p0 |
| |
248 | ····const/4·v0,·0x0 | 248 | ····const/4·v0,·0x0 |
| |
249 | ····if-nez·p0,·:cond_0 | 249 | ····if-nez·p0,·:cond_0 |
| |
250 | ····return·v0 | 250 | ····return·v0 |
| |
251 | ····.line·217 | 251 | ····.line·236 |
252 | ····:cond_0 | 252 | ····:cond_0 |
253 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationContext;->getWidgetType()Ljava/lang/String; | 253 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationContext;->getWidgetType()Ljava/lang/String; |
| |
254 | ····move-result-object·p0 | 254 | ····move-result-object·p0 |
| |
255 | ····const/4·v1,·-0x1 | 255 | ····const/4·v1,·-0x1 |
| |
Offset 485, 476 lines modified | Offset 485, 683 lines modified |
485 | ········:pswitch_2 | 485 | ········:pswitch_2 |
486 | ········:pswitch_1 | 486 | ········:pswitch_1 |
487 | ········:pswitch_0 | 487 | ········:pswitch_0 |
488 | ····.end·packed-switch | 488 | ····.end·packed-switch |
489 | .end·method | 489 | .end·method |
| |
490 | .method·private·static·logConversationActionsEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent;)V | 490 | .method·private·static·logConversationActionsEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent;)V |
491 | ····.locals·14 | 491 | ····.locals·6 |
| |
492 | ····.line·119 | 492 | ····.line·129 |
493 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getResultId()Ljava/lang/String; | 493 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getResultId()Ljava/lang/String; |
| |
494 | ····move-result-object·v0 | 494 | ····move-result-object·v0 |
| |
495 | ····invoke-static·{v0},·Lcom/google/common/base/Strings;->nullToEmpty(Ljava/lang/String;)Ljava/lang/String; | 495 | ····invoke-static·{v0},·Lcom/google/common/base/Strings;->nullToEmpty(Ljava/lang/String;)Ljava/lang/String; |
| |
496 | ····move-result-object·v0 | 496 | ····move-result-object·v0 |
| |
497 | ····.line·120 | 497 | ····.line·130 |
498 | ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->getModelNames(Ljava/lang/String;)Lcom/google/common/collect/ImmutableList; | 498 | ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->getModelNames(Ljava/lang/String;)Lcom/google/common/collect/ImmutableList; |
| |
499 | ····move-result-object·v1 | 499 | ····move-result-object·v1 |
| |
| 500 | ····.line·132 |
| 501 | ····invoke-static·{},·Landroid/util/StatsEvent;->newBuilder()Landroid/util/StatsEvent$Builder; |
| |
| 502 | ····move-result-object·v2 |
| |
| 503 | ····const/16·v3,·0xdd |
| |
| 504 | ····.line·133 |
| 505 | ····invoke-virtual·{v2,·v3},·Landroid/util/StatsEvent$Builder;->setAtomId(I)Landroid/util/StatsEvent$Builder; |
| |
| 506 | ····move-result-object·v2 |
| |
500 | ····if-nez·p0,·:cond_0 | 507 | ····if-nez·p0,·:cond_0 |
| |
501 | ····const/16·p0,·0x40 | 508 | ····const/16·p0,·0x40 |
| |
502 | ····.line·125 | 509 | ····.line·137 |
503 | ····invoke-static·{p0},·Lcom/google/common/hash/Hashing;->goodFastHash(I)Lcom/google/common/hash/HashFunction; | 510 | ····invoke-static·{p0},·Lcom/google/common/hash/Hashing;->goodFastHash(I)Lcom/google/common/hash/HashFunction; |
| |
504 | ····move-result-object·p0 | 511 | ····move-result-object·p0 |
| |
505 | ····sget-object·v2,·Lcom/google/common/base/Charsets;->UTF_8:Ljava/nio/charset/Charset; | 512 | ····sget-object·v3,·Lcom/google/common/base/Charsets;->UTF_8:Ljava/nio/charset/Charset; |
| |
506 | ····invoke-interface·{p0,·v0,·v2},·Lcom/google/common/hash/HashFunction;->hashString(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lcom/google/common/hash/HashCode; | 513 | ····invoke-interface·{p0,·v0,·v3},·Lcom/google/common/hash/HashFunction;->hashString(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lcom/google/common/hash/HashCode; |
| |
507 | ····move-result-object·p0 | 514 | ····move-result-object·p0 |
| |
508 | ····invoke-virtual·{p0},·Lcom/google/common/hash/HashCode;->toString()Ljava/lang/String; | 515 | ····invoke-virtual·{p0},·Lcom/google/common/hash/HashCode;->toString()Ljava/lang/String; |
| |
509 | ····move-result-object·p0 | 516 | ····move-result-object·p0 |
| |
510 | ····goto·:goto_0 | 517 | ····goto·:goto_0 |
| |
511 | ····.line·126 | 518 | ····.line·138 |
512 | ····:cond_0 | 519 | ····:cond_0 |
513 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationSessionId;->getValue()Ljava/lang/String; | 520 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationSessionId;->getValue()Ljava/lang/String; |
| |
514 | ····move-result-object·p0 | 521 | ····move-result-object·p0 |
| |
| 522 | ····.line·135 |
515 | ····:goto_0 | 523 | ····:goto_0 |
516 | ····move-object·v3,·p0 | 524 | ····invoke-virtual·{v2,·p0},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 525 | ····move-result-object·p0 |
| |
517 | ····.line·127 | 526 | ····.line·139 |
518 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I | 527 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I |
| |
519 | ····move-result·v4 | 528 | ····move-result·v0 |
| |
520 | ····const/4·p0,·0x0 | 529 | ····invoke-virtual·{p0,·v0},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 530 | ····move-result-object·p0 |
| |
521 | ····const/4·v0,·0x0 | 531 | ····const/4·v0,·0x0 |
| |
| 532 | ····const/4·v2,·0x0 |
522 | ····.line·128 | |
523 | ····invoke-static·{v1,·p0,·v0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | |
| |
| 533 | ····.line·140 |
| 534 | ····invoke-static·{v1,·v0,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
| |
524 | ····move-result-object·v2 | 535 | ····move-result-object·v3 |
| |
525 | ····move-object·v5,·v2 | 536 | ····check-cast·v3,·Ljava/lang/String; |
| |
526 | ····check-cast·v5,·Ljava/lang/String; | 537 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 538 | ····move-result-object·p0 |
| |
527 | ····.line·129 | 539 | ····.line·141 |
528 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I | 540 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I |
| |
529 | ····move-result·v6 | 541 | ····move-result·v3 |
| |
| 542 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 543 | ····move-result-object·p0 |
| |
530 | ····.line·130 | 544 | ····.line·142 |
531 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; | 545 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; |
| |
532 | ····move-result-object·v2 | 546 | ····move-result-object·v3 |
| |
533 | ····invoke-static·{v2,·p0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; | 547 | ····invoke-static·{v3,·v0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; |
| |
534 | ····move-result-object·v2 | 548 | ····move-result-object·v3 |
| |
535 | ····move-object·v7,·v2 | 549 | ····check-cast·v3,·Ljava/lang/String; |
| |
536 | ····check-cast·v7,·Ljava/lang/String; | 550 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 551 | ····move-result-object·p0 |
| |
537 | ····.line·131 | 552 | ····.line·143 |
538 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; | 553 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; |
| |
539 | ····move-result-object·v2 | 554 | ····move-result-object·v3 |
| |
540 | ····const/4·v8,·0x1 | 555 | ····const/4·v4,·0x1 |
| |
541 | ····invoke-static·{v2,·v8},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; | 556 | ····invoke-static·{v3,·v4},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; |
| |
542 | ····move-result-object·v2 | 557 | ····move-result-object·v3 |
| |
543 | ····move-object·v9,·v2 | 558 | ····check-cast·v3,·Ljava/lang/String; |
| |
544 | ····check-cast·v9,·Ljava/lang/String; | 559 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 560 | ····move-result-object·p0 |
| |
545 | ····.line·132 | 561 | ····.line·144 |
546 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; | 562 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; |
| |
547 | ····move-result-object·v2 | 563 | ····move-result-object·v3 |
| |
548 | ····const/4·v10,·0x2 | 564 | ····const/4·v5,·0x2 |
| |
549 | ····invoke-static·{v2,·v10},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; | 565 | ····invoke-static·{v3,·v5},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; |
| |
550 | ····move-result-object·v2 | 566 | ····move-result-object·v3 |
| |
551 | ····move-object·v11,·v2 | 567 | ····check-cast·v3,·Ljava/lang/String; |
| |
552 | ····check-cast·v11,·Ljava/lang/String; | 568 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 569 | ····move-result-object·p0 |
| |
553 | ····.line·133 | 570 | ····.line·145 |
554 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getScores()[F | 571 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getScores()[F |
| |
555 | ····move-result-object·v2 | 572 | ····move-result-object·v3 |
| |
556 | ····invoke-static·{v2,·p0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getFloatAt([FI)F | 573 | ····invoke-static·{v3,·v0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getFloatAt([FI)F |
| |
557 | ····move-result·p0 | 574 | ····move-result·v0 |
| |
| 575 | ····invoke-virtual·{p0,·v0},·Landroid/util/StatsEvent$Builder;->writeFloat(F)Landroid/util/StatsEvent$Builder; |
| |
| 576 | ····move-result-object·p0 |
| |
558 | ····.line·134 | 577 | ····.line·146 |
559 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; | 578 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; |
| |
560 | ····move-result-object·p1 | 579 | ····move-result-object·p1 |
| |
| 580 | ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
561 | ····.line·135 | |
562 | ····invoke-static·{v1,·v8,·v0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | |
| |
563 | ····move-result-object·v2 | 581 | ····move-result-object·p0 |
| |
564 | ····move-object·v12,·v2 | 582 | ····.line·147 |
| 583 | ····invoke-static·{v1,·v4,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
| |
565 | ····check-cast·v12,·Ljava/lang/String; | 584 | ····move-result-object·p1 |
| |
| 585 | ····check-cast·p1,·Ljava/lang/String; |
566 | ····.line·136 | |
567 | ····invoke-static·{v1,·v10,·v0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | |
| |
568 | ····move-result-object·v0 | 586 | ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
569 | ····move-object·v13,·v0 | 587 | ····move-result-object·p0 |
| |
570 | ····check-cast·v13,·Ljava/lang/String; | 588 | ····.line·148 |
| 589 | ····invoke-static·{v1,·v5,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
| |
571 | ····const/16·v2,·0xdd | 590 | ····move-result-object·p1 |
| |
572 | ····move-object·v8,·v9 | 591 | ····check-cast·p1,·Ljava/lang/String; |
| |
573 | ····move-object·v9,·v11 | 592 | ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
574 | ····move·v10,·p0 | 593 | ····move-result-object·p0 |
| |
575 | ····move-object·v11,·p1 | 594 | ····.line·149 |
| 595 | ····invoke-virtual·{p0},·Landroid/util/StatsEvent$Builder;->usePooledBuffer()Landroid/util/StatsEvent$Builder; |
| |
| 596 | ····move-result-object·p0 |
| |
| 597 | ····.line·150 |
| 598 | ····invoke-virtual·{p0},·Landroid/util/StatsEvent$Builder;->build()Landroid/util/StatsEvent; |
| |
| 599 | ····move-result-object·p0 |
| |
576 | ····.line·121 | 600 | ····.line·151 |
577 | ····invoke-static/range·{v2·..·v13},·Lcom/android/textclassifier/common/statsd/TextClassifierStatsLog;->write(ILjava/lang/String;ILjava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;FLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V | 601 | ····invoke-static·{p0},·Landroid/util/StatsLog;->write(Landroid/util/StatsEvent;)V |
| |
578 | ····return-void | 602 | ····return-void |
579 | .end·method | 603 | .end·method |
| |
580 | .method·private·static·logLanguageDetectionEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$LanguageDetectionEvent;)V | 604 | .method·private·static·logLanguageDetectionEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$LanguageDetectionEvent;)V |
581 | ····.locals·10 | 605 | ····.locals·3 |
| |
| 606 | ····.line·158 |
| 607 | ····invoke-static·{},·Landroid/util/StatsEvent;->newBuilder()Landroid/util/StatsEvent$Builder; |
| |
| 608 | ····move-result-object·v0 |
| |
| 609 | ····const/16·v1,·0xde |
| |
| 610 | ····.line·159 |
| 611 | ····invoke-virtual·{v0,·v1},·Landroid/util/StatsEvent$Builder;->setAtomId(I)Landroid/util/StatsEvent$Builder; |
| |
| 612 | ····move-result-object·v0 |
| |
582 | ····const/4·v0,·0x0 | 613 | ····const/4·v1,·0x0 |
| |
583 | ····if-nez·p0,·:cond_0 | 614 | ····if-nez·p0,·:cond_0 |
| |
584 | ····move-object·v2,·v0 | 615 | ····move-object·p0,·v1 |
| |
585 | ····goto·:goto_0 | 616 | ····goto·:goto_0 |
| |
586 | ····.line·144 | 617 | ····.line·160 |
587 | ····:cond_0 | 618 | ····:cond_0 |
588 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationSessionId;->getValue()Ljava/lang/String; | 619 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationSessionId;->getValue()Ljava/lang/String; |
| |
589 | ····move-result-object·p0 | 620 | ····move-result-object·p0 |
| |
590 | ····move-object·v2,·p0 | |
| |
591 | ····.line·145 | |
592 | ····:goto_0 | 621 | ····:goto_0 |
| 622 | ····invoke-virtual·{v0,·p0},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 623 | ····move-result-object·p0 |
| |
| 624 | ····.line·161 |
593 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I | 625 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I |
| |
594 | ····move-result·v3 | 626 | ····move-result·v0 |
| |
| 627 | ····invoke-virtual·{p0,·v0},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
595 | ····.line·146 | |
596 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getModelNames(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Lcom/google/common/collect/ImmutableList; | |
| |
597 | ····move-result-object·p0 | 628 | ····move-result-object·p0 |
| |
598 | ····const/4·v1,·0x0 | 629 | ····.line·162 |
| 630 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getModelNames(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Lcom/google/common/collect/ImmutableList; |
| |
| 631 | ····move-result-object·v0 |
| |
599 | ····invoke-static·{p0,·v1,·v0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | 632 | ····const/4·v2,·0x0 |
| |
600 | ····move-result-object·p0 | 633 | ····invoke-static·{v0,·v2,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
| |
601 | ····move-object·v4,·p0 | 634 | ····move-result-object·v0 |
| |
602 | ····check-cast·v4,·Ljava/lang/String; | 635 | ····check-cast·v0,·Ljava/lang/String; |
| |
| 636 | ····invoke-virtual·{p0,·v0},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 637 | ····move-result-object·p0 |
| |
603 | ····.line·147 | 638 | ····.line·163 |
604 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I | 639 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I |
| |
605 | ····move-result·v5 | 640 | ····move-result·v0 |
| |
| 641 | ····invoke-virtual·{p0,·v0},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
606 | ····.line·148 | |
607 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; | |
| |
608 | ····move-result-object·p0 | 642 | ····move-result-object·p0 |
| |
609 | ····invoke-static·{p0,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; | 643 | ····.line·164 |
| 644 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; |
| |
610 | ····move-result-object·p0 | 645 | ····move-result-object·v0 |
| |
611 | ····move-object·v6,·p0 | 646 | ····invoke-static·{v0,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; |
| |
612 | ····check-cast·v6,·Ljava/lang/String; | 647 | ····move-result-object·v0 |
| |
613 | ····.line·149 | |
614 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getScores()[F | 648 | ····check-cast·v0,·Ljava/lang/String; |
| |
| 649 | ····invoke-virtual·{p0,·v0},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
615 | ····move-result-object·p0 | 650 | ····move-result-object·p0 |
| |
| 651 | ····.line·165 |
616 | ····invoke-static·{p0,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getFloatAt([FI)F | 652 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getScores()[F |
| |
617 | ····move-result·v7 | 653 | ····move-result-object·v0 |
| |
618 | ····.line·150 | |
619 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getActionIndices()[I | 654 | ····invoke-static·{v0,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getFloatAt([FI)F |
| |
| 655 | ····move-result·v0 |
| |
| 656 | ····invoke-virtual·{p0,·v0},·Landroid/util/StatsEvent$Builder;->writeFloat(F)Landroid/util/StatsEvent$Builder; |
| |
620 | ····move-result-object·p0 | 657 | ····move-result-object·p0 |
| |
| 658 | ····.line·166 |
621 | ····invoke-static·{p0,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getIntAt([II)I | 659 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getActionIndices()[I |
| |
622 | ····move-result·v8 | 660 | ····move-result-object·v0 |
| |
| 661 | ····invoke-static·{v0,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getIntAt([II)I |
| |
| 662 | ····move-result·v0 |
| |
| 663 | ····invoke-virtual·{p0,·v0},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 664 | ····move-result-object·p0 |
| |
623 | ····.line·151 | 665 | ····.line·167 |
624 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; | 666 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; |
| |
625 | ····move-result-object·v9 | 667 | ····move-result-object·p1 |
| |
626 | ····const/16·v1,·0xde | 668 | ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 669 | ····move-result-object·p0 |
| |
627 | ····.line·142 | 670 | ····.line·168 |
628 | ····invoke-static/range·{v1·..·v9},·Lcom/android/textclassifier/common/statsd/TextClassifierStatsLog;->write(ILjava/lang/String;ILjava/lang/String;ILjava/lang/String;FILjava/lang/String;)V | 671 | ····invoke-virtual·{p0},·Landroid/util/StatsEvent$Builder;->usePooledBuffer()Landroid/util/StatsEvent$Builder; |
| |
| 672 | ····move-result-object·p0 |
| |
| 673 | ····.line·169 |
| 674 | ····invoke-virtual·{p0},·Landroid/util/StatsEvent$Builder;->build()Landroid/util/StatsEvent; |
| |
| 675 | ····move-result-object·p0 |
| |
| 676 | ····.line·170 |
| 677 | ····invoke-static·{p0},·Landroid/util/StatsLog;->write(Landroid/util/StatsEvent;)V |
| |
629 | ····return-void | 678 | ····return-void |
630 | .end·method | 679 | .end·method |
| |
631 | .method·private·static·logTextLinkifyEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent;)V | 680 | .method·private·static·logTextLinkifyEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent;)V |
632 | ····.locals·17 | 681 | ····.locals·5 |
| |
633 | ····.line·99 | 682 | ····.line·105 |
634 | ····invoke-static/range·{p1·..·p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getModelNames(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Lcom/google/common/collect/ImmutableList; | 683 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getModelNames(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Lcom/google/common/collect/ImmutableList; |
| |
635 | ····move-result-object·v0 | 684 | ····move-result-object·v0 |
| |
| 685 | ····.line·107 |
| 686 | ····invoke-static·{},·Landroid/util/StatsEvent;->newBuilder()Landroid/util/StatsEvent$Builder; |
| |
| 687 | ····move-result-object·v1 |
| |
| 688 | ····const/16·v2,·0xdc |
| |
| 689 | ····.line·108 |
| 690 | ····invoke-virtual·{v1,·v2},·Landroid/util/StatsEvent$Builder;->setAtomId(I)Landroid/util/StatsEvent$Builder; |
| |
| 691 | ····move-result-object·v1 |
| |
636 | ····const/4·v1,·0x0 | 692 | ····const/4·v2,·0x0 |
| |
637 | ····if-nez·p0,·:cond_0 | 693 | ····if-nez·p0,·:cond_0 |
| |
638 | ····move-object·v4,·v1 | 694 | ····move-object·p0,·v2 |
| |
639 | ····goto·:goto_0 | 695 | ····goto·:goto_0 |
| |
640 | ····.line·102 | 696 | ····.line·109 |
641 | ····:cond_0 | 697 | ····:cond_0 |
642 | ····invoke-virtual/range·{p0·..·p0},·Lcom/android/textclassifier/common/logging/TextClassificationSessionId;->getValue()Ljava/lang/String; | 698 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationSessionId;->getValue()Ljava/lang/String; |
| |
643 | ····move-result-object·v2 | |
| |
644 | ····move-object·v4,·v2 | 699 | ····move-result-object·p0 |
| |
645 | ····.line·103 | |
646 | ····:goto_0 | 700 | ····:goto_0 |
647 | ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I | 701 | ····invoke-virtual·{v1,·p0},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
648 | ····move-result·v5 | 702 | ····move-result-object·p0 |
| |
649 | ····const/4·v2,·0x0 | 703 | ····.line·110 |
| 704 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I |
| |
| 705 | ····move-result·v1 |
| |
| 706 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 707 | ····move-result-object·p0 |
| |
| 708 | ····const/4·v1,·0x0 |
| |
650 | ····.line·104 | 709 | ····.line·111 |
651 | ····invoke-static·{v0,·v2,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | 710 | ····invoke-static·{v0,·v1,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
| |
652 | ····move-result-object·v3 | 711 | ····move-result-object·v3 |
| |
653 | ····move-object·v6,·v3 | 712 | ····check-cast·v3,·Ljava/lang/String; |
| |
654 | ····check-cast·v6,·Ljava/lang/String; | 713 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 714 | ····move-result-object·p0 |
| |
655 | ····.line·105 | 715 | ····.line·112 |
656 | ····invoke-static/range·{p1·..·p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I | 716 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I |
| |
657 | ····move-result·v7 | 717 | ····move-result·v3 |
| |
| 718 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
658 | ····.line·106 | |
659 | ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventIndex()I | |
| |
660 | ····move-result·v8 | 719 | ····move-result-object·p0 |
| |
661 | ····.line·107 | 720 | ····.line·113 |
| 721 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventIndex()I |
| |
| 722 | ····move-result·v3 |
| |
| 723 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 724 | ····move-result-object·p0 |
| |
| 725 | ····.line·114 |
662 | ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; | 726 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; |
| |
663 | ····move-result-object·v3 | 727 | ····move-result-object·v3 |
| |
664 | ····invoke-static·{v3,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; | 728 | ····invoke-static·{v3,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; |
| |
665 | ····move-result-object·v2 | 729 | ····move-result-object·v3 |
| |
666 | ····move-object·v9,·v2 | 730 | ····check-cast·v3,·Ljava/lang/String; |
| |
667 | ····check-cast·v9,·Ljava/lang/String; | 731 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
668 | ····const/4·v10,·0x0 | 732 | ····move-result-object·p0 |
| |
669 | ····const/4·v11,·0x0 | 733 | ····.line·115 |
| 734 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
670 | ····const/4·v12,·0x0 | 735 | ····move-result-object·p0 |
| |
671 | ····const-wide/16·v13,·0x0 | 736 | ····.line·116 |
| 737 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 738 | ····move-result-object·p0 |
672 | ····.line·112 | |
673 | ····invoke-static/range·{p1·..·p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; | |
| |
674 | ····move-result-object·v15 | 739 | ····.line·117 |
| 740 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
675 | ····const/4·v2,·0x1 | 741 | ····move-result-object·p0 |
| |
| 742 | ····const-wide/16·v3,·0x0 |
676 | ····.line·113 | |
677 | ····invoke-static·{v0,·v2,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | |
| |
678 | ····move-result-object·v0 | 743 | ····.line·118 |
| 744 | ····invoke-virtual·{p0,·v3,·v4},·Landroid/util/StatsEvent$Builder;->writeLong(J)Landroid/util/StatsEvent$Builder; |
| |
679 | ····move-object/from16·v16,·v0 | 745 | ····move-result-object·p0 |
| |
680 | ····check-cast·v16,·Ljava/lang/String; | 746 | ····.line·119 |
| 747 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; |
| |
681 | ····const/16·v3,·0xdc | 748 | ····move-result-object·p1 |
| |
| 749 | ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
682 | ····.line·100 | |
683 | ····invoke-static/range·{v3·..·v16},·Lcom/android/textclassifier/common/statsd/TextClassifierStatsLog;->write(ILjava/lang/String;ILjava/lang/String;IILjava/lang/String;IIIJLjava/lang/String;Ljava/lang/String;)V | |
| |
| 750 | ····move-result-object·p0 |
684 | ····return-void | |
685 | .end·method | |
| |
| 751 | ····const/4·p1,·0x1 |
686 | .method·private·static·logTextSelectionEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)V | |
687 | ····.locals·16 | |
| |
688 | ····.line·69 | 752 | ····.line·120 |
689 | ····invoke-static/range·{p1·..·p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getModelNames(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Lcom/google/common/collect/ImmutableList; | 753 | ····invoke-static·{v0,·p1,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
| |
690 | ····move-result-object·v0 | 754 | ····move-result-object·p1 |
| |
691 | ····const/4·v1,·0x0 | 755 | ····check-cast·p1,·Ljava/lang/String; |
| |
692 | ····if-nez·p0,·:cond_0 | 756 | ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
693 | ····move-object·v4,·v1 | 757 | ····move-result-object·p0 |
| |
694 | ····goto·:goto_0 | 758 | ····.line·121 |
| 759 | ····invoke-virtual·{p0},·Landroid/util/StatsEvent$Builder;->usePooledBuffer()Landroid/util/StatsEvent$Builder; |
| |
| 760 | ····move-result-object·p0 |
695 | ····.line·72 | |
696 | ····:cond_0 | |
697 | ····invoke-virtual/range·{p0·..·p0},·Lcom/android/textclassifier/common/logging/TextClassificationSessionId;->getValue()Ljava/lang/String; | |
| |
698 | ····move-result-object·v2 | 761 | ····.line·122 |
| 762 | ····invoke-virtual·{p0},·Landroid/util/StatsEvent$Builder;->build()Landroid/util/StatsEvent; |
| |
699 | ····move-object·v4,·v2 | 763 | ····move-result-object·p0 |
| |
| 764 | ····.line·123 |
| 765 | ····invoke-static·{p0},·Landroid/util/StatsLog;->write(Landroid/util/StatsEvent;)V |
| |
| 766 | ····return-void |
| 767 | .end·method |
| |
| 768 | .method·private·static·logTextSelectionEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)V |
| 769 | ····.locals·4 |
| |
| 770 | ····.line·71 |
| 771 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getModelNames(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Lcom/google/common/collect/ImmutableList; |
| |
| 772 | ····move-result-object·v0 |
| |
700 | ····.line·73 | 773 | ····.line·73 |
| 774 | ····invoke-static·{},·Landroid/util/StatsEvent;->newBuilder()Landroid/util/StatsEvent$Builder; |
701 | ····:goto_0 | |
702 | ····invoke-static/range·{p1·..·p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I | |
| |
703 | ····move-result·v5 | 775 | ····move-result-object·v1 |
| |
704 | ····const/4·v2,·0x0 | 776 | ····const/16·v2,·0xdb |
| |
705 | ····.line·74 | 777 | ····.line·74 |
706 | ····invoke-static·{v0,·v2,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | 778 | ····invoke-virtual·{v1,·v2},·Landroid/util/StatsEvent$Builder;->setAtomId(I)Landroid/util/StatsEvent$Builder; |
| |
707 | ····move-result-object·v3 | 779 | ····move-result-object·v1 |
| |
708 | ····move-object·v6,·v3 | 780 | ····const/4·v2,·0x0 |
| |
| 781 | ····if-nez·p0,·:cond_0 |
| |
709 | ····check-cast·v6,·Ljava/lang/String; | 782 | ····move-object·p0,·v2 |
| |
| 783 | ····goto·:goto_0 |
| |
710 | ····.line·75 | 784 | ····.line·75 |
711 | ····invoke-static/range·{p1·..·p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I | 785 | ····:cond_0 |
| 786 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationSessionId;->getValue()Ljava/lang/String; |
| |
| 787 | ····move-result-object·p0 |
| |
712 | ····move-result·v7 | 788 | ····:goto_0 |
| 789 | ····invoke-virtual·{v1,·p0},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 790 | ····move-result-object·p0 |
| |
713 | ····.line·76 | 791 | ····.line·76 |
714 | ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventIndex()I | 792 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I |
| |
| 793 | ····move-result·v1 |
| |
| 794 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 795 | ····move-result-object·p0 |
| |
715 | ····move-result·v8 | 796 | ····const/4·v1,·0x0 |
| |
716 | ····.line·77 | 797 | ····.line·77 |
717 | ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; | 798 | ····invoke-static·{v0,·v1,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
| |
718 | ····move-result-object·v3 | 799 | ····move-result-object·v3 |
| |
| 800 | ····check-cast·v3,·Ljava/lang/String; |
719 | ····invoke-static·{v3,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; | |
| |
720 | ····move-result-object·v2 | |
| |
721 | ····move-object·v9,·v2 | 801 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
722 | ····check-cast·v9,·Ljava/lang/String; | 802 | ····move-result-object·p0 |
| |
723 | ····.line·78 | 803 | ····.line·78 |
724 | ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I | 804 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I |
| |
725 | ····move-result·v10 | 805 | ····move-result·v3 |
| |
| 806 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 807 | ····move-result-object·p0 |
| |
726 | ····.line·79 | 808 | ····.line·79 |
727 | ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I | 809 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventIndex()I |
| |
| 810 | ····move-result·v3 |
| |
728 | ····move-result·v11 | 811 | ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 812 | ····move-result-object·p0 |
| |
729 | ····.line·80 | 813 | ····.line·80 |
730 | ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeSuggestedWordStartIndex()I | 814 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEntityTypes()[Ljava/lang/String; |
| |
| 815 | ····move-result-object·v3 |
| |
| 816 | ····invoke-static·{v3,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt([Ljava/lang/Object;I)Ljava/lang/Object; |
| |
731 | ····move-result·v12 | 817 | ····move-result-object·v1 |
| |
| 818 | ····check-cast·v1,·Ljava/lang/String; |
| |
| 819 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 820 | ····move-result-object·p0 |
| |
732 | ····.line·81 | 821 | ····.line·81 |
733 | ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeSuggestedWordEndIndex()I | 822 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I |
| |
734 | ····move-result·v13 | 823 | ····move-result·v1 |
| |
| 824 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 825 | ····move-result-object·p0 |
| |
735 | ····.line·82 | 826 | ····.line·82 |
736 | ····invoke-static/range·{p1·..·p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; | 827 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I |
| |
737 | ····move-result-object·v14 | 828 | ····move-result·v1 |
| |
738 | ····const/4·v2,·0x1 | 829 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 830 | ····move-result-object·p0 |
| |
739 | ····.line·83 | 831 | ····.line·83 |
740 | ····invoke-static·{v0,·v2,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | 832 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeSuggestedWordStartIndex()I |
| |
741 | ····move-result-object·v0 | 833 | ····move-result·v1 |
| |
| 834 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
742 | ····move-object·v15,·v0 | 835 | ····move-result-object·p0 |
| |
743 | ····check-cast·v15,·Ljava/lang/String; | 836 | ····.line·84 |
| 837 | ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeSuggestedWordEndIndex()I |
| |
744 | ····const/16·v3,·0xdb | 838 | ····move-result·v1 |
| |
| 839 | ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder; |
| |
| 840 | ····move-result-object·p0 |
| |
| 841 | ····.line·85 |
| 842 | ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getPackageName(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)Ljava/lang/String; |
| |
| 843 | ····move-result-object·p1 |
| |
| 844 | ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 845 | ····move-result-object·p0 |
| |
| 846 | ····const/4·p1,·0x1 |
| |
| 847 | ····.line·86 |
| 848 | ····invoke-static·{v0,·p1,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
| |
| 849 | ····move-result-object·p1 |
| |
| 850 | ····check-cast·p1,·Ljava/lang/String; |
| |
| 851 | ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder; |
| |
| 852 | ····move-result-object·p0 |
| |
745 | ····.line·70 | 853 | ····.line·87 |
746 | ····invoke-static/range·{v3·..·v15},·Lcom/android/textclassifier/common/statsd/TextClassifierStatsLog;->write(ILjava/lang/String;ILjava/lang/String;IILjava/lang/String;IIIILjava/lang/String;Ljava/lang/String;)V | 854 | ····invoke-virtual·{p0},·Landroid/util/StatsEvent$Builder;->usePooledBuffer()Landroid/util/StatsEvent$Builder; |
| |
| 855 | ····move-result-object·p0 |
| |
| 856 | ····.line·88 |
| 857 | ····invoke-virtual·{p0},·Landroid/util/StatsEvent$Builder;->build()Landroid/util/StatsEvent; |
| |
| 858 | ····move-result-object·p0 |
| |
| 859 | ····.line·89 |
| 860 | ····invoke-static·{p0},·Landroid/util/StatsLog;->write(Landroid/util/StatsEvent;)V |
| |
747 | ····return-void | 861 | ····return-void |
748 | .end·method | 862 | .end·method |
| |
| |
749 | #·virtual·methods | 863 | #·virtual·methods |
750 | .method·public·writeEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent;)V | 864 | .method·public·writeEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent;)V |
751 | ····.locals·2 | 865 | ····.locals·2 |
| |
752 | ····.line·46 | 866 | ····.line·48 |
753 | ····invoke-static·{p2},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 867 | ····invoke-static·{p2},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
| |
754 | ····.line·47 | 868 | ····.line·49 |
755 | ····sget-boolean·p0,·Lcom/android/textclassifier/common/base/TcLog;->ENABLE_FULL_LOGGING:Z | 869 | ····sget-boolean·p0,·Lcom/android/textclassifier/common/base/TcLog;->ENABLE_FULL_LOGGING:Z |
| |
756 | ····const-string·v0,·"TCEventLogger" | 870 | ····const-string·v0,·"TCEventLogger" |
| |
757 | ····if-eqz·p0,·:cond_0 | 871 | ····if-eqz·p0,·:cond_0 |
| |
758 | ····const/4·p0,·0x2 | 872 | ····const/4·p0,·0x2 |
Offset 967, 75 lines modified | Offset 1174, 75 lines modified |
| |
967 | ····const/4·v1,·0x1 | 1174 | ····const/4·v1,·0x1 |
| |
968 | ····aput-object·p2,·p0,·v1 | 1175 | ····aput-object·p2,·p0,·v1 |
| |
969 | ····const-string·v1,·"TextClassifierEventLogger.writeEvent:·sessionId=%s,event=%s" | 1176 | ····const-string·v1,·"TextClassifierEventLogger.writeEvent:·sessionId=%s,event=%s" |
| |
970 | ····.line·50 | 1177 | ····.line·52 |
971 | ····invoke-static·{v1,·p0},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 1178 | ····invoke-static·{v1,·p0},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
972 | ····move-result-object·p0 | 1179 | ····move-result-object·p0 |
| |
973 | ····.line·48 | 1180 | ····.line·50 |
974 | ····invoke-static·{v0,·p0},·Lcom/android/textclassifier/common/base/TcLog;->v(Ljava/lang/String;Ljava/lang/String;)V | 1181 | ····invoke-static·{v0,·p0},·Lcom/android/textclassifier/common/base/TcLog;->v(Ljava/lang/String;Ljava/lang/String;)V |
| |
975 | ····.line·53 | 1182 | ····.line·55 |
976 | ····:cond_0 | 1183 | ····:cond_0 |
977 | ····instance-of·p0,·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent; | 1184 | ····instance-of·p0,·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent; |
| |
978 | ····if-eqz·p0,·:cond_1 | 1185 | ····if-eqz·p0,·:cond_1 |
| |
979 | ····.line·54 | 1186 | ····.line·56 |
980 | ····check-cast·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent; | 1187 | ····check-cast·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent; |
| |
981 | ····invoke-static·{p1,·p2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->logTextSelectionEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)V | 1188 | ····invoke-static·{p1,·p2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->logTextSelectionEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)V |
| |
982 | ····goto·:goto_0 | 1189 | ····goto·:goto_0 |
| |
983 | ····.line·55 | 1190 | ····.line·57 |
984 | ····:cond_1 | 1191 | ····:cond_1 |
985 | ····instance-of·p0,·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent; | 1192 | ····instance-of·p0,·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent; |
| |
986 | ····if-eqz·p0,·:cond_2 | 1193 | ····if-eqz·p0,·:cond_2 |
| |
987 | ····.line·56 | 1194 | ····.line·58 |
988 | ····check-cast·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent; | 1195 | ····check-cast·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent; |
| |
989 | ····invoke-static·{p1,·p2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->logTextLinkifyEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent;)V | 1196 | ····invoke-static·{p1,·p2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->logTextLinkifyEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent;)V |
| |
990 | ····goto·:goto_0 | 1197 | ····goto·:goto_0 |
| |
991 | ····.line·57 | 1198 | ····.line·59 |
992 | ····:cond_2 | 1199 | ····:cond_2 |
993 | ····instance-of·p0,·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent; | 1200 | ····instance-of·p0,·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent; |
| |
994 | ····if-eqz·p0,·:cond_3 | 1201 | ····if-eqz·p0,·:cond_3 |
| |
995 | ····.line·58 | 1202 | ····.line·60 |
996 | ····check-cast·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent; | 1203 | ····check-cast·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent; |
| |
997 | ····invoke-static·{p1,·p2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->logConversationActionsEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent;)V | 1204 | ····invoke-static·{p1,·p2},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->logConversationActionsEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent;)V |
| |
998 | ····goto·:goto_0 | 1205 | ····goto·:goto_0 |
| |
999 | ····.line·59 | 1206 | ····.line·61 |
1000 | ····:cond_3 | 1207 | ····:cond_3 |
1001 | ····instance-of·p0,·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$LanguageDetectionEvent; | 1208 | ····instance-of·p0,·p2,·Lcom/android/textclassifier/common/logging/TextClassifierEvent$LanguageDetectionEvent; |
| |
Max diff block lines reached; 656/42888 bytes (1.53%) of diff not shown.
|