Offset 109, 104 lines modifiedOffset 109, 104 lines modified
109 ····.locals·2109 ····.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·annotation114 ····.end·annotation
  
115 ····.line·352115 ····.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>()V117 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
118 ····.line·327118 ····.line·335
119 ····new-instance·v0,·Landroid/util/ArraySet;119 ····new-instance·v0,·Landroid/util/ArraySet;
  
120 ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V120 ····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·328122 ····.line·336
123 ····new-instance·v0,·Ljava/util/ArrayList;123 ····new-instance·v0,·Ljava/util/ArrayList;
  
124 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V124 ····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·329126 ····.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>()V128 ····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·330130 ····.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>()V132 ····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,·-0x1134 ····const-wide/16·v0,·-0x1
  
135 ····.line·332135 ····.line·340
136 ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J136 ····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·353138 ····.line·361
139 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V139 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
140 ····.line·355140 ····.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·v0142 ····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·v0144 ····move-result-object·v0
  
145 ····const-string·v1,·"media"145 ····const-string·v1,·"media"
  
146 ····.line·356146 ····.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·v0148 ····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·357150 ····.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·v0152 ····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·v0154 ····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·359156 ····.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·360158 ····.line·368
159 ····iput·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I159 ····iput·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I
  
160 ····.line·362160 ····.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·p3162 ····move-result-object·p3
  
163 ····invoke-static·{p3,·p2},·Lcom/android/providers/media/util/FileUtils;->contains(Ljava/io/File;Ljava/io/File;)Z163 ····invoke-static·{p3,·p2},·Lcom/android/providers/media/util/FileUtils;->contains(Ljava/io/File;Ljava/io/File;)Z
  
164 ····move-result·p3164 ····move-result·p3
  
165 ····if-eqz·p3,·:cond_0165 ····if-eqz·p3,·:cond_0
  
166 ····.line·363166 ····.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·p1168 ····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·p1170 ····move-result-object·p1
Offset 215, 121 lines modifiedOffset 215, 121 lines modified
  
215 ····move-result-object·p1215 ····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_0217 ····goto·:goto_0
  
218 ····.line·365218 ····.line·373
219 ····:cond_0219 ····: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·p1221 ····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·367223 ····.line·375
224 ····:goto_0224 ····: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·p1227 ····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·368229 ····.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·p3231 ····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·369233 ····.line·377
234 ····new-instance·p3,·Landroid/os/CancellationSignal;234 ····new-instance·p3,·Landroid/os/CancellationSignal;
  
235 ····invoke-direct·{p3},·Landroid/os/CancellationSignal;-><init>()V235 ····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·371237 ····.line·379
238 ····invoke-static·{v0,·p1},·Landroid/provider/MediaStore;->getGeneration(Landroid/content/ContentResolver;Ljava/lang/String;)J238 ····invoke-static·{v0,·p1},·Landroid/provider/MediaStore;->getGeneration(Landroid/content/ContentResolver;Ljava/lang/String;)J
  
239 ····move-result-wide·v0239 ····move-result-wide·v0
  
240 ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mStartGeneration:J240 ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mStartGeneration:J
  
241 ····.line·372241 ····.line·380
242 ····invoke-virtual·{p2},·Ljava/io/File;->isFile()Z242 ····invoke-virtual·{p2},·Ljava/io/File;->isFile()Z
  
243 ····move-result·p1243 ····move-result·p1
  
244 ····iput-boolean·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z244 ····iput-boolean·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z
  
245 ····.line·373245 ····.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·374247 ····.line·382
248 ····new-instance·p1,·Ljava/util/ArrayList;248 ····new-instance·p1,·Ljava/util/ArrayList;
  
249 ····invoke-direct·{p1},·Ljava/util/ArrayList;-><init>()V249 ····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·376251 ····.line·384
252 ····invoke-static·{},·Landroid/os/Trace;->endSection()V252 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
253 ····return-void253 ····return-void
254 .end·method254 .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·0256 ····.locals·0
  
257 ····.line·312257 ····.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·p0259 ····return-object·p0
260 .end·method260 .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·0262 ····.locals·0
  
263 ····.line·312263 ····.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·p0265 ····return-object·p0
266 .end·method266 .end·method
  
