Offset 3, 44 lines modifiedOffset 3, 44 lines modified
3 .source·"TextClassifierEventLogger.java"3 .source·"TextClassifierEventLogger.java"
  
  
4 #·direct·methods4 #·direct·methods
5 .method·public·constructor·<init>()V5 .method·public·constructor·<init>()V
6 ····.locals·06 ····.locals·0
  
7 ····.line·357 ····.line·37
8 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V8 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
9 ····return-void9 ····return-void
10 .end·method10 .end·method
  
11 .method·private·static·getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I11 .method·private·static·getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I
12 ····.locals·212 ····.locals·2
  
13 ····.line·8713 ····.line·93
14 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I14 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I
  
15 ····move-result·v015 ····move-result·v0
  
16 ····const/4·v1,·0x516 ····const/4·v1,·0x5
  
17 ····if-ne·v0,·v1,·:cond_117 ····if-ne·v0,·v1,·:cond_1
  
18 ····.line·8818 ····.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·v020 ····move-result-object·v0
  
21 ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->isFromDefaultTextClassifier(Ljava/lang/String;)Z21 ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->isFromDefaultTextClassifier(Ljava/lang/String;)Z
  
22 ····move-result·v022 ····move-result·v0
  
23 ····if-eqz·v0,·:cond_123 ····if-eqz·v0,·:cond_1
  
24 ····.line·8924 ····.line·95
25 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I25 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I
  
26 ····move-result·v026 ····move-result·v0
  
27 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I27 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I
  
28 ····move-result·p028 ····move-result·p0
Offset 57, 15 lines modifiedOffset 57, 15 lines modified
  
57 ····:cond_057 ····:cond_0
58 ····const/4·p0,·0x358 ····const/4·p0,·0x3
  
59 ····:goto_059 ····:goto_0
60 ····return·p060 ····return·p0
  
61 ····.line·9461 ····.line·100
62 ····:cond_162 ····:cond_1
63 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I63 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I
  
64 ····move-result·p064 ····move-result·p0
  
65 ····return·p065 ····return·p0
66 .end·method66 .end·method
Offset 75, 23 lines modifiedOffset 75, 23 lines modified
  
75 ····const/4·v0,·0x075 ····const/4·v0,·0x0
  
76 ····if-nez·p0,·:cond_076 ····if-nez·p0,·:cond_0
  
77 ····return·v077 ····return·v0
  
78 ····.line·18078 ····.line·199
79 ····:cond_079 ····:cond_0
80 ····array-length·v1,·p080 ····array-length·v1,·p0
  
81 ····if-lt·p1,·v1,·:cond_181 ····if-lt·p1,·v1,·:cond_1
  
82 ····return·v082 ····return·v0
  
83 ····.line·18383 ····.line·202
84 ····:cond_184 ····:cond_1
85 ····aget·p0,·p0,·p185 ····aget·p0,·p0,·p1
  
86 ····return·p086 ····return·p0
87 .end·method87 .end·method
  
88 .method·private·static·getIntAt([II)I88 .method·private·static·getIntAt([II)I
Offset 99, 23 lines modifiedOffset 99, 23 lines modified
  
99 ····const/4·v0,·0x099 ····const/4·v0,·0x0
  
100 ····if-nez·p0,·:cond_0100 ····if-nez·p0,·:cond_0
  
101 ····return·v0101 ····return·v0
  
102 ····.line·190102 ····.line·209
103 ····:cond_0103 ····:cond_0
104 ····array-length·v1,·p0104 ····array-length·v1,·p0
  
105 ····if-lt·p1,·v1,·:cond_1105 ····if-lt·p1,·v1,·:cond_1
  
106 ····return·v0106 ····return·v0
  
107 ····.line·193107 ····.line·212
108 ····:cond_1108 ····:cond_1
109 ····aget·p0,·p0,·p1109 ····aget·p0,·p0,·p1
  
110 ····return·p0110 ····return·p0
111 .end·method111 .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 modifiedOffset 130, 25 lines modified
130 ········}130 ········}
131 ····.end·annotation131 ····.end·annotation
  
