| | | |
Offset 59, 138 lines modified | Offset 59, 138 lines modified |
59 | .end·field | 59 | .end·field |
| |
| |
60 | #·direct·methods | 60 | #·direct·methods |
61 | .method·static·constructor·<clinit>()V | 61 | .method·static·constructor·<clinit>()V |
62 | ····.locals·2 | 62 | ····.locals·2 |
| |
63 | ····.line·207 | 63 | ····.line·204 |
64 | ····new-instance·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence; | 64 | ····new-instance·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence; |
| |
65 | ····const/4·v1,·0x0 | 65 | ····const/4·v1,·0x0 |
| |
66 | ····invoke-direct·{v0,·v1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V | 66 | ····invoke-direct·{v0,·v1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V |
| |
67 | ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence; | 67 | ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence; |
| |
68 | ····.line·208 | 68 | ····.line·205 |
69 | ····sget-object·v1,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person; | 69 | ····sget-object·v1,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person; |
| |
70 | ····.line·209 | 70 | ····.line·206 |
71 | ····invoke-virtual·{v0,·v1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper; | 71 | ····invoke-virtual·{v0,·v1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper; |
| |
72 | ····move-result-object·v0 | 72 | ····move-result-object·v0 |
| |
73 | ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper; | 73 | ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper; |
| |
74 | ····return-void | 74 | ····return-void |
75 | .end·method | 75 | .end·method |
| |
76 | .method·private·constructor·<init>()V | 76 | .method·private·constructor·<init>()V |
77 | ····.locals·1 | 77 | ····.locals·1 |
| |
78 | ····.line·206 | 78 | ····.line·203 |
79 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 79 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
80 | ····.line·211 | 80 | ····.line·208 |
81 | ····new-instance·v0,·Landroid/util/ArrayMap; | 81 | ····new-instance·v0,·Landroid/util/ArrayMap; |
| |
82 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V | 82 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V |
| |
83 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; | 83 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; |
| |
84 | ····const/4·v0,·0x1 | 84 | ····const/4·v0,·0x1 |
| |
85 | ····.line·212 | 85 | ····.line·209 |
86 | ····iput·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I | 86 | ····iput·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I |
| |
87 | ····return-void | 87 | ····return-void |
88 | .end·method | 88 | .end·method |
| |
89 | .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V | 89 | .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V |
90 | ····.locals·0 | 90 | ····.locals·0 |
| |
91 | ····.line·206 | 91 | ····.line·203 |
92 | ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;-><init>()V | 92 | ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;-><init>()V |
| |
93 | ····return-void | 93 | ····return-void |
94 | .end·method | 94 | .end·method |
| |
95 | .method·static·synthetic·access$100(Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;Landroid/app/Person;)I | 95 | .method·static·synthetic·access$100(Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;Landroid/app/Person;)I |
96 | ····.locals·0 | 96 | ····.locals·0 |
| |
97 | ····.line·206 | 97 | ····.line·203 |
98 | ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->encode(Landroid/app/Person;)I | 98 | ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->encode(Landroid/app/Person;)I |
| |
99 | ····move-result·p0 | 99 | ····move-result·p0 |
| |
100 | ····return·p0 | 100 | ····return·p0 |
101 | .end·method | 101 | .end·method |
| |
102 | .method·private·encode(Landroid/app/Person;)I | 102 | .method·private·encode(Landroid/app/Person;)I |
103 | ····.locals·2 | 103 | ····.locals·2 |
| |
104 | ····.line·215 | 104 | ····.line·212 |
105 | ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence; | 105 | ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence; |
| |
106 | ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper; | 106 | ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper; |
| |
107 | ····move-result-object·p1 | 107 | ····move-result-object·p1 |
| |
108 | ····.line·216 | 108 | ····.line·213 |
109 | ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper; | 109 | ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper; |
| |
110 | ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence$Wrapper;->equals(Ljava/lang/Object;)Z | 110 | ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence$Wrapper;->equals(Ljava/lang/Object;)Z |
| |
111 | ····move-result·v0 | 111 | ····move-result·v0 |
| |
112 | ····if-eqz·v0,·:cond_0 | 112 | ····if-eqz·v0,·:cond_0 |
| |
113 | ····const/4·p0,·0x0 | 113 | ····const/4·p0,·0x0 |
| |
114 | ····return·p0 | 114 | ····return·p0 |
| |
115 | ····.line·219 | 115 | ····.line·216 |
116 | ····:cond_0 | 116 | ····:cond_0 |
117 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; | 117 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; |
| |
118 | ····invoke-interface·{v0,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; | 118 | ····invoke-interface·{v0,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
| |
119 | ····move-result-object·v0 | 119 | ····move-result-object·v0 |
| |
120 | ····check-cast·v0,·Ljava/lang/Integer; | 120 | ····check-cast·v0,·Ljava/lang/Integer; |
| |
121 | ····if-nez·v0,·:cond_1 | 121 | ····if-nez·v0,·:cond_1 |
| |
122 | ····.line·221 | 122 | ····.line·218 |
123 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; | 123 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; |
| |
124 | ····iget·v1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I | 124 | ····iget·v1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I |
| |
125 | ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 125 | ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
126 | ····move-result-object·v1 | 126 | ····move-result-object·v1 |
| |
127 | ····invoke-interface·{v0,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 127 | ····invoke-interface·{v0,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
128 | ····.line·222 | 128 | ····.line·219 |
129 | ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I | 129 | ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I |
| |
130 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 130 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
131 | ····move-result-object·v0 | 131 | ····move-result-object·v0 |
| |
132 | ····.line·223 | 132 | ····.line·220 |
133 | ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I | 133 | ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I |
| |
134 | ····add-int/lit8·p1,·p1,·0x1 | 134 | ····add-int/lit8·p1,·p1,·0x1 |
| |
135 | ····iput·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I | 135 | ····iput·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I |
| |
136 | ····.line·225 | 136 | ····.line·222 |
137 | ····:cond_1 | 137 | ····:cond_1 |
138 | ····invoke-virtual·{v0},·Ljava/lang/Integer;->intValue()I | 138 | ····invoke-virtual·{v0},·Ljava/lang/Integer;->intValue()I |
| |
139 | ····move-result·p0 | 139 | ····move-result·p0 |
| |
140 | ····return·p0 | 140 | ····return·p0 |
141 | .end·method | 141 | .end·method |