| | | |
Offset 109, 104 lines modified | Offset 109, 104 lines modified |
109 | ····.locals·2 | 109 | ····.locals·2 |
110 | ····.annotation·system·Ldalvik/annotation/Throws; | 110 | ····.annotation·system·Ldalvik/annotation/Throws; |
111 | ········value·=·{ | 111 | ········value·=·{ |
112 | ············Ljava/io/FileNotFoundException; | 112 | ············Ljava/io/FileNotFoundException; |
113 | ········} | 113 | ········} |
114 | ····.end·annotation | 114 | ····.end·annotation |
| |
115 | ····.line·352 | 115 | ····.line·360 |
116 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 116 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
117 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 117 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
118 | ····.line·327 | 118 | ····.line·335 |
119 | ····new-instance·v0,·Landroid/util/ArraySet; | 119 | ····new-instance·v0,·Landroid/util/ArraySet; |
| |
120 | ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V | 120 | ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V |
| |
121 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; | 121 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; |
| |
122 | ····.line·328 | 122 | ····.line·336 |
123 | ····new-instance·v0,·Ljava/util/ArrayList; | 123 | ····new-instance·v0,·Ljava/util/ArrayList; |
| |
124 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V | 124 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V |
| |
125 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 125 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
126 | ····.line·329 | 126 | ····.line·337 |
127 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; | 127 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; |
| |
128 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V | 128 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V |
| |
129 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; | 129 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; |
| |
130 | ····.line·330 | 130 | ····.line·338 |
131 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; | 131 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; |
| |
132 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V | 132 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V |
| |
133 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; | 133 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; |
| |
134 | ····const-wide/16·v0,·-0x1 | 134 | ····const-wide/16·v0,·-0x1 |
| |
135 | ····.line·332 | 135 | ····.line·340 |
136 | ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J | 136 | ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J |
| |
137 | ····const-string·v0,·"ctor" | 137 | ····const-string·v0,·"ctor" |
| |
138 | ····.line·353 | 138 | ····.line·361 |
139 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 139 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
140 | ····.line·355 | 140 | ····.line·363 |
141 | ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context; | 141 | ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context; |
| |
142 | ····move-result-object·v0 | 142 | ····move-result-object·v0 |
| |
143 | ····invoke-virtual·{v0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; | 143 | ····invoke-virtual·{v0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; |
| |
144 | ····move-result-object·v0 | 144 | ····move-result-object·v0 |
| |
145 | ····const-string·v1,·"media" | 145 | ····const-string·v1,·"media" |
| |
146 | ····.line·356 | 146 | ····.line·364 |
147 | ····invoke-virtual·{v0,·v1},·Landroid/content/ContentResolver;->acquireContentProviderClient(Ljava/lang/String;)Landroid/content/ContentProviderClient; | 147 | ····invoke-virtual·{v0,·v1},·Landroid/content/ContentResolver;->acquireContentProviderClient(Ljava/lang/String;)Landroid/content/ContentProviderClient; |
| |
148 | ····move-result-object·v0 | 148 | ····move-result-object·v0 |
| |
149 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mClient:Landroid/content/ContentProviderClient; | 149 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mClient:Landroid/content/ContentProviderClient; |
| |
150 | ····.line·357 | 150 | ····.line·365 |
151 | ····invoke-virtual·{v0},·Landroid/content/ContentProviderClient;->getLocalContentProvider()Landroid/content/ContentProvider; | 151 | ····invoke-virtual·{v0},·Landroid/content/ContentProviderClient;->getLocalContentProvider()Landroid/content/ContentProvider; |
| |
152 | ····move-result-object·v0 | 152 | ····move-result-object·v0 |
| |
153 | ····invoke-static·{v0},·Landroid/content/ContentResolver;->wrap(Landroid/content/ContentProvider;)Landroid/content/ContentResolver; | 153 | ····invoke-static·{v0},·Landroid/content/ContentResolver;->wrap(Landroid/content/ContentProvider;)Landroid/content/ContentResolver; |
| |
154 | ····move-result-object·v0 | 154 | ····move-result-object·v0 |
| |
155 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; | 155 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; |
| |
156 | ····.line·359 | 156 | ····.line·367 |
157 | ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; | 157 | ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; |
| |
158 | ····.line·360 | 158 | ····.line·368 |
159 | ····iput·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I | 159 | ····iput·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I |
| |
160 | ····.line·362 | 160 | ····.line·370 |
161 | ····invoke-static·{},·Landroid/os/Environment;->getStorageDirectory()Ljava/io/File; | 161 | ····invoke-static·{},·Landroid/os/Environment;->getStorageDirectory()Ljava/io/File; |
| |
162 | ····move-result-object·p3 | 162 | ····move-result-object·p3 |
| |
163 | ····invoke-static·{p3,·p2},·Lcom/android/providers/media/util/FileUtils;->contains(Ljava/io/File;Ljava/io/File;)Z | 163 | ····invoke-static·{p3,·p2},·Lcom/android/providers/media/util/FileUtils;->contains(Ljava/io/File;Ljava/io/File;)Z |
| |
164 | ····move-result·p3 | 164 | ····move-result·p3 |
| |
165 | ····if-eqz·p3,·:cond_0 | 165 | ····if-eqz·p3,·:cond_0 |
| |
166 | ····.line·363 | 166 | ····.line·371 |
167 | ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context; | 167 | ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context; |
| |
168 | ····move-result-object·p1 | 168 | ····move-result-object·p1 |
| |
169 | ····invoke-static·{p1,·p2},·Lcom/android/providers/media/util/FileUtils;->getStorageVolume(Landroid/content/Context;Ljava/io/File;)Landroid/os/storage/StorageVolume; | 169 | ····invoke-static·{p1,·p2},·Lcom/android/providers/media/util/FileUtils;->getStorageVolume(Landroid/content/Context;Ljava/io/File;)Landroid/os/storage/StorageVolume; |
| |
170 | ····move-result-object·p1 | 170 | ····move-result-object·p1 |
Offset 215, 121 lines modified | Offset 215, 121 lines modified |
| |
215 | ····move-result-object·p1 | 215 | ····move-result-object·p1 |
| |
216 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolume:Lcom/android/providers/media/MediaVolume; | 216 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolume:Lcom/android/providers/media/MediaVolume; |
| |
217 | ····goto·:goto_0 | 217 | ····goto·:goto_0 |
| |
218 | ····.line·365 | 218 | ····.line·373 |
219 | ····:cond_0 | 219 | ····:cond_0 |
220 | ····invoke-static·{},·Lcom/android/providers/media/MediaVolume;->fromInternal()Lcom/android/providers/media/MediaVolume; | 220 | ····invoke-static·{},·Lcom/android/providers/media/MediaVolume;->fromInternal()Lcom/android/providers/media/MediaVolume; |
| |
221 | ····move-result-object·p1 | 221 | ····move-result-object·p1 |
| |
222 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolume:Lcom/android/providers/media/MediaVolume; | 222 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolume:Lcom/android/providers/media/MediaVolume; |
| |
223 | ····.line·367 | 223 | ····.line·375 |
224 | ····:goto_0 | 224 | ····:goto_0 |
225 | ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolume:Lcom/android/providers/media/MediaVolume; | 225 | ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolume:Lcom/android/providers/media/MediaVolume; |
| |
226 | ····invoke-virtual·{p1},·Lcom/android/providers/media/MediaVolume;->getName()Ljava/lang/String; | 226 | ····invoke-virtual·{p1},·Lcom/android/providers/media/MediaVolume;->getName()Ljava/lang/String; |
| |
227 | ····move-result-object·p1 | 227 | ····move-result-object·p1 |
| |
228 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; | 228 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; |
| |
229 | ····.line·368 | 229 | ····.line·376 |
230 | ····invoke-static·{p1},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri; | 230 | ····invoke-static·{p1},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri; |
| |
231 | ····move-result-object·p3 | 231 | ····move-result-object·p3 |
| |
232 | ····iput-object·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri; | 232 | ····iput-object·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri; |
| |
233 | ····.line·369 | 233 | ····.line·377 |
234 | ····new-instance·p3,·Landroid/os/CancellationSignal; | 234 | ····new-instance·p3,·Landroid/os/CancellationSignal; |
| |
235 | ····invoke-direct·{p3},·Landroid/os/CancellationSignal;-><init>()V | 235 | ····invoke-direct·{p3},·Landroid/os/CancellationSignal;-><init>()V |
| |
236 | ····iput-object·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; | 236 | ····iput-object·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; |
| |
237 | ····.line·371 | 237 | ····.line·379 |
238 | ····invoke-static·{v0,·p1},·Landroid/provider/MediaStore;->getGeneration(Landroid/content/ContentResolver;Ljava/lang/String;)J | 238 | ····invoke-static·{v0,·p1},·Landroid/provider/MediaStore;->getGeneration(Landroid/content/ContentResolver;Ljava/lang/String;)J |
| |
239 | ····move-result-wide·v0 | 239 | ····move-result-wide·v0 |
| |
240 | ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mStartGeneration:J | 240 | ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mStartGeneration:J |
| |
241 | ····.line·372 | 241 | ····.line·380 |
242 | ····invoke-virtual·{p2},·Ljava/io/File;->isFile()Z | 242 | ····invoke-virtual·{p2},·Ljava/io/File;->isFile()Z |
| |
243 | ····move-result·p1 | 243 | ····move-result·p1 |
| |
244 | ····iput-boolean·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z | 244 | ····iput-boolean·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z |
| |
245 | ····.line·373 | 245 | ····.line·381 |
246 | ····iput-object·p4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mOwnerPackage:Ljava/lang/String; | 246 | ····iput-object·p4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mOwnerPackage:Ljava/lang/String; |
| |
247 | ····.line·374 | 247 | ····.line·382 |
248 | ····new-instance·p1,·Ljava/util/ArrayList; | 248 | ····new-instance·p1,·Ljava/util/ArrayList; |
| |
249 | ····invoke-direct·{p1},·Ljava/util/ArrayList;-><init>()V | 249 | ····invoke-direct·{p1},·Ljava/util/ArrayList;-><init>()V |
| |
250 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mExcludeDirs:Ljava/util/List; | 250 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mExcludeDirs:Ljava/util/List; |
| |
251 | ····.line·376 | 251 | ····.line·384 |
252 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 252 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
253 | ····return-void | 253 | ····return-void |
254 | .end·method | 254 | .end·method |
| |
255 | .method·static·synthetic·access$000(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)Lcom/android/providers/media/MediaVolume; | 255 | .method·static·synthetic·access$000(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)Lcom/android/providers/media/MediaVolume; |
256 | ····.locals·0 | 256 | ····.locals·0 |
| |
257 | ····.line·312 | 257 | ····.line·320 |
258 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolume:Lcom/android/providers/media/MediaVolume; | 258 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolume:Lcom/android/providers/media/MediaVolume; |
| |
259 | ····return-object·p0 | 259 | ····return-object·p0 |
260 | .end·method | 260 | .end·method |
| |
261 | .method·static·synthetic·access$100(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)Landroid/os/CancellationSignal; | 261 | .method·static·synthetic·access$100(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)Landroid/os/CancellationSignal; |
262 | ····.locals·0 | 262 | ····.locals·0 |
| |
263 | ····.line·312 | 263 | ····.line·320 |
264 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; | 264 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; |
| |
265 | ····return-object·p0 | 265 | ····return-object·p0 |
266 | .end·method | 266 | .end·method |
| |
267 | .method·static·synthetic·access$200(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)I | 267 | .method·static·synthetic·access$200(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)I |
268 | ····.locals·0 | 268 | ····.locals·0 |
| |
269 | ····.line·312 | 269 | ····.line·320 |
270 | ····iget·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I | 270 | ····iget·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I |
| |
271 | ····return·p0 | 271 | ····return·p0 |
272 | .end·method | 272 | .end·method |
| |
273 | .method·private·acquireDirectoryLock(Ljava/nio/file/Path;)V | 273 | .method·private·acquireDirectoryLock(Ljava/nio/file/Path;)V |
274 | ····.locals·3 | 274 | ····.locals·3 |
| |
275 | ····const-string·v0,·"acquireDirectoryLock" | 275 | ····const-string·v0,·"acquireDirectoryLock" |
| |
276 | ····.line·599 | 276 | ····.line·607 |
277 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 277 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
278 | ····.line·601 | 278 | ····.line·609 |
279 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 279 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
280 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$700(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; | 280 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$700(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; |
| |
281 | ····move-result-object·v0 | 281 | ····move-result-object·v0 |
| |
282 | ····monitor-enter·v0 | 282 | ····monitor-enter·v0 |
| |
283 | ····.line·602 | 283 | ····.line·610 |
284 | ····:try_start_0 | 284 | ····:try_start_0 |
285 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 285 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
286 | ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$700(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; | 286 | ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$700(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; |
| |
287 | ····move-result-object·v1 | 287 | ····move-result-object·v1 |
| |
Offset 337, 62 lines modified | Offset 337, 62 lines modified |
| |
337 | ····move-result-object·v1 | 337 | ····move-result-object·v1 |
| |
338 | ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; | 338 | ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; |
| |
339 | ····if-nez·v1,·:cond_0 | 339 | ····if-nez·v1,·:cond_0 |
| |
340 | ····.line·604 | 340 | ····.line·612 |
341 | ····new-instance·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; | 341 | ····new-instance·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; |
| |
342 | ····const/4·v2,·0x0 | 342 | ····const/4·v2,·0x0 |
| |
343 | ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;-><init>(Lcom/android/providers/media/scan/ModernMediaScanner$1;)V | 343 | ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;-><init>(Lcom/android/providers/media/scan/ModernMediaScanner$1;)V |
| |
344 | ····.line·605 | 344 | ····.line·613 |
345 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 345 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
346 | ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$700(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; | 346 | ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$700(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; |
| |
347 | ····move-result-object·v2 | 347 | ····move-result-object·v2 |
| |
348 | ····invoke-interface·{v2,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 348 | ····invoke-interface·{v2,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
349 | ····.line·607 | 349 | ····.line·615 |
350 | ····:cond_0 | 350 | ····:cond_0 |
351 | ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I | 351 | ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I |
| |
352 | ····add-int/lit8·v2,·v2,·0x1 | 352 | ····add-int/lit8·v2,·v2,·0x1 |
| |
353 | ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I | 353 | ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I |
| |
354 | ····.line·608 | 354 | ····.line·616 |
355 | ····monitor-exit·v0 | 355 | ····monitor-exit·v0 |
356 | ····:try_end_0 | 356 | ····:try_end_0 |
357 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 357 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
| |
358 | ····.line·609 | 358 | ····.line·617 |
359 | ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock; | 359 | ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock; |
| |
360 | ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->lock()V | 360 | ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->lock()V |
| |
361 | ····.line·610 | 361 | ····.line·618 |
362 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; | 362 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; |
| |
363 | ····invoke-interface·{p0,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 363 | ····invoke-interface·{p0,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
| |
364 | ····.line·611 | 364 | ····.line·619 |
365 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 365 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
366 | ····return-void | 366 | ····return-void |
| |
367 | ····:catchall_0 | 367 | ····:catchall_0 |
368 | ····move-exception·p0 | 368 | ····move-exception·p0 |
| |
369 | ····.line·608 | 369 | ····.line·616 |
370 | ····:try_start_1 | 370 | ····:try_start_1 |
371 | ····monitor-exit·v0 | 371 | ····monitor-exit·v0 |
372 | ····:try_end_1 | 372 | ····:try_end_1 |
373 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 373 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
374 | ····throw·p0 | 374 | ····throw·p0 |
375 | .end·method | 375 | .end·method |
Offset 405, 20 lines modified | Offset 405, 20 lines modified |
405 | ············"Ljava/lang/String;", | 405 | ············"Ljava/lang/String;", |
406 | ············"Ljava/util/List<", | 406 | ············"Ljava/util/List<", |
407 | ············"Ljava/lang/String;", | 407 | ············"Ljava/lang/String;", |
408 | ············">;)V" | 408 | ············">;)V" |
409 | ········} | 409 | ········} |
410 | ····.end·annotation | 410 | ····.end·annotation |
| |
411 | ····.line·472 | 411 | ····.line·480 |
412 | ····invoke-static·{p1},·Lcom/android/providers/media/util/DatabaseUtils;->escapeForLike(Ljava/lang/String;)Ljava/lang/String; | 412 | ····invoke-static·{p1},·Lcom/android/providers/media/util/DatabaseUtils;->escapeForLike(Ljava/lang/String;)Ljava/lang/String; |
| |
413 | ····move-result-object·p0 | 413 | ····move-result-object·p0 |
| |
414 | ····.line·473 | 414 | ····.line·481 |
415 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 415 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
416 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 416 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
417 | ····invoke-virtual·{p1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 417 | ····invoke-virtual·{p1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
418 | ····const-string·v0,·"/%" | 418 | ····const-string·v0,·"/%" |
Offset 427, 56 lines modified | Offset 427, 56 lines modified |
| |
427 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 427 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
428 | ····move-result-object·p1 | 428 | ····move-result-object·p1 |
| |
429 | ····invoke-interface·{p2,·p1},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 429 | ····invoke-interface·{p2,·p1},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
430 | ····.line·474 | 430 | ····.line·482 |
431 | ····invoke-interface·{p2,·p0},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 431 | ····invoke-interface·{p2,·p0},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
432 | ····return-void | 432 | ····return-void |
433 | .end·method | 433 | .end·method |
| |
434 | .method·private·addPending(Landroid/content/ContentProviderOperation;)V | 434 | .method·private·addPending(Landroid/content/ContentProviderOperation;)V |
435 | ····.locals·1 | 435 | ····.locals·1 |
| |
436 | ····.line·895 | 436 | ····.line·903 |
437 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 437 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
438 | ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z | 438 | ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
| |
439 | ····.line·897 | 439 | ····.line·905 |
440 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isInsert()Z | 440 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isInsert()Z |
| |
441 | ····move-result·v0 | 441 | ····move-result·v0 |
| |
442 | ····if-eqz·v0,·:cond_0 | 442 | ····if-eqz·v0,·:cond_0 |
| |
443 | ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I | 443 | ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I |
| |
444 | ····add-int/lit8·v0,·v0,·0x1 | 444 | ····add-int/lit8·v0,·v0,·0x1 |
| |
445 | ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I | 445 | ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I |
| |
446 | ····.line·898 | 446 | ····.line·906 |
447 | ····:cond_0 | 447 | ····:cond_0 |
448 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isUpdate()Z | 448 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isUpdate()Z |
| |
449 | ····move-result·v0 | 449 | ····move-result·v0 |
| |
450 | ····if-eqz·v0,·:cond_1 | 450 | ····if-eqz·v0,·:cond_1 |
| |
451 | ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I | 451 | ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I |
| |
452 | ····add-int/lit8·v0,·v0,·0x1 | 452 | ····add-int/lit8·v0,·v0,·0x1 |
| |
453 | ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I | 453 | ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I |
| |
454 | ····.line·899 | 454 | ····.line·907 |
455 | ····:cond_1 | 455 | ····:cond_1 |
456 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isDelete()Z | 456 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isDelete()Z |
| |
457 | ····move-result·p1 | 457 | ····move-result·p1 |
| |
458 | ····if-eqz·p1,·:cond_2 | 458 | ····if-eqz·p1,·:cond_2 |
| |
Offset 491, 69 lines modified | Offset 491, 69 lines modified |
491 | .end·method | 491 | .end·method |
| |
492 | .method·private·applyPending()V | 492 | .method·private·applyPending()V |
493 | ····.locals·9 | 493 | ····.locals·9 |
| |
494 | ····const-string·v0,·"ModernMediaScanner" | 494 | ····const-string·v0,·"ModernMediaScanner" |
| |
495 | ····.line·910 | 495 | ····.line·918 |
496 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 496 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
497 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z | 497 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z |
| |
498 | ····move-result·v1 | 498 | ····move-result·v1 |
| |
499 | ····if-eqz·v1,·:cond_0 | 499 | ····if-eqz·v1,·:cond_0 |
| |
500 | ····return-void | 500 | ····return-void |
| |
501 | ····:cond_0 | 501 | ····:cond_0 |
502 | ····const-string·v1,·"applyPending" | 502 | ····const-string·v1,·"applyPending" |
| |
503 | ····.line·912 | 503 | ····.line·920 |
504 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 504 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
505 | ····.line·914 | 505 | ····.line·922 |
506 | ····:try_start_0 | 506 | ····:try_start_0 |
507 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; | 507 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; |
| |
508 | ····const-string·v2,·"media" | 508 | ····const-string·v2,·"media" |
| |
509 | ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 509 | ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
510 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/content/ContentResolver;->applyBatch(Ljava/lang/String;Ljava/util/ArrayList;)[Landroid/content/ContentProviderResult; | 510 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/content/ContentResolver;->applyBatch(Ljava/lang/String;Ljava/util/ArrayList;)[Landroid/content/ContentProviderResult; |
| |
511 | ····move-result-object·v1 | 511 | ····move-result-object·v1 |
| |
512 | ····const/4·v2,·0x0 | 512 | ····const/4·v2,·0x0 |
| |
513 | ····.line·915 | 513 | ····.line·923 |
514 | ····:goto_0 | 514 | ····:goto_0 |
515 | ····array-length·v3,·v1 | 515 | ····array-length·v3,·v1 |
| |
516 | ····if-ge·v2,·v3,·:cond_4 | 516 | ····if-ge·v2,·v3,·:cond_4 |
| |
517 | ····.line·916 | 517 | ····.line·924 |
518 | ····aget-object·v3,·v1,·v2 | 518 | ····aget-object·v3,·v1,·v2 |
| |
519 | ····.line·917 | 519 | ····.line·925 |
520 | ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 520 | ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
521 | ····invoke-virtual·{v4,·v2},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; | 521 | ····invoke-virtual·{v4,·v2},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; |
| |
522 | ····move-result-object·v4 | 522 | ····move-result-object·v4 |
| |
523 | ····check-cast·v4,·Landroid/content/ContentProviderOperation; | 523 | ····check-cast·v4,·Landroid/content/ContentProviderOperation; |
| |
524 | ····.line·919 | 524 | ····.line·927 |
525 | ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable; | 525 | ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable; |
| |
526 | ····if-eqz·v5,·:cond_1 | 526 | ····if-eqz·v5,·:cond_1 |
| |
527 | ····.line·920 | 527 | ····.line·928 |
528 | ····new-instance·v5,·Ljava/lang/StringBuilder; | 528 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
| |
529 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V | 529 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V |
| |
530 | ····const-string·v6,·"Failed·to·apply·" | 530 | ····const-string·v6,·"Failed·to·apply·" |
| |
531 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 531 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 564, 38 lines modified | Offset 564, 38 lines modified |
| |
564 | ····move-result-object·v4 | 564 | ····move-result-object·v4 |
| |
565 | ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable; | 565 | ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable; |
| |
566 | ····invoke-static·{v0,·v4,·v5},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 566 | ····invoke-static·{v0,·v4,·v5},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
| |
567 | ····.line·923 | 567 | ····.line·931 |
568 | ····:cond_1 | 568 | ····:cond_1 |
569 | ····iget-object·v3,·v3,·Landroid/content/ContentProviderResult;->uri:Landroid/net/Uri; | 569 | ····iget-object·v3,·v3,·Landroid/content/ContentProviderResult;->uri:Landroid/net/Uri; |
| |
570 | ····if-eqz·v3,·:cond_3 | 570 | ····if-eqz·v3,·:cond_3 |
| |
571 | ····.line·925 | 571 | ····.line·933 |
572 | ····invoke-static·{v3},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J | 572 | ····invoke-static·{v3},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J |
| |
573 | ····move-result-wide·v3 | 573 | ····move-result-wide·v3 |
| |
574 | ····.line·926 | 574 | ····.line·934 |
575 | ····iget-wide·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J | 575 | ····iget-wide·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J |
| |
576 | ····const-wide/16·v7,·-0x1 | 576 | ····const-wide/16·v7,·-0x1 |
| |
577 | ····cmp-long·v5,·v5,·v7 | 577 | ····cmp-long·v5,·v5,·v7 |
| |
578 | ····if-nez·v5,·:cond_2 | 578 | ····if-nez·v5,·:cond_2 |
| |
579 | ····.line·927 | 579 | ····.line·935 |
580 | ····iput-wide·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J | 580 | ····iput-wide·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J |
| |
581 | ····.line·929 | 581 | ····.line·937 |
582 | ····:cond_2 | 582 | ····:cond_2 |
583 | ····iget-object·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; | 583 | ····iget-object·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; |
| |
584 | ····invoke-virtual·{v5,·v3,·v4},·Lcom/android/providers/media/util/LongArray;->add(J)V | 584 | ····invoke-virtual·{v5,·v3,·v4},·Lcom/android/providers/media/util/LongArray;->add(J)V |
585 | ····:try_end_0 | 585 | ····:try_end_0 |
586 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 | 586 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 |
587 | ····.catch·Landroid/content/OperationApplicationException;·{:try_start_0·..·:try_end_0}·:catch_0 | 587 | ····.catch·Landroid/content/OperationApplicationException;·{:try_start_0·..·:try_end_0}·:catch_0 |
Offset 613, 40 lines modified | Offset 613, 40 lines modified |
| |
613 | ····:catch_0 | 613 | ····:catch_0 |
614 | ····move-exception·v1 | 614 | ····move-exception·v1 |
| |
615 | ····:try_start_1 | 615 | ····:try_start_1 |
616 | ····const-string·v2,·"Failed·to·apply" | 616 | ····const-string·v2,·"Failed·to·apply" |
| |
617 | ····.line·933 | 617 | ····.line·941 |
618 | ····invoke-static·{v0,·v2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 618 | ····invoke-static·{v0,·v2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
619 | ····:try_end_1 | 619 | ····:try_end_1 |
620 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 620 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
621 | ····.line·935 | 621 | ····.line·943 |
622 | ····:cond_4 | 622 | ····:cond_4 |
623 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 623 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
624 | ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V | 624 | ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V |
| |
625 | ····.line·936 | 625 | ····.line·944 |
626 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 626 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
627 | ····return-void | 627 | ····return-void |
| |
628 | ····.line·935 | 628 | ····.line·943 |
629 | ····:goto_1 | 629 | ····:goto_1 |
630 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 630 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
631 | ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V | 631 | ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V |
| |
632 | ····.line·936 | 632 | ····.line·944 |
633 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 633 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
634 | ····.line·937 | 634 | ····.line·945 |
635 | ····throw·v0 | 635 | ····throw·v0 |
636 | .end·method | 636 | .end·method |
| |
637 | .method·private·buildExcludeDirClause(I)Ljava/lang/String; | 637 | .method·private·buildExcludeDirClause(I)Ljava/lang/String; |
638 | ····.locals·4 | 638 | ····.locals·4 |
| |
639 | ····if-nez·p1,·:cond_0 | 639 | ····if-nez·p1,·:cond_0 |
Offset 656, 82 lines modified | Offset 656, 82 lines modified |
656 | ····return-object·p0 | 656 | ····return-object·p0 |
| |
657 | ····:cond_0 | 657 | ····:cond_0 |
658 | ····const-string·p0,·"_data·NOT·LIKE·?·ESCAPE·\'\\\'" | 658 | ····const-string·p0,·"_data·NOT·LIKE·?·ESCAPE·\'\\\'" |
| |
659 | ····const-string·v0,·"·AND·" | 659 | ····const-string·v0,·"·AND·" |
| |
660 | ····.line·451 | 660 | ····.line·459 |
661 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 661 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
| |
662 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 662 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
| |
663 | ····const-string·v2,·"(" | 663 | ····const-string·v2,·"(" |
| |
664 | ····.line·452 | 664 | ····.line·460 |
665 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 665 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
666 | ····const/4·v2,·0x0 | 666 | ····const/4·v2,·0x0 |
| |
667 | ····:goto_0 | 667 | ····:goto_0 |
668 | ····if-ge·v2,·p1,·:cond_2 | 668 | ····if-ge·v2,·p1,·:cond_2 |
| |
669 | ····.line·460 | 669 | ····.line·468 |
670 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 670 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
671 | ····.line·461 | 671 | ····.line·469 |
672 | ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 672 | ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
673 | ····.line·462 | 673 | ····.line·470 |
674 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 674 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
675 | ····add-int/lit8·v3,·p1,·-0x1 | 675 | ····add-int/lit8·v3,·p1,·-0x1 |
| |
676 | ····if-eq·v2,·v3,·:cond_1 | 676 | ····if-eq·v2,·v3,·:cond_1 |
| |
677 | ····.line·464 | 677 | ····.line·472 |
678 | ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 678 | ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
679 | ····:cond_1 | 679 | ····:cond_1 |
680 | ····add-int/lit8·v2,·v2,·0x1 | 680 | ····add-int/lit8·v2,·v2,·0x1 |
| |
681 | ····goto·:goto_0 | 681 | ····goto·:goto_0 |
| |
682 | ····:cond_2 | 682 | ····:cond_2 |
683 | ····const-string·p0,·")" | 683 | ····const-string·p0,·")" |
| |
684 | ····.line·467 | 684 | ····.line·475 |
685 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 685 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
686 | ····.line·468 | 686 | ····.line·476 |
687 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 687 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
688 | ····move-result-object·p0 | 688 | ····move-result-object·p0 |
| |
689 | ····return-object·p0 | 689 | ····return-object·p0 |
690 | .end·method | 690 | .end·method |
| |
691 | .method·private·buildSqlSelectionArgs()[Ljava/lang/String; | 691 | .method·private·buildSqlSelectionArgs()[Ljava/lang/String; |
692 | ····.locals·3 | 692 | ····.locals·3 |
| |
693 | ····.line·478 | 693 | ····.line·486 |
694 | ····new-instance·v0,·Ljava/util/ArrayList; | 694 | ····new-instance·v0,·Ljava/util/ArrayList; |
| |
695 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V | 695 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V |
| |
696 | ····.line·480 | 696 | ····.line·488 |
697 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; | 697 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; |
| |
698 | ····invoke-virtual·{v1},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; | 698 | ····invoke-virtual·{v1},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; |
| |
699 | ····move-result-object·v1 | 699 | ····move-result-object·v1 |
| |
700 | ····invoke-direct·{p0,·v1,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addEscapedAndExpandedPath(Ljava/lang/String;Ljava/util/List;)V | 700 | ····invoke-direct·{p0,·v1,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addEscapedAndExpandedPath(Ljava/lang/String;Ljava/util/List;)V |
| |
701 | ····.line·481 | 701 | ····.line·489 |
702 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mExcludeDirs:Ljava/util/List; | 702 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mExcludeDirs:Ljava/util/List; |
| |
703 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 703 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
704 | ····move-result-object·v1 | 704 | ····move-result-object·v1 |
| |
705 | ····:goto_0 | 705 | ····:goto_0 |
Offset 743, 45 lines modified | Offset 743, 45 lines modified |
| |
743 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 743 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
744 | ····move-result-object·v2 | 744 | ····move-result-object·v2 |
| |
745 | ····check-cast·v2,·Ljava/lang/String; | 745 | ····check-cast·v2,·Ljava/lang/String; |
| |
746 | ····.line·482 | 746 | ····.line·490 |
747 | ····invoke-direct·{p0,·v2,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addEscapedAndExpandedPath(Ljava/lang/String;Ljava/util/List;)V | 747 | ····invoke-direct·{p0,·v2,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addEscapedAndExpandedPath(Ljava/lang/String;Ljava/util/List;)V |
| |
748 | ····goto·:goto_0 | 748 | ····goto·:goto_0 |
| |
749 | ····:cond_0 | 749 | ····:cond_0 |
750 | ····const/4·p0,·0x0 | 750 | ····const/4·p0,·0x0 |
| |
751 | ····new-array·p0,·p0,·[Ljava/lang/String; | 751 | ····new-array·p0,·p0,·[Ljava/lang/String; |
| |
752 | ····.line·485 | 752 | ····.line·493 |
753 | ····invoke-interface·{v0,·p0},·Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; | 753 | ····invoke-interface·{v0,·p0},·Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; |
| |
754 | ····move-result-object·p0 | 754 | ····move-result-object·p0 |
| |
755 | ····check-cast·p0,·[Ljava/lang/String; | 755 | ····check-cast·p0,·[Ljava/lang/String; |
| |
756 | ····return-object·p0 | 756 | ····return-object·p0 |
757 | .end·method | 757 | .end·method |
| |
758 | .method·private·hasSameMetadata(Ljava/nio/file/attribute/BasicFileAttributes;Ljava/io/File;ZLandroid/database/Cursor;)Z | 758 | .method·private·hasSameMetadata(Ljava/nio/file/attribute/BasicFileAttributes;Ljava/io/File;ZLandroid/database/Cursor;)Z |
759 | ····.locals·5 | 759 | ····.locals·5 |
| |
760 | ····const/4·p0,·0x1 | 760 | ····const/4·p0,·0x1 |
| |
761 | ····.line·826 | 761 | ····.line·834 |
762 | ····invoke-interface·{p4,·p0},·Landroid/database/Cursor;->getLong(I)J | 762 | ····invoke-interface·{p4,·p0},·Landroid/database/Cursor;->getLong(I)J |
| |
763 | ····move-result-wide·v0 | 763 | ····move-result-wide·v0 |
| |
764 | ····.line·827 | 764 | ····.line·835 |
765 | ····invoke-static·{p2,·p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->lastModifiedTime(Ljava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;)J | 765 | ····invoke-static·{p2,·p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->lastModifiedTime(Ljava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;)J |
| |
766 | ····move-result-wide·v2 | 766 | ····move-result-wide·v2 |
| |
767 | ····cmp-long·p2,·v2,·v0 | 767 | ····cmp-long·p2,·v2,·v0 |
| |
768 | ····const/4·v0,·0x0 | 768 | ····const/4·v0,·0x0 |
Offset 794, 20 lines modified | Offset 794, 20 lines modified |
| |
794 | ····:cond_0 | 794 | ····:cond_0 |
795 | ····move·p2,·v0 | 795 | ····move·p2,·v0 |
| |
796 | ····:goto_0 | 796 | ····:goto_0 |
797 | ····const/4·v1,·0x2 | 797 | ····const/4·v1,·0x2 |
| |
798 | ····.line·829 | 798 | ····.line·837 |
799 | ····invoke-interface·{p4,·v1},·Landroid/database/Cursor;->getLong(I)J | 799 | ····invoke-interface·{p4,·v1},·Landroid/database/Cursor;->getLong(I)J |
| |
800 | ····move-result-wide·v1 | 800 | ····move-result-wide·v1 |
| |
801 | ····.line·830 | 801 | ····.line·838 |
802 | ····invoke-interface·{p1},·Ljava/nio/file/attribute/BasicFileAttributes;->size()J | 802 | ····invoke-interface·{p1},·Ljava/nio/file/attribute/BasicFileAttributes;->size()J |
| |
803 | ····move-result-wide·v3 | 803 | ····move-result-wide·v3 |
| |
804 | ····cmp-long·p1,·v3,·v1 | 804 | ····cmp-long·p1,·v3,·v1 |
| |
805 | ····if-nez·p1,·:cond_1 | 805 | ····if-nez·p1,·:cond_1 |
Offset 818, 15 lines modified | Offset 818, 15 lines modified |
| |
818 | ····:cond_1 | 818 | ····:cond_1 |
819 | ····move·p1,·v0 | 819 | ····move·p1,·v0 |
| |
820 | ····:goto_1 | 820 | ····:goto_1 |
821 | ····const/4·v1,·0x6 | 821 | ····const/4·v1,·0x6 |
| |
822 | ····.line·833 | 822 | ····.line·841 |
823 | ····invoke-interface·{p4,·v1},·Landroid/database/Cursor;->getInt(I)I | 823 | ····invoke-interface·{p4,·v1},·Landroid/database/Cursor;->getInt(I)I |
| |
824 | ····move-result·p4 | 824 | ····move-result·p4 |
| |
825 | ····const/4·v1,·0x3 | 825 | ····const/4·v1,·0x3 |
| |
826 | ····if-ne·p4,·v1,·:cond_2 | 826 | ····if-ne·p4,·v1,·:cond_2 |
Offset 855, 38 lines modified | Offset 855, 38 lines modified |
855 | ····:goto_3 | 855 | ····:goto_3 |
856 | ····return·p0 | 856 | ····return·p0 |
857 | .end·method | 857 | .end·method |
| |
858 | .method·private·maybeApplyPending()V | 858 | .method·private·maybeApplyPending()V |
859 | ····.locals·2 | 859 | ····.locals·2 |
| |
860 | ····.line·903 | 860 | ····.line·911 |
861 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 861 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
862 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I | 862 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I |
| |
863 | ····move-result·v0 | 863 | ····move-result·v0 |
| |
864 | ····const/16·v1,·0x20 | 864 | ····const/16·v1,·0x20 |
| |
865 | ····if-le·v0,·v1,·:cond_0 | 865 | ····if-le·v0,·v1,·:cond_0 |
| |
866 | ····.line·904 | 866 | ····.line·912 |
867 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V | 867 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V |
| |
868 | ····:cond_0 | 868 | ····:cond_0 |
869 | ····return-void | 869 | ····return-void |
870 | .end·method | 870 | .end·method |
| |
871 | .method·private·mediaTypeFromMimeType(Ljava/io/File;Ljava/lang/String;I)I | 871 | .method·private·mediaTypeFromMimeType(Ljava/io/File;Ljava/lang/String;I)I |
872 | ····.locals·0 | 872 | ····.locals·0 |
| |
873 | ····if-eqz·p2,·:cond_1 | 873 | ····if-eqz·p2,·:cond_1 |
| |
874 | ····.line·818 | 874 | ····.line·826 |
875 | ····iget·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mHiddenDirCount:I | 875 | ····iget·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mHiddenDirCount:I |
| |
876 | ····if-lez·p0,·:cond_0 | 876 | ····if-lez·p0,·:cond_0 |
| |
877 | ····const/4·p0,·0x1 | 877 | ····const/4·p0,·0x1 |
| |
878 | ····goto·:goto_0 | 878 | ····goto·:goto_0 |
Offset 906, 46 lines modified | Offset 906, 46 lines modified |
906 | .end·method | 906 | .end·method |
| |
907 | .method·private·reconcileAndClean()V | 907 | .method·private·reconcileAndClean()V |
908 | ····.locals·14 | 908 | ····.locals·14 |
| |
909 | ····const-string·v0,·"scan·triggered·by·reason:·" | 909 | ····const-string·v0,·"scan·triggered·by·reason:·" |
| |
910 | ····.line·489 | 910 | ····.line·497 |
911 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; | 911 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; |
| |
912 | ····invoke-virtual·{v1},·Lcom/android/providers/media/util/LongArray;->toArray()[J | 912 | ····invoke-virtual·{v1},·Lcom/android/providers/media/util/LongArray;->toArray()[J |
| |
913 | ····move-result-object·v1 | 913 | ····move-result-object·v1 |
| |
914 | ····.line·490 | 914 | ····.line·498 |
915 | ····invoke-static·{v1},·Ljava/util/Arrays;->sort([J)V | 915 | ····invoke-static·{v1},·Ljava/util/Arrays;->sort([J)V |
| |
916 | ····.line·494 | 916 | ····.line·502 |
917 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; | 917 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; |
| |
918 | ····invoke-virtual·{v2},·Landroid/os/CancellationSignal;->throwIfCanceled()V | 918 | ····invoke-virtual·{v2},·Landroid/os/CancellationSignal;->throwIfCanceled()V |
| |
919 | ····const-string·v2,·"reconcile" | 919 | ····const-string·v2,·"reconcile" |
| |
920 | ····.line·495 | 920 | ····.line·503 |
921 | ····invoke-static·{v2},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 921 | ····invoke-static·{v2},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
922 | ····.line·503 | 922 | ····.line·511 |
923 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mExcludeDirs:Ljava/util/List; | 923 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mExcludeDirs:Ljava/util/List; |
| |
924 | ····invoke-interface·{v2},·Ljava/util/List;->size()I | 924 | ····invoke-interface·{v2},·Ljava/util/List;->size()I |
| |
925 | ····move-result·v2 | 925 | ····move-result·v2 |
| |
926 | ····invoke-direct·{p0,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->buildExcludeDirClause(I)Ljava/lang/String; | 926 | ····invoke-direct·{p0,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->buildExcludeDirClause(I)Ljava/lang/String; |
| |
927 | ····move-result-object·v2 | 927 | ····move-result-object·v2 |
| |
928 | ····.line·504 | 928 | ····.line·512 |
929 | ····new-instance·v3,·Ljava/lang/StringBuilder; | 929 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
| |
930 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V | 930 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
| |
931 | ····const-string·v4,·"generation_added·<=·" | 931 | ····const-string·v4,·"generation_added·<=·" |
| |
932 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 932 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 954, 26 lines modified | Offset 954, 26 lines modified |
| |
954 | ····invoke-virtual·{v3,·v4,·v5},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; | 954 | ····invoke-virtual·{v3,·v4,·v5},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; |
| |
955 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 955 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
956 | ····move-result-object·v3 | 956 | ····move-result-object·v3 |
| |
957 | ····.line·506 | 957 | ····.line·514 |
958 | ····new-instance·v4,·Ljava/lang/StringBuilder; | 958 | ····new-instance·v4,·Ljava/lang/StringBuilder; |
| |
959 | ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V | 959 | ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V |
| |
960 | ····const-string·v5,·"ifnull(format,12288)·!=·47621·AND·(_data·LIKE·?·ESCAPE·\'\\\'·OR·_data·LIKE·?·ESCAPE·\'\\\')·AND·" | 960 | ····const-string·v5,·"ifnull(format,12288)·!=·47621·AND·(_data·LIKE·?·ESCAPE·\'\\\'·OR·_data·LIKE·?·ESCAPE·\'\\\')·AND·" |
| |
961 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 961 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
962 | ····invoke-virtual·{v4,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 962 | ····invoke-virtual·{v4,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
963 | ····.line·508 | 963 | ····.line·516 |
964 | ····invoke-virtual·{v2},·Ljava/lang/String;->isEmpty()Z | 964 | ····invoke-virtual·{v2},·Ljava/lang/String;->isEmpty()Z |
| |
965 | ····move-result·v3 | 965 | ····move-result·v3 |
| |
966 | ····if-eqz·v3,·:cond_0 | 966 | ····if-eqz·v3,·:cond_0 |
| |
967 | ····const-string·v2,·"" | 967 | ····const-string·v2,·"" |
Offset 998, 63 lines modified | Offset 998, 63 lines modified |
998 | ····:goto_0 | 998 | ····:goto_0 |
999 | ····invoke-virtual·{v4,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 999 | ····invoke-virtual·{v4,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
1000 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1000 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
1001 | ····move-result-object·v2 | 1001 | ····move-result-object·v2 |
| |
1002 | ····.line·509 | 1002 | ····.line·517 |
1003 | ····new-instance·v3,·Landroid/os/Bundle; | 1003 | ····new-instance·v3,·Landroid/os/Bundle; |
| |
1004 | ····invoke-direct·{v3},·Landroid/os/Bundle;-><init>()V | 1004 | ····invoke-direct·{v3},·Landroid/os/Bundle;-><init>()V |
| |
1005 | ····const-string·v4,·"android:query-arg-sql-selection" | 1005 | ····const-string·v4,·"android:query-arg-sql-selection" |
| |
1006 | ····.line·510 | 1006 | ····.line·518 |
1007 | ····invoke-virtual·{v3,·v4,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 1007 | ····invoke-virtual·{v3,·v4,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
1008 | ····.line·512 | 1008 | ····.line·520 |
1009 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->buildSqlSelectionArgs()[Ljava/lang/String; | 1009 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->buildSqlSelectionArgs()[Ljava/lang/String; |
| |
1010 | ····move-result-object·v2 | 1010 | ····move-result-object·v2 |
| |
1011 | ····const-string·v4,·"android:query-arg-sql-selection-args" | 1011 | ····const-string·v4,·"android:query-arg-sql-selection-args" |
| |
1012 | ····.line·511 | 1012 | ····.line·519 |
1013 | ····invoke-virtual·{v3,·v4,·v2},·Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V | 1013 | ····invoke-virtual·{v3,·v4,·v2},·Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V |
| |
1014 | ····const-string·v2,·"android:query-arg-sql-sort-order" | 1014 | ····const-string·v2,·"android:query-arg-sql-sort-order" |
| |
1015 | ····const-string·v4,·"_id·DESC" | 1015 | ····const-string·v4,·"_id·DESC" |
| |
1016 | ····.line·513 | 1016 | ····.line·521 |
1017 | ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 1017 | ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
1018 | ····const-string·v2,·"android:query-arg-match-pending" | 1018 | ····const-string·v2,·"android:query-arg-match-pending" |
| |
1019 | ····const/4·v4,·0x1 | 1019 | ····const/4·v4,·0x1 |
| |
1020 | ····.line·515 | 1020 | ····.line·523 |
1021 | ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V | 1021 | ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V |
| |
1022 | ····const-string·v2,·"android:query-arg-match-trashed" | 1022 | ····const-string·v2,·"android:query-arg-match-trashed" |
| |
1023 | ····.line·516 | 1023 | ····.line·524 |
1024 | ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V | 1024 | ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V |
| |
1025 | ····const-string·v2,·"android:query-arg-match-favorite" | 1025 | ····const-string·v2,·"android:query-arg-match-favorite" |
| |
1026 | ····.line·517 | 1026 | ····.line·525 |
1027 | ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V | 1027 | ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V |
| |
1028 | ····const/4·v2,·0x7 | 1028 | ····const/4·v2,·0x7 |
| |
1029 | ····new-array·v5,·v2,·[I | 1029 | ····new-array·v5,·v2,·[I |
| |
1030 | ····.line·520 | 1030 | ····.line·528 |
1031 | ····:try_start_0 | 1031 | ····:try_start_0 |
1032 | ····iget-object·v6,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; | 1032 | ····iget-object·v6,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; |
| |
1033 | ····iget-object·v7,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri; | 1033 | ····iget-object·v7,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri; |
| |
1034 | ····const-string·v8,·"_id" | 1034 | ····const-string·v8,·"_id" |
| |
Offset 1072, 137 lines modified | Offset 1072, 137 lines modified |
| |
1072 | ····invoke-virtual·{v6,·v7,·v8,·v3,·v9},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor; | 1072 | ····invoke-virtual·{v6,·v7,·v8,·v3,·v9},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor; |
| |
1073 | ····move-result-object·v3 | 1073 | ····move-result-object·v3 |
1074 | ····:try_end_0 | 1074 | ····:try_end_0 |
1075 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_3 | 1075 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_3 |
| |
1076 | ····.line·523 | 1076 | ····.line·531 |
1077 | ····:cond_1 | 1077 | ····:cond_1 |
1078 | ····:goto_1 | 1078 | ····:goto_1 |
1079 | ····:try_start_1 | 1079 | ····:try_start_1 |
1080 | ····invoke-interface·{v3},·Landroid/database/Cursor;->moveToNext()Z | 1080 | ····invoke-interface·{v3},·Landroid/database/Cursor;->moveToNext()Z |
| |
1081 | ····move-result·v6 | 1081 | ····move-result·v6 |
| |
1082 | ····const/4·v7,·0x0 | 1082 | ····const/4·v7,·0x0 |
| |
1083 | ····if-eqz·v6,·:cond_4 | 1083 | ····if-eqz·v6,·:cond_4 |
| |
1084 | ····.line·524 | 1084 | ····.line·532 |
1085 | ····invoke-interface·{v3,·v7},·Landroid/database/Cursor;->getLong(I)J | 1085 | ····invoke-interface·{v3,·v7},·Landroid/database/Cursor;->getLong(I)J |
| |
1086 | ····move-result-wide·v8 | 1086 | ····move-result-wide·v8 |
| |
1087 | ····.line·525 | 1087 | ····.line·533 |
1088 | ····invoke-static·{v1,·v8,·v9},·Ljava/util/Arrays;->binarySearch([JJ)I | 1088 | ····invoke-static·{v1,·v8,·v9},·Ljava/util/Arrays;->binarySearch([JJ)I |
| |
1089 | ····move-result·v6 | 1089 | ····move-result·v6 |
| |
1090 | ····if-gez·v6,·:cond_1 | 1090 | ····if-gez·v6,·:cond_1 |
| |
1091 | ····const/4·v6,·0x2 | 1091 | ····const/4·v6,·0x2 |
| |
1092 | ····.line·526 | 1092 | ····.line·534 |
1093 | ····invoke-interface·{v3,·v6},·Landroid/database/Cursor;->getLong(I)J | 1093 | ····invoke-interface·{v3,·v6},·Landroid/database/Cursor;->getLong(I)J |
| |
1094 | ····move-result-wide·v10 | 1094 | ····move-result-wide·v10 |
| |
1095 | ····const/4·v6,·0x3 | 1095 | ····const/4·v6,·0x3 |
| |
1096 | ····.line·527 | 1096 | ····.line·535 |
1097 | ····invoke-interface·{v3,·v6},·Landroid/database/Cursor;->getInt(I)I | 1097 | ····invoke-interface·{v3,·v6},·Landroid/database/Cursor;->getInt(I)I |
| |
1098 | ····move-result·v6 | 1098 | ····move-result·v6 |
| |
1099 | ····if-ne·v6,·v4,·:cond_2 | 1099 | ····if-ne·v6,·v4,·:cond_2 |
| |
1100 | ····move·v7,·v4 | 1100 | ····move·v7,·v4 |
| |
1101 | ····:cond_2 | 1101 | ····:cond_2 |
1102 | ····if-eqz·v7,·:cond_3 | 1102 | ····if-eqz·v7,·:cond_3 |
| |
1103 | ····.line·532 | 1103 | ····.line·540 |
1104 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 1104 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
1105 | ····move-result-wide·v6 | 1105 | ····move-result-wide·v6 |
| |
1106 | ····const-wide/16·v12,·0x3e8 | 1106 | ····const-wide/16·v12,·0x3e8 |
| |
1107 | ····div-long/2addr·v6,·v12 | 1107 | ····div-long/2addr·v6,·v12 |
| |
1108 | ····cmp-long·v6,·v10,·v6 | 1108 | ····cmp-long·v6,·v10,·v6 |
| |
1109 | ····if-lez·v6,·:cond_3 | 1109 | ····if-lez·v6,·:cond_3 |
| |
1110 | ····goto·:goto_1 | 1110 | ····goto·:goto_1 |
| |
1111 | ····.line·535 | 1111 | ····.line·543 |
1112 | ····:cond_3 | 1112 | ····:cond_3 |
1113 | ····iget-object·v6,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; | 1113 | ····iget-object·v6,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; |
| |
1114 | ····invoke-virtual·{v6,·v8,·v9},·Lcom/android/providers/media/util/LongArray;->add(J)V | 1114 | ····invoke-virtual·{v6,·v8,·v9},·Lcom/android/providers/media/util/LongArray;->add(J)V |
| |
1115 | ····.line·536 | 1115 | ····.line·544 |
1116 | ····invoke-interface·{v3,·v4},·Landroid/database/Cursor;->getInt(I)I | 1116 | ····invoke-interface·{v3,·v4},·Landroid/database/Cursor;->getInt(I)I |
| |
1117 | ····move-result·v6 | 1117 | ····move-result·v6 |
| |
1118 | ····if-ge·v6,·v2,·:cond_1 | 1118 | ····if-ge·v6,·v2,·:cond_1 |
| |
1119 | ····.line·540 | 1119 | ····.line·548 |
1120 | ····aget·v7,·v5,·v6 | 1120 | ····aget·v7,·v5,·v6 |
| |
1121 | ····add-int/2addr·v7,·v4 | 1121 | ····add-int/2addr·v7,·v4 |
| |
1122 | ····aput·v7,·v5,·v6 | 1122 | ····aput·v7,·v5,·v6 |
1123 | ····:try_end_1 | 1123 | ····:try_end_1 |
1124 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1 | 1124 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1 |
| |
1125 | ····goto·:goto_1 | 1125 | ····goto·:goto_1 |
| |
1126 | ····.line·544 | 1126 | ····.line·552 |
1127 | ····:cond_4 | 1127 | ····:cond_4 |
1128 | ····:try_start_2 | 1128 | ····:try_start_2 |
1129 | ····invoke-interface·{v3},·Landroid/database/Cursor;->close()V | 1129 | ····invoke-interface·{v3},·Landroid/database/Cursor;->close()V |
1130 | ····:try_end_2 | 1130 | ····:try_end_2 |
1131 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_3 | 1131 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_3 |
| |
1132 | ····.line·545 | 1132 | ····.line·553 |
1133 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 1133 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
1134 | ····.line·549 | 1134 | ····.line·557 |
1135 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; | 1135 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; |
| |
1136 | ····invoke-virtual·{v1},·Landroid/os/CancellationSignal;->throwIfCanceled()V | 1136 | ····invoke-virtual·{v1},·Landroid/os/CancellationSignal;->throwIfCanceled()V |
| |
1137 | ····const-string·v1,·"clean" | 1137 | ····const-string·v1,·"clean" |
| |
1138 | ····.line·550 | 1138 | ····.line·558 |
1139 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 1139 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
1140 | ····.line·552 | 1140 | ····.line·560 |
1141 | ····:goto_2 | 1141 | ····:goto_2 |
1142 | ····:try_start_3 | 1142 | ····:try_start_3 |
1143 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; | 1143 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; |
| |
1144 | ····invoke-virtual·{v1},·Lcom/android/providers/media/util/LongArray;->size()I | 1144 | ····invoke-virtual·{v1},·Lcom/android/providers/media/util/LongArray;->size()I |
| |
1145 | ····move-result·v1 | 1145 | ····move-result·v1 |
| |
1146 | ····if-ge·v7,·v1,·:cond_6 | 1146 | ····if-ge·v7,·v1,·:cond_6 |
| |
1147 | ····.line·553 | 1147 | ····.line·561 |
1148 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; | 1148 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; |
| |
1149 | ····invoke-virtual·{v1,·v7},·Lcom/android/providers/media/util/LongArray;->get(I)J | 1149 | ····invoke-virtual·{v1,·v7},·Lcom/android/providers/media/util/LongArray;->get(I)J |
| |
1150 | ····move-result-wide·v1 | 1150 | ····move-result-wide·v1 |
| |
1151 | ····.line·554 | 1151 | ····.line·562 |
1152 | ····invoke-static·{},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$600()Z | 1152 | ····invoke-static·{},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$600()Z |
| |
1153 | ····move-result·v3 | 1153 | ····move-result·v3 |
| |
1154 | ····if-eqz·v3,·:cond_5 | 1154 | ····if-eqz·v3,·:cond_5 |
| |
1155 | ····const-string·v3,·"ModernMediaScanner" | 1155 | ····const-string·v3,·"ModernMediaScanner" |
Offset 1219, 15 lines modified | Offset 1219, 15 lines modified |
| |
1219 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1219 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
1220 | ····move-result-object·v4 | 1220 | ····move-result-object·v4 |
| |
1221 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I | 1221 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I |
| |
1222 | ····.line·555 | 1222 | ····.line·563 |
1223 | ····:cond_5 | 1223 | ····:cond_5 |
1224 | ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; | 1224 | ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; |
| |
1225 | ····invoke-static·{v3,·v1,·v2},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;J)Landroid/net/Uri; | 1225 | ····invoke-static·{v3,·v1,·v2},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;J)Landroid/net/Uri; |
| |
1226 | ····move-result-object·v1 | 1226 | ····move-result-object·v1 |
| |
Offset 1235, 58 lines modified | Offset 1235, 58 lines modified |
| |
1235 | ····move-result-object·v1 | 1235 | ····move-result-object·v1 |
| |
1236 | ····const-string·v2,·"deletedata" | 1236 | ····const-string·v2,·"deletedata" |
| |
1237 | ····const-string·v3,·"false" | 1237 | ····const-string·v3,·"false" |
| |
1238 | ····.line·556 | 1238 | ····.line·564 |
Max diff block lines reached; 56616/88637 bytes (63.87%) of diff not shown.
|