132 ····if-nez·p0,·:cond_0132 ····if-nez·p0,·:cond_0
  
133 ····return-object·p2133 ····return-object·p2
  
134 ····.line·159134 ····.line·178
135 ····:cond_0135 ····:cond_0
136 ····invoke-interface·{p0},·Ljava/util/List;->size()I136 ····invoke-interface·{p0},·Ljava/util/List;->size()I
  
137 ····move-result·v0137 ····move-result·v0
  
138 ····if-lt·p1,·v0,·:cond_1138 ····if-lt·p1,·v0,·:cond_1
  
139 ····return-object·p2139 ····return-object·p2
  
140 ····.line·162140 ····.line·181
141 ····:cond_1141 ····: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·p0143 ····move-result-object·p0
  
144 ····return-object·p0144 ····return-object·p0
145 .end·method145 .end·method
Offset 165, 23 lines modifiedOffset 165, 23 lines modified
  
165 ····const/4·v0,·0x0165 ····const/4·v0,·0x0
  
166 ····if-nez·p0,·:cond_0166 ····if-nez·p0,·:cond_0
  
167 ····return-object·v0167 ····return-object·v0
  
168 ····.line·170168 ····.line·189
169 ····:cond_0169 ····:cond_0
170 ····array-length·v1,·p0170 ····array-length·v1,·p0
  
171 ····if-lt·p1,·v1,·:cond_1171 ····if-lt·p1,·v1,·:cond_1
  
172 ····return-object·v0172 ····return-object·v0
  
173 ····.line·173173 ····.line·192
174 ····:cond_1174 ····:cond_1
175 ····aget-object·p0,·p0,·p1175 ····aget-object·p0,·p0,·p1
  
176 ····return-object·p0176 ····return-object·p0
177 .end·method177 .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 modifiedOffset 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·annotation198 ····.end·annotation
  
199 ····.line·197199 ····.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·v0201 ····move-result-object·v0
  
202 ····if-eqz·v0,·:cond_0202 ····if-eqz·v0,·:cond_0
  
203 ····.line·198203 ····.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·p0205 ····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·p0207 ····move-result-object·p0
  
208 ····return-object·p0208 ····return-object·p0
  
209 ····.line·200209 ····.line·219
210 ····:cond_0210 ····: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·p0212 ····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 modifiedOffset 227, 49 lines modified
  
227 ····return-object·p0227 ····return-object·p0
228 .end·method228 .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·0230 ····.locals·0
  
231 ····.line·205231 ····.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·p0233 ····move-result-object·p0
  
234 ····if-nez·p0,·:cond_0234 ····if-nez·p0,·:cond_0
  
235 ····const/4·p0,·0x0235 ····const/4·p0,·0x0
  
236 ····return-object·p0236 ····return-object·p0
  
237 ····.line·209237 ····.line·228
238 ····:cond_0238 ····: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·p0240 ····move-result-object·p0
  
241 ····return-object·p0241 ····return-object·p0
242 .end·method242 .end·method
  
243 .method·private·static·getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I243 .method·private·static·getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I
244 ····.locals·12244 ····.locals·12
  
245 ····.line·213245 ····.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·p0247 ····move-result-object·p0
  
248 ····const/4·v0,·0x0248 ····const/4·v0,·0x0
  
249 ····if-nez·p0,·:cond_0249 ····if-nez·p0,·:cond_0
  
250 ····return·v0250 ····return·v0
  
251 ····.line·217251 ····.line·236
252 ····:cond_0252 ····: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·p0254 ····move-result-object·p0
  
255 ····const/4·v1,·-0x1255 ····const/4·v1,·-0x1
  
Offset 485, 476 lines modifiedOffset 485, 683 lines modified
485 ········:pswitch_2485 ········:pswitch_2
486 ········:pswitch_1486 ········:pswitch_1
487 ········:pswitch_0487 ········:pswitch_0
488 ····.end·packed-switch488 ····.end·packed-switch
489 .end·method489 .end·method
  