267 .method·static·synthetic·access$200(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)I267 .method·static·synthetic·access$200(Lcom/android/providers/media/scan/ModernMediaScanner$Scan;)I
268 ····.locals·0268 ····.locals·0
  
269 ····.line·312269 ····.line·320
270 ····iget·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I270 ····iget·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I
  
271 ····return·p0271 ····return·p0
272 .end·method272 .end·method
  
273 .method·private·acquireDirectoryLock(Ljava/nio/file/Path;)V273 .method·private·acquireDirectoryLock(Ljava/nio/file/Path;)V
274 ····.locals·3274 ····.locals·3
  
275 ····const-string·v0,·"acquireDirectoryLock"275 ····const-string·v0,·"acquireDirectoryLock"
  
276 ····.line·599276 ····.line·607
277 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V277 ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
278 ····.line·601278 ····.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·v0281 ····move-result-object·v0
  
282 ····monitor-enter·v0282 ····monitor-enter·v0
  
283 ····.line·602283 ····.line·610
284 ····:try_start_0284 ····: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·v1287 ····move-result-object·v1
  
Offset 337, 62 lines modifiedOffset 337, 62 lines modified
  
337 ····move-result-object·v1337 ····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_0339 ····if-nez·v1,·:cond_0
  
340 ····.line·604340 ····.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,·0x0342 ····const/4·v2,·0x0
  
343 ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;-><init>(Lcom/android/providers/media/scan/ModernMediaScanner$1;)V343 ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;-><init>(Lcom/android/providers/media/scan/ModernMediaScanner$1;)V
  
344 ····.line·605344 ····.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·v2347 ····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·607349 ····.line·615
350 ····:cond_0350 ····:cond_0
351 ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I351 ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I
  
352 ····add-int/lit8·v2,·v2,·0x1352 ····add-int/lit8·v2,·v2,·0x1
  
353 ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I353 ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I
  
354 ····.line·608354 ····.line·616
355 ····monitor-exit·v0355 ····monitor-exit·v0
356 ····:try_end_0356 ····:try_end_0
357 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0357 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
358 ····.line·609358 ····.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()V360 ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->lock()V
  
361 ····.line·610361 ····.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;)Z363 ····invoke-interface·{p0,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
364 ····.line·611364 ····.line·619
365 ····invoke-static·{},·Landroid/os/Trace;->endSection()V365 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
366 ····return-void366 ····return-void
  
367 ····:catchall_0367 ····:catchall_0
368 ····move-exception·p0368 ····move-exception·p0
  
369 ····.line·608369 ····.line·616
370 ····:try_start_1370 ····:try_start_1
371 ····monitor-exit·v0371 ····monitor-exit·v0
372 ····:try_end_1372 ····:try_end_1
373 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0373 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
374 ····throw·p0374 ····throw·p0
375 .end·method375 .end·method
Offset 405, 20 lines modifiedOffset 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·annotation410 ····.end·annotation
  
411 ····.line·472411 ····.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·p0413 ····move-result-object·p0
  
414 ····.line·473414 ····.line·481
415 ····new-instance·p1,·Ljava/lang/StringBuilder;415 ····new-instance·p1,·Ljava/lang/StringBuilder;
  
416 ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V416 ····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 modifiedOffset 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·p1428 ····move-result-object·p1
  
429 ····invoke-interface·{p2,·p1},·Ljava/util/List;->add(Ljava/lang/Object;)Z429 ····invoke-interface·{p2,·p1},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
430 ····.line·474430 ····.line·482
431 ····invoke-interface·{p2,·p0},·Ljava/util/List;->add(Ljava/lang/Object;)Z431 ····invoke-interface·{p2,·p0},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
432 ····return-void432 ····return-void
433 .end·method433 .end·method
  
434 .method·private·addPending(Landroid/content/ContentProviderOperation;)V434 .method·private·addPending(Landroid/content/ContentProviderOperation;)V
435 ····.locals·1435 ····.locals·1
  
436 ····.line·895436 ····.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;)Z438 ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
  
439 ····.line·897439 ····.line·905
440 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isInsert()Z440 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isInsert()Z
  
441 ····move-result·v0441 ····move-result·v0
  
442 ····if-eqz·v0,·:cond_0442 ····if-eqz·v0,·:cond_0
  
443 ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I443 ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I
  
