| | | |
Offset 90, 166 lines modified | Offset 90, 166 lines modified |
90 | .field·final·synthetic·this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 90 | .field·final·synthetic·this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
| |
91 | #·direct·methods | 91 | #·direct·methods |
92 | .method·public·constructor·<init>(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/io/File;ILjava/lang/String;)V | 92 | .method·public·constructor·<init>(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/io/File;ILjava/lang/String;)V |
93 | ····.locals·2 | 93 | ····.locals·2 |
| |
94 | ····.line·304 | 94 | ····.line·303 |
95 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 95 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
96 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 96 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
97 | ····.line·286 | 97 | ····.line·285 |
98 | ····new-instance·v0,·Landroid/util/ArraySet; | 98 | ····new-instance·v0,·Landroid/util/ArraySet; |
| |
99 | ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V | 99 | ····invoke-direct·{v0},·Landroid/util/ArraySet;-><init>()V |
| |
100 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; | 100 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; |
| |
101 | ····.line·287 | 101 | ····.line·286 |
102 | ····new-instance·v0,·Ljava/util/ArrayList; | 102 | ····new-instance·v0,·Ljava/util/ArrayList; |
| |
103 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V | 103 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V |
| |
104 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 104 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
105 | ····.line·288 | 105 | ····.line·287 |
106 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; | 106 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; |
| |
107 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V | 107 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V |
| |
108 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; | 108 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; |
| |
109 | ····.line·289 | 109 | ····.line·288 |
110 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; | 110 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; |
| |
111 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V | 111 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V |
| |
112 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; | 112 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; |
| |
113 | ····const-wide/16·v0,·-0x1 | 113 | ····const-wide/16·v0,·-0x1 |
| |
114 | ····.line·291 | 114 | ····.line·290 |
115 | ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J | 115 | ····iput-wide·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J |
| |
116 | ····const-string·v0,·"ctor" | 116 | ····const-string·v0,·"ctor" |
| |
117 | ····.line·305 | 117 | ····.line·304 |
118 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 118 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
119 | ····.line·307 | 119 | ····.line·306 |
120 | ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context; | 120 | ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context; |
| |
121 | ····move-result-object·v0 | 121 | ····move-result-object·v0 |
| |
122 | ····invoke-virtual·{v0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; | 122 | ····invoke-virtual·{v0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; |
| |
123 | ····move-result-object·v0 | 123 | ····move-result-object·v0 |
| |
124 | ····const-string·v1,·"media" | 124 | ····const-string·v1,·"media" |
| |
125 | ····.line·308 | 125 | ····.line·307 |
126 | ····invoke-virtual·{v0,·v1},·Landroid/content/ContentResolver;->acquireContentProviderClient(Ljava/lang/String;)Landroid/content/ContentProviderClient; | 126 | ····invoke-virtual·{v0,·v1},·Landroid/content/ContentResolver;->acquireContentProviderClient(Ljava/lang/String;)Landroid/content/ContentProviderClient; |
| |
127 | ····move-result-object·v0 | 127 | ····move-result-object·v0 |
| |
128 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mClient:Landroid/content/ContentProviderClient; | 128 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mClient:Landroid/content/ContentProviderClient; |
| |
129 | ····.line·309 | 129 | ····.line·308 |
130 | ····invoke-virtual·{v0},·Landroid/content/ContentProviderClient;->getLocalContentProvider()Landroid/content/ContentProvider; | 130 | ····invoke-virtual·{v0},·Landroid/content/ContentProviderClient;->getLocalContentProvider()Landroid/content/ContentProvider; |
| |
131 | ····move-result-object·v0 | 131 | ····move-result-object·v0 |
| |
132 | ····invoke-static·{v0},·Landroid/content/ContentResolver;->wrap(Landroid/content/ContentProvider;)Landroid/content/ContentResolver; | 132 | ····invoke-static·{v0},·Landroid/content/ContentResolver;->wrap(Landroid/content/ContentProvider;)Landroid/content/ContentResolver; |
| |
133 | ····move-result-object·v0 | 133 | ····move-result-object·v0 |
| |
134 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; | 134 | ····iput-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; |
| |
135 | ····.line·311 | 135 | ····.line·310 |
136 | ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; | 136 | ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; |
| |
137 | ····.line·312 | 137 | ····.line·311 |
138 | ····iput·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I | 138 | ····iput·p3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mReason:I |
| |
139 | ····.line·313 | 139 | ····.line·312 |
140 | ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context; | 140 | ····invoke-static·{p1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$000(Lcom/android/providers/media/scan/ModernMediaScanner;)Landroid/content/Context; |
| |
141 | ····move-result-object·p3 | 141 | ····move-result-object·p3 |
| |
142 | ····invoke-static·{p3,·p2},·Lcom/android/providers/media/util/FileUtils;->getVolumeName(Landroid/content/Context;Ljava/io/File;)Ljava/lang/String; | 142 | ····invoke-static·{p3,·p2},·Lcom/android/providers/media/util/FileUtils;->getVolumeName(Landroid/content/Context;Ljava/io/File;)Ljava/lang/String; |
| |
143 | ····move-result-object·p2 | 143 | ····move-result-object·p2 |
| |
144 | ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; | 144 | ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; |
| |
145 | ····.line·314 | 145 | ····.line·313 |
146 | ····invoke-static·{p2},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri; | 146 | ····invoke-static·{p2},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri; |
| |
147 | ····move-result-object·p2 | 147 | ····move-result-object·p2 |
| |
148 | ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri; | 148 | ····iput-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri; |
| |
149 | ····.line·315 | 149 | ····.line·314 |
150 | ····iget-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; | 150 | ····iget-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; |
| |
151 | ····invoke-static·{p1,·p2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$100(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/lang/String;)Landroid/os/CancellationSignal; | 151 | ····invoke-static·{p1,·p2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$100(Lcom/android/providers/media/scan/ModernMediaScanner;Ljava/lang/String;)Landroid/os/CancellationSignal; |
| |
152 | ····move-result-object·p1 | 152 | ····move-result-object·p1 |
| |
153 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; | 153 | ····iput-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; |
| |
154 | ····.line·317 | 154 | ····.line·316 |
155 | ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; | 155 | ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; |
| |
156 | ····iget-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; | 156 | ····iget-object·p2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; |
| |
157 | ····invoke-static·{p1,·p2},·Landroid/provider/MediaStore;->getGeneration(Landroid/content/ContentResolver;Ljava/lang/String;)J | 157 | ····invoke-static·{p1,·p2},·Landroid/provider/MediaStore;->getGeneration(Landroid/content/ContentResolver;Ljava/lang/String;)J |
| |
158 | ····move-result-wide·p1 | 158 | ····move-result-wide·p1 |
| |
159 | ····iput-wide·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mStartGeneration:J | 159 | ····iput-wide·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mStartGeneration:J |
| |
160 | ····.line·318 | 160 | ····.line·317 |
161 | ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; | 161 | ····iget-object·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; |
| |
162 | ····invoke-virtual·{p1},·Ljava/io/File;->isFile()Z | 162 | ····invoke-virtual·{p1},·Ljava/io/File;->isFile()Z |
| |
163 | ····move-result·p1 | 163 | ····move-result·p1 |
| |
164 | ····iput-boolean·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z | 164 | ····iput-boolean·p1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z |
| |
165 | ····.line·319 | 165 | ····.line·318 |
166 | ····iput-object·p4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mOwnerPackage:Ljava/lang/String; | 166 | ····iput-object·p4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mOwnerPackage:Ljava/lang/String; |
| |
167 | ····.line·321 | 167 | ····.line·320 |
168 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 168 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
169 | ····return-void | 169 | ····return-void |
170 | .end·method | 170 | .end·method |
| |
171 | .method·private·acquireDirectoryLock(Ljava/nio/file/Path;)V | 171 | .method·private·acquireDirectoryLock(Ljava/nio/file/Path;)V |
172 | ····.locals·3 | 172 | ····.locals·3 |
| |
173 | ····const-string·v0,·"acquireDirectoryLock" | 173 | ····const-string·v0,·"acquireDirectoryLock" |
| |
174 | ····.line·469 | 174 | ····.line·468 |
175 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 175 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
176 | ····.line·471 | 176 | ····.line·470 |
177 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 177 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
178 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; | 178 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; |
| |
179 | ····move-result-object·v0 | 179 | ····move-result-object·v0 |
| |
180 | ····monitor-enter·v0 | 180 | ····monitor-enter·v0 |
| |
181 | ····.line·472 | 181 | ····.line·471 |
182 | ····:try_start_0 | 182 | ····:try_start_0 |
183 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 183 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
184 | ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; | 184 | ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; |
| |
185 | ····move-result-object·v1 | 185 | ····move-result-object·v1 |
| |
Offset 257, 106 lines modified | Offset 257, 106 lines modified |
| |
257 | ····move-result-object·v1 | 257 | ····move-result-object·v1 |
| |
258 | ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; | 258 | ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; |
| |
259 | ····if-nez·v1,·:cond_0 | 259 | ····if-nez·v1,·:cond_0 |
| |
260 | ····.line·474 | 260 | ····.line·473 |
261 | ····new-instance·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; | 261 | ····new-instance·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; |
| |
262 | ····const/4·v2,·0x0 | 262 | ····const/4·v2,·0x0 |
| |
263 | ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;-><init>(Lcom/android/providers/media/scan/ModernMediaScanner$1;)V | 263 | ····invoke-direct·{v1,·v2},·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;-><init>(Lcom/android/providers/media/scan/ModernMediaScanner$1;)V |
| |
264 | ····.line·475 | 264 | ····.line·474 |
265 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 265 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
266 | ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; | 266 | ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; |
| |
267 | ····move-result-object·v2 | 267 | ····move-result-object·v2 |
| |
268 | ····invoke-interface·{v2,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 268 | ····invoke-interface·{v2,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
269 | ····.line·477 | 269 | ····.line·476 |
270 | ····:cond_0 | 270 | ····:cond_0 |
271 | ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I | 271 | ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I |
| |
272 | ····add-int/lit8·v2,·v2,·0x1 | 272 | ····add-int/lit8·v2,·v2,·0x1 |
| |
273 | ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I | 273 | ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I |
| |
274 | ····.line·478 | 274 | ····.line·477 |
275 | ····monitor-exit·v0 | 275 | ····monitor-exit·v0 |
276 | ····:try_end_0 | 276 | ····:try_end_0 |
277 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 277 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
| |
278 | ····.line·479 | 278 | ····.line·478 |
279 | ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock; | 279 | ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock; |
| |
280 | ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->lock()V | 280 | ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->lock()V |
| |
281 | ····.line·480 | 281 | ····.line·479 |
282 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; | 282 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; |
| |
283 | ····invoke-interface·{p0,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 283 | ····invoke-interface·{p0,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
| |
284 | ····.line·481 | 284 | ····.line·480 |
285 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 285 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
286 | ····return-void | 286 | ····return-void |
| |
287 | ····:catchall_0 | 287 | ····:catchall_0 |
288 | ····move-exception·p0 | 288 | ····move-exception·p0 |
| |
289 | ····.line·478 | 289 | ····.line·477 |
290 | ····:try_start_1 | 290 | ····:try_start_1 |
291 | ····monitor-exit·v0 | 291 | ····monitor-exit·v0 |
292 | ····:try_end_1 | 292 | ····:try_end_1 |
293 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 293 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
294 | ····throw·p0 | 294 | ····throw·p0 |
295 | .end·method | 295 | .end·method |
| |
296 | .method·private·addPending(Landroid/content/ContentProviderOperation;)V | 296 | .method·private·addPending(Landroid/content/ContentProviderOperation;)V |
297 | ····.locals·1 | 297 | ····.locals·1 |
| |
298 | ····.line·681 | 298 | ····.line·680 |
299 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 299 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
300 | ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z | 300 | ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
| |
301 | ····.line·683 | 301 | ····.line·682 |
302 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isInsert()Z | 302 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isInsert()Z |
| |
303 | ····move-result·v0 | 303 | ····move-result·v0 |
| |
304 | ····if-eqz·v0,·:cond_0 | 304 | ····if-eqz·v0,·:cond_0 |
| |
305 | ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I | 305 | ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I |
| |
306 | ····add-int/lit8·v0,·v0,·0x1 | 306 | ····add-int/lit8·v0,·v0,·0x1 |
| |
307 | ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I | 307 | ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mInsertCount:I |
| |
308 | ····.line·684 | 308 | ····.line·683 |
309 | ····:cond_0 | 309 | ····:cond_0 |
310 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isUpdate()Z | 310 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isUpdate()Z |
| |
311 | ····move-result·v0 | 311 | ····move-result·v0 |
| |
312 | ····if-eqz·v0,·:cond_1 | 312 | ····if-eqz·v0,·:cond_1 |
| |
313 | ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I | 313 | ····iget·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I |
| |
314 | ····add-int/lit8·v0,·v0,·0x1 | 314 | ····add-int/lit8·v0,·v0,·0x1 |
| |
315 | ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I | 315 | ····iput·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUpdateCount:I |
| |
316 | ····.line·685 | 316 | ····.line·684 |
317 | ····:cond_1 | 317 | ····:cond_1 |
318 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isDelete()Z | 318 | ····invoke-virtual·{p1},·Landroid/content/ContentProviderOperation;->isDelete()Z |
| |
319 | ····move-result·p1 | 319 | ····move-result·p1 |
| |
320 | ····if-eqz·p1,·:cond_2 | 320 | ····if-eqz·p1,·:cond_2 |
| |
Offset 371, 69 lines modified | Offset 371, 69 lines modified |
371 | .end·method | 371 | .end·method |
| |
372 | .method·private·applyPending()V | 372 | .method·private·applyPending()V |
373 | ····.locals·9 | 373 | ····.locals·9 |
| |
374 | ····const-string·v0,·"ModernMediaScanner" | 374 | ····const-string·v0,·"ModernMediaScanner" |
| |
375 | ····.line·696 | 375 | ····.line·695 |
376 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 376 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
377 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z | 377 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z |
| |
378 | ····move-result·v1 | 378 | ····move-result·v1 |
| |
379 | ····if-eqz·v1,·:cond_0 | 379 | ····if-eqz·v1,·:cond_0 |
| |
380 | ····return-void | 380 | ····return-void |
| |
381 | ····:cond_0 | 381 | ····:cond_0 |
382 | ····const-string·v1,·"applyPending" | 382 | ····const-string·v1,·"applyPending" |
| |
383 | ····.line·698 | 383 | ····.line·697 |
384 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 384 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
385 | ····.line·700 | 385 | ····.line·699 |
386 | ····:try_start_0 | 386 | ····:try_start_0 |
387 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; | 387 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; |
| |
388 | ····const-string·v2,·"media" | 388 | ····const-string·v2,·"media" |
| |
389 | ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 389 | ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
390 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/content/ContentResolver;->applyBatch(Ljava/lang/String;Ljava/util/ArrayList;)[Landroid/content/ContentProviderResult; | 390 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/content/ContentResolver;->applyBatch(Ljava/lang/String;Ljava/util/ArrayList;)[Landroid/content/ContentProviderResult; |
| |
391 | ····move-result-object·v1 | 391 | ····move-result-object·v1 |
| |
392 | ····const/4·v2,·0x0 | 392 | ····const/4·v2,·0x0 |
| |
393 | ····.line·701 | 393 | ····.line·700 |
394 | ····:goto_0 | 394 | ····:goto_0 |
395 | ····array-length·v3,·v1 | 395 | ····array-length·v3,·v1 |
| |
396 | ····if-ge·v2,·v3,·:cond_4 | 396 | ····if-ge·v2,·v3,·:cond_4 |
| |
397 | ····.line·702 | 397 | ····.line·701 |
398 | ····aget-object·v3,·v1,·v2 | 398 | ····aget-object·v3,·v1,·v2 |
| |
399 | ····.line·703 | 399 | ····.line·702 |
400 | ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 400 | ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
401 | ····invoke-virtual·{v4,·v2},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; | 401 | ····invoke-virtual·{v4,·v2},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; |
| |
402 | ····move-result-object·v4 | 402 | ····move-result-object·v4 |
| |
403 | ····check-cast·v4,·Landroid/content/ContentProviderOperation; | 403 | ····check-cast·v4,·Landroid/content/ContentProviderOperation; |
| |
404 | ····.line·705 | 404 | ····.line·704 |
405 | ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable; | 405 | ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable; |
| |
406 | ····if-eqz·v5,·:cond_1 | 406 | ····if-eqz·v5,·:cond_1 |
| |
407 | ····.line·706 | 407 | ····.line·705 |
408 | ····new-instance·v5,·Ljava/lang/StringBuilder; | 408 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
| |
409 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V | 409 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V |
| |
410 | ····const-string·v6,·"Failed·to·apply·" | 410 | ····const-string·v6,·"Failed·to·apply·" |
| |
411 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 411 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 444, 38 lines modified | Offset 444, 38 lines modified |
| |
444 | ····move-result-object·v4 | 444 | ····move-result-object·v4 |
| |
445 | ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable; | 445 | ····iget-object·v5,·v3,·Landroid/content/ContentProviderResult;->exception:Ljava/lang/Throwable; |
| |
446 | ····invoke-static·{v0,·v4,·v5},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 446 | ····invoke-static·{v0,·v4,·v5},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
| |
447 | ····.line·709 | 447 | ····.line·708 |
448 | ····:cond_1 | 448 | ····:cond_1 |
449 | ····iget-object·v3,·v3,·Landroid/content/ContentProviderResult;->uri:Landroid/net/Uri; | 449 | ····iget-object·v3,·v3,·Landroid/content/ContentProviderResult;->uri:Landroid/net/Uri; |
| |
450 | ····if-eqz·v3,·:cond_3 | 450 | ····if-eqz·v3,·:cond_3 |
| |
451 | ····.line·711 | 451 | ····.line·710 |
452 | ····invoke-static·{v3},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J | 452 | ····invoke-static·{v3},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J |
| |
453 | ····move-result-wide·v3 | 453 | ····move-result-wide·v3 |
| |
454 | ····.line·712 | 454 | ····.line·711 |
455 | ····iget-wide·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J | 455 | ····iget-wide·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J |
| |
456 | ····const-wide/16·v7,·-0x1 | 456 | ····const-wide/16·v7,·-0x1 |
| |
457 | ····cmp-long·v5,·v5,·v7 | 457 | ····cmp-long·v5,·v5,·v7 |
| |
458 | ····if-nez·v5,·:cond_2 | 458 | ····if-nez·v5,·:cond_2 |
| |
459 | ····.line·713 | 459 | ····.line·712 |
460 | ····iput-wide·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J | 460 | ····iput-wide·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFirstId:J |
| |
461 | ····.line·715 | 461 | ····.line·714 |
462 | ····:cond_2 | 462 | ····:cond_2 |
463 | ····iget-object·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; | 463 | ····iget-object·v5,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; |
| |
464 | ····invoke-virtual·{v5,·v3,·v4},·Lcom/android/providers/media/util/LongArray;->add(J)V | 464 | ····invoke-virtual·{v5,·v3,·v4},·Lcom/android/providers/media/util/LongArray;->add(J)V |
465 | ····:try_end_0 | 465 | ····:try_end_0 |
466 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 | 466 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 |
467 | ····.catch·Landroid/content/OperationApplicationException;·{:try_start_0·..·:try_end_0}·:catch_0 | 467 | ····.catch·Landroid/content/OperationApplicationException;·{:try_start_0·..·:try_end_0}·:catch_0 |
Offset 493, 88 lines modified | Offset 493, 88 lines modified |
| |
493 | ····:catch_0 | 493 | ····:catch_0 |
494 | ····move-exception·v1 | 494 | ····move-exception·v1 |
| |
495 | ····:try_start_1 | 495 | ····:try_start_1 |
496 | ····const-string·v2,·"Failed·to·apply" | 496 | ····const-string·v2,·"Failed·to·apply" |
| |
497 | ····.line·719 | 497 | ····.line·718 |
498 | ····invoke-static·{v0,·v2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 498 | ····invoke-static·{v0,·v2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
499 | ····:try_end_1 | 499 | ····:try_end_1 |
500 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 500 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
501 | ····.line·721 | 501 | ····.line·720 |
502 | ····:cond_4 | 502 | ····:cond_4 |
503 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 503 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
504 | ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V | 504 | ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V |
| |
505 | ····.line·722 | 505 | ····.line·721 |
506 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 506 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
507 | ····return-void | 507 | ····return-void |
| |
508 | ····.line·721 | 508 | ····.line·720 |
509 | ····:goto_1 | 509 | ····:goto_1 |
510 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 510 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
511 | ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V | 511 | ····invoke-virtual·{p0},·Ljava/util/ArrayList;->clear()V |
| |
512 | ····.line·722 | 512 | ····.line·721 |
513 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 513 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
514 | ····.line·723 | 514 | ····.line·722 |
515 | ····throw·v0 | 515 | ····throw·v0 |
516 | .end·method | 516 | .end·method |
| |
517 | .method·private·maybeApplyPending()V | 517 | .method·private·maybeApplyPending()V |
518 | ····.locals·2 | 518 | ····.locals·2 |
| |
519 | ····.line·689 | 519 | ····.line·688 |
520 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; | 520 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mPending:Ljava/util/ArrayList; |
| |
521 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I | 521 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I |
| |
522 | ····move-result·v0 | 522 | ····move-result·v0 |
| |
523 | ····const/16·v1,·0x20 | 523 | ····const/16·v1,·0x20 |
| |
524 | ····if-le·v0,·v1,·:cond_0 | 524 | ····if-le·v0,·v1,·:cond_0 |
| |
525 | ····.line·690 | 525 | ····.line·689 |
526 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V | 526 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V |
| |
527 | ····:cond_0 | 527 | ····:cond_0 |
528 | ····return-void | 528 | ····return-void |
529 | .end·method | 529 | .end·method |
| |
530 | .method·private·reconcileAndClean()V | 530 | .method·private·reconcileAndClean()V |
531 | ····.locals·7 | 531 | ····.locals·7 |
| |
532 | ····.line·382 | 532 | ····.line·381 |
533 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; | 533 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mScannedIds:Lcom/android/providers/media/util/LongArray; |
| |
534 | ····invoke-virtual·{v0},·Lcom/android/providers/media/util/LongArray;->toArray()[J | 534 | ····invoke-virtual·{v0},·Lcom/android/providers/media/util/LongArray;->toArray()[J |
| |
535 | ····move-result-object·v0 | 535 | ····move-result-object·v0 |
| |
536 | ····.line·383 | 536 | ····.line·382 |
537 | ····invoke-static·{v0},·Ljava/util/Arrays;->sort([J)V | 537 | ····invoke-static·{v0},·Ljava/util/Arrays;->sort([J)V |
| |
538 | ····.line·387 | 538 | ····.line·386 |
539 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; | 539 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; |
| |
540 | ····invoke-virtual·{v1},·Landroid/os/CancellationSignal;->throwIfCanceled()V | 540 | ····invoke-virtual·{v1},·Landroid/os/CancellationSignal;->throwIfCanceled()V |
| |
541 | ····const-string·v1,·"reconcile" | 541 | ····const-string·v1,·"reconcile" |
| |
542 | ····.line·388 | 542 | ····.line·387 |
543 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 543 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
544 | ····.line·396 | 544 | ····.line·395 |
545 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 545 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
| |
546 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 546 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
| |
547 | ····const-string·v2,·"generation_added·<=·" | 547 | ····const-string·v2,·"generation_added·<=·" |
| |
548 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 548 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 583, 20 lines modified | Offset 583, 20 lines modified |
| |
583 | ····invoke-virtual·{v1,·v2,·v3},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; | 583 | ····invoke-virtual·{v1,·v2,·v3},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; |
| |
584 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 584 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
585 | ····move-result-object·v1 | 585 | ····move-result-object·v1 |
| |
586 | ····.line·398 | 586 | ····.line·397 |
587 | ····new-instance·v2,·Landroid/os/Bundle; | 587 | ····new-instance·v2,·Landroid/os/Bundle; |
| |
588 | ····invoke-direct·{v2},·Landroid/os/Bundle;-><init>()V | 588 | ····invoke-direct·{v2},·Landroid/os/Bundle;-><init>()V |
| |
589 | ····.line·399 | 589 | ····.line·398 |
590 | ····new-instance·v3,·Ljava/lang/StringBuilder; | 590 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
| |
591 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V | 591 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
| |
592 | ····const-string·v4,·"ifnull(format,12288)·!=·47621·AND·(_data·LIKE·?·ESCAPE·\'\\\'·OR·_data·LIKE·?·ESCAPE·\'\\\')·AND·" | 592 | ····const-string·v4,·"ifnull(format,12288)·!=·47621·AND·(_data·LIKE·?·ESCAPE·\'\\\'·OR·_data·LIKE·?·ESCAPE·\'\\\')·AND·" |
| |
593 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 593 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 607, 30 lines modified | Offset 607, 30 lines modified |
| |
607 | ····move-result-object·v1 | 607 | ····move-result-object·v1 |
| |
608 | ····const-string·v3,·"android:query-arg-sql-selection" | 608 | ····const-string·v3,·"android:query-arg-sql-selection" |
| |
609 | ····invoke-virtual·{v2,·v3,·v1},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 609 | ····invoke-virtual·{v2,·v3,·v1},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
610 | ····.line·401 | 610 | ····.line·400 |
611 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; | 611 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; |
| |
612 | ····invoke-virtual·{v1},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; | 612 | ····invoke-virtual·{v1},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; |
| |
613 | ····move-result-object·v1 | 613 | ····move-result-object·v1 |
| |
614 | ····invoke-static·{v1},·Lcom/android/providers/media/util/DatabaseUtils;->escapeForLike(Ljava/lang/String;)Ljava/lang/String; | 614 | ····invoke-static·{v1},·Lcom/android/providers/media/util/DatabaseUtils;->escapeForLike(Ljava/lang/String;)Ljava/lang/String; |
| |
615 | ····move-result-object·v1 | 615 | ····move-result-object·v1 |
| |
616 | ····const/4·v3,·0x2 | 616 | ····const/4·v3,·0x2 |
| |
617 | ····new-array·v4,·v3,·[Ljava/lang/String; | 617 | ····new-array·v4,·v3,·[Ljava/lang/String; |
| |
618 | ····.line·402 | 618 | ····.line·401 |
619 | ····new-instance·v5,·Ljava/lang/StringBuilder; | 619 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
| |
620 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V | 620 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V |
| |
621 | ····invoke-virtual·{v5,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 621 | ····invoke-virtual·{v5,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
622 | ····const-string·v6,·"/%" | 622 | ····const-string·v6,·"/%" |
Offset 653, 33 lines modified | Offset 653, 33 lines modified |
| |
653 | ····invoke-virtual·{v2,·v1,·v4},·Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V | 653 | ····invoke-virtual·{v2,·v1,·v4},·Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V |
| |
654 | ····const-string·v1,·"android:query-arg-sql-sort-order" | 654 | ····const-string·v1,·"android:query-arg-sql-sort-order" |
| |
655 | ····const-string·v4,·"_id·DESC" | 655 | ····const-string·v4,·"_id·DESC" |
| |
656 | ····.line·404 | 656 | ····.line·403 |
657 | ····invoke-virtual·{v2,·v1,·v4},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 657 | ····invoke-virtual·{v2,·v1,·v4},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
658 | ····const-string·v1,·"android:query-arg-match-pending" | 658 | ····const-string·v1,·"android:query-arg-match-pending" |
| |
659 | ····.line·406 | 659 | ····.line·405 |
660 | ····invoke-virtual·{v2,·v1,·v3},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V | 660 | ····invoke-virtual·{v2,·v1,·v3},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V |
| |
661 | ····const-string·v1,·"android:query-arg-match-trashed" | 661 | ····const-string·v1,·"android:query-arg-match-trashed" |
| |
662 | ····.line·407 | 662 | ····.line·406 |
663 | ····invoke-virtual·{v2,·v1,·v5},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V | 663 | ····invoke-virtual·{v2,·v1,·v5},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V |
| |
664 | ····const-string·v1,·"android:query-arg-match-favorite" | 664 | ····const-string·v1,·"android:query-arg-match-favorite" |
| |
665 | ····.line·408 | 665 | ····.line·407 |
666 | ····invoke-virtual·{v2,·v1,·v5},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V | 666 | ····invoke-virtual·{v2,·v1,·v5},·Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V |
| |
667 | ····.line·410 | 667 | ····.line·409 |
668 | ····:try_start_0 | 668 | ····:try_start_0 |
669 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; | 669 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; |
| |
670 | ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri; | 670 | ····iget-object·v3,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mFilesUri:Landroid/net/Uri; |
| |
671 | ····const-string·v4,·"_id" | 671 | ····const-string·v4,·"_id" |
| |
Offset 691, 87 lines modified | Offset 691, 87 lines modified |
| |
691 | ····invoke-virtual·{v1,·v3,·v4,·v2,·v5},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor; | 691 | ····invoke-virtual·{v1,·v3,·v4,·v2,·v5},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor; |
| |
692 | ····move-result-object·v1 | 692 | ····move-result-object·v1 |
693 | ····:try_end_0 | 693 | ····:try_end_0 |
694 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_3 | 694 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_3 |
| |
695 | ····.line·412 | 695 | ····.line·411 |
696 | ····:cond_0 | 696 | ····:cond_0 |
697 | ····:goto_0 | 697 | ····:goto_0 |
698 | ····:try_start_1 | 698 | ····:try_start_1 |
699 | ····invoke-interface·{v1},·Landroid/database/Cursor;->moveToNext()Z | 699 | ····invoke-interface·{v1},·Landroid/database/Cursor;->moveToNext()Z |
| |
700 | ····move-result·v2 | 700 | ····move-result·v2 |
| |
701 | ····if-eqz·v2,·:cond_1 | 701 | ····if-eqz·v2,·:cond_1 |
| |
702 | ····.line·413 | 702 | ····.line·412 |
703 | ····invoke-interface·{v1,·v6},·Landroid/database/Cursor;->getLong(I)J | 703 | ····invoke-interface·{v1,·v6},·Landroid/database/Cursor;->getLong(I)J |
| |
704 | ····move-result-wide·v2 | 704 | ····move-result-wide·v2 |
| |
705 | ····.line·414 | 705 | ····.line·413 |
706 | ····invoke-static·{v0,·v2,·v3},·Ljava/util/Arrays;->binarySearch([JJ)I | 706 | ····invoke-static·{v0,·v2,·v3},·Ljava/util/Arrays;->binarySearch([JJ)I |
| |
707 | ····move-result·v4 | 707 | ····move-result·v4 |
| |
708 | ····if-gez·v4,·:cond_0 | 708 | ····if-gez·v4,·:cond_0 |
| |
709 | ····.line·415 | 709 | ····.line·414 |
710 | ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; | 710 | ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; |
| |
711 | ····invoke-virtual·{v4,·v2,·v3},·Lcom/android/providers/media/util/LongArray;->add(J)V | 711 | ····invoke-virtual·{v4,·v2,·v3},·Lcom/android/providers/media/util/LongArray;->add(J)V |
712 | ····:try_end_1 | 712 | ····:try_end_1 |
713 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1 | 713 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1 |
| |
714 | ····goto·:goto_0 | 714 | ····goto·:goto_0 |
| |
715 | ····:cond_1 | 715 | ····:cond_1 |
716 | ····if-eqz·v1,·:cond_2 | 716 | ····if-eqz·v1,·:cond_2 |
| |
717 | ····.line·418 | 717 | ····.line·417 |
718 | ····:try_start_2 | 718 | ····:try_start_2 |
719 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V | 719 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V |
720 | ····:try_end_2 | 720 | ····:try_end_2 |
721 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_3 | 721 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_3 |
| |
722 | ····.line·419 | 722 | ····.line·418 |
723 | ····:cond_2 | 723 | ····:cond_2 |
724 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 724 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
725 | ····.line·423 | 725 | ····.line·422 |
726 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; | 726 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; |
| |
727 | ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V | 727 | ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V |
| |
728 | ····const-string·v0,·"clean" | 728 | ····const-string·v0,·"clean" |
| |
729 | ····.line·424 | 729 | ····.line·423 |
730 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 730 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
731 | ····.line·426 | 731 | ····.line·425 |
732 | ····:goto_1 | 732 | ····:goto_1 |
733 | ····:try_start_3 | 733 | ····:try_start_3 |
734 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; | 734 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; |
| |
735 | ····invoke-virtual·{v0},·Lcom/android/providers/media/util/LongArray;->size()I | 735 | ····invoke-virtual·{v0},·Lcom/android/providers/media/util/LongArray;->size()I |
| |
736 | ····move-result·v0 | 736 | ····move-result·v0 |
| |
737 | ····if-ge·v6,·v0,·:cond_4 | 737 | ····if-ge·v6,·v0,·:cond_4 |
| |
738 | ····.line·427 | 738 | ····.line·426 |
739 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; | 739 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mUnknownIds:Lcom/android/providers/media/util/LongArray; |
| |
740 | ····invoke-virtual·{v0,·v6},·Lcom/android/providers/media/util/LongArray;->get(I)J | 740 | ····invoke-virtual·{v0,·v6},·Lcom/android/providers/media/util/LongArray;->get(I)J |
| |
741 | ····move-result-wide·v0 | 741 | ····move-result-wide·v0 |
| |
742 | ····.line·428 | 742 | ····.line·427 |
743 | ····invoke-static·{},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$200()Z | 743 | ····invoke-static·{},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$200()Z |
| |
744 | ····move-result·v2 | 744 | ····move-result·v2 |
| |
745 | ····if-eqz·v2,·:cond_3 | 745 | ····if-eqz·v2,·:cond_3 |
| |
746 | ····const-string·v2,·"ModernMediaScanner" | 746 | ····const-string·v2,·"ModernMediaScanner" |
Offset 788, 15 lines modified | Offset 788, 15 lines modified |
| |
788 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 788 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
789 | ····move-result-object·v3 | 789 | ····move-result-object·v3 |
| |
790 | ····invoke-static·{v2,·v3},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I | 790 | ····invoke-static·{v2,·v3},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I |
| |
791 | ····.line·429 | 791 | ····.line·428 |
792 | ····:cond_3 | 792 | ····:cond_3 |
793 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; | 793 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; |
| |
794 | ····invoke-static·{v2,·v0,·v1},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;J)Landroid/net/Uri; | 794 | ····invoke-static·{v2,·v0,·v1},·Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;J)Landroid/net/Uri; |
| |
795 | ····move-result-object·v0 | 795 | ····move-result-object·v0 |
| |
Offset 804, 67 lines modified | Offset 804, 67 lines modified |
| |
804 | ····move-result-object·v0 | 804 | ····move-result-object·v0 |
| |
805 | ····const-string·v1,·"deletedata" | 805 | ····const-string·v1,·"deletedata" |
| |
806 | ····const-string·v2,·"false" | 806 | ····const-string·v2,·"false" |
| |
807 | ····.line·430 | 807 | ····.line·429 |
808 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; | 808 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; |
| |
809 | ····move-result-object·v0 | 809 | ····move-result-object·v0 |
| |
810 | ····.line·431 | 810 | ····.line·430 |
811 | ····invoke-virtual·{v0},·Landroid/net/Uri$Builder;->build()Landroid/net/Uri; | 811 | ····invoke-virtual·{v0},·Landroid/net/Uri$Builder;->build()Landroid/net/Uri; |
| |
812 | ····move-result-object·v0 | 812 | ····move-result-object·v0 |
| |
813 | ····.line·432 | 813 | ····.line·431 |
814 | ····invoke-static·{v0},·Landroid/content/ContentProviderOperation;->newDelete(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder; | 814 | ····invoke-static·{v0},·Landroid/content/ContentProviderOperation;->newDelete(Landroid/net/Uri;)Landroid/content/ContentProviderOperation$Builder; |
| |
815 | ····move-result-object·v0 | 815 | ····move-result-object·v0 |
| |
816 | ····invoke-virtual·{v0},·Landroid/content/ContentProviderOperation$Builder;->build()Landroid/content/ContentProviderOperation; | 816 | ····invoke-virtual·{v0},·Landroid/content/ContentProviderOperation$Builder;->build()Landroid/content/ContentProviderOperation; |
| |
817 | ····move-result-object·v0 | 817 | ····move-result-object·v0 |
| |
818 | ····invoke-direct·{p0,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addPending(Landroid/content/ContentProviderOperation;)V | 818 | ····invoke-direct·{p0,·v0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->addPending(Landroid/content/ContentProviderOperation;)V |
| |
819 | ····.line·433 | 819 | ····.line·432 |
820 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->maybeApplyPending()V | 820 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->maybeApplyPending()V |
| |
821 | ····add-int/lit8·v6,·v6,·0x1 | 821 | ····add-int/lit8·v6,·v6,·0x1 |
| |
822 | ····goto·:goto_1 | 822 | ····goto·:goto_1 |
| |
823 | ····.line·435 | 823 | ····.line·434 |
824 | ····:cond_4 | 824 | ····:cond_4 |
825 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V | 825 | ····invoke-direct·{p0},·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->applyPending()V |
826 | ····:try_end_3 | 826 | ····:try_end_3 |
827 | ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_0 | 827 | ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_0 |
| |
828 | ····.line·437 | 828 | ····.line·436 |
829 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 829 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
830 | ····return-void | 830 | ····return-void |
| |
831 | ····:catchall_0 | 831 | ····:catchall_0 |
832 | ····move-exception·p0 | 832 | ····move-exception·p0 |
| |
833 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 833 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
834 | ····.line·438 | 834 | ····.line·437 |
835 | ····throw·p0 | 835 | ····throw·p0 |
| |
836 | ····:catchall_1 | 836 | ····:catchall_1 |
837 | ····move-exception·p0 | 837 | ····move-exception·p0 |
| |
838 | ····if-eqz·v1,·:cond_5 | 838 | ····if-eqz·v1,·:cond_5 |
| |
839 | ····.line·410 | 839 | ····.line·409 |
840 | ····:try_start_4 | 840 | ····:try_start_4 |
841 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V | 841 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V |
842 | ····:try_end_4 | 842 | ····:try_end_4 |
843 | ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_2 | 843 | ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_2 |
| |
844 | ····goto·:goto_2 | 844 | ····goto·:goto_2 |
| |
Offset 879, 39 lines modified | Offset 879, 39 lines modified |
879 | ····throw·p0 | 879 | ····throw·p0 |
880 | ····:try_end_5 | 880 | ····:try_end_5 |
881 | ····.catchall·{:try_start_5·..·:try_end_5}·:catchall_3 | 881 | ····.catchall·{:try_start_5·..·:try_end_5}·:catchall_3 |
| |
882 | ····:catchall_3 | 882 | ····:catchall_3 |
883 | ····move-exception·p0 | 883 | ····move-exception·p0 |
| |
884 | ····.line·419 | 884 | ····.line·418 |
885 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 885 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
886 | ····.line·420 | 886 | ····.line·419 |
887 | ····throw·p0 | 887 | ····throw·p0 |
888 | .end·method | 888 | .end·method |
| |
889 | .method·private·releaseDirectoryLock(Ljava/nio/file/Path;)V | 889 | .method·private·releaseDirectoryLock(Ljava/nio/file/Path;)V |
890 | ····.locals·3 | 890 | ····.locals·3 |
| |
891 | ····const-string·v0,·"releaseDirectoryLock" | 891 | ····const-string·v0,·"releaseDirectoryLock" |
| |
892 | ····.line·490 | 892 | ····.line·489 |
893 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 893 | ····invoke-static·{v0},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
894 | ····.line·492 | 894 | ····.line·491 |
895 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 895 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
896 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; | 896 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; |
| |
897 | ····move-result-object·v0 | 897 | ····move-result-object·v0 |
| |
898 | ····monitor-enter·v0 | 898 | ····monitor-enter·v0 |
| |
899 | ····.line·493 | 899 | ····.line·492 |
900 | ····:try_start_0 | 900 | ····:try_start_0 |
901 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 901 | ····iget-object·v1,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
902 | ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; | 902 | ····invoke-static·{v1},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; |
| |
903 | ····move-result-object·v1 | 903 | ····move-result-object·v1 |
| |
Offset 919, 108 lines modified | Offset 919, 108 lines modified |
| |
919 | ····move-result-object·v1 | 919 | ····move-result-object·v1 |
| |
920 | ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; | 920 | ····check-cast·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock; |
| |
921 | ····if-eqz·v1,·:cond_1 | 921 | ····if-eqz·v1,·:cond_1 |
| |
922 | ····.line·497 | 922 | ····.line·496 |
923 | ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I | 923 | ····iget·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I |
| |
924 | ····add-int/lit8·v2,·v2,·-0x1 | 924 | ····add-int/lit8·v2,·v2,·-0x1 |
| |
925 | ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I | 925 | ····iput·v2,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->count:I |
| |
926 | ····if-nez·v2,·:cond_0 | 926 | ····if-nez·v2,·:cond_0 |
| |
927 | ····.line·498 | 927 | ····.line·497 |
928 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; | 928 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->this$0:Lcom/android/providers/media/scan/ModernMediaScanner; |
| |
929 | ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; | 929 | ····invoke-static·{v2},·Lcom/android/providers/media/scan/ModernMediaScanner;->access$300(Lcom/android/providers/media/scan/ModernMediaScanner;)Ljava/util/Map; |
| |
930 | ····move-result-object·v2 | 930 | ····move-result-object·v2 |
| |
931 | ····invoke-interface·{v2,·p1},·Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object; | 931 | ····invoke-interface·{v2,·p1},·Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object; |
| |
932 | ····.line·500 | 932 | ····.line·499 |
933 | ····:cond_0 | 933 | ····:cond_0 |
934 | ····monitor-exit·v0 | 934 | ····monitor-exit·v0 |
935 | ····:try_end_0 | 935 | ····:try_end_0 |
936 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 936 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
| |
937 | ····.line·501 | 937 | ····.line·500 |
938 | ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock; | 938 | ····iget-object·v0,·v1,·Lcom/android/providers/media/scan/ModernMediaScanner$DirectoryLock;->lock:Ljava/util/concurrent/locks/Lock; |
| |
939 | ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->unlock()V | 939 | ····invoke-interface·{v0},·Ljava/util/concurrent/locks/Lock;->unlock()V |
| |
940 | ····.line·502 | 940 | ····.line·501 |
941 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; | 941 | ····iget-object·p0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mAcquiredDirectoryLocks:Ljava/util/Set; |
| |
942 | ····invoke-interface·{p0,·p1},·Ljava/util/Set;->remove(Ljava/lang/Object;)Z | 942 | ····invoke-interface·{p0,·p1},·Ljava/util/Set;->remove(Ljava/lang/Object;)Z |
| |
943 | ····.line·503 | 943 | ····.line·502 |
944 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 944 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
945 | ····return-void | 945 | ····return-void |
| |
946 | ····.line·495 | 946 | ····.line·494 |
947 | ····:cond_1 | 947 | ····:cond_1 |
948 | ····:try_start_1 | 948 | ····:try_start_1 |
949 | ····new-instance·p0,·Ljava/lang/IllegalStateException; | 949 | ····new-instance·p0,·Ljava/lang/IllegalStateException; |
| |
950 | ····invoke-direct·{p0},·Ljava/lang/IllegalStateException;-><init>()V | 950 | ····invoke-direct·{p0},·Ljava/lang/IllegalStateException;-><init>()V |
| |
951 | ····throw·p0 | 951 | ····throw·p0 |
| |
952 | ····:catchall_0 | 952 | ····:catchall_0 |
953 | ····move-exception·p0 | 953 | ····move-exception·p0 |
| |
954 | ····.line·500 | 954 | ····.line·499 |
955 | ····monitor-exit·v0 | 955 | ····monitor-exit·v0 |
956 | ····:try_end_1 | 956 | ····:try_end_1 |
957 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 957 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
958 | ····throw·p0 | 958 | ····throw·p0 |
959 | .end·method | 959 | .end·method |
| |
960 | .method·private·resolvePlaylists()V | 960 | .method·private·resolvePlaylists()V |
961 | ····.locals·5 | 961 | ····.locals·5 |
| |
962 | ····.line·442 | 962 | ····.line·441 |
963 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; | 963 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; |
| |
964 | ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V | 964 | ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V |
| |
965 | ····.line·445 | 965 | ····.line·444 |
966 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; | 966 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; |
| |
967 | ····const-string·v1,·"internal" | 967 | ····const-string·v1,·"internal" |
| |
968 | ····invoke-virtual·{v1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 968 | ····invoke-virtual·{v1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
969 | ····move-result·v0 | 969 | ····move-result·v0 |
| |
970 | ····if-eqz·v0,·:cond_0 | 970 | ····if-eqz·v0,·:cond_0 |
| |
971 | ····return-void | 971 | ····return-void |
| |
972 | ····.line·447 | 972 | ····.line·446 |
973 | ····:cond_0 | 973 | ····:cond_0 |
974 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; | 974 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mVolumeName:Ljava/lang/String; |
| |
975 | ····invoke-static·{v0},·Landroid/provider/MediaStore$Audio$Playlists;->getContentUri(Ljava/lang/String;)Landroid/net/Uri; | 975 | ····invoke-static·{v0},·Landroid/provider/MediaStore$Audio$Playlists;->getContentUri(Ljava/lang/String;)Landroid/net/Uri; |
| |
976 | ····move-result-object·v0 | 976 | ····move-result-object·v0 |
| |
977 | ····.line·448 | 977 | ····.line·447 |
978 | ····new-instance·v1,·Landroid/os/Bundle; | 978 | ····new-instance·v1,·Landroid/os/Bundle; |
| |
979 | ····invoke-direct·{v1},·Landroid/os/Bundle;-><init>()V | 979 | ····invoke-direct·{v1},·Landroid/os/Bundle;-><init>()V |
| |
980 | ····.line·449 | 980 | ····.line·448 |
981 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 981 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
| |
982 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V | 982 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V |
| |
983 | ····const-string·v3,·"generation_modified·>·" | 983 | ····const-string·v3,·"generation_modified·>·" |
| |
984 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 984 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 1033, 15 lines modified | Offset 1033, 15 lines modified |
| |
1033 | ····move-result-object·v2 | 1033 | ····move-result-object·v2 |
| |
1034 | ····const-string·v3,·"android:query-arg-sql-selection" | 1034 | ····const-string·v3,·"android:query-arg-sql-selection" |
| |
1035 | ····invoke-virtual·{v1,·v3,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 1035 | ····invoke-virtual·{v1,·v3,·v2},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
1036 | ····.line·451 | 1036 | ····.line·450 |
1037 | ····:try_start_0 | 1037 | ····:try_start_0 |
1038 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; | 1038 | ····iget-object·v2,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; |
| |
1039 | ····const-string·v3,·"_id" | 1039 | ····const-string·v3,·"_id" |
| |
1040 | ····filled-new-array·{v3},·[Ljava/lang/String; | 1040 | ····filled-new-array·{v3},·[Ljava/lang/String; |
| |
Offset 1051, 66 lines modified | Offset 1051, 66 lines modified |
| |
1051 | ····invoke-virtual·{v2,·v0,·v3,·v1,·v4},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor; | 1051 | ····invoke-virtual·{v2,·v0,·v3,·v1,·v4},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor; |
| |
1052 | ····move-result-object·v1 | 1052 | ····move-result-object·v1 |
1053 | ····:try_end_0 | 1053 | ····:try_end_0 |
1054 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_2 | 1054 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_2 |
| |
1055 | ····.line·453 | 1055 | ····.line·452 |
1056 | ····:goto_0 | 1056 | ····:goto_0 |
1057 | ····:try_start_1 | 1057 | ····:try_start_1 |
1058 | ····invoke-interface·{v1},·Landroid/database/Cursor;->moveToNext()Z | 1058 | ····invoke-interface·{v1},·Landroid/database/Cursor;->moveToNext()Z |
| |
1059 | ····move-result·v2 | 1059 | ····move-result·v2 |
| |
1060 | ····if-eqz·v2,·:cond_1 | 1060 | ····if-eqz·v2,·:cond_1 |
| |
1061 | ····const/4·v2,·0x0 | 1061 | ····const/4·v2,·0x0 |
| |
1062 | ····.line·454 | 1062 | ····.line·453 |
1063 | ····invoke-interface·{v1,·v2},·Landroid/database/Cursor;->getLong(I)J | 1063 | ····invoke-interface·{v1,·v2},·Landroid/database/Cursor;->getLong(I)J |
| |
1064 | ····move-result-wide·v2 | 1064 | ····move-result-wide·v2 |
| |
1065 | ····.line·455 | 1065 | ····.line·454 |
1066 | ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; | 1066 | ····iget-object·v4,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mResolver:Landroid/content/ContentResolver; |
| |
1067 | ····.line·456 | 1067 | ····.line·455 |
1068 | ····invoke-static·{v0,·v2,·v3},·Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri; | 1068 | ····invoke-static·{v0,·v2,·v3},·Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri; |
| |
1069 | ····move-result-object·v2 | 1069 | ····move-result-object·v2 |
| |
1070 | ····.line·455 | 1070 | ····.line·454 |
1071 | ····invoke-static·{v4,·v2},·Landroid/provider/MediaStore;->resolvePlaylistMembers(Landroid/content/ContentResolver;Landroid/net/Uri;)V | 1071 | ····invoke-static·{v4,·v2},·Landroid/provider/MediaStore;->resolvePlaylistMembers(Landroid/content/ContentResolver;Landroid/net/Uri;)V |
1072 | ····:try_end_1 | 1072 | ····:try_end_1 |
1073 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 1073 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
1074 | ····goto·:goto_0 | 1074 | ····goto·:goto_0 |
| |
1075 | ····:cond_1 | 1075 | ····:cond_1 |
1076 | ····if-eqz·v1,·:cond_2 | 1076 | ····if-eqz·v1,·:cond_2 |
| |
1077 | ····.line·458 | 1077 | ····.line·457 |
1078 | ····:try_start_2 | 1078 | ····:try_start_2 |
1079 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V | 1079 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V |
1080 | ····:try_end_2 | 1080 | ····:try_end_2 |
1081 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_2 | 1081 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_2 |
| |
1082 | ····.line·459 | 1082 | ····.line·458 |
1083 | ····:cond_2 | 1083 | ····:cond_2 |
1084 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 1084 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
1085 | ····return-void | 1085 | ····return-void |
| |
1086 | ····:catchall_0 | 1086 | ····:catchall_0 |
1087 | ····move-exception·p0 | 1087 | ····move-exception·p0 |
| |
1088 | ····if-eqz·v1,·:cond_3 | 1088 | ····if-eqz·v1,·:cond_3 |
| |
1089 | ····.line·451 | 1089 | ····.line·450 |
1090 | ····:try_start_3 | 1090 | ····:try_start_3 |
1091 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V | 1091 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V |
1092 | ····:try_end_3 | 1092 | ····:try_end_3 |
1093 | ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_1 | 1093 | ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_1 |
| |
1094 | ····goto·:goto_1 | 1094 | ····goto·:goto_1 |
| |
Offset 1125, 30 lines modified | Offset 1125, 30 lines modified |
1125 | ····throw·p0 | 1125 | ····throw·p0 |
1126 | ····:try_end_4 | 1126 | ····:try_end_4 |
1127 | ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_2 | 1127 | ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_2 |
| |
1128 | ····:catchall_2 | 1128 | ····:catchall_2 |
1129 | ····move-exception·p0 | 1129 | ····move-exception·p0 |
| |
1130 | ····.line·459 | 1130 | ····.line·458 |
1131 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V | 1131 | ····invoke-static·{},·Landroid/os/Trace;->endSection()V |
| |
1132 | ····.line·460 | 1132 | ····.line·459 |
1133 | ····throw·p0 | 1133 | ····throw·p0 |
1134 | .end·method | 1134 | .end·method |
| |
1135 | .method·private·walkFileTree()V | 1135 | .method·private·walkFileTree()V |
1136 | ····.locals·2 | 1136 | ····.locals·2 |
| |
1137 | ····.line·352 | 1137 | ····.line·351 |
1138 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; | 1138 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSignal:Landroid/os/CancellationSignal; |
| |
1139 | ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V | 1139 | ····invoke-virtual·{v0},·Landroid/os/CancellationSignal;->throwIfCanceled()V |
| |
1140 | ····.line·354 | 1140 | ····.line·353 |
1141 | ····iget-boolean·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z | 1141 | ····iget-boolean·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mSingleFile:Z |
| |
1142 | ····if-eqz·v0,·:cond_0 | 1142 | ····if-eqz·v0,·:cond_0 |
| |
1143 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; | 1143 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; |
| |
1144 | ····invoke-virtual·{v0},·Ljava/io/File;->getParentFile()Ljava/io/File; | 1144 | ····invoke-virtual·{v0},·Ljava/io/File;->getParentFile()Ljava/io/File; |
Offset 1161, 172 lines modified | Offset 1161, 172 lines modified |
1161 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; | 1161 | ····iget-object·v0,·p0,·Lcom/android/providers/media/scan/ModernMediaScanner$Scan;->mRoot:Ljava/io/File; |
| |
1162 | ····:goto_0 | 1162 | ····:goto_0 |
1163 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->shouldScanPathAndIsPathHidden(Ljava/io/File;)Landroid/util/Pair; | 1163 | ····invoke-static·{v0},·Lcom/android/providers/media/scan/ModernMediaScanner;->shouldScanPathAndIsPathHidden(Ljava/io/File;)Landroid/util/Pair; |
| |
1164 | ····move-result-object·v0 | 1164 | ····move-result-object·v0 |
| |
1165 | ····.line·355 | 1165 | ····.line·354 |
1166 | ····iget-object·v1,·v0,·Landroid/util/Pair;->first:Ljava/lang/Object; | 1166 | ····iget-object·v1,·v0,·Landroid/util/Pair;->first:Ljava/lang/Object; |
| |
1167 | ····check-cast·v1,·Ljava/lang/Boolean; | 1167 | ····check-cast·v1,·Ljava/lang/Boolean; |
| |
1168 | ····invoke-virtual·{v1},·Ljava/lang/Boolean;->booleanValue()Z | 1168 | ····invoke-virtual·{v1},·Ljava/lang/Boolean;->booleanValue()Z |
| |
1169 | ····move-result·v1 | 1169 | ····move-result·v1 |
| |
1170 | ····if-eqz·v1,·:cond_5 | 1170 | ····if-eqz·v1,·:cond_5 |
| |
1171 | ····const-string·v1,·"walkFileTree" | 1171 | ····const-string·v1,·"walkFileTree" |
| |
1172 | ····.line·357 | 1172 | ····.line·356 |
1173 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V | 1173 | ····invoke-static·{v1},·Landroid/os/Trace;->beginSection(Ljava/lang/String;)V |
| |
1174 | ····.line·359 | 1174 | ····.line·358 |
1175 | ····iget-object·v0,·v0,·Landroid/util/Pair;->second:Ljava/lang/Object; | 1175 | ····iget-object·v0,·v0,·Landroid/util/Pair;->second:Ljava/lang/Object; |
| |
1176 | ····check-cast·v0,·Ljava/lang/Boolean; | 1176 | ····check-cast·v0,·Ljava/lang/Boolean; |
| |
1177 | ····invoke-virtual·{v0},·Ljava/lang/Boolean;->booleanValue()Z | 1177 | ····invoke-virtual·{v0},·Ljava/lang/Boolean;->booleanValue()Z |
| |
Max diff block lines reached; 31805/65330 bytes (48.68%) of diff not shown.
|