490 .method·private·static·logConversationActionsEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent;)V490 .method·private·static·logConversationActionsEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$ConversationActionsEvent;)V
491 ····.locals·14491 ····.locals·6
  
492 ····.line·119492 ····.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·v0494 ····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·v0496 ····move-result-object·v0
  
497 ····.line·120497 ····.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·v1499 ····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_0507 ····if-nez·p0,·:cond_0
  
501 ····const/16·p0,·0x40508 ····const/16·p0,·0x40
  
502 ····.line·125509 ····.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·p0511 ····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·p0514 ····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·p0516 ····move-result-object·p0
  
510 ····goto·:goto_0517 ····goto·:goto_0
  
511 ····.line·126518 ····.line·138
512 ····:cond_0519 ····: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·p0521 ····move-result-object·p0
  
 522 ····.line·135
515 ····:goto_0523 ····:goto_0
516 ····move-object·v3,·p0524 ····invoke-virtual·{v2,·p0},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder;
  
 525 ····move-result-object·p0
  
517 ····.line·127526 ····.line·139
518 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I527 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I
  
519 ····move-result·v4528 ····move-result·v0
  
520 ····const/4·p0,·0x0529 ····invoke-virtual·{p0,·v0},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder;
  
 530 ····move-result-object·p0
  
521 ····const/4·v0,·0x0531 ····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·v2535 ····move-result-object·v3
  
525 ····move-object·v5,·v2536 ····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·129539 ····.line·141
528 ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I540 ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I
  
529 ····move-result·v6541 ····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·130544 ····.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·v2546 ····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·v2548 ····move-result-object·v3
  
535 ····move-object·v7,·v2549 ····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·131552 ····.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·v2554 ····move-result-object·v3
  
540 ····const/4·v8,·0x1555 ····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·v2557 ····move-result-object·v3
  
543 ····move-object·v9,·v2558 ····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·132561 ····.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·v2563 ····move-result-object·v3
  
548 ····const/4·v10,·0x2564 ····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·v2566 ····move-result-object·v3
  
