| | | |
Offset 20, 14 lines modified | Offset 20, 16 lines modified |
| |
20 | .field·private·static·final·sCustomCollatorPattern:Ljava/util/regex/Pattern; | 20 | .field·private·static·final·sCustomCollatorPattern:Ljava/util/regex/Pattern; |
| |
21 | .field·private·static·final·sPattern154193772:Ljava/util/regex/Pattern; | 21 | .field·private·static·final·sPattern154193772:Ljava/util/regex/Pattern; |
| |
22 | .field·private·static·final·sPattern156832140:Ljava/util/regex/Pattern; | 22 | .field·private·static·final·sPattern156832140:Ljava/util/regex/Pattern; |
| |
| 23 | .field·private·static·final·sPattern158537159:Ljava/util/regex/Pattern; |
| |
| |
23 | #·instance·fields | 24 | #·instance·fields |
24 | .field·private·mDistinct:Z | 25 | .field·private·mDistinct:Z |
| |
25 | .field·private·mProjectionGreylist:Ljava/util/Collection; | 26 | .field·private·mProjectionGreylist:Ljava/util/Collection; |
26 | ····.annotation·system·Ldalvik/annotation/Signature; | 27 | ····.annotation·system·Ldalvik/annotation/Signature; |
27 | ········value·=·{ | 28 | ········value·=·{ |
Offset 85, 243 lines modified | Offset 87, 252 lines modified |
85 | ····.line·76 | 87 | ····.line·76 |
86 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 88 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
87 | ····move-result-object·v0 | 89 | ····move-result-object·v0 |
| |
88 | ····sput-object·v0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sPattern156832140:Ljava/util/regex/Pattern; | 90 | ····sput-object·v0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sPattern156832140:Ljava/util/regex/Pattern; |
| |
| 91 | ····const-string·v0,·"(?i)localized" |
| |
| 92 | ····.line·78 |
| 93 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
| 94 | ····move-result-object·v0 |
| |
| 95 | ····sput-object·v0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sPattern158537159:Ljava/util/regex/Pattern; |
| |
89 | ····const-string·v0,·"(?i)custom_[a-zA-Z]+" | 96 | ····const-string·v0,·"(?i)custom_[a-zA-Z]+" |
| |
90 | ····.line·79 | 97 | ····.line·80 |
91 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 98 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
92 | ····move-result-object·v0 | 99 | ····move-result-object·v0 |
| |
93 | ····sput-object·v0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sCustomCollatorPattern:Ljava/util/regex/Pattern; | 100 | ····sput-object·v0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sCustomCollatorPattern:Ljava/util/regex/Pattern; |
| |
94 | ····return-void | 101 | ····return-void |
95 | .end·method | 102 | .end·method |
| |
96 | .method·public·constructor·<init>()V | 103 | .method·public·constructor·<init>()V |
97 | ····.locals·2 | 104 | ····.locals·2 |
| |
98 | ····.line·113 | 105 | ····.line·114 |
99 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 106 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
100 | ····const/4·v0,·0x0 | 107 | ····const/4·v0,·0x0 |
| |
101 | ····.line·82 | 108 | ····.line·83 |
102 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; | 109 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; |
| |
103 | ····.line·83 | 110 | ····.line·84 |
104 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionGreylist:Ljava/util/Collection; | 111 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionGreylist:Ljava/util/Collection; |
| |
105 | ····const-string·v1,·"" | 112 | ····const-string·v1,·"" |
| |
106 | ····.line·85 | 113 | ····.line·86 |
107 | ····iput-object·v1,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTables:Ljava/lang/String; | 114 | ····iput-object·v1,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTables:Ljava/lang/String; |
| |
108 | ····.line·86 | 115 | ····.line·87 |
109 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 116 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
110 | ····const/16·v0,·0x2710 | 117 | ····const/16·v0,·0x2710 |
| |
111 | ····.line·95 | 118 | ····.line·96 |
112 | ····iput·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTargetSdkVersion:I | 119 | ····iput·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTargetSdkVersion:I |
| |
113 | ····const/4·v0,·0x0 | 120 | ····const/4·v0,·0x0 |
| |
114 | ····.line·114 | 121 | ····.line·115 |
115 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mDistinct:Z | 122 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mDistinct:Z |
| |
116 | ····return-void | 123 | ····return-void |
117 | .end·method | 124 | .end·method |
| |
118 | .method·private·static·appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V | 125 | .method·private·static·appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V |
119 | ····.locals·1 | 126 | ····.locals·1 |
| |
120 | ····.line·418 | 127 | ····.line·419 |
121 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 128 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
122 | ····move-result·v0 | 129 | ····move-result·v0 |
| |
123 | ····if-nez·v0,·:cond_0 | 130 | ····if-nez·v0,·:cond_0 |
| |
124 | ····.line·419 | 131 | ····.line·420 |
125 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 132 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
126 | ····.line·420 | 133 | ····.line·421 |
127 | ····invoke-virtual·{p0,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 134 | ····invoke-virtual·{p0,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
128 | ····:cond_0 | 135 | ····:cond_0 |
129 | ····return-void | 136 | ····return-void |
130 | .end·method | 137 | .end·method |
| |
131 | .method·public·static·appendColumns(Ljava/lang/StringBuilder;[Ljava/lang/String;)V | 138 | .method·public·static·appendColumns(Ljava/lang/StringBuilder;[Ljava/lang/String;)V |
132 | ····.locals·4 | 139 | ····.locals·4 |
| |
133 | ····.line·429 | 140 | ····.line·430 |
134 | ····array-length·v0,·p1 | 141 | ····array-length·v0,·p1 |
| |
135 | ····const/4·v1,·0x0 | 142 | ····const/4·v1,·0x0 |
| |
136 | ····:goto_0 | 143 | ····:goto_0 |
137 | ····if-ge·v1,·v0,·:cond_2 | 144 | ····if-ge·v1,·v0,·:cond_2 |
| |
138 | ····.line·432 | 145 | ····.line·433 |
139 | ····aget-object·v2,·p1,·v1 | 146 | ····aget-object·v2,·p1,·v1 |
| |
140 | ····if-eqz·v2,·:cond_1 | 147 | ····if-eqz·v2,·:cond_1 |
| |
141 | ····if-lez·v1,·:cond_0 | 148 | ····if-lez·v1,·:cond_0 |
| |
142 | ····const-string·v3,·",·" | 149 | ····const-string·v3,·",·" |
| |
143 | ····.line·436 | 150 | ····.line·437 |
144 | ····invoke-virtual·{p0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 151 | ····invoke-virtual·{p0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
145 | ····.line·438 | 152 | ····.line·439 |
146 | ····:cond_0 | 153 | ····:cond_0 |
147 | ····invoke-virtual·{p0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 154 | ····invoke-virtual·{p0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
148 | ····:cond_1 | 155 | ····:cond_1 |
149 | ····add-int/lit8·v1,·v1,·0x1 | 156 | ····add-int/lit8·v1,·v1,·0x1 |
| |
150 | ····goto·:goto_0 | 157 | ····goto·:goto_0 |
| |
151 | ····:cond_2 | 158 | ····:cond_2 |
152 | ····const/16·p1,·0x20 | 159 | ····const/16·p1,·0x20 |
| |
153 | ····.line·441 | 160 | ····.line·442 |
154 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 161 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
| |
155 | ····return-void | 162 | ····return-void |
156 | .end·method | 163 | .end·method |
| |
157 | .method·public·static·buildQueryString(ZLjava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 164 | .method·public·static·buildQueryString(ZLjava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
158 | ····.locals·2 | 165 | ····.locals·2 |
| |
159 | ····.line·390 | 166 | ····.line·391 |
160 | ····invoke-static·{p4},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 167 | ····invoke-static·{p4},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
161 | ····move-result·v0 | 168 | ····move-result·v0 |
| |
162 | ····if-eqz·v0,·:cond_1 | 169 | ····if-eqz·v0,·:cond_1 |
| |
163 | ····invoke-static·{p5},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 170 | ····invoke-static·{p5},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
164 | ····move-result·v0 | 171 | ····move-result·v0 |
| |
165 | ····if-eqz·v0,·:cond_0 | 172 | ····if-eqz·v0,·:cond_0 |
| |
166 | ····goto·:goto_0 | 173 | ····goto·:goto_0 |
| |
167 | ····.line·391 | 174 | ····.line·392 |
168 | ····:cond_0 | 175 | ····:cond_0 |
169 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 176 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
| |
170 | ····const-string·p1,·"HAVING·clauses·are·only·permitted·when·using·a·groupBy·clause" | 177 | ····const-string·p1,·"HAVING·clauses·are·only·permitted·when·using·a·groupBy·clause" |
| |
171 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 178 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
| |
172 | ····throw·p0 | 179 | ····throw·p0 |
| |
173 | ····.line·395 | 180 | ····.line·396 |
174 | ····:cond_1 | 181 | ····:cond_1 |
175 | ····:goto_0 | 182 | ····:goto_0 |
176 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 183 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
177 | ····const/16·v1,·0x78 | 184 | ····const/16·v1,·0x78 |
| |
178 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 185 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
| |
179 | ····const-string·v1,·"SELECT·" | 186 | ····const-string·v1,·"SELECT·" |
| |
180 | ····.line·397 | 187 | ····.line·398 |
181 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 188 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
182 | ····if-eqz·p0,·:cond_2 | 189 | ····if-eqz·p0,·:cond_2 |
| |
183 | ····const-string·p0,·"DISTINCT·" | 190 | ····const-string·p0,·"DISTINCT·" |
| |
184 | ····.line·399 | 191 | ····.line·400 |
185 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 192 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
186 | ····:cond_2 | 193 | ····:cond_2 |
187 | ····if-eqz·p2,·:cond_3 | 194 | ····if-eqz·p2,·:cond_3 |
| |
188 | ····.line·401 | 195 | ····.line·402 |
189 | ····array-length·p0,·p2 | 196 | ····array-length·p0,·p2 |
| |
190 | ····if-eqz·p0,·:cond_3 | 197 | ····if-eqz·p0,·:cond_3 |
| |
191 | ····.line·402 | 198 | ····.line·403 |
192 | ····invoke-static·{v0,·p2},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendColumns(Ljava/lang/StringBuilder;[Ljava/lang/String;)V | 199 | ····invoke-static·{v0,·p2},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendColumns(Ljava/lang/StringBuilder;[Ljava/lang/String;)V |
| |
193 | ····goto·:goto_1 | 200 | ····goto·:goto_1 |
| |
194 | ····:cond_3 | 201 | ····:cond_3 |
195 | ····const-string·p0,·"*·" | 202 | ····const-string·p0,·"*·" |
| |
196 | ····.line·404 | 203 | ····.line·405 |
197 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 204 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
198 | ····:goto_1 | 205 | ····:goto_1 |
199 | ····const-string·p0,·"FROM·" | 206 | ····const-string·p0,·"FROM·" |
| |
200 | ····.line·406 | 207 | ····.line·407 |
201 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 208 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
202 | ····.line·407 | 209 | ····.line·408 |
203 | ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 210 | ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
204 | ····const-string·p0,·"·WHERE·" | 211 | ····const-string·p0,·"·WHERE·" |
| |
205 | ····.line·408 | 212 | ····.line·409 |
206 | ····invoke-static·{v0,·p0,·p3},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V | 213 | ····invoke-static·{v0,·p0,·p3},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V |
| |
207 | ····const-string·p0,·"·GROUP·BY·" | 214 | ····const-string·p0,·"·GROUP·BY·" |
| |
208 | ····.line·409 | 215 | ····.line·410 |
209 | ····invoke-static·{v0,·p0,·p4},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V | 216 | ····invoke-static·{v0,·p0,·p4},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V |
| |
210 | ····const-string·p0,·"·HAVING·" | 217 | ····const-string·p0,·"·HAVING·" |
| |
211 | ····.line·410 | 218 | ····.line·411 |
212 | ····invoke-static·{v0,·p0,·p5},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V | 219 | ····invoke-static·{v0,·p0,·p5},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V |
| |
213 | ····const-string·p0,·"·ORDER·BY·" | 220 | ····const-string·p0,·"·ORDER·BY·" |
| |
214 | ····.line·411 | 221 | ····.line·412 |
215 | ····invoke-static·{v0,·p0,·p6},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V | 222 | ····invoke-static·{v0,·p0,·p6},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V |
| |
216 | ····const-string·p0,·"·LIMIT·" | 223 | ····const-string·p0,·"·LIMIT·" |
| |
217 | ····.line·412 | 224 | ····.line·413 |
218 | ····invoke-static·{v0,·p0,·p7},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V | 225 | ····invoke-static·{v0,·p0,·p7},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V |
| |
219 | ····.line·414 | 226 | ····.line·415 |
220 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 227 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
221 | ····move-result-object·p0 | 228 | ····move-result-object·p0 |
| |
222 | ····return-object·p0 | 229 | ····return-object·p0 |
223 | .end·method | 230 | .end·method |
| |
224 | .method·private·computeSingleProjection(Ljava/lang/String;)Ljava/lang/String; | 231 | .method·private·computeSingleProjection(Ljava/lang/String;)Ljava/lang/String; |
225 | ····.locals·5 | 232 | ····.locals·5 |
| |
226 | ····.line·1033 | 233 | ····.line·1035 |
227 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; | 234 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; |
| |
228 | ····if-nez·v0,·:cond_0 | 235 | ····if-nez·v0,·:cond_0 |
| |
229 | ····return-object·p1 | 236 | ····return-object·p1 |
| |
230 | ····.line·1038 | 237 | ····.line·1040 |
231 | ····:cond_0 | 238 | ····:cond_0 |
232 | ····sget-object·v1,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; | 239 | ····sget-object·v1,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; |
| |
233 | ····invoke-virtual·{p1,·v1},·Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String; | 240 | ····invoke-virtual·{p1,·v1},·Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String; |
| |
234 | ····move-result-object·v1 | 241 | ····move-result-object·v1 |
| |
Offset 333, 41 lines modified | Offset 344, 41 lines modified |
| |
333 | ····const/4·v1,·0x1 | 344 | ····const/4·v1,·0x1 |
| |
334 | ····const/4·v2,·0x0 | 345 | ····const/4·v2,·0x0 |
| |
335 | ····if-nez·v0,·:cond_1 | 346 | ····if-nez·v0,·:cond_1 |
| |
336 | ····.line·1042 | 347 | ····.line·1044 |
337 | ····sget-object·v3,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sAggregationPattern:Ljava/util/regex/Pattern; | 348 | ····sget-object·v3,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sAggregationPattern:Ljava/util/regex/Pattern; |
| |
338 | ····invoke-virtual·{v3,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 349 | ····invoke-virtual·{v3,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
339 | ····move-result-object·v3 | 350 | ····move-result-object·v3 |
| |
340 | ····.line·1043 | 351 | ····.line·1045 |
341 | ····invoke-virtual·{v3},·Ljava/util/regex/Matcher;->matches()Z | 352 | ····invoke-virtual·{v3},·Ljava/util/regex/Matcher;->matches()Z |
| |
342 | ····move-result·v4 | 353 | ····move-result·v4 |
| |
343 | ····if-eqz·v4,·:cond_1 | 354 | ····if-eqz·v4,·:cond_1 |
| |
344 | ····.line·1044 | 355 | ····.line·1046 |
345 | ····invoke-virtual·{v3,·v1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 356 | ····invoke-virtual·{v3,·v1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
346 | ····move-result-object·p1 | 357 | ····move-result-object·p1 |
| |
347 | ····const/4·v0,·0x2 | 358 | ····const/4·v0,·0x2 |
| |
348 | ····.line·1045 | 359 | ····.line·1047 |
349 | ····invoke-virtual·{v3,·v0},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 360 | ····invoke-virtual·{v3,·v0},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
350 | ····move-result-object·v0 | 361 | ····move-result-object·v0 |
| |
351 | ····.line·1046 | 362 | ····.line·1048 |
352 | ····iget-object·v3,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; | 363 | ····iget-object·v3,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; |
| |
353 | ····sget-object·v4,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; | 364 | ····sget-object·v4,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; |
| |
354 | ····invoke-virtual·{v0,·v4},·Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String; | 365 | ····invoke-virtual·{v0,·v4},·Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String; |
| |
355 | ····move-result-object·v4 | 366 | ····move-result-object·v4 |
Offset 386, 61 lines modified | Offset 397, 61 lines modified |
386 | ····move-object·v0,·p1 | 397 | ····move-object·v0,·p1 |
| |
387 | ····move-object·p1,·v2 | 398 | ····move-object·p1,·v2 |
| |
388 | ····:goto_0 | 399 | ····:goto_0 |
389 | ····if-eqz·v3,·:cond_2 | 400 | ····if-eqz·v3,·:cond_2 |
| |
390 | ····.line·1051 | 401 | ····.line·1053 |
391 | ····invoke-static·{p1,·v3},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->maybeWithOperator(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 402 | ····invoke-static·{p1,·v3},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->maybeWithOperator(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
| |
392 | ····move-result-object·p0 | 403 | ····move-result-object·p0 |
| |
393 | ····return-object·p0 | 404 | ····return-object·p0 |
| |
394 | ····.line·1054 | 405 | ····.line·1056 |
395 | ····:cond_2 | 406 | ····:cond_2 |
396 | ····iget·v3,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mStrictFlags:I | 407 | ····iget·v3,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mStrictFlags:I |
| |
397 | ····if-nez·v3,·:cond_4 | 408 | ····if-nez·v3,·:cond_4 |
| |
398 | ····const-string·v3,·"·AS·" | 409 | ····const-string·v3,·"·AS·" |
| |
399 | ····.line·1055 | 410 | ····.line·1057 |
400 | ····invoke-virtual·{v0,·v3},·Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z | 411 | ····invoke-virtual·{v0,·v3},·Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z |
| |
401 | ····move-result·v3 | 412 | ····move-result·v3 |
| |
402 | ····if-nez·v3,·:cond_3 | 413 | ····if-nez·v3,·:cond_3 |
| |
403 | ····const-string·v3,·"·as·" | 414 | ····const-string·v3,·"·as·" |
| |
404 | ····invoke-virtual·{v0,·v3},·Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z | 415 | ····invoke-virtual·{v0,·v3},·Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z |
| |
405 | ····move-result·v3 | 416 | ····move-result·v3 |
| |
406 | ····if-eqz·v3,·:cond_4 | 417 | ····if-eqz·v3,·:cond_4 |
| |
407 | ····.line·1057 | 418 | ····.line·1059 |
408 | ····:cond_3 | 419 | ····:cond_3 |
409 | ····invoke-static·{p1,·v0},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->maybeWithOperator(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 420 | ····invoke-static·{p1,·v0},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->maybeWithOperator(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
| |
410 | ····move-result-object·p0 | 421 | ····move-result-object·p0 |
| |
411 | ····return-object·p0 | 422 | ····return-object·p0 |
| |
412 | ····.line·1062 | 423 | ····.line·1064 |
413 | ····:cond_4 | 424 | ····:cond_4 |
414 | ····iget-object·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionGreylist:Ljava/util/Collection; | 425 | ····iget-object·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionGreylist:Ljava/util/Collection; |
| |
415 | ····if-eqz·p0,·:cond_7 | 426 | ····if-eqz·p0,·:cond_7 |
| |
416 | ····const/4·v3,·0x0 | 427 | ····const/4·v3,·0x0 |
| |
417 | ····.line·1064 | 428 | ····.line·1066 |
418 | ····invoke-interface·{p0},·Ljava/util/Collection;->iterator()Ljava/util/Iterator; | 429 | ····invoke-interface·{p0},·Ljava/util/Collection;->iterator()Ljava/util/Iterator; |
| |
419 | ····move-result-object·p0 | 430 | ····move-result-object·p0 |
| |
420 | ····:cond_5 | 431 | ····:cond_5 |
421 | ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z | 432 | ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z |
| |
Offset 450, 15 lines modified | Offset 461, 15 lines modified |
| |
450 | ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 461 | ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
451 | ····move-result-object·v4 | 462 | ····move-result-object·v4 |
| |
452 | ····check-cast·v4,·Ljava/util/regex/Pattern; | 463 | ····check-cast·v4,·Ljava/util/regex/Pattern; |
| |
453 | ····.line·1065 | 464 | ····.line·1067 |
454 | ····invoke-virtual·{v4,·v0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 465 | ····invoke-virtual·{v4,·v0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
455 | ····move-result-object·v4 | 466 | ····move-result-object·v4 |
| |
456 | ····invoke-virtual·{v4},·Ljava/util/regex/Matcher;->matches()Z | 467 | ····invoke-virtual·{v4},·Ljava/util/regex/Matcher;->matches()Z |
| |
457 | ····move-result·v4 | 468 | ····move-result·v4 |
Offset 469, 15 lines modified | Offset 480, 15 lines modified |
| |
469 | ····:cond_6 | 480 | ····:cond_6 |
470 | ····move·v1,·v3 | 481 | ····move·v1,·v3 |
| |
471 | ····:goto_1 | 482 | ····:goto_1 |
472 | ····if-eqz·v1,·:cond_7 | 483 | ····if-eqz·v1,·:cond_7 |
| |
473 | ····.line·1072 | 484 | ····.line·1074 |
474 | ····new-instance·p0,·Ljava/lang/StringBuilder; | 485 | ····new-instance·p0,·Ljava/lang/StringBuilder; |
| |
475 | ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V | 486 | ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V |
| |
476 | ····const-string·v1,·"Allowing·abusive·custom·column:·" | 487 | ····const-string·v1,·"Allowing·abusive·custom·column:·" |
| |
477 | ····invoke-virtual·{p0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 488 | ····invoke-virtual·{p0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 488, 38 lines modified | Offset 499, 38 lines modified |
| |
488 | ····move-result-object·p0 | 499 | ····move-result-object·p0 |
| |
489 | ····const-string·v1,·"SQLiteQueryBuilder" | 500 | ····const-string·v1,·"SQLiteQueryBuilder" |
| |
490 | ····invoke-static·{v1,·p0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 501 | ····invoke-static·{v1,·p0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
| |
491 | ····.line·1073 | 502 | ····.line·1075 |
492 | ····invoke-static·{p1,·v0},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->maybeWithOperator(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 503 | ····invoke-static·{p1,·v0},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->maybeWithOperator(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
| |
493 | ····move-result-object·p0 | 504 | ····move-result-object·p0 |
| |
494 | ····return-object·p0 | 505 | ····return-object·p0 |
| |
495 | ····:cond_7 | 506 | ····:cond_7 |
496 | ····return-object·v2 | 507 | ····return-object·v2 |
497 | .end·method | 508 | .end·method |
| |
498 | .method·private·computeSingleProjectionOrThrow(Ljava/lang/String;)Ljava/lang/String; | 509 | .method·private·computeSingleProjectionOrThrow(Ljava/lang/String;)Ljava/lang/String; |
499 | ····.locals·2 | 510 | ····.locals·2 |
| |
500 | ····.line·1023 | 511 | ····.line·1025 |
501 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->computeSingleProjection(Ljava/lang/String;)Ljava/lang/String; | 512 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->computeSingleProjection(Ljava/lang/String;)Ljava/lang/String; |
| |
502 | ····move-result-object·p0 | 513 | ····move-result-object·p0 |
| |
503 | ····if-eqz·p0,·:cond_0 | 514 | ····if-eqz·p0,·:cond_0 |
| |
504 | ····return-object·p0 | 515 | ····return-object·p0 |
| |
505 | ····.line·1027 | 516 | ····.line·1029 |
506 | ····:cond_0 | 517 | ····:cond_0 |
507 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 518 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
| |
508 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 519 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
509 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 520 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
Offset 537, 57 lines modified | Offset 548, 57 lines modified |
| |
537 | ····throw·p0 | 548 | ····throw·p0 |
538 | .end·method | 549 | .end·method |
| |
539 | .method·private·enforceStrictColumns(Landroid/content/ContentValues;)V | 550 | .method·private·enforceStrictColumns(Landroid/content/ContentValues;)V |
540 | ····.locals·3 | 551 | ····.locals·3 |
| |
541 | ····.line·762 | 552 | ····.line·763 |
542 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; | 553 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; |
| |
543 | ····const-string·v1,·"No·projection·map·defined" | 554 | ····const-string·v1,·"No·projection·map·defined" |
| |
544 | ····invoke-static·{v0,·v1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; | 555 | ····invoke-static·{v0,·v1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; |
| |
545 | ····.line·765 | 556 | ····.line·766 |
546 | ····invoke-static·{p1},·Lcom/android/providers/media/util/DatabaseUtils;->getValues(Landroid/content/ContentValues;)Landroid/util/ArrayMap; | 557 | ····invoke-static·{p1},·Lcom/android/providers/media/util/DatabaseUtils;->getValues(Landroid/content/ContentValues;)Landroid/util/ArrayMap; |
| |
547 | ····move-result-object·p1 | 558 | ····move-result-object·p1 |
| |
548 | ····const/4·v0,·0x0 | 559 | ····const/4·v0,·0x0 |
| |
549 | ····.line·766 | 560 | ····.line·767 |
550 | ····:goto_0 | 561 | ····:goto_0 |
551 | ····invoke-virtual·{p1},·Landroid/util/ArrayMap;->size()I | 562 | ····invoke-virtual·{p1},·Landroid/util/ArrayMap;->size()I |
| |
552 | ····move-result·v1 | 563 | ····move-result·v1 |
| |
553 | ····if-ge·v0,·v1,·:cond_1 | 564 | ····if-ge·v0,·v1,·:cond_1 |
| |
554 | ····.line·767 | 565 | ····.line·768 |
555 | ····invoke-virtual·{p1,·v0},·Landroid/util/ArrayMap;->keyAt(I)Ljava/lang/Object; | 566 | ····invoke-virtual·{p1,·v0},·Landroid/util/ArrayMap;->keyAt(I)Ljava/lang/Object; |
| |
556 | ····move-result-object·v1 | 567 | ····move-result-object·v1 |
| |
557 | ····check-cast·v1,·Ljava/lang/String; | 568 | ····check-cast·v1,·Ljava/lang/String; |
| |
558 | ····.line·768 | 569 | ····.line·769 |
559 | ····iget-object·v2,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; | 570 | ····iget-object·v2,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; |
| |
560 | ····invoke-interface·{v2,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z | 571 | ····invoke-interface·{v2,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z |
| |
561 | ····move-result·v2 | 572 | ····move-result·v2 |
| |
562 | ····if-eqz·v2,·:cond_0 | 573 | ····if-eqz·v2,·:cond_0 |
| |
563 | ····add-int/lit8·v0,·v0,·0x1 | 574 | ····add-int/lit8·v0,·v0,·0x1 |
| |
564 | ····goto·:goto_0 | 575 | ····goto·:goto_0 |
| |
565 | ····.line·769 | 576 | ····.line·770 |
566 | ····:cond_0 | 577 | ····:cond_0 |
567 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 578 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
| |
568 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 579 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
569 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 580 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
Offset 608, 86 lines modified | Offset 619, 86 lines modified |
608 | ····:cond_1 | 619 | ····:cond_1 |
609 | ····return-void | 620 | ····return-void |
610 | .end·method | 621 | .end·method |
| |
611 | .method·private·enforceStrictColumns([Ljava/lang/String;)V | 622 | .method·private·enforceStrictColumns([Ljava/lang/String;)V |
612 | ····.locals·2 | 623 | ····.locals·2 |
| |
613 | ····.line·756 | 624 | ····.line·757 |
614 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; | 625 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mProjectionMap:Ljava/util/Map; |
| |
615 | ····const-string·v1,·"No·projection·map·defined" | 626 | ····const-string·v1,·"No·projection·map·defined" |
| |
616 | ····invoke-static·{v0,·v1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; | 627 | ····invoke-static·{v0,·v1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; |
| |
617 | ····.line·758 | 628 | ····.line·759 |
618 | ····invoke-virtual·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->computeProjection([Ljava/lang/String;)[Ljava/lang/String; | 629 | ····invoke-virtual·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->computeProjection([Ljava/lang/String;)[Ljava/lang/String; |
| |
619 | ····return-void | 630 | ····return-void |
620 | .end·method | 631 | .end·method |
| |
621 | .method·private·enforceStrictToken(Ljava/lang/String;)V | 632 | .method·private·enforceStrictToken(Ljava/lang/String;)V |
622 | ····.locals·5 | 633 | ····.locals·5 |
| |
623 | ····.line·790 | 634 | ····.line·791 |
624 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 635 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
625 | ····move-result·v0 | 636 | ····move-result·v0 |
| |
626 | ····if-eqz·v0,·:cond_0 | 637 | ····if-eqz·v0,·:cond_0 |
| |
627 | ····return-void | 638 | ····return-void |
| |
628 | ····.line·791 | 639 | ····.line·792 |
629 | ····:cond_0 | 640 | ····:cond_0 |
630 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->isTableOrColumn(Ljava/lang/String;)Z | 641 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->isTableOrColumn(Ljava/lang/String;)Z |
| |
631 | ····move-result·v0 | 642 | ····move-result·v0 |
| |
632 | ····if-eqz·v0,·:cond_1 | 643 | ····if-eqz·v0,·:cond_1 |
| |
633 | ····return-void | 644 | ····return-void |
| |
634 | ····.line·792 | 645 | ····.line·793 |
635 | ····:cond_1 | 646 | ····:cond_1 |
636 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->isCustomCollator(Ljava/lang/String;)Z | 647 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->isCustomCollator(Ljava/lang/String;)Z |
| |
637 | ····move-result·v0 | 648 | ····move-result·v0 |
| |
638 | ····if-eqz·v0,·:cond_2 | 649 | ····if-eqz·v0,·:cond_2 |
| |
639 | ····return-void | 650 | ····return-void |
| |
640 | ····.line·793 | 651 | ····.line·794 |
641 | ····:cond_2 | 652 | ····:cond_2 |
642 | ····invoke-static·{p1},·Lcom/android/providers/media/util/SQLiteTokenizer;->isFunction(Ljava/lang/String;)Z | 653 | ····invoke-static·{p1},·Lcom/android/providers/media/util/SQLiteTokenizer;->isFunction(Ljava/lang/String;)Z |
| |
643 | ····move-result·v0 | 654 | ····move-result·v0 |
| |
644 | ····if-eqz·v0,·:cond_3 | 655 | ····if-eqz·v0,·:cond_3 |
| |
645 | ····return-void | 656 | ····return-void |
| |
646 | ····.line·794 | 657 | ····.line·795 |
647 | ····:cond_3 | 658 | ····:cond_3 |
648 | ····invoke-static·{p1},·Lcom/android/providers/media/util/SQLiteTokenizer;->isType(Ljava/lang/String;)Z | 659 | ····invoke-static·{p1},·Lcom/android/providers/media/util/SQLiteTokenizer;->isType(Ljava/lang/String;)Z |
| |
649 | ····move-result·v0 | 660 | ····move-result·v0 |
| |
650 | ····if-eqz·v0,·:cond_4 | 661 | ····if-eqz·v0,·:cond_4 |
| |
651 | ····return-void | 662 | ····return-void |
| |
652 | ····.line·799 | 663 | ····.line·800 |
653 | ····:cond_4 | 664 | ····:cond_4 |
654 | ····invoke-static·{p1},·Lcom/android/providers/media/util/SQLiteTokenizer;->isKeyword(Ljava/lang/String;)Z | 665 | ····invoke-static·{p1},·Lcom/android/providers/media/util/SQLiteTokenizer;->isKeyword(Ljava/lang/String;)Z |
| |
655 | ····move-result·v0 | 666 | ····move-result·v0 |
| |
656 | ····.line·800 | 667 | ····.line·801 |
657 | ····sget-object·v1,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; | 668 | ····sget-object·v1,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; |
| |
658 | ····invoke-virtual·{p1,·v1},·Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; | 669 | ····invoke-virtual·{p1,·v1},·Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; |
| |
659 | ····move-result-object·v1 | 670 | ····move-result-object·v1 |
| |
660 | ····const/4·v2,·-0x1 | 671 | ····const/4·v2,·-0x1 |
Offset 827, 38 lines modified | Offset 838, 38 lines modified |
827 | ····move·v0,·v4 | 838 | ····move·v0,·v4 |
| |
828 | ····:goto_1 | 839 | ····:goto_1 |
829 | ····if-eqz·v0,·:cond_6 | 840 | ····if-eqz·v0,·:cond_6 |
| |
830 | ····return-void | 841 | ····return-void |
| |
831 | ····.line·815 | 842 | ····.line·816 |
832 | ····:cond_6 | 843 | ····:cond_6 |
833 | ····iget·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTargetSdkVersion:I | 844 | ····iget·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTargetSdkVersion:I |
| |
834 | ····const/16·v0,·0x1e | 845 | ····const/16·v0,·0x1e |
| |
835 | ····if-ge·p0,·v0,·:cond_8 | 846 | ····if-ge·p0,·v0,·:cond_9 |
| |
836 | ····.line·818 | 847 | ····.line·819 |
837 | ····sget-object·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sPattern154193772:Ljava/util/regex/Pattern; | 848 | ····sget-object·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sPattern154193772:Ljava/util/regex/Pattern; |
| |
838 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 849 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
839 | ····move-result-object·p0 | 850 | ····move-result-object·p0 |
| |
840 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z | 851 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z |
| |
841 | ····move-result·p0 | 852 | ····move-result·p0 |
| |
842 | ····if-eqz·p0,·:cond_7 | 853 | ····if-eqz·p0,·:cond_7 |
| |
843 | ····return-void | 854 | ····return-void |
| |
844 | ····.line·819 | 855 | ····.line·820 |
845 | ····:cond_7 | 856 | ····:cond_7 |
846 | ····sget-object·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sPattern156832140:Ljava/util/regex/Pattern; | 857 | ····sget-object·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sPattern156832140:Ljava/util/regex/Pattern; |
| |
847 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 858 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
848 | ····move-result-object·p0 | 859 | ····move-result-object·p0 |
| |
Offset 866, 16 lines modified | Offset 877, 32 lines modified |
| |
866 | ····move-result·p0 | 877 | ····move-result·p0 |
| |
867 | ····if-eqz·p0,·:cond_8 | 878 | ····if-eqz·p0,·:cond_8 |
| |
868 | ····return-void | 879 | ····return-void |
| |
869 | ····.line·822 | 880 | ····.line·821 |
870 | ····:cond_8 | 881 | ····:cond_8 |
| 882 | ····sget-object·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sPattern158537159:Ljava/util/regex/Pattern; |
| |
| 883 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
| 884 | ····move-result-object·p0 |
| |
| 885 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z |
| |
| 886 | ····move-result·p0 |
| |
| 887 | ····if-eqz·p0,·:cond_9 |
| |
| 888 | ····return-void |
| |
| 889 | ····.line·824 |
| 890 | ····:cond_9 |
871 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 891 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
| |
872 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 892 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
873 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 893 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
874 | ····const-string·v1,·"Invalid·token·" | 894 | ····const-string·v1,·"Invalid·token·" |
Offset 888, 14 lines modified | Offset 915, 16 lines modified |
| |
888 | ····move-result-object·p1 | 915 | ····move-result-object·p1 |
| |
889 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 916 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
| |
890 | ····throw·p0 | 917 | ····throw·p0 |
| |
| 918 | ····nop |
| |
891 | ····:sswitch_data_0 | 919 | ····:sswitch_data_0 |
892 | ····.sparse-switch | 920 | ····.sparse-switch |
893 | ········-0x6e6dd704·->·:sswitch_8 | 921 | ········-0x6e6dd704·->·:sswitch_8 |
894 | ········-0x69876ede·->·:sswitch_7 | 922 | ········-0x69876ede·->·:sswitch_7 |
895 | ········-0x67613010·->·:sswitch_6 | 923 | ········-0x67613010·->·:sswitch_6 |
896 | ········0x210faa·->·:sswitch_5 | 924 | ········0x210faa·->·:sswitch_5 |
897 | ········0x40efe5f·->·:sswitch_4 | 925 | ········0x40efe5f·->·:sswitch_4 |
Offset 918, 15 lines modified | Offset 947, 15 lines modified |
918 | ········:pswitch_0 | 947 | ········:pswitch_0 |
919 | ····.end·packed-switch | 948 | ····.end·packed-switch |
920 | .end·method | 949 | .end·method |
| |
921 | .method·private·isCustomCollator(Ljava/lang/String;)Z | 950 | .method·private·isCustomCollator(Ljava/lang/String;)Z |
922 | ····.locals·0 | 951 | ····.locals·0 |
| |
923 | ····.line·1086 | 952 | ····.line·1088 |
924 | ····sget-object·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sCustomCollatorPattern:Ljava/util/regex/Pattern; | 953 | ····sget-object·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->sCustomCollatorPattern:Ljava/util/regex/Pattern; |
| |
925 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 954 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
926 | ····move-result-object·p0 | 955 | ····move-result-object·p0 |
| |
927 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z | 956 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z |
Offset 935, 28 lines modified | Offset 964, 28 lines modified |
| |
935 | ····return·p0 | 964 | ····return·p0 |
936 | .end·method | 965 | .end·method |
| |
937 | .method·private·isTableOrColumn(Ljava/lang/String;)Z | 966 | .method·private·isTableOrColumn(Ljava/lang/String;)Z |
938 | ····.locals·2 | 967 | ····.locals·2 |
| |
939 | ····.line·1081 | 968 | ····.line·1083 |
940 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTables:Ljava/lang/String; | 969 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTables:Ljava/lang/String; |
| |
941 | ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 970 | ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
942 | ····move-result·v0 | 971 | ····move-result·v0 |
| |
943 | ····const/4·v1,·0x1 | 972 | ····const/4·v1,·0x1 |
| |
944 | ····if-eqz·v0,·:cond_0 | 973 | ····if-eqz·v0,·:cond_0 |
| |
945 | ····return·v1 | 974 | ····return·v1 |
| |
946 | ····.line·1082 | 975 | ····.line·1084 |
947 | ····:cond_0 | 976 | ····:cond_0 |
948 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->computeSingleProjection(Ljava/lang/String;)Ljava/lang/String; | 977 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->computeSingleProjection(Ljava/lang/String;)Ljava/lang/String; |
| |
949 | ····move-result-object·p0 | 978 | ····move-result-object·p0 |
| |
950 | ····if-eqz·p0,·:cond_1 | 979 | ····if-eqz·p0,·:cond_1 |
| |
Offset 976, 30 lines modified | Offset 1005, 30 lines modified |
| |
976 | ····return-void | 1005 | ····return-void |
977 | .end·method | 1006 | .end·method |
| |
978 | .method·private·synthetic·lambda$delete$3(Ljava/lang/String;[Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Integer; | 1007 | .method·private·synthetic·lambda$delete$3(Ljava/lang/String;[Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Integer; |
979 | ····.locals·0 | 1008 | ····.locals·0 |
| |
980 | ····.line·691 | 1009 | ····.line·692 |
981 | ····invoke-virtual·{p0,·p3,·p1,·p2},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->delete(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;[Ljava/lang/String;)I | 1010 | ····invoke-virtual·{p0,·p3,·p1,·p2},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->delete(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;[Ljava/lang/String;)I |
| |
982 | ····move-result·p0 | 1011 | ····move-result·p0 |
| |
983 | ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1012 | ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
984 | ····move-result-object·p0 | 1013 | ····move-result-object·p0 |
| |
985 | ····return-object·p0 | 1014 | ····return-object·p0 |
986 | .end·method | 1015 | .end·method |
| |
987 | .method·private·synthetic·lambda$insert$1(Landroid/content/ContentValues;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Long; | 1016 | .method·private·synthetic·lambda$insert$1(Landroid/content/ContentValues;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Long; |
988 | ····.locals·0 | 1017 | ····.locals·0 |
| |
989 | ····.line·561 | 1018 | ····.line·562 |
990 | ····invoke-virtual·{p0,·p2,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->insert(Landroid/database/sqlite/SQLiteDatabase;Landroid/content/ContentValues;)J | 1019 | ····invoke-virtual·{p0,·p2,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->insert(Landroid/database/sqlite/SQLiteDatabase;Landroid/content/ContentValues;)J |
| |
991 | ····move-result-wide·p0 | 1020 | ····move-result-wide·p0 |
| |
992 | ····invoke-static·{p0,·p1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1021 | ····invoke-static·{p0,·p1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
993 | ····move-result-object·p0 | 1022 | ····move-result-object·p0 |
Offset 1026, 26 lines modified | Offset 1055, 26 lines modified |
| |
1026 | ····move-object/from16·v7,·p6 | 1055 | ····move-object/from16·v7,·p6 |
| |
1027 | ····move-object/from16·v8,·p7 | 1056 | ····move-object/from16·v8,·p7 |
| |
1028 | ····move-object/from16·v9,·p8 | 1057 | ····move-object/from16·v9,·p8 |
| |
1029 | ····.line·460 | 1058 | ····.line·461 |
1030 | ····invoke-virtual/range·{v0·..·v9},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->query(Landroid/database/sqlite/SQLiteDatabase;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor; | 1059 | ····invoke-virtual/range·{v0·..·v9},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->query(Landroid/database/sqlite/SQLiteDatabase;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor; |
| |
1031 | ····move-result-object·v0 | 1060 | ····move-result-object·v0 |
| |
1032 | ····return-object·v0 | 1061 | ····return-object·v0 |
1033 | .end·method | 1062 | .end·method |
| |
1034 | .method·private·synthetic·lambda$update$2(Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Integer; | 1063 | .method·private·synthetic·lambda$update$2(Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Integer; |
1035 | ····.locals·0 | 1064 | ····.locals·0 |
| |
1036 | ····.line·605 | 1065 | ····.line·606 |
1037 | ····invoke-virtual·{p0,·p4,·p1,·p2,·p3},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->update(Landroid/database/sqlite/SQLiteDatabase;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I | 1066 | ····invoke-virtual·{p0,·p4,·p1,·p2,·p3},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->update(Landroid/database/sqlite/SQLiteDatabase;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I |
| |
1038 | ····move-result·p0 | 1067 | ····move-result·p0 |
| |
1039 | ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1068 | ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1040 | ····move-result-object·p0 | 1069 | ····move-result-object·p0 |
Offset 1054, 15 lines modified | Offset 1083, 15 lines modified |
1054 | .end·method | 1083 | .end·method |
| |
1055 | .method·private·static·maybeWithOperator(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 1084 | .method·private·static·maybeWithOperator(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
1056 | ····.locals·1 | 1085 | ····.locals·1 |
| |
1057 | ····if-eqz·p0,·:cond_0 | 1086 | ····if-eqz·p0,·:cond_0 |
| |
1058 | ····.line·987 | 1087 | ····.line·989 |
1059 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 1088 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
1060 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 1089 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
1061 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 1090 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
1062 | ····const-string·p0,·"(" | 1091 | ····const-string·p0,·"(" |
Offset 1086, 15 lines modified | Offset 1115, 15 lines modified |
1086 | .end·method | 1115 | .end·method |
| |
1087 | .method·private·static·shouldAppendRowId(Landroid/content/ContentValues;)Z | 1116 | .method·private·static·shouldAppendRowId(Landroid/content/ContentValues;)Z |
1088 | ····.locals·1 | 1117 | ····.locals·1 |
| |
1089 | ····const-string·v0,·"_id" | 1118 | ····const-string·v0,·"_id" |
| |
1090 | ····.line·1124 | 1119 | ····.line·1126 |
1091 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->containsKey(Ljava/lang/String;)Z | 1120 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->containsKey(Ljava/lang/String;)Z |
| |
1092 | ····move-result·v0 | 1121 | ····move-result·v0 |
| |
1093 | ····if-nez·v0,·:cond_0 | 1122 | ····if-nez·v0,·:cond_0 |
| |
1094 | ····const-string·v0,·"_data" | 1123 | ····const-string·v0,·"_data" |
Offset 1115, 24 lines modified | Offset 1144, 24 lines modified |
1115 | ····:goto_0 | 1144 | ····:goto_0 |
1116 | ····return·p0 | 1145 | ····return·p0 |
1117 | .end·method | 1146 | .end·method |
| |
1118 | .method·private·wrap(Ljava/lang/String;)Ljava/lang/String; | 1147 | .method·private·wrap(Ljava/lang/String;)Ljava/lang/String; |
1119 | ····.locals·1 | 1148 | ····.locals·1 |
| |
1120 | ····.line·1116 | 1149 | ····.line·1118 |
1121 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1150 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1122 | ····move-result·p0 | 1151 | ····move-result·p0 |
| |
1123 | ····if-eqz·p0,·:cond_0 | 1152 | ····if-eqz·p0,·:cond_0 |
| |
1124 | ····return-object·p1 | 1153 | ····return-object·p1 |
| |
1125 | ····.line·1119 | 1154 | ····.line·1121 |
1126 | ····:cond_0 | 1155 | ····:cond_0 |
1127 | ····new-instance·p0,·Ljava/lang/StringBuilder; | 1156 | ····new-instance·p0,·Ljava/lang/StringBuilder; |
| |
1128 | ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V | 1157 | ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V |
| |
1129 | ····const-string·v0,·"(" | 1158 | ····const-string·v0,·"(" |
| |
Offset 1152, 110 lines modified | Offset 1181, 110 lines modified |
1152 | .end·method | 1181 | .end·method |
| |
| |
1153 | #·virtual·methods | 1182 | #·virtual·methods |
1154 | .method·public·appendWhere(Ljava/lang/CharSequence;)V | 1183 | .method·public·appendWhere(Ljava/lang/CharSequence;)V |
1155 | ····.locals·2 | 1184 | ····.locals·2 |
| |
1156 | ····.line·165 | 1185 | ····.line·166 |
1157 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1186 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1158 | ····if-nez·v0,·:cond_0 | 1187 | ····if-nez·v0,·:cond_0 |
| |
1159 | ····.line·166 | 1188 | ····.line·167 |
1160 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 1189 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
1161 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I | 1190 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I |
| |
1162 | ····move-result·v1 | 1191 | ····move-result·v1 |
| |
1163 | ····add-int/lit8·v1,·v1,·0x10 | 1192 | ····add-int/lit8·v1,·v1,·0x10 |
| |
1164 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 1193 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
| |
1165 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1194 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1166 | ····.line·168 | 1195 | ····.line·169 |
1167 | ····:cond_0 | 1196 | ····:cond_0 |
1168 | ····iget-object·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1197 | ····iget-object·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1169 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; | 1198 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; |
| |
1170 | ····return-void | 1199 | ····return-void |
1171 | .end·method | 1200 | .end·method |
| |
1172 | .method·public·appendWhereEscapeString(Ljava/lang/String;)V | 1201 | .method·public·appendWhereEscapeString(Ljava/lang/String;)V |
1173 | ····.locals·2 | 1202 | ····.locals·2 |
| |
1174 | ····.line·182 | 1203 | ····.line·183 |
1175 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1204 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1176 | ····if-nez·v0,·:cond_0 | 1205 | ····if-nez·v0,·:cond_0 |
| |
1177 | ····.line·183 | 1206 | ····.line·184 |
1178 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 1207 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
1179 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | 1208 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I |
| |
1180 | ····move-result·v1 | 1209 | ····move-result·v1 |
| |
1181 | ····add-int/lit8·v1,·v1,·0x10 | 1210 | ····add-int/lit8·v1,·v1,·0x10 |
| |
1182 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 1211 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
| |
1183 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1212 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1184 | ····.line·185 | 1213 | ····.line·186 |
1185 | ····:cond_0 | 1214 | ····:cond_0 |
1186 | ····iget-object·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1215 | ····iget-object·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1187 | ····invoke-static·{p0,·p1},·Landroid/database/DatabaseUtils;->appendEscapedSQLString(Ljava/lang/StringBuilder;Ljava/lang/String;)V | 1216 | ····invoke-static·{p0,·p1},·Landroid/database/DatabaseUtils;->appendEscapedSQLString(Ljava/lang/StringBuilder;Ljava/lang/String;)V |
| |
1188 | ····return-void | 1217 | ····return-void |
1189 | .end·method | 1218 | .end·method |
| |
1190 | .method·public·appendWhereStandalone(Ljava/lang/CharSequence;)V | 1219 | .method·public·appendWhereStandalone(Ljava/lang/CharSequence;)V |
1191 | ····.locals·2 | 1220 | ····.locals·2 |
| |
1192 | ····.line·200 | 1221 | ····.line·201 |
1193 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1222 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1194 | ····if-nez·v0,·:cond_0 | 1223 | ····if-nez·v0,·:cond_0 |
| |
1195 | ····.line·201 | 1224 | ····.line·202 |
1196 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 1225 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
1197 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I | 1226 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I |
| |
1198 | ····move-result·v1 | 1227 | ····move-result·v1 |
| |
1199 | ····add-int/lit8·v1,·v1,·0x10 | 1228 | ····add-int/lit8·v1,·v1,·0x10 |
| |
1200 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 1229 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
| |
1201 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1230 | ····iput-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1202 | ····.line·203 | 1231 | ····.line·204 |
1203 | ····:cond_0 | 1232 | ····:cond_0 |
1204 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1233 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1205 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I | 1234 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I |
| |
1206 | ····move-result·v0 | 1235 | ····move-result·v0 |
| |
1207 | ····if-lez·v0,·:cond_1 | 1236 | ····if-lez·v0,·:cond_1 |
| |
1208 | ····.line·204 | 1237 | ····.line·205 |
1209 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1238 | ····iget-object·v0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1210 | ····const-string·v1,·"·AND·" | 1239 | ····const-string·v1,·"·AND·" |
| |
1211 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 1240 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
1212 | ····.line·206 | 1241 | ····.line·207 |
1213 | ····:cond_1 | 1242 | ····:cond_1 |
1214 | ····iget-object·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; | 1243 | ····iget-object·p0,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mWhereClause:Ljava/lang/StringBuilder; |
| |
1215 | ····const/16·v0,·0x28 | 1244 | ····const/16·v0,·0x28 |
| |
1216 | ····invoke-virtual·{p0,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 1245 | ····invoke-virtual·{p0,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
| |
Offset 1267, 138 lines modified | Offset 1296, 138 lines modified |
| |
1267 | ····return-void | 1296 | ····return-void |
1268 | .end·method | 1297 | .end·method |
| |
1269 | .method·public·buildDelete(Ljava/lang/String;)Ljava/lang/String; | 1298 | .method·public·buildDelete(Ljava/lang/String;)Ljava/lang/String; |
1270 | ····.locals·2 | 1299 | ····.locals·2 |
| |
1271 | ····.line·975 | 1300 | ····.line·977 |
1272 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 1301 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
1273 | ····const/16·v1,·0x78 | 1302 | ····const/16·v1,·0x78 |
| |
1274 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 1303 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
| |
1275 | ····const-string·v1,·"DELETE·FROM·" | 1304 | ····const-string·v1,·"DELETE·FROM·" |
| |
1276 | ····.line·976 | 1305 | ····.line·978 |
1277 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 1306 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
1278 | ····.line·977 | 1307 | ····.line·979 |
1279 | ····iget-object·v1,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTables:Ljava/lang/String; | 1308 | ····iget-object·v1,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTables:Ljava/lang/String; |
| |
1280 | ····invoke-static·{v1},·Landroid/database/sqlite/SQLiteDatabase;->findEditTable(Ljava/lang/String;)Ljava/lang/String; | 1309 | ····invoke-static·{v1},·Landroid/database/sqlite/SQLiteDatabase;->findEditTable(Ljava/lang/String;)Ljava/lang/String; |
| |
1281 | ····move-result-object·v1 | 1310 | ····move-result-object·v1 |
| |
1282 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 1311 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
1283 | ····.line·979 | 1312 | ····.line·981 |
1284 | ····invoke-virtual·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->computeWhere(Ljava/lang/String;)Ljava/lang/String; | 1313 | ····invoke-virtual·{p0,·p1},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->computeWhere(Ljava/lang/String;)Ljava/lang/String; |
| |
1285 | ····move-result-object·p0 | 1314 | ····move-result-object·p0 |
| |
1286 | ····const-string·p1,·"·WHERE·" | 1315 | ····const-string·p1,·"·WHERE·" |
| |
1287 | ····.line·980 | 1316 | ····.line·982 |
1288 | ····invoke-static·{v0,·p1,·p0},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V | 1317 | ····invoke-static·{v0,·p1,·p0},·Lcom/android/providers/media/util/SQLiteQueryBuilder;->appendClause(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V |
| |
1289 | ····.line·981 | 1318 | ····.line·983 |
1290 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1319 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
1291 | ····move-result-object·p0 | 1320 | ····move-result-object·p0 |
| |
1292 | ····return-object·p0 | 1321 | ····return-object·p0 |
1293 | .end·method | 1322 | .end·method |
| |
1294 | .method·public·buildInsert(Landroid/content/ContentValues;)Ljava/lang/String; | 1323 | .method·public·buildInsert(Landroid/content/ContentValues;)Ljava/lang/String; |
1295 | ····.locals·8 | 1324 | ····.locals·8 |
| |
1296 | ····if-eqz·p1,·:cond_9 | 1325 | ····if-eqz·p1,·:cond_9 |
| |
1297 | ····.line·866 | 1326 | ····.line·868 |
1298 | ····invoke-virtual·{p1},·Landroid/content/ContentValues;->isEmpty()Z | 1327 | ····invoke-virtual·{p1},·Landroid/content/ContentValues;->isEmpty()Z |
| |
1299 | ····move-result·v0 | 1328 | ····move-result·v0 |
| |
1300 | ····if-nez·v0,·:cond_9 | 1329 | ····if-nez·v0,·:cond_9 |
| |
1301 | ····.line·870 | 1330 | ····.line·872 |
1302 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 1331 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
1303 | ····const/16·v1,·0x78 | 1332 | ····const/16·v1,·0x78 |
| |
1304 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 1333 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
| |
1305 | ····const-string·v1,·"INSERT·INTO·" | 1334 | ····const-string·v1,·"INSERT·INTO·" |
| |
1306 | ····.line·871 | 1335 | ····.line·873 |
1307 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 1336 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
1308 | ····.line·872 | 1337 | ····.line·874 |
1309 | ····iget-object·v1,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTables:Ljava/lang/String; | 1338 | ····iget-object·v1,·p0,·Lcom/android/providers/media/util/SQLiteQueryBuilder;->mTables:Ljava/lang/String; |
| |
Max diff block lines reached; 48964/78577 bytes (62.31%) of diff not shown.
|