444 ····add-int/lit8·v0,·v0,·0x1444 ····add-int/lit8·v0,·v0,·0x1
  
445 ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I445 ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I
  
446 ····.line·898446 ····.line·906
447 ····:cond_0447 ····:cond_0
448 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isUpdate()Z448 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isUpdate()Z
  
449 ····move-result·v0449 ····move-result·v0
  
450 ····if-eqz·v0,·:cond_1450 ····if-eqz·v0,·:cond_1
  
451 ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I451 ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I
  
452 ····add-int/lit8·v0,·v0,·0x1452 ····add-int/lit8·v0,·v0,·0x1
  
453 ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I453 ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I
  
454 ····.line·899454 ····.line·907
455 ····:cond_1455 ····:cond_1
456 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isDelete()Z456 ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isDelete()Z
  
457 ····move-result·p1457 ····move-result·p1
  
458 ····if-eqz·p1,·:cond_2458 ····if-eqz·p1,·:cond_2
  
Offset 491, 69 lines modifiedOffset 491, 69 lines modified
491 .end·method491 .end·method
  
492 .method·private·applyPending()V492 .method·private·applyPending()V
493 ····.locals·9493 ····.locals·9
  
494 ····const-string·v0,·"ModernMediaScanner"494 ····const-string·v0,·"ModernMediaScanner"
  
495 ····.line·910495 ····.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()Z497 ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z
  
498 ····move-result·v1498 ····move-result·v1
  
499 ····if-eqz·v1,·:cond_0499 ····if-eqz·v1,·:cond_0
  
500 ····return-void500 ····return-void
  
501 ····:cond_0501 ····:cond_0
502 ····const-string·v1,·"applyPending"502 ····const-string·v1,·"applyPending"
  
503 ····.line·912503 ····.line·920
504 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V504 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
505 ····.line·914505 ····.line·922
506 ····:try_start_0506 ····: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·v1511 ····move-result-object·v1
  
512 ····const/4·v2,·0x0512 ····const/4·v2,·0x0
  
513 ····.line·915513 ····.line·923
514 ····:goto_0514 ····:goto_0
515 ····array-length·v3,·v1515 ····array-length·v3,·v1
  
516 ····if-ge·v2,·v3,·:cond_4516 ····if-ge·v2,·v3,·:cond_4
  
517 ····.line·916517 ····.line·924
518 ····aget-object·v3,·v1,·v2518 ····aget-object·v3,·v1,·v2
  
519 ····.line·917519 ····.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·v4522 ····move-result-object·v4
  
523 ····check-cast·v4,·Landroid/content/ContentProviderOperation;523 ····check-cast·v4,·Landroid/content/ContentProviderOperation;
  
524 ····.line·919524 ····.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_1526 ····if-eqz·v5,·:cond_1
  
527 ····.line·920527 ····.line·928
528 ····new-instance·v5,·Ljava/lang/StringBuilder;528 ····new-instance·v5,·Ljava/lang/StringBuilder;
  
529 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V529 ····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 modifiedOffset 564, 38 lines modified
  
564 ····move-result-object·v4564 ····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;)I566 ····invoke-static·{v0,·v4,·v5},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
567 ····.line·923567 ····.line·931
568 ····:cond_1568 ····: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_3570 ····if-eqz·v3,·:cond_3
  
571 ····.line·925571 ····.line·933
572 ····invoke-static·{v3},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J572 ····invoke-static·{v3},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J
  
573 ····move-result-wide·v3573 ····move-result-wide·v3
  
574 ····.line·926574 ····.line·934
575 ····iget-wide·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J575 ····iget-wide·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J
  
576 ····const-wide/16·v7,·-0x1576 ····const-wide/16·v7,·-0x1
  
577 ····cmp-long·v5,·v5,·v7577 ····cmp-long·v5,·v5,·v7
  
578 ····if-nez·v5,·:cond_2578 ····if-nez·v5,·:cond_2
  
579 ····.line·927579 ····.line·935
580 ····iput-wide·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J580 ····iput-wide·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J
  