551 ····move-object·v11,·v2567 ····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·133570 ····.line·145
554 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getScores()[F571 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getScores()[F
  
555 ····move-result-object·v2572 ····move-result-object·v3
  
556 ····invoke-static·{v2,·p0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getFloatAt([FI)F573 ····invoke-static·{v3,·v0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getFloatAt([FI)F
  
557 ····move-result·p0574 ····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·134577 ····.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·p1579 ····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·v2581 ····move-result-object·p0
  
564 ····move-object·v12,·v2582 ····.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·v0586 ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder;
  
569 ····move-object·v13,·v0587 ····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,·0xdd590 ····move-result-object·p1
  
572 ····move-object·v8,·v9591 ····check-cast·p1,·Ljava/lang/String;
  
573 ····move-object·v9,·v11592 ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder;
  
574 ····move·v10,·p0593 ····move-result-object·p0
  
575 ····move-object·v11,·p1594 ····.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·121600 ····.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;)V601 ····invoke-static·{p0},·Landroid/util/StatsLog;->write(Landroid/util/StatsEvent;)V
  
578 ····return-void602 ····return-void
579 .end·method603 .end·method
  
580 .method·private·static·logLanguageDetectionEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$LanguageDetectionEvent;)V604 .method·private·static·logLanguageDetectionEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$LanguageDetectionEvent;)V
581 ····.locals·10605 ····.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,·0x0613 ····const/4·v1,·0x0
  
583 ····if-nez·p0,·:cond_0614 ····if-nez·p0,·:cond_0
  
584 ····move-object·v2,·v0615 ····move-object·p0,·v1
  
585 ····goto·:goto_0616 ····goto·:goto_0
  
586 ····.line·144617 ····.line·160
587 ····:cond_0618 ····: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·p0620 ····move-result-object·p0
  
590 ····move-object·v2,·p0 
  
591 ····.line·145 
592 ····:goto_0621 ····: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()I625 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I
  
594 ····move-result·v3626 ····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·p0628 ····move-result-object·p0
  
598 ····const/4·v1,·0x0629 ····.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·p0633 ····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,·p0634 ····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·147638 ····.line·163
604 ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I639 ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I
  
605 ····move-result·v5640 ····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·p0642 ····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·p0645 ····move-result-object·v0
  
611 ····move-object·v6,·p0646 ····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()[F648 ····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·p0650 ····move-result-object·p0
  
 651 ····.line·165
616 ····invoke-static·{p0,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getFloatAt([FI)F652 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getScores()[F
  
617 ····move-result·v7653 ····move-result-object·v0
  
618 ····.line·150 
619 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getActionIndices()[I654 ····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·p0657 ····move-result-object·p0
  
 658 ····.line·166
621 ····invoke-static·{p0,·v1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getIntAt([II)I659 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getActionIndices()[I
  
622 ····move-result·v8660 ····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·151665 ····.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·v9667 ····move-result-object·p1
  
626 ····const/16·v1,·0xde668 ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder;
  
 669 ····move-result-object·p0
  
627 ····.line·142670 ····.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;)V671 ····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-void678 ····return-void
630 .end·method679 .end·method
  
631 .method·private·static·logTextLinkifyEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent;)V680 .method·private·static·logTextLinkifyEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextLinkifyEvent;)V
632 ····.locals·17681 ····.locals·5
  
633 ····.line·99682 ····.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·v0684 ····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,·0x0692 ····const/4·v2,·0x0
  
637 ····if-nez·p0,·:cond_0693 ····if-nez·p0,·:cond_0
  
638 ····move-object·v4,·v1694 ····move-object·p0,·v2
  
639 ····goto·:goto_0695 ····goto·:goto_0
  
640 ····.line·102696 ····.line·109
641 ····:cond_0697 ····: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,·v2699 ····move-result-object·p0
  
645 ····.line·103 
646 ····:goto_0700 ····:goto_0
647 ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I701 ····invoke-virtual·{v1,·p0},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder;
  
648 ····move-result·v5702 ····move-result-object·p0
  
649 ····const/4·v2,·0x0703 ····.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·104709 ····.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·v3711 ····move-result-object·v3
  
653 ····move-object·v6,·v3712 ····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·105715 ····.line·112
656 ····invoke-static/range·{p1·..·p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I716 ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I
  
657 ····move-result·v7717 ····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·v8719 ····move-result-object·p0
  
661 ····.line·107720 ····.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·v3727 ····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·v2729 ····move-result-object·v3
  
666 ····move-object·v9,·v2730 ····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,·0x0732 ····move-result-object·p0
  
669 ····const/4·v11,·0x0733 ····.line·115
 734 ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder;
  
670 ····const/4·v12,·0x0735 ····move-result-object·p0
  
671 ····const-wide/16·v13,·0x0736 ····.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·v15739 ····.line·117
 740 ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder;
  
675 ····const/4·v2,·0x1741 ····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·v0743 ····.line·118
 744 ····invoke-virtual·{p0,·v3,·v4},·Landroid/util/StatsEvent$Builder;->writeLong(J)Landroid/util/StatsEvent$Builder;
  
679 ····move-object/from16·v16,·v0745 ····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,·0xdc748 ····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·69752 ····.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·v0754 ····move-result-object·p1
  
691 ····const/4·v1,·0x0755 ····check-cast·p1,·Ljava/lang/String;
  
692 ····if-nez·p0,·:cond_0756 ····invoke-virtual·{p0,·p1},·Landroid/util/StatsEvent$Builder;->writeString(Ljava/lang/String;)Landroid/util/StatsEvent$Builder;
  
693 ····move-object·v4,·v1757 ····move-result-object·p0
  
694 ····goto·:goto_0758 ····.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·v2761 ····.line·122
 762 ····invoke-virtual·{p0},·Landroid/util/StatsEvent$Builder;->build()Landroid/util/StatsEvent;
  
699 ····move-object·v4,·v2763 ····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·73773 ····.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·v5775 ····move-result-object·v1
  
704 ····const/4·v2,·0x0776 ····const/16·v2,·0xdb
  
705 ····.line·74777 ····.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·v3779 ····move-result-object·v1
  
708 ····move-object·v6,·v3780 ····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·75784 ····.line·75
711 ····invoke-static/range·{p1·..·p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I785 ····:cond_0
 786 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassificationSessionId;->getValue()Ljava/lang/String;
  
 787 ····move-result-object·p0
  
712 ····move-result·v7788 ····: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·76791 ····.line·76
714 ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventIndex()I792 ····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·v8796 ····const/4·v1,·0x0
  
716 ····.line·77797 ····.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·v3799 ····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,·v2801 ····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·78803 ····.line·78
724 ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I804 ····invoke-static·{p1},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;->getWidgetType(Lcom/android/textclassifier/common/logging/TextClassifierEvent;)I
  
725 ····move-result·v10805 ····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·79808 ····.line·79
727 ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I809 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventIndex()I
  
 810 ····move-result·v3
  
728 ····move-result·v11811 ····invoke-virtual·{p0,·v3},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder;
  
 812 ····move-result-object·p0
  
729 ····.line·80813 ····.line·80
730 ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeSuggestedWordStartIndex()I814 ····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·v12817 ····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·81821 ····.line·81
733 ····invoke-virtual/range·{p1·..·p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeSuggestedWordEndIndex()I822 ····invoke-virtual·{p1},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I
  
734 ····move-result·v13823 ····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·82826 ····.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·v14828 ····move-result·v1
  
738 ····const/4·v2,·0x1829 ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder;
  
 830 ····move-result-object·p0
  
739 ····.line·83831 ····.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·v0833 ····move-result·v1
  
 834 ····invoke-virtual·{p0,·v1},·Landroid/util/StatsEvent$Builder;->writeInt(I)Landroid/util/StatsEvent$Builder;
  
742 ····move-object·v15,·v0835 ····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,·0xdb838 ····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·70853 ····.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;)V854 ····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-void861 ····return-void
748 .end·method862 .end·method
  
  
749 #·virtual·methods863 #·virtual·methods
750 .method·public·writeEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent;)V864 .method·public·writeEvent(Lcom/android/textclassifier/common/logging/TextClassificationSessionId;Lcom/android/textclassifier/common/logging/TextClassifierEvent;)V
751 ····.locals·2865 ····.locals·2
  
752 ····.line·46866 ····.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·47868 ····.line·49
755 ····sget-boolean·p0,·Lcom/android/textclassifier/common/base/TcLog;->ENABLE_FULL_LOGGING:Z869 ····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_0871 ····if-eqz·p0,·:cond_0
  
758 ····const/4·p0,·0x2872 ····const/4·p0,·0x2
Offset 967, 75 lines modifiedOffset 1174, 75 lines modified
  
967 ····const/4·v1,·0x11174 ····const/4·v1,·0x1
  
968 ····aput-object·p2,·p0,·v11175 ····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·501177 ····.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·p01179 ····move-result-object·p0
  
973 ····.line·481180 ····.line·50
974 ····invoke-static·{v0,·p0},·Lcom/android/textclassifier/common/base/TcLog;->v(Ljava/lang/String;Ljava/lang/String;)V1181 ····invoke-static·{v0,·p0},·Lcom/android/textclassifier/common/base/TcLog;->v(Ljava/lang/String;Ljava/lang/String;)V
  
975 ····.line·531182 ····.line·55
976 ····:cond_01183 ····: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_11185 ····if-eqz·p0,·:cond_1
  
979 ····.line·541186 ····.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;)V1188 ····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_01189 ····goto·:goto_0
  
983 ····.line·551190 ····.line·57
984 ····:cond_11191 ····: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_21193 ····if-eqz·p0,·:cond_2
  
987 ····.line·561194 ····.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;)V1196 ····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_01197 ····goto·:goto_0
  
991 ····.line·571198 ····.line·59
992 ····:cond_21199 ····: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_31201 ····if-eqz·p0,·:cond_3
  
995 ····.line·581202 ····.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;)V1204 ····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_01205 ····goto·:goto_0
  
999 ····.line·591206 ····.line·61
1000 ····:cond_31207 ····: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.