581 ····.line·929581 ····.line·937
582 ····:cond_2582 ····: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)V584 ····invoke-virtual·{v5,·v3,·v4},·Lcom/android/providers/media/util/LongArray;->add(J)V
585 ····:try_end_0585 ····:try_end_0
586 ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0586 ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0
587 ····.catch·Landroid/content/OperationApplicationException;·{:try_start_0·..·:try_end_0}·:catch_0587 ····.catch·Landroid/content/OperationApplicationException;·{:try_start_0·..·:try_end_0}·:catch_0
Offset 613, 40 lines modifiedOffset 613, 40 lines modified
  
613 ····:catch_0613 ····:catch_0
614 ····move-exception·v1614 ····move-exception·v1
  
615 ····:try_start_1615 ····:try_start_1
616 ····const-string·v2,·"Failed·to·apply"616 ····const-string·v2,·"Failed·to·apply"
  
617 ····.line·933617 ····.line·941
618 ····invoke-static·{v0,·v2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I618 ····invoke-static·{v0,·v2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
619 ····:try_end_1619 ····:try_end_1
620 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0620 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
621 ····.line·935621 ····.line·943
622 ····:cond_4622 ····: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()V624 ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V
  
625 ····.line·936625 ····.line·944
626 ····invoke-static·{},·Landroid/os/Trace;->endSection()V626 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
627 ····return-void627 ····return-void
  
628 ····.line·935628 ····.line·943
629 ····:goto_1629 ····: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()V631 ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V
  
632 ····.line·936632 ····.line·944
633 ····invoke-static·{},·Landroid/os/Trace;->endSection()V633 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
634 ····.line·937634 ····.line·945
635 ····throw·v0635 ····throw·v0
636 .end·method636 .end·method
  
637 .method·private·buildExcludeDirClause(I)Ljava/lang/String;637 .method·private·buildExcludeDirClause(I)Ljava/lang/String;
638 ····.locals·4638 ····.locals·4
  
639 ····if-nez·p1,·:cond_0639 ····if-nez·p1,·:cond_0
Offset 656, 82 lines modifiedOffset 656, 82 lines modified
656 ····return-object·p0656 ····return-object·p0
  
657 ····:cond_0657 ····: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·451660 ····.line·459
661 ····new-instance·v1,·Ljava/lang/StringBuilder;661 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
662 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V662 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
663 ····const-string·v2,·"("663 ····const-string·v2,·"("
  
664 ····.line·452664 ····.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,·0x0666 ····const/4·v2,·0x0
  
667 ····:goto_0667 ····:goto_0
668 ····if-ge·v2,·p1,·:cond_2668 ····if-ge·v2,·p1,·:cond_2
  
669 ····.line·460669 ····.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·461671 ····.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·462673 ····.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,·-0x1675 ····add-int/lit8·v3,·p1,·-0x1
  
676 ····if-eq·v2,·v3,·:cond_1676 ····if-eq·v2,·v3,·:cond_1
  
677 ····.line·464677 ····.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_1679 ····:cond_1
680 ····add-int/lit8·v2,·v2,·0x1680 ····add-int/lit8·v2,·v2,·0x1
  
681 ····goto·:goto_0681 ····goto·:goto_0
  
682 ····:cond_2682 ····:cond_2
683 ····const-string·p0,·")"683 ····const-string·p0,·")"
  
684 ····.line·467684 ····.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·468686 ····.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·p0688 ····move-result-object·p0
  
689 ····return-object·p0689 ····return-object·p0
690 .end·method690 .end·method
  
691 .method·private·buildSqlSelectionArgs()[Ljava/lang/String;691 .method·private·buildSqlSelectionArgs()[Ljava/lang/String;
692 ····.locals·3692 ····.locals·3
  
693 ····.line·478693 ····.line·486
694 ····new-instance·v0,·Ljava/util/ArrayList;694 ····new-instance·v0,·Ljava/util/ArrayList;
  
695 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V695 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V
  
696 ····.line·480696 ····.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·v1699 ····move-result-object·v1
  
700 ····invoke-direct·{p0,·v1,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addEscapedAndExpandedPath(Ljava/lang/String;Ljava/util/List;)V700 ····invoke-direct·{p0,·v1,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addEscapedAndExpandedPath(Ljava/lang/String;Ljava/util/List;)V
  
701 ····.line·481701 ····.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·v1704 ····move-result-object·v1
  
705 ····:goto_0705 ····:goto_0
Offset 743, 45 lines modifiedOffset 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·v2744 ····move-result-object·v2
  
745 ····check-cast·v2,·Ljava/lang/String;745 ····check-cast·v2,·Ljava/lang/String;
  
746 ····.line·482746 ····.line·490
747 ····invoke-direct·{p0,·v2,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addEscapedAndExpandedPath(Ljava/lang/String;Ljava/util/List;)V747 ····invoke-direct·{p0,·v2,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addEscapedAndExpandedPath(Ljava/lang/String;Ljava/util/List;)V
  
748 ····goto·:goto_0748 ····goto·:goto_0
  
749 ····:cond_0749 ····:cond_0
750 ····const/4·p0,·0x0750 ····const/4·p0,·0x0
  
751 ····new-array·p0,·p0,·[Ljava/lang/String;751 ····new-array·p0,·p0,·[Ljava/lang/String;
  
752 ····.line·485752 ····.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·p0754 ····move-result-object·p0
  
755 ····check-cast·p0,·[Ljava/lang/String;755 ····check-cast·p0,·[Ljava/lang/String;
  
756 ····return-object·p0756 ····return-object·p0
757 .end·method757 .end·method
  
758 .method·private·hasSameMetadata(Ljava/nio/file/attribute/BasicFileAttributes;Ljava/io/File;ZLandroid/database/Cursor;)Z758 .method·private·hasSameMetadata(Ljava/nio/file/attribute/BasicFileAttributes;Ljava/io/File;ZLandroid/database/Cursor;)Z
759 ····.locals·5759 ····.locals·5
  
760 ····const/4·p0,·0x1760 ····const/4·p0,·0x1
  
761 ····.line·826761 ····.line·834
762 ····invoke-interface·{p4,·p0},·Landroid/database/Cursor;->getLong(I)J762 ····invoke-interface·{p4,·p0},·Landroid/database/Cursor;->getLong(I)J
  
763 ····move-result-wide·v0763 ····move-result-wide·v0
  
764 ····.line·827764 ····.line·835
765 ····invoke-static·{p2,·p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->lastModifiedTime(Ljava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;)J765 ····invoke-static·{p2,·p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->lastModifiedTime(Ljava/io/File;Ljava/nio/file/attribute/BasicFileAttributes;)J
  
766 ····move-result-wide·v2766 ····move-result-wide·v2
  
767 ····cmp-long·p2,·v2,·v0767 ····cmp-long·p2,·v2,·v0
  
768 ····const/4·v0,·0x0768 ····const/4·v0,·0x0
Offset 794, 20 lines modifiedOffset 794, 20 lines modified
  
794 ····:cond_0794 ····:cond_0
795 ····move·p2,·v0795 ····move·p2,·v0
  
796 ····:goto_0796 ····:goto_0
797 ····const/4·v1,·0x2797 ····const/4·v1,·0x2
  
798 ····.line·829798 ····.line·837
799 ····invoke-interface·{p4,·v1},·Landroid/database/Cursor;->getLong(I)J799 ····invoke-interface·{p4,·v1},·Landroid/database/Cursor;->getLong(I)J
  
800 ····move-result-wide·v1800 ····move-result-wide·v1
  
801 ····.line·830801 ····.line·838
802 ····invoke-interface·{p1},·Ljava/nio/file/attribute/BasicFileAttributes;->size()J802 ····invoke-interface·{p1},·Ljava/nio/file/attribute/BasicFileAttributes;->size()J
  
803 ····move-result-wide·v3803 ····move-result-wide·v3
  
804 ····cmp-long·p1,·v3,·v1804 ····cmp-long·p1,·v3,·v1
  
805 ····if-nez·p1,·:cond_1805 ····if-nez·p1,·:cond_1
Offset 818, 15 lines modifiedOffset 818, 15 lines modified
  
818 ····:cond_1818 ····:cond_1
819 ····move·p1,·v0819 ····move·p1,·v0
  
820 ····:goto_1820 ····:goto_1
821 ····const/4·v1,·0x6821 ····const/4·v1,·0x6
  
822 ····.line·833822 ····.line·841
823 ····invoke-interface·{p4,·v1},·Landroid/database/Cursor;->getInt(I)I823 ····invoke-interface·{p4,·v1},·Landroid/database/Cursor;->getInt(I)I
  
824 ····move-result·p4824 ····move-result·p4
  
825 ····const/4·v1,·0x3825 ····const/4·v1,·0x3
  
826 ····if-ne·p4,·v1,·:cond_2826 ····if-ne·p4,·v1,·:cond_2
Offset 855, 38 lines modifiedOffset 855, 38 lines modified
855 ····:goto_3855 ····:goto_3
856 ····return·p0856 ····return·p0
857 .end·method857 .end·method
  
858 .method·private·maybeApplyPending()V858 .method·private·maybeApplyPending()V
859 ····.locals·2859 ····.locals·2
  
860 ····.line·903860 ····.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()I862 ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I
  
863 ····move-result·v0863 ····move-result·v0
  
864 ····const/16·v1,·0x20864 ····const/16·v1,·0x20
  
865 ····if-le·v0,·v1,·:cond_0865 ····if-le·v0,·v1,·:cond_0
  
866 ····.line·904866 ····.line·912
867 ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V867 ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V
  
868 ····:cond_0868 ····:cond_0
869 ····return-void869 ····return-void
870 .end·method870 .end·method
  
871 .method·private·mediaTypeFromMimeType(Ljava/io/File;Ljava/lang/String;I)I871 .method·private·mediaTypeFromMimeType(Ljava/io/File;Ljava/lang/String;I)I
872 ····.locals·0872 ····.locals·0
  
873 ····if-eqz·p2,·:cond_1873 ····if-eqz·p2,·:cond_1
  
874 ····.line·818874 ····.line·826
875 ····iget·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mHiddenDirCount:I875 ····iget·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mHiddenDirCount:I
  
876 ····if-lez·p0,·:cond_0876 ····if-lez·p0,·:cond_0
  
877 ····const/4·p0,·0x1877 ····const/4·p0,·0x1
  
878 ····goto·:goto_0878 ····goto·:goto_0
Offset 906, 46 lines modifiedOffset 906, 46 lines modified
906 .end·method906 .end·method
  
907 .method·private·reconcileAndClean()V907 .method·private·reconcileAndClean()V
908 ····.locals·14908 ····.locals·14
  
909 ····const-string·v0,·"scan·triggered·by·reason:·"909 ····const-string·v0,·"scan·triggered·by·reason:·"
  
910 ····.line·489910 ····.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()[J912 ····invoke-virtual·{v1},·Lcom/android/providers/media/util/LongArray;->toArray()[J
  
913 ····move-result-object·v1913 ····move-result-object·v1
  
914 ····.line·490914 ····.line·498
915 ····invoke-static·{v1},·Ljava/util/Arrays;->sort([J)V915 ····invoke-static·{v1},·Ljava/util/Arrays;->sort([J)V
  
916 ····.line·494916 ····.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()V918 ····invoke-virtual·{v2},·Landroid/os/CancellationSignal;->throwIfCanceled()V
  
919 ····const-string·v2,·"reconcile"919 ····const-string·v2,·"reconcile"
  
920 ····.line·495920 ····.line·503
921 ····invoke-static·{v2},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V921 ····invoke-static·{v2},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
922 ····.line·503922 ····.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()I924 ····invoke-interface·{v2},·Ljava/util/List;->size()I
  
925 ····move-result·v2925 ····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·v2927 ····move-result-object·v2
  
928 ····.line·504928 ····.line·512
929 ····new-instance·v3,·Ljava/lang/StringBuilder;929 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
930 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V930 ····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 modifiedOffset 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·v3956 ····move-result-object·v3
  
957 ····.line·506957 ····.line·514
958 ····new-instance·v4,·Ljava/lang/StringBuilder;958 ····new-instance·v4,·Ljava/lang/StringBuilder;
  
959 ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V959 ····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·508963 ····.line·516
964 ····invoke-virtual·{v2},·Ljava/lang/String;->isEmpty()Z964 ····invoke-virtual·{v2},·Ljava/lang/String;->isEmpty()Z
  
965 ····move-result·v3965 ····move-result·v3
  
966 ····if-eqz·v3,·:cond_0966 ····if-eqz·v3,·:cond_0
  
967 ····const-string·v2,·""967 ····const-string·v2,·""
Offset 998, 63 lines modifiedOffset 998, 63 lines modified
998 ····:goto_0998 ····: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·v21001 ····move-result-object·v2
  
1002 ····.line·5091002 ····.line·517
1003 ····new-instance·v3,·Landroid/os/Bundle;1003 ····new-instance·v3,·Landroid/os/Bundle;
  
1004 ····invoke-direct·{v3},·Landroid/os/Bundle;-><init>()V1004 ····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·5101006 ····.line·518
1007 ····invoke-virtual·{v3,·v4,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V1007 ····invoke-virtual·{v3,·v4,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
  
1008 ····.line·5121008 ····.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·v21010 ····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·5111012 ····.line·519
1013 ····invoke-virtual·{v3,·v4,·v2},·Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V1013 ····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·5131016 ····.line·521
1017 ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V1017 ····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,·0x11019 ····const/4·v4,·0x1
  
1020 ····.line·5151020 ····.line·523
1021 ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V1021 ····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·5161023 ····.line·524
1024 ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V1024 ····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·5171026 ····.line·525
1027 ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V1027 ····invoke-virtual·{v3,·v2,·v4},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
  
1028 ····const/4·v2,·0x71028 ····const/4·v2,·0x7
  
1029 ····new-array·v5,·v2,·[I1029 ····new-array·v5,·v2,·[I
  
1030 ····.line·5201030 ····.line·528
1031 ····:try_start_01031 ····: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 modifiedOffset 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·v31073 ····move-result-object·v3
1074 ····:try_end_01074 ····:try_end_0
1075 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_31075 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_3
  
1076 ····.line·5231076 ····.line·531
1077 ····:cond_11077 ····:cond_1
1078 ····:goto_11078 ····:goto_1
1079 ····:try_start_11079 ····:try_start_1
1080 ····invoke-interface·{v3},·Landroid/database/Cursor;->moveToNext()Z1080 ····invoke-interface·{v3},·Landroid/database/Cursor;->moveToNext()Z
  
1081 ····move-result·v61081 ····move-result·v6
  
1082 ····const/4·v7,·0x01082 ····const/4·v7,·0x0
  
1083 ····if-eqz·v6,·:cond_41083 ····if-eqz·v6,·:cond_4
  
1084 ····.line·5241084 ····.line·532
1085 ····invoke-interface·{v3,·v7},·Landroid/database/Cursor;->getLong(I)J1085 ····invoke-interface·{v3,·v7},·Landroid/database/Cursor;->getLong(I)J
  
1086 ····move-result-wide·v81086 ····move-result-wide·v8
  
1087 ····.line·5251087 ····.line·533
1088 ····invoke-static·{v1,·v8,·v9},·Ljava/util/Arrays;->binarySearch([JJ)I1088 ····invoke-static·{v1,·v8,·v9},·Ljava/util/Arrays;->binarySearch([JJ)I
  
1089 ····move-result·v61089 ····move-result·v6
  
1090 ····if-gez·v6,·:cond_11090 ····if-gez·v6,·:cond_1
  
1091 ····const/4·v6,·0x21091 ····const/4·v6,·0x2
  
1092 ····.line·5261092 ····.line·534
1093 ····invoke-interface·{v3,·v6},·Landroid/database/Cursor;->getLong(I)J1093 ····invoke-interface·{v3,·v6},·Landroid/database/Cursor;->getLong(I)J
  
1094 ····move-result-wide·v101094 ····move-result-wide·v10
  
1095 ····const/4·v6,·0x31095 ····const/4·v6,·0x3
  
1096 ····.line·5271096 ····.line·535
1097 ····invoke-interface·{v3,·v6},·Landroid/database/Cursor;->getInt(I)I1097 ····invoke-interface·{v3,·v6},·Landroid/database/Cursor;->getInt(I)I
  
1098 ····move-result·v61098 ····move-result·v6
  
1099 ····if-ne·v6,·v4,·:cond_21099 ····if-ne·v6,·v4,·:cond_2
  
1100 ····move·v7,·v41100 ····move·v7,·v4
  
1101 ····:cond_21101 ····:cond_2
1102 ····if-eqz·v7,·:cond_31102 ····if-eqz·v7,·:cond_3
  
1103 ····.line·5321103 ····.line·540
1104 ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J1104 ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J
  
1105 ····move-result-wide·v61105 ····move-result-wide·v6
  
1106 ····const-wide/16·v12,·0x3e81106 ····const-wide/16·v12,·0x3e8
  
1107 ····div-long/2addr·v6,·v121107 ····div-long/2addr·v6,·v12
  
1108 ····cmp-long·v6,·v10,·v61108 ····cmp-long·v6,·v10,·v6
  
1109 ····if-lez·v6,·:cond_31109 ····if-lez·v6,·:cond_3
  
1110 ····goto·:goto_11110 ····goto·:goto_1
  
1111 ····.line·5351111 ····.line·543
1112 ····:cond_31112 ····: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)V1114 ····invoke-virtual·{v6,·v8,·v9},·Lcom/android/providers/media/util/LongArray;->add(J)V
  
1115 ····.line·5361115 ····.line·544
1116 ····invoke-interface·{v3,·v4},·Landroid/database/Cursor;->getInt(I)I1116 ····invoke-interface·{v3,·v4},·Landroid/database/Cursor;->getInt(I)I
  
1117 ····move-result·v61117 ····move-result·v6
  
1118 ····if-ge·v6,·v2,·:cond_11118 ····if-ge·v6,·v2,·:cond_1
  
1119 ····.line·5401119 ····.line·548
1120 ····aget·v7,·v5,·v61120 ····aget·v7,·v5,·v6
  
1121 ····add-int/2addr·v7,·v41121 ····add-int/2addr·v7,·v4
  
1122 ····aput·v7,·v5,·v61122 ····aput·v7,·v5,·v6
1123 ····:try_end_11123 ····:try_end_1
1124 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_11124 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1
  
1125 ····goto·:goto_11125 ····goto·:goto_1
  
1126 ····.line·5441126 ····.line·552
1127 ····:cond_41127 ····:cond_4
1128 ····:try_start_21128 ····:try_start_2
1129 ····invoke-interface·{v3},·Landroid/database/Cursor;->close()V1129 ····invoke-interface·{v3},·Landroid/database/Cursor;->close()V
1130 ····:try_end_21130 ····:try_end_2
1131 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_31131 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_3
  
1132 ····.line·5451132 ····.line·553
1133 ····invoke-static·{},·Landroid/os/Trace;->endSection()V1133 ····invoke-static·{},·Landroid/os/Trace;->endSection()V
  
1134 ····.line·5491134 ····.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()V1136 ····invoke-virtual·{v1},·Landroid/os/CancellationSignal;->throwIfCanceled()V
  
1137 ····const-string·v1,·"clean"1137 ····const-string·v1,·"clean"
  
1138 ····.line·5501138 ····.line·558
1139 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V1139 ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
  
1140 ····.line·5521140 ····.line·560
1141 ····:goto_21141 ····:goto_2
1142 ····:try_start_31142 ····: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()I1144 ····invoke-virtual·{v1},·Lcom/android/providers/media/util/LongArray;->size()I
  
1145 ····move-result·v11145 ····move-result·v1
  
1146 ····if-ge·v7,·v1,·:cond_61146 ····if-ge·v7,·v1,·:cond_6
  
1147 ····.line·5531147 ····.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)J1149 ····invoke-virtual·{v1,·v7},·Lcom/android/providers/media/util/LongArray;->get(I)J
  
1150 ····move-result-wide·v11150 ····move-result-wide·v1
  
1151 ····.line·5541151 ····.line·562
1152 ····invoke-static·{},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$600()Z1152 ····invoke-static·{},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$600()Z
  
1153 ····move-result·v31153 ····move-result·v3
  
1154 ····if-eqz·v3,·:cond_51154 ····if-eqz·v3,·:cond_5
  
1155 ····const-string·v3,·"ModernMediaScanner"1155 ····const-string·v3,·"ModernMediaScanner"
Offset 1219, 15 lines modifiedOffset 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·v41220 ····move-result-object·v4
  
1221 ····invoke-static·{v3,·v4},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I1221 ····invoke-static·{v3,·v4},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
  
1222 ····.line·5551222 ····.line·563
1223 ····:cond_51223 ····: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·v11226 ····move-result-object·v1
  
Offset 1235, 58 lines modifiedOffset 1235, 58 lines modified
  
1235 ····move-result-object·v11235 ····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·5561238 ····.line·564
Max diff block lines reached; 56616/88637 bytes (63.87%) of diff not shown.