| | | |
Offset 8, 16 lines modified | Offset 8, 14 lines modified |
| |
8 | .field·public·static·final·DEFAULT_DURATION_PENDING:J·=·0x240c8400L | 8 | .field·public·static·final·DEFAULT_DURATION_PENDING:J·=·0x240c8400L |
| |
9 | .field·public·static·final·DEFAULT_DURATION_TRASHED:J·=·0x9a7ec800L | 9 | .field·public·static·final·DEFAULT_DURATION_TRASHED:J·=·0x9a7ec800L |
| |
10 | .field·public·static·final·DEFAULT_FOLDER_NAMES:[Ljava/lang/String; | 10 | .field·public·static·final·DEFAULT_FOLDER_NAMES:[Ljava/lang/String; |
| |
11 | .field·private·static·final·MAX_READ_STRING_SIZE:I·=·0x1000 | |
| |
12 | .field·public·static·final·PATTERN_DATA_OR_OBB_PATH:Ljava/util/regex/Pattern; | 11 | .field·public·static·final·PATTERN_DATA_OR_OBB_PATH:Ljava/util/regex/Pattern; |
| |
13 | .field·private·static·final·PATTERN_DCF_RELAXED:Ljava/util/regex/Pattern; | 12 | .field·private·static·final·PATTERN_DCF_RELAXED:Ljava/util/regex/Pattern; |
| |
14 | .field·private·static·final·PATTERN_DCF_STRICT:Ljava/util/regex/Pattern; | 13 | .field·private·static·final·PATTERN_DCF_STRICT:Ljava/util/regex/Pattern; |
| |
15 | .field·public·static·final·PATTERN_DOWNLOADS_DIRECTORY:Ljava/util/regex/Pattern; | 14 | .field·public·static·final·PATTERN_DOWNLOADS_DIRECTORY:Ljava/util/regex/Pattern; |
Offset 41, 89 lines modified | Offset 39, 89 lines modified |
| |
41 | #·direct·methods | 39 | #·direct·methods |
42 | .method·static·constructor·<clinit>()V | 40 | .method·static·constructor·<clinit>()V |
43 | ····.locals·6 | 41 | ····.locals·6 |
| |
44 | ····const-string·v0,·"([A-Z0-9_]{4})([0-9]{4})" | 42 | ····const-string·v0,·"([A-Z0-9_]{4})([0-9]{4})" |
| |
45 | ····.line·567 | 43 | ····.line·551 |
46 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 44 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
47 | ····move-result-object·v0 | 45 | ····move-result-object·v0 |
| |
48 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DCF_STRICT:Ljava/util/regex/Pattern; | 46 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DCF_STRICT:Ljava/util/regex/Pattern; |
| |
49 | ····const-string·v0,·"((?:IMG|MVIMG|VID)_[0-9]{8}_[0-9]{6})(?:~([0-9]+))?" | 47 | ····const-string·v0,·"((?:IMG|MVIMG|VID)_[0-9]{8}_[0-9]{6})(?:~([0-9]+))?" |
| |
50 | ····.line·569 | 48 | ····.line·553 |
51 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 49 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
52 | ····move-result-object·v0 | 50 | ····move-result-object·v0 |
| |
53 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DCF_RELAXED:Ljava/util/regex/Pattern; | 51 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DCF_RELAXED:Ljava/util/regex/Pattern; |
| |
54 | ····const-string·v0,·"(?i)^/storage/[^/]+/(?:[0-9]+/)?(?:Android/sandbox/[^/]+/)?Download/.+" | 52 | ····const-string·v0,·"(?i)^/storage/[^/]+/(?:[0-9]+/)?(?:Android/sandbox/[^/]+/)?Download/.+" |
| |
55 | ····.line·874 | 53 | ····.line·843 |
56 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 54 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
57 | ····move-result-object·v0 | 55 | ····move-result-object·v0 |
| |
58 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DOWNLOADS_FILE:Ljava/util/regex/Pattern; | 56 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DOWNLOADS_FILE:Ljava/util/regex/Pattern; |
| |
59 | ····const-string·v0,·"(?i)^/storage/[^/]+/(?:[0-9]+/)?(?:Android/sandbox/[^/]+/)?Download/?" | 57 | ····const-string·v0,·"(?i)^/storage/[^/]+/(?:[0-9]+/)?(?:Android/sandbox/[^/]+/)?Download/?" |
| |
60 | ····.line·876 | 58 | ····.line·845 |
61 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 59 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
62 | ····move-result-object·v0 | 60 | ····move-result-object·v0 |
| |
63 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DOWNLOADS_DIRECTORY:Ljava/util/regex/Pattern; | 61 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DOWNLOADS_DIRECTORY:Ljava/util/regex/Pattern; |
| |
64 | ····const-string·v0,·"(?i)^\\.(pending|trashed)-(\\d+)-([^/]+)$" | 62 | ····const-string·v0,·"(?i)^\\.(pending|trashed)-(\\d+)-([^/]+)$" |
| |
65 | ····.line·878 | 63 | ····.line·847 |
66 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 64 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
67 | ····move-result-object·v0 | 65 | ····move-result-object·v0 |
| |
68 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_EXPIRES_FILE:Ljava/util/regex/Pattern; | 66 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_EXPIRES_FILE:Ljava/util/regex/Pattern; |
| |
69 | ····const-string·v0,·".*/\\.pending-(\\d+)-([^/]+)$" | 67 | ····const-string·v0,·".*/\\.pending-(\\d+)-([^/]+)$" |
| |
70 | ····.line·880 | 68 | ····.line·849 |
71 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 69 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
72 | ····move-result-object·v0 | 70 | ····move-result-object·v0 |
| |
73 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_PENDING_FILEPATH_FOR_SQL:Ljava/util/regex/Pattern; | 71 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_PENDING_FILEPATH_FOR_SQL:Ljava/util/regex/Pattern; |
| |
74 | ····const-string·v0,·"(?i)^/storage/[^/]+/(?:[0-9]+/)?Android/(?:data|media|obb|sandbox)/([^/]+)(/?.*)?" | 72 | ····const-string·v0,·"(?i)^/storage/[^/]+/(?:[0-9]+/)?Android/(?:data|media|obb|sandbox)/([^/]+)(/?.*)?" |
| |
75 | ····.line·917 | 73 | ····.line·886 |
76 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 74 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
77 | ····move-result-object·v0 | 75 | ····move-result-object·v0 |
| |
78 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_OWNED_PATH:Ljava/util/regex/Pattern; | 76 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_OWNED_PATH:Ljava/util/regex/Pattern; |
| |
79 | ····const-string·v0,·"(?i)^/storage/[^/]+/(?:[0-9]+/)?Android/(?:data|obb)/?$" | 77 | ····const-string·v0,·"(?i)^/storage/[^/]+/(?:[0-9]+/)?Android/(?:data|obb)/?$" |
| |
80 | ····.line·923 | 78 | ····.line·892 |
81 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 79 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
82 | ····move-result-object·v0 | 80 | ····move-result-object·v0 |
| |
83 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DATA_OR_OBB_PATH:Ljava/util/regex/Pattern; | 81 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DATA_OR_OBB_PATH:Ljava/util/regex/Pattern; |
| |
84 | ····const/16·v0,·0xb | 82 | ····const/16·v0,·0xb |
| |
85 | ····new-array·v0,·v0,·[Ljava/lang/String; | 83 | ····new-array·v0,·v0,·[Ljava/lang/String; |
| |
86 | ····.line·927 | 84 | ····.line·896 |
87 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String; | 85 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String; |
| |
88 | ····const/4·v2,·0x0 | 86 | ····const/4·v2,·0x0 |
| |
89 | ····aput-object·v1,·v0,·v2 | 87 | ····aput-object·v1,·v0,·v2 |
| |
90 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String; | 88 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String; |
Offset 186, 80 lines modified | Offset 184, 80 lines modified |
| |
186 | ····aput-object·v1,·v0,·v5 | 184 | ····aput-object·v1,·v0,·v5 |
| |
187 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->DEFAULT_FOLDER_NAMES:[Ljava/lang/String; | 185 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->DEFAULT_FOLDER_NAMES:[Ljava/lang/String; |
| |
188 | ····const-string·v0,·"(?i)^/storage/(?:emulated/[0-9]+/|[^/]+/)(Android/sandbox/([^/]+)/)?" | 186 | ····const-string·v0,·"(?i)^/storage/(?:emulated/[0-9]+/|[^/]+/)(Android/sandbox/([^/]+)/)?" |
| |
189 | ····.line·945 | 187 | ····.line·914 |
190 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 188 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
191 | ····move-result-object·v0 | 189 | ····move-result-object·v0 |
| |
192 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; | 190 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; |
| |
193 | ····const-string·v0,·"(?i)^/storage/([^/]+)" | 191 | ····const-string·v0,·"(?i)^/storage/([^/]+)" |
| |
194 | ····.line·951 | 192 | ····.line·920 |
195 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 193 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
196 | ····move-result-object·v0 | 194 | ····move-result-object·v0 |
| |
197 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_VOLUME_NAME:Ljava/util/regex/Pattern; | 195 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_VOLUME_NAME:Ljava/util/regex/Pattern; |
| |
198 | ····new-array·v0,·v4,·[Ljava/lang/Object; | 196 | ····new-array·v0,·v4,·[Ljava/lang/Object; |
| |
199 | ····.line·954 | 197 | ····.line·923 |
200 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_DCIM:Ljava/lang/String; | 198 | ····sget-object·v1,·Landroid/os/Environment;->DIRECTORY_DCIM:Ljava/lang/String; |
| |
201 | ····aput-object·v1,·v0,·v2 | 199 | ····aput-object·v1,·v0,·v2 |
| |
202 | ····const-string·v1,·"Camera" | 200 | ····const-string·v1,·"Camera" |
| |
203 | ····aput-object·v1,·v0,·v3 | 201 | ····aput-object·v1,·v0,·v3 |
| |
204 | ····const-string·v1,·"%s/%s/" | 202 | ····const-string·v1,·"%s/%s/" |
| |
205 | ····.line·955 | 203 | ····.line·924 |
206 | ····invoke-static·{v1,·v0},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 204 | ····invoke-static·{v1,·v0},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
207 | ····move-result-object·v0 | 205 | ····move-result-object·v0 |
| |
208 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->CAMERA_RELATIVE_PATH:Ljava/lang/String; | 206 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->CAMERA_RELATIVE_PATH:Ljava/lang/String; |
| |
209 | ····return-void | 207 | ····return-void |
210 | .end·method | 208 | .end·method |
| |
211 | .method·public·constructor·<init>()V | 209 | .method·public·constructor·<init>()V |
212 | ····.locals·0 | 210 | ····.locals·0 |
| |
213 | ····.line·94 | 211 | ····.line·91 |
214 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 212 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
215 | ····return-void | 213 | ····return-void |
216 | .end·method | 214 | .end·method |
| |
217 | .method·private·static·buildFile(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; | 215 | .method·private·static·buildFile(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; |
218 | ····.locals·2 | 216 | ····.locals·2 |
| |
219 | ····.line·749 | 217 | ····.line·730 |
220 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 218 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
221 | ····move-result·v0 | 219 | ····move-result·v0 |
| |
222 | ····if-eqz·v0,·:cond_0 | 220 | ····if-eqz·v0,·:cond_0 |
| |
223 | ····.line·750 | 221 | ····.line·731 |
224 | ····new-instance·p2,·Ljava/io/File; | 222 | ····new-instance·p2,·Ljava/io/File; |
| |
225 | ····invoke-direct·{p2,·p0,·p1},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V | 223 | ····invoke-direct·{p2,·p0,·p1},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V |
| |
226 | ····return-object·p2 | 224 | ····return-object·p2 |
| |
227 | ····.line·752 | 225 | ····.line·733 |
228 | ····:cond_0 | 226 | ····:cond_0 |
229 | ····new-instance·v0,·Ljava/io/File; | 227 | ····new-instance·v0,·Ljava/io/File; |
| |
230 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 228 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
| |
231 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 229 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
| |
Offset 279, 22 lines modified | Offset 277, 22 lines modified |
| |
279 | ····return-object·v0 | 277 | ····return-object·v0 |
280 | .end·method | 278 | .end·method |
| |
281 | .method·public·static·buildNonUniqueFile(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; | 279 | .method·public·static·buildNonUniqueFile(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; |
282 | ····.locals·1 | 280 | ····.locals·1 |
| |
283 | ····.line·663 | 281 | ····.line·644 |
284 | ····invoke-static·{p1,·p2},·Lcom/android/providers/media/util/FileUtils;->splitFileName(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; | 282 | ····invoke-static·{p1,·p2},·Lcom/android/providers/media/util/FileUtils;->splitFileName(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; |
| |
285 | ····move-result-object·p1 | 283 | ····move-result-object·p1 |
| |
286 | ····const/4·p2,·0x0 | 284 | ····const/4·p2,·0x0 |
| |
287 | ····.line·664 | 285 | ····.line·645 |
288 | ····aget-object·p2,·p1,·p2 | 286 | ····aget-object·p2,·p1,·p2 |
| |
289 | ····const/4·v0,·0x1 | 287 | ····const/4·v0,·0x1 |
| |
290 | ····aget-object·p1,·p1,·v0 | 288 | ····aget-object·p1,·p1,·v0 |
| |
291 | ····invoke-static·{p0,·p2,·p1},·Lcom/android/providers/media/util/FileUtils;->buildFile(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; | 289 | ····invoke-static·{p0,·p2,·p1},·Lcom/android/providers/media/util/FileUtils;->buildFile(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; |
Offset 303, 34 lines modified | Offset 301, 34 lines modified |
| |
303 | ····return-object·p0 | 301 | ····return-object·p0 |
304 | .end·method | 302 | .end·method |
| |
305 | .method·public·static·varargs·buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; | 303 | .method·public·static·varargs·buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; |
306 | ····.locals·4 | 304 | ····.locals·4 |
| |
307 | ····.line·134 | 305 | ····.line·131 |
308 | ····array-length·v0,·p1 | 306 | ····array-length·v0,·p1 |
| |
309 | ····const/4·v1,·0x0 | 307 | ····const/4·v1,·0x0 |
| |
310 | ····:goto_0 | 308 | ····:goto_0 |
311 | ····if-ge·v1,·v0,·:cond_1 | 309 | ····if-ge·v1,·v0,·:cond_1 |
| |
312 | ····aget-object·v2,·p1,·v1 | 310 | ····aget-object·v2,·p1,·v1 |
| |
313 | ····if-nez·p0,·:cond_0 | 311 | ····if-nez·p0,·:cond_0 |
| |
314 | ····.line·136 | 312 | ····.line·133 |
315 | ····new-instance·p0,·Ljava/io/File; | 313 | ····new-instance·p0,·Ljava/io/File; |
| |
316 | ····invoke-direct·{p0,·v2},·Ljava/io/File;-><init>(Ljava/lang/String;)V | 314 | ····invoke-direct·{p0,·v2},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
| |
317 | ····goto·:goto_1 | 315 | ····goto·:goto_1 |
| |
318 | ····.line·138 | 316 | ····.line·135 |
319 | ····:cond_0 | 317 | ····:cond_0 |
320 | ····new-instance·v3,·Ljava/io/File; | 318 | ····new-instance·v3,·Ljava/io/File; |
| |
321 | ····invoke-direct·{v3,·p0,·v2},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V | 319 | ····invoke-direct·{v3,·p0,·v2},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V |
| |
322 | ····move-object·p0,·v3 | 320 | ····move-object·p0,·v3 |
| |
Offset 349, 45 lines modified | Offset 347, 45 lines modified |
349 | ········value·=·{ | 347 | ········value·=·{ |
350 | ············Ljava/io/FileNotFoundException; | 348 | ············Ljava/io/FileNotFoundException; |
351 | ········} | 349 | ········} |
352 | ····.end·annotation | 350 | ····.end·annotation |
| |
353 | ····const/16·v0,·0x2e | 351 | ····const/16·v0,·0x2e |
| |
354 | ····.line·679 | 352 | ····.line·660 |
355 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->lastIndexOf(I)I | 353 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->lastIndexOf(I)I |
| |
356 | ····move-result·v0 | 354 | ····move-result·v0 |
| |
357 | ····if-ltz·v0,·:cond_0 | 355 | ····if-ltz·v0,·:cond_0 |
| |
358 | ····const/4·v1,·0x0 | 356 | ····const/4·v1,·0x0 |
| |
359 | ····.line·681 | 357 | ····.line·662 |
360 | ····invoke-virtual·{p1,·v1,·v0},·Ljava/lang/String;->substring(II)Ljava/lang/String; | 358 | ····invoke-virtual·{p1,·v1,·v0},·Ljava/lang/String;->substring(II)Ljava/lang/String; |
| |
361 | ····move-result-object·v1 | 359 | ····move-result-object·v1 |
| |
362 | ····add-int/lit8·v0,·v0,·0x1 | 360 | ····add-int/lit8·v0,·v0,·0x1 |
| |
363 | ····.line·682 | 361 | ····.line·663 |
364 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->substring(I)Ljava/lang/String; | 362 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->substring(I)Ljava/lang/String; |
| |
365 | ····move-result-object·p1 | 363 | ····move-result-object·p1 |
| |
366 | ····move-object·v0,·p1 | 364 | ····move-object·v0,·p1 |
| |
367 | ····move-object·p1,·v1 | 365 | ····move-object·p1,·v1 |
| |
368 | ····goto·:goto_0 | 366 | ····goto·:goto_0 |
| |
369 | ····:cond_0 | 367 | ····:cond_0 |
370 | ····const/4·v0,·0x0 | 368 | ····const/4·v0,·0x0 |
| |
371 | ····.line·688 | 369 | ····.line·669 |
372 | ····:goto_0 | 370 | ····:goto_0 |
373 | ····invoke-static·{p0,·p1,·v0},·Lcom/android/providers/media/util/FileUtils;->buildUniqueFileWithExtension(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; | 371 | ····invoke-static·{p0,·p1,·v0},·Lcom/android/providers/media/util/FileUtils;->buildUniqueFileWithExtension(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; |
| |
374 | ····move-result-object·p0 | 372 | ····move-result-object·p0 |
| |
375 | ····return-object·p0 | 373 | ····return-object·p0 |
376 | .end·method | 374 | .end·method |
Offset 396, 22 lines modified | Offset 394, 22 lines modified |
396 | ····.locals·1 | 394 | ····.locals·1 |
397 | ····.annotation·system·Ldalvik/annotation/Throws; | 395 | ····.annotation·system·Ldalvik/annotation/Throws; |
398 | ········value·=·{ | 396 | ········value·=·{ |
399 | ············Ljava/io/FileNotFoundException; | 397 | ············Ljava/io/FileNotFoundException; |
400 | ········} | 398 | ········} |
401 | ····.end·annotation | 399 | ····.end·annotation |
| |
402 | ····.line·657 | 400 | ····.line·638 |
403 | ····invoke-static·{p1,·p2},·Lcom/android/providers/media/util/FileUtils;->splitFileName(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; | 401 | ····invoke-static·{p1,·p2},·Lcom/android/providers/media/util/FileUtils;->splitFileName(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; |
| |
404 | ····move-result-object·p1 | 402 | ····move-result-object·p1 |
| |
405 | ····const/4·p2,·0x0 | 403 | ····const/4·p2,·0x0 |
| |
406 | ····.line·658 | 404 | ····.line·639 |
407 | ····aget-object·p2,·p1,·p2 | 405 | ····aget-object·p2,·p1,·p2 |
| |
408 | ····const/4·v0,·0x1 | 406 | ····const/4·v0,·0x1 |
| |
409 | ····aget-object·p1,·p1,·v0 | 407 | ····aget-object·p1,·p1,·v0 |
| |
410 | ····invoke-static·{p0,·p2,·p1},·Lcom/android/providers/media/util/FileUtils;->buildUniqueFileWithExtension(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; | 408 | ····invoke-static·{p0,·p2,·p1},·Lcom/android/providers/media/util/FileUtils;->buildUniqueFileWithExtension(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; |
Offset 425, 48 lines modified | Offset 423, 48 lines modified |
425 | ····.locals·2 | 423 | ····.locals·2 |
426 | ····.annotation·system·Ldalvik/annotation/Throws; | 424 | ····.annotation·system·Ldalvik/annotation/Throws; |
427 | ········value·=·{ | 425 | ········value·=·{ |
428 | ············Ljava/io/FileNotFoundException; | 426 | ············Ljava/io/FileNotFoundException; |
429 | ········} | 427 | ········} |
430 | ····.end·annotation | 428 | ····.end·annotation |
| |
431 | ····.line·556 | 429 | ····.line·540 |
432 | ····invoke-static·{p0,·p1},·Lcom/android/providers/media/util/FileUtils;->buildUniqueNameIterator(Ljava/io/File;Ljava/lang/String;)Ljava/util/Iterator; | 430 | ····invoke-static·{p0,·p1},·Lcom/android/providers/media/util/FileUtils;->buildUniqueNameIterator(Ljava/io/File;Ljava/lang/String;)Ljava/util/Iterator; |
| |
433 | ····move-result-object·p1 | 431 | ····move-result-object·p1 |
| |
434 | ····.line·557 | 432 | ····.line·541 |
435 | ····:cond_0 | 433 | ····:cond_0 |
436 | ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z | 434 | ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z |
| |
437 | ····move-result·v0 | 435 | ····move-result·v0 |
| |
438 | ····if-eqz·v0,·:cond_1 | 436 | ····if-eqz·v0,·:cond_1 |
| |
439 | ····.line·558 | 437 | ····.line·542 |
440 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 438 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
441 | ····move-result-object·v0 | 439 | ····move-result-object·v0 |
| |
442 | ····check-cast·v0,·Ljava/lang/String; | 440 | ····check-cast·v0,·Ljava/lang/String; |
| |
443 | ····invoke-static·{p0,·v0,·p2},·Lcom/android/providers/media/util/FileUtils;->buildFile(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; | 441 | ····invoke-static·{p0,·v0,·p2},·Lcom/android/providers/media/util/FileUtils;->buildFile(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; |
| |
444 | ····move-result-object·v0 | 442 | ····move-result-object·v0 |
| |
445 | ····.line·559 | 443 | ····.line·543 |
446 | ····invoke-virtual·{v0},·Ljava/io/File;->exists()Z | 444 | ····invoke-virtual·{v0},·Ljava/io/File;->exists()Z |
| |
447 | ····move-result·v1 | 445 | ····move-result·v1 |
| |
448 | ····if-nez·v1,·:cond_0 | 446 | ····if-nez·v1,·:cond_0 |
| |
449 | ····return-object·v0 | 447 | ····return-object·v0 |
| |
450 | ····.line·563 | 448 | ····.line·547 |
451 | ····:cond_1 | 449 | ····:cond_1 |
452 | ····new-instance·p0,·Ljava/io/FileNotFoundException; | 450 | ····new-instance·p0,·Ljava/io/FileNotFoundException; |
| |
453 | ····const-string·p1,·"Failed·to·create·unique·file" | 451 | ····const-string·p1,·"Failed·to·create·unique·file" |
| |
454 | ····invoke-direct·{p0,·p1},·Ljava/io/FileNotFoundException;-><init>(Ljava/lang/String;)V | 452 | ····invoke-direct·{p0,·p1},·Ljava/io/FileNotFoundException;-><init>(Ljava/lang/String;)V |
| |
Offset 483, 89 lines modified | Offset 481, 89 lines modified |
483 | ············")", | 481 | ············")", |
484 | ············"Ljava/util/Iterator<", | 482 | ············"Ljava/util/Iterator<", |
485 | ············"Ljava/lang/String;", | 483 | ············"Ljava/lang/String;", |
486 | ············">;" | 484 | ············">;" |
487 | ········} | 485 | ········} |
488 | ····.end·annotation | 486 | ····.end·annotation |
| |
489 | ····.line·583 | 487 | ····.line·567 |
490 | ····invoke-static·{p0},·Lcom/android/providers/media/util/FileUtils;->isDcim(Ljava/io/File;)Z | 488 | ····invoke-static·{p0},·Lcom/android/providers/media/util/FileUtils;->isDcim(Ljava/io/File;)Z |
| |
491 | ····move-result·p0 | 489 | ····move-result·p0 |
| |
492 | ····if-eqz·p0,·:cond_1 | 490 | ····if-eqz·p0,·:cond_1 |
| |
493 | ····.line·584 | 491 | ····.line·568 |
494 | ····sget-object·p0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DCF_STRICT:Ljava/util/regex/Pattern; | 492 | ····sget-object·p0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DCF_STRICT:Ljava/util/regex/Pattern; |
| |
495 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 493 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
496 | ····move-result-object·p0 | 494 | ····move-result-object·p0 |
| |
497 | ····.line·585 | 495 | ····.line·569 |
498 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z | 496 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z |
| |
499 | ····move-result·v0 | 497 | ····move-result·v0 |
| |
500 | ····const/4·v1,·0x1 | 498 | ····const/4·v1,·0x1 |
| |
501 | ····if-eqz·v0,·:cond_0 | 499 | ····if-eqz·v0,·:cond_0 |
| |
502 | ····.line·587 | 500 | ····.line·571 |
503 | ····invoke-virtual·{p0,·v1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 501 | ····invoke-virtual·{p0,·v1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
504 | ····move-result-object·p1 | 502 | ····move-result-object·p1 |
| |
505 | ····.line·588 | 503 | ····.line·572 |
506 | ····new-instance·v0,·Lcom/android/providers/media/util/FileUtils$3; | 504 | ····new-instance·v0,·Lcom/android/providers/media/util/FileUtils$3; |
| |
507 | ····invoke-direct·{v0,·p0,·p1},·Lcom/android/providers/media/util/FileUtils$3;-><init>(Ljava/util/regex/Matcher;Ljava/lang/String;)V | 505 | ····invoke-direct·{v0,·p0,·p1},·Lcom/android/providers/media/util/FileUtils$3;-><init>(Ljava/util/regex/Matcher;Ljava/lang/String;)V |
| |
508 | ····return-object·v0 | 506 | ····return-object·v0 |
| |
509 | ····.line·603 | 507 | ····.line·587 |
510 | ····:cond_0 | 508 | ····:cond_0 |
511 | ····sget-object·p0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DCF_RELAXED:Ljava/util/regex/Pattern; | 509 | ····sget-object·p0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_DCF_RELAXED:Ljava/util/regex/Pattern; |
| |
512 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 510 | ····invoke-virtual·{p0,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
513 | ····move-result-object·p0 | 511 | ····move-result-object·p0 |
| |
514 | ····.line·604 | 512 | ····.line·588 |
515 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z | 513 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z |
| |
516 | ····move-result·v0 | 514 | ····move-result·v0 |
| |
517 | ····if-eqz·v0,·:cond_1 | 515 | ····if-eqz·v0,·:cond_1 |
| |
518 | ····.line·606 | 516 | ····.line·590 |
519 | ····invoke-virtual·{p0,·v1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 517 | ····invoke-virtual·{p0,·v1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
520 | ····move-result-object·p1 | 518 | ····move-result-object·p1 |
| |
521 | ····.line·607 | 519 | ····.line·591 |
522 | ····new-instance·v0,·Lcom/android/providers/media/util/FileUtils$4; | 520 | ····new-instance·v0,·Lcom/android/providers/media/util/FileUtils$4; |
| |
523 | ····invoke-direct·{v0,·p0,·p1},·Lcom/android/providers/media/util/FileUtils$4;-><init>(Ljava/util/regex/Matcher;Ljava/lang/String;)V | 521 | ····invoke-direct·{v0,·p0,·p1},·Lcom/android/providers/media/util/FileUtils$4;-><init>(Ljava/util/regex/Matcher;Ljava/lang/String;)V |
| |
524 | ····return-object·v0 | 522 | ····return-object·v0 |
| |
525 | ····.line·628 | 523 | ····.line·609 |
526 | ····:cond_1 | 524 | ····:cond_1 |
527 | ····new-instance·p0,·Lcom/android/providers/media/util/FileUtils$5; | 525 | ····new-instance·p0,·Lcom/android/providers/media/util/FileUtils$5; |
| |
528 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/FileUtils$5;-><init>(Ljava/lang/String;)V | 526 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/util/FileUtils$5;-><init>(Ljava/lang/String;)V |
| |
529 | ····return-object·p0 | 527 | ····return-object·p0 |
530 | .end·method | 528 | .end·method |
| |
531 | .method·public·static·buildValidFatFilename(Ljava/lang/String;)Ljava/lang/String; | 529 | .method·public·static·buildValidFatFilename(Ljava/lang/String;)Ljava/lang/String; |
532 | ····.locals·4 | 530 | ····.locals·4 |
| |
533 | ····.line·514 | 531 | ····.line·498 |
534 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 532 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
535 | ····move-result·v0 | 533 | ····move-result·v0 |
| |
536 | ····if-nez·v0,·:cond_3 | 534 | ····if-nez·v0,·:cond_3 |
| |
537 | ····const-string·v0,·"." | 535 | ····const-string·v0,·"." |
Offset 582, 69 lines modified | Offset 580, 69 lines modified |
| |
582 | ····move-result·v0 | 580 | ····move-result·v0 |
| |
583 | ····if-eqz·v0,·:cond_0 | 581 | ····if-eqz·v0,·:cond_0 |
| |
584 | ····goto·:goto_2 | 582 | ····goto·:goto_2 |
| |
585 | ····.line·517 | 583 | ····.line·501 |
586 | ····:cond_0 | 584 | ····:cond_0 |
587 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 585 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
588 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | 586 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I |
| |
589 | ····move-result·v1 | 587 | ····move-result·v1 |
| |
590 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 588 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
| |
591 | ····const/4·v1,·0x0 | 589 | ····const/4·v1,·0x0 |
| |
592 | ····.line·518 | 590 | ····.line·502 |
593 | ····:goto_0 | 591 | ····:goto_0 |
594 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | 592 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I |
| |
595 | ····move-result·v2 | 593 | ····move-result·v2 |
| |
596 | ····if-ge·v1,·v2,·:cond_2 | 594 | ····if-ge·v1,·v2,·:cond_2 |
| |
597 | ····.line·519 | 595 | ····.line·503 |
598 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->charAt(I)C | 596 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->charAt(I)C |
| |
599 | ····move-result·v2 | 597 | ····move-result·v2 |
| |
600 | ····.line·520 | 598 | ····.line·504 |
601 | ····invoke-static·{v2},·Lcom/android/providers/media/util/FileUtils;->isValidFatFilenameChar(C)Z | 599 | ····invoke-static·{v2},·Lcom/android/providers/media/util/FileUtils;->isValidFatFilenameChar(C)Z |
| |
602 | ····move-result·v3 | 600 | ····move-result·v3 |
| |
603 | ····if-eqz·v3,·:cond_1 | 601 | ····if-eqz·v3,·:cond_1 |
| |
604 | ····.line·521 | 602 | ····.line·505 |
605 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 603 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
| |
606 | ····goto·:goto_1 | 604 | ····goto·:goto_1 |
| |
607 | ····:cond_1 | 605 | ····:cond_1 |
608 | ····const/16·v2,·0x5f | 606 | ····const/16·v2,·0x5f |
| |
609 | ····.line·523 | 607 | ····.line·507 |
610 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 608 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
| |
611 | ····:goto_1 | 609 | ····:goto_1 |
612 | ····add-int/lit8·v1,·v1,·0x1 | 610 | ····add-int/lit8·v1,·v1,·0x1 |
| |
613 | ····goto·:goto_0 | 611 | ····goto·:goto_0 |
| |
614 | ····:cond_2 | 612 | ····:cond_2 |
615 | ····const/16·p0,·0xff | 613 | ····const/16·p0,·0xff |
| |
616 | ····.line·528 | 614 | ····.line·512 |
617 | ····invoke-static·{v0,·p0},·Lcom/android/providers/media/util/FileUtils;->trimFilename(Ljava/lang/StringBuilder;I)V | 615 | ····invoke-static·{v0,·p0},·Lcom/android/providers/media/util/FileUtils;->trimFilename(Ljava/lang/StringBuilder;I)V |
| |
618 | ····.line·529 | 616 | ····.line·513 |
619 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 617 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
620 | ····move-result-object·p0 | 618 | ····move-result-object·p0 |
| |
621 | ····return-object·p0 | 619 | ····return-object·p0 |
| |
622 | ····:cond_3 | 620 | ····:cond_3 |
Offset 657, 18 lines modified | Offset 655, 18 lines modified |
657 | .method·public·static·clearAppCacheDirectories()I | 655 | .method·public·static·clearAppCacheDirectories()I |
658 | ····.locals·8 | 656 | ····.locals·8 |
| |
659 | ····const-string·v0,·"MediaProvider" | 657 | ····const-string·v0,·"MediaProvider" |
| |
660 | ····const-string·v1,·"Clearing·cache·for·all·apps" | 658 | ····const-string·v1,·"Clearing·cache·for·all·apps" |
| |
661 | ····.line·1337 | 659 | ····.line·1306 |
662 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I | 660 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
| |
663 | ····.line·1338 | 661 | ····.line·1307 |
664 | ····invoke-static·{},·Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File; | 662 | ····invoke-static·{},·Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File; |
| |
665 | ····move-result-object·v1 | 663 | ····move-result-object·v1 |
| |
666 | ····const-string·v2,·"Android" | 664 | ····const-string·v2,·"Android" |
| |
667 | ····const-string·v3,·"data" | 665 | ····const-string·v3,·"data" |
Offset 677, 15 lines modified | Offset 675, 15 lines modified |
| |
677 | ····move-result-object·v2 | 675 | ····move-result-object·v2 |
| |
678 | ····invoke-static·{v1,·v2},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; | 676 | ····invoke-static·{v1,·v2},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; |
| |
679 | ····move-result-object·v1 | 677 | ····move-result-object·v1 |
| |
680 | ····.line·1340 | 678 | ····.line·1309 |
681 | ····invoke-virtual·{v1},·Ljava/io/File;->listFiles()[Ljava/io/File; | 679 | ····invoke-virtual·{v1},·Ljava/io/File;->listFiles()[Ljava/io/File; |
| |
682 | ····move-result-object·v1 | 680 | ····move-result-object·v1 |
| |
683 | ····array-length·v2,·v1 | 681 | ····array-length·v2,·v1 |
| |
684 | ····const/4·v3,·0x0 | 682 | ····const/4·v3,·0x0 |
Offset 693, 45 lines modified | Offset 691, 45 lines modified |
693 | ····move·v4,·v3 | 691 | ····move·v4,·v3 |
| |
694 | ····:goto_0 | 692 | ····:goto_0 |
695 | ····if-ge·v3,·v2,·:cond_1 | 693 | ····if-ge·v3,·v2,·:cond_1 |
| |
696 | ····aget-object·v5,·v1,·v3 | 694 | ····aget-object·v5,·v1,·v3 |
| |
697 | ····.line·1342 | 695 | ····.line·1311 |
698 | ····:try_start_0 | 696 | ····:try_start_0 |
699 | ····new-instance·v6,·Ljava/io/File; | 697 | ····new-instance·v6,·Ljava/io/File; |
| |
700 | ····const-string·v7,·"cache" | 698 | ····const-string·v7,·"cache" |
| |
701 | ····invoke-direct·{v6,·v5,·v7},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V | 699 | ····invoke-direct·{v6,·v5,·v7},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V |
| |
702 | ····.line·1343 | 700 | ····.line·1312 |
703 | ····invoke-virtual·{v6},·Ljava/io/File;->isDirectory()Z | 701 | ····invoke-virtual·{v6},·Ljava/io/File;->isDirectory()Z |
| |
704 | ····move-result·v5 | 702 | ····move-result·v5 |
| |
705 | ····if-eqz·v5,·:cond_0 | 703 | ····if-eqz·v5,·:cond_0 |
| |
706 | ····.line·1344 | 704 | ····.line·1313 |
707 | ····invoke-static·{v6},·Lcom/android/providers/media/util/FileUtils;->deleteContents(Ljava/io/File;)V | 705 | ····invoke-static·{v6},·Lcom/android/providers/media/util/FileUtils;->deleteContents(Ljava/io/File;)V |
708 | ····:try_end_0 | 706 | ····:try_end_0 |
709 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0 | 707 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
710 | ····goto·:goto_1 | 708 | ····goto·:goto_1 |
| |
711 | ····:catch_0 | 709 | ····:catch_0 |
712 | ····move-exception·v4 | 710 | ····move-exception·v4 |
| |
713 | ····const-string·v5,·"Couldn\'t·delete·all·app·cache·dirs!" | 711 | ····const-string·v5,·"Couldn\'t·delete·all·app·cache·dirs!" |
| |
714 | ····.line·1350 | 712 | ····.line·1319 |
715 | ····invoke-static·{v0,·v5,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 713 | ····invoke-static·{v0,·v5,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
| |
716 | ····.line·1351 | 714 | ····.line·1320 |
717 | ····sget·v4,·Landroid/system/OsConstants;->EIO:I | 715 | ····sget·v4,·Landroid/system/OsConstants;->EIO:I |
| |
718 | ····:cond_0 | 716 | ····:cond_0 |
719 | ····:goto_1 | 717 | ····:goto_1 |
720 | ····add-int/lit8·v3,·v3,·0x1 | 718 | ····add-int/lit8·v3,·v3,·0x1 |
| |
721 | ····goto·:goto_0 | 719 | ····goto·:goto_0 |
Offset 743, 47 lines modified | Offset 741, 47 lines modified |
743 | .method·public·static·closeQuietly(Ljava/io/FileDescriptor;)V | 741 | .method·public·static·closeQuietly(Ljava/io/FileDescriptor;)V |
744 | ····.locals·0 | 742 | ····.locals·0 |
| |
745 | ····if-nez·p0,·:cond_0 | 743 | ····if-nez·p0,·:cond_0 |
| |
746 | ····return-void | 744 | ····return-void |
| |
747 | ····.line·123 | 745 | ····.line·120 |
748 | ····:cond_0 | 746 | ····:cond_0 |
749 | ····:try_start_0 | 747 | ····:try_start_0 |
750 | ····invoke-static·{p0},·Landroid/system/Os;->close(Ljava/io/FileDescriptor;)V | 748 | ····invoke-static·{p0},·Landroid/system/Os;->close(Ljava/io/FileDescriptor;)V |
751 | ····:try_end_0 | 749 | ····:try_end_0 |
752 | ····.catch·Landroid/system/ErrnoException;·{:try_start_0·..·:try_end_0}·:catch_0 | 750 | ····.catch·Landroid/system/ErrnoException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
753 | ····:catch_0 | 751 | ····:catch_0 |
754 | ····return-void | 752 | ····return-void |
755 | .end·method | 753 | .end·method |
| |
756 | .method·public·static·closeQuietly(Ljava/lang/AutoCloseable;)V | 754 | .method·public·static·closeQuietly(Ljava/lang/AutoCloseable;)V |
757 | ····.locals·0 | 755 | ····.locals·0 |
| |
758 | ····.line·117 | 756 | ····.line·114 |
759 | ····invoke-static·{p0},·Landroid/os/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V | 757 | ····invoke-static·{p0},·Landroid/os/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V |
| |
760 | ····return-void | 758 | ····return-void |
761 | .end·method | 759 | .end·method |
| |
762 | .method·public·static·computeDataFromValues(Landroid/content/ContentValues;Ljava/io/File;Z)V | 760 | .method·public·static·computeDataFromValues(Landroid/content/ContentValues;Ljava/io/File;Z)V |
763 | ····.locals·15 | 761 | ····.locals·15 |
| |
764 | ····move-object·v0,·p0 | 762 | ····move-object·v0,·p0 |
| |
765 | ····const-string·v1,·"_data" | 763 | ····const-string·v1,·"_data" |
| |
766 | ····.line·1172 | 764 | ····.line·1141 |
767 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 765 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
768 | ····const-string·v2,·"_display_name" | 766 | ····const-string·v2,·"_display_name" |
| |
769 | ····.line·1174 | 767 | ····.line·1143 |
770 | ····invoke-virtual·{p0,·v2},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 768 | ····invoke-virtual·{p0,·v2},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
| |
771 | ····move-result-object·v2 | 769 | ····move-result-object·v2 |
| |
772 | ····const/4·v3,·0x3 | 770 | ····const/4·v3,·0x3 |
| |
773 | ····const-string·v4,·".%s-%d-%s" | 771 | ····const-string·v4,·".%s-%d-%s" |
Offset 798, 389 lines modified | Offset 796, 383 lines modified |
| |
798 | ····const/4·v10,·0x0 | 796 | ····const/4·v10,·0x0 |
| |
799 | ····if-nez·p2,·:cond_0 | 797 | ····if-nez·p2,·:cond_0 |
| |
800 | ····const-string·v11,·"is_pending" | 798 | ····const-string·v11,·"is_pending" |
| |
801 | ····.line·1177 | 799 | ····.line·1146 |
802 | ····invoke-static·{p0,·v11,·v10},·Lcom/android/providers/media/util/DatabaseUtils;->getAsBoolean(Landroid/content/ContentValues;Ljava/lang/String;Z)Z | 800 | ····invoke-static·{p0,·v11,·v10},·Lcom/android/providers/media/util/DatabaseUtils;->getAsBoolean(Landroid/content/ContentValues;Ljava/lang/String;Z)Z |
| |
803 | ····move-result·v11 | 801 | ····move-result·v11 |
| |
804 | ····if-eqz·v11,·:cond_0 | 802 | ····if-eqz·v11,·:cond_0 |
| |
805 | ····.line·1179 | 803 | ····.line·1148 |
806 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 804 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
807 | ····move-result-wide·v11 | 805 | ····move-result-wide·v11 |
| |
808 | ····const-wide/32·v13,·0x240c8400 | 806 | ····const-wide/32·v13,·0x240c8400 |
| |
809 | ····add-long/2addr·v11,·v13 | 807 | ····add-long/2addr·v11,·v13 |
| |
810 | ····div-long/2addr·v11,·v5 | 808 | ····div-long/2addr·v11,·v5 |
| |
811 | ····.line·1178 | 809 | ····.line·1147 |
812 | ····invoke-static·{p0,·v7,·v11,·v12},·Lcom/android/providers/media/util/DatabaseUtils;->getAsLong(Landroid/content/ContentValues;Ljava/lang/String;J)J | 810 | ····invoke-static·{p0,·v7,·v11,·v12},·Lcom/android/providers/media/util/DatabaseUtils;->getAsLong(Landroid/content/ContentValues;Ljava/lang/String;J)J |
| |
813 | ····move-result-wide·v5 | 811 | ····move-result-wide·v5 |
| |
814 | ····.line·1180 | |
815 | ····sget-object·v7,·Ljava/util/Locale;->US:Ljava/util/Locale; | |
| |
816 | ····new-array·v3,·v3,·[Ljava/lang/Object; | 812 | ····new-array·v3,·v3,·[Ljava/lang/Object; |
| |
817 | ····const-string·v11,·"pending" | 813 | ····const-string·v7,·"pending" |
| |
818 | ····aput-object·v11,·v3,·v10 | 814 | ····aput-object·v7,·v3,·v10 |
| |
819 | ····.line·1181 | 815 | ····.line·1150 |
820 | ····invoke-static·{v5,·v6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 816 | ····invoke-static·{v5,·v6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
821 | ····move-result-object·v5 | 817 | ····move-result-object·v5 |
| |
822 | ····aput-object·v5,·v3,·v9 | 818 | ····aput-object·v5,·v3,·v9 |
| |
823 | ····aput-object·v2,·v3,·v8 | 819 | ····aput-object·v2,·v3,·v8 |
| |
824 | ····.line·1180 | 820 | ····.line·1149 |
825 | ····invoke-static·{v7,·v4,·v3},·Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 821 | ····invoke-static·{v4,·v3},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
826 | ····move-result-object·v2 | 822 | ····move-result-object·v2 |
| |
827 | ····goto·:goto_0 | 823 | ····goto·:goto_0 |
| |
828 | ····:cond_0 | 824 | ····:cond_0 |
829 | ····const-string·v11,·"is_trashed" | 825 | ····const-string·v11,·"is_trashed" |
| |
830 | ····.line·1182 | 826 | ····.line·1151 |
831 | ····invoke-static·{p0,·v11,·v10},·Lcom/android/providers/media/util/DatabaseUtils;->getAsBoolean(Landroid/content/ContentValues;Ljava/lang/String;Z)Z | 827 | ····invoke-static·{p0,·v11,·v10},·Lcom/android/providers/media/util/DatabaseUtils;->getAsBoolean(Landroid/content/ContentValues;Ljava/lang/String;Z)Z |
| |
832 | ····move-result·v11 | 828 | ····move-result·v11 |
| |
833 | ····if-eqz·v11,·:cond_1 | 829 | ····if-eqz·v11,·:cond_1 |
| |
834 | ····.line·1184 | 830 | ····.line·1153 |
835 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 831 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
836 | ····move-result-wide·v11 | 832 | ····move-result-wide·v11 |
| |
837 | ····const-wide·v13,·0x9a7ec800L | 833 | ····const-wide·v13,·0x9a7ec800L |
| |
838 | ····add-long/2addr·v11,·v13 | 834 | ····add-long/2addr·v11,·v13 |
| |
839 | ····div-long/2addr·v11,·v5 | 835 | ····div-long/2addr·v11,·v5 |
| |
840 | ····.line·1183 | 836 | ····.line·1152 |
841 | ····invoke-static·{p0,·v7,·v11,·v12},·Lcom/android/providers/media/util/DatabaseUtils;->getAsLong(Landroid/content/ContentValues;Ljava/lang/String;J)J | 837 | ····invoke-static·{p0,·v7,·v11,·v12},·Lcom/android/providers/media/util/DatabaseUtils;->getAsLong(Landroid/content/ContentValues;Ljava/lang/String;J)J |
| |
842 | ····move-result-wide·v5 | 838 | ····move-result-wide·v5 |
| |
843 | ····.line·1185 | |
844 | ····sget-object·v7,·Ljava/util/Locale;->US:Ljava/util/Locale; | |
| |
845 | ····new-array·v3,·v3,·[Ljava/lang/Object; | 839 | ····new-array·v3,·v3,·[Ljava/lang/Object; |
| |
846 | ····const-string·v11,·"trashed" | 840 | ····const-string·v7,·"trashed" |
| |
847 | ····aput-object·v11,·v3,·v10 | 841 | ····aput-object·v7,·v3,·v10 |
| |
848 | ····.line·1186 | 842 | ····.line·1155 |
849 | ····invoke-static·{v5,·v6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 843 | ····invoke-static·{v5,·v6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
850 | ····move-result-object·v5 | 844 | ····move-result-object·v5 |
| |
851 | ····aput-object·v5,·v3,·v9 | 845 | ····aput-object·v5,·v3,·v9 |
| |
852 | ····aput-object·v2,·v3,·v8 | 846 | ····aput-object·v2,·v3,·v8 |
| |
853 | ····.line·1185 | 847 | ····.line·1154 |
854 | ····invoke-static·{v7,·v4,·v3},·Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 848 | ····invoke-static·{v4,·v3},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
855 | ····move-result-object·v2 | 849 | ····move-result-object·v2 |
| |
856 | ····:cond_1 | 850 | ····:cond_1 |
857 | ····:goto_0 | 851 | ····:goto_0 |
858 | ····new-array·v3,·v8,·[Ljava/lang/String; | 852 | ····new-array·v3,·v8,·[Ljava/lang/String; |
| |
859 | ····const-string·v4,·"relative_path" | 853 | ····const-string·v4,·"relative_path" |
| |
860 | ····.line·1192 | 854 | ····.line·1161 |
861 | ····invoke-virtual·{p0,·v4},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 855 | ····invoke-virtual·{p0,·v4},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
| |
862 | ····move-result-object·v4 | 856 | ····move-result-object·v4 |
| |
863 | ····aput-object·v4,·v3,·v10 | 857 | ····aput-object·v4,·v3,·v10 |
| |
864 | ····aput-object·v2,·v3,·v9 | 858 | ····aput-object·v2,·v3,·v9 |
| |
865 | ····move-object/from16·v2,·p1 | 859 | ····move-object/from16·v2,·p1 |
| |
866 | ····.line·1191 | 860 | ····.line·1160 |
867 | ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; | 861 | ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; |
| |
868 | ····move-result-object·v2 | 862 | ····move-result-object·v2 |
| |
869 | ····.line·1193 | 863 | ····.line·1162 |
870 | ····invoke-virtual·{v2},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; | 864 | ····invoke-virtual·{v2},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; |
| |
871 | ····move-result-object·v2 | 865 | ····move-result-object·v2 |
| |
872 | ····invoke-virtual·{p0,·v1,·v2},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V | 866 | ····invoke-virtual·{p0,·v1,·v2},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V |
| |
873 | ····return-void | 867 | ····return-void |
874 | .end·method | 868 | .end·method |
| |
875 | .method·public·static·computeDateExpires(Landroid/content/ContentValues;)V | 869 | .method·public·static·computeDateExpires(Landroid/content/ContentValues;)V |
876 | ····.locals·9 | 870 | ····.locals·9 |
| |
877 | ····const-string·v0,·"date_expires" | 871 | ····const-string·v0,·"date_expires" |
| |
878 | ····.line·1084 | 872 | ····.line·1053 |
879 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 873 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
880 | ····const-string·v1,·"is_pending" | 874 | ····const-string·v1,·"is_pending" |
| |
881 | ····.line·1088 | 875 | ····.line·1057 |
882 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->get(Ljava/lang/String;)Ljava/lang/Object; | 876 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->get(Ljava/lang/String;)Ljava/lang/Object; |
| |
883 | ····move-result-object·v1 | 877 | ····move-result-object·v1 |
| |
884 | ····const-wide/16·v2,·0x3e8 | 878 | ····const-wide/16·v2,·0x3e8 |
| |
885 | ····const/4·v4,·0x0 | 879 | ····const/4·v4,·0x0 |
| |
886 | ····if-eqz·v1,·:cond_1 | 880 | ····if-eqz·v1,·:cond_1 |
| |
887 | ····.line·1090 | 881 | ····.line·1059 |
888 | ····invoke-static·{v1,·v4},·Lcom/android/providers/media/util/DatabaseUtils;->parseBoolean(Ljava/lang/Object;Z)Z | 882 | ····invoke-static·{v1,·v4},·Lcom/android/providers/media/util/DatabaseUtils;->parseBoolean(Ljava/lang/Object;Z)Z |
| |
889 | ····move-result·v1 | 883 | ····move-result·v1 |
| |
890 | ····if-eqz·v1,·:cond_0 | 884 | ····if-eqz·v1,·:cond_0 |
| |
891 | ····.line·1092 | 885 | ····.line·1061 |
892 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 886 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
893 | ····move-result-wide·v5 | 887 | ····move-result-wide·v5 |
| |
894 | ····const-wide/32·v7,·0x240c8400 | 888 | ····const-wide/32·v7,·0x240c8400 |
| |
895 | ····add-long/2addr·v5,·v7 | 889 | ····add-long/2addr·v5,·v7 |
| |
896 | ····div-long/2addr·v5,·v2 | 890 | ····div-long/2addr·v5,·v2 |
| |
897 | ····invoke-static·{v5,·v6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 891 | ····invoke-static·{v5,·v6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
898 | ····move-result-object·v1 | 892 | ····move-result-object·v1 |
| |
899 | ····.line·1091 | 893 | ····.line·1060 |
900 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V | 894 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V |
| |
901 | ····goto·:goto_0 | 895 | ····goto·:goto_0 |
| |
902 | ····.line·1094 | 896 | ····.line·1063 |
903 | ····:cond_0 | 897 | ····:cond_0 |
904 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V | 898 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V |
| |
905 | ····:cond_1 | 899 | ····:cond_1 |
906 | ····:goto_0 | 900 | ····:goto_0 |
907 | ····const-string·v1,·"is_trashed" | 901 | ····const-string·v1,·"is_trashed" |
| |
908 | ····.line·1097 | 902 | ····.line·1066 |
909 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->get(Ljava/lang/String;)Ljava/lang/Object; | 903 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->get(Ljava/lang/String;)Ljava/lang/Object; |
| |
910 | ····move-result-object·v1 | 904 | ····move-result-object·v1 |
| |
911 | ····if-eqz·v1,·:cond_3 | 905 | ····if-eqz·v1,·:cond_3 |
| |
912 | ····.line·1099 | 906 | ····.line·1068 |
913 | ····invoke-static·{v1,·v4},·Lcom/android/providers/media/util/DatabaseUtils;->parseBoolean(Ljava/lang/Object;Z)Z | 907 | ····invoke-static·{v1,·v4},·Lcom/android/providers/media/util/DatabaseUtils;->parseBoolean(Ljava/lang/Object;Z)Z |
| |
914 | ····move-result·v1 | 908 | ····move-result·v1 |
| |
915 | ····if-eqz·v1,·:cond_2 | 909 | ····if-eqz·v1,·:cond_2 |
| |
916 | ····.line·1101 | 910 | ····.line·1070 |
917 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 911 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
918 | ····move-result-wide·v4 | 912 | ····move-result-wide·v4 |
| |
919 | ····const-wide·v6,·0x9a7ec800L | 913 | ····const-wide·v6,·0x9a7ec800L |
| |
920 | ····add-long/2addr·v4,·v6 | 914 | ····add-long/2addr·v4,·v6 |
| |
921 | ····div-long/2addr·v4,·v2 | 915 | ····div-long/2addr·v4,·v2 |
| |
922 | ····invoke-static·{v4,·v5},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 916 | ····invoke-static·{v4,·v5},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
923 | ····move-result-object·v1 | 917 | ····move-result-object·v1 |
| |
924 | ····.line·1100 | 918 | ····.line·1069 |
925 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V | 919 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V |
| |
926 | ····goto·:goto_1 | 920 | ····goto·:goto_1 |
| |
927 | ····.line·1103 | 921 | ····.line·1072 |
928 | ····:cond_2 | 922 | ····:cond_2 |
929 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V | 923 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V |
| |
930 | ····:cond_3 | 924 | ····:cond_3 |
931 | ····:goto_1 | 925 | ····:goto_1 |
932 | ····return-void | 926 | ····return-void |
933 | .end·method | 927 | .end·method |
| |
934 | .method·public·static·computeValuesFromData(Landroid/content/ContentValues;Z)V | 928 | .method·public·static·computeValuesFromData(Landroid/content/ContentValues;Z)V |
935 | ····.locals·12 | 929 | ····.locals·12 |
| |
936 | ····const-string·v0,·"volume_name" | 930 | ····const-string·v0,·"volume_name" |
| |
937 | ····.line·1115 | 931 | ····.line·1084 |
938 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 932 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
939 | ····const-string·v1,·"relative_path" | 933 | ····const-string·v1,·"relative_path" |
| |
940 | ····.line·1116 | 934 | ····.line·1085 |
941 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 935 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
942 | ····const-string·v2,·"is_trashed" | 936 | ····const-string·v2,·"is_trashed" |
| |
943 | ····.line·1117 | 937 | ····.line·1086 |
944 | ····invoke-virtual·{p0,·v2},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 938 | ····invoke-virtual·{p0,·v2},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
945 | ····const-string·v3,·"date_expires" | 939 | ····const-string·v3,·"date_expires" |
| |
946 | ····.line·1118 | 940 | ····.line·1087 |
947 | ····invoke-virtual·{p0,·v3},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 941 | ····invoke-virtual·{p0,·v3},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
948 | ····const-string·v4,·"_display_name" | 942 | ····const-string·v4,·"_display_name" |
| |
949 | ····.line·1119 | 943 | ····.line·1088 |
950 | ····invoke-virtual·{p0,·v4},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 944 | ····invoke-virtual·{p0,·v4},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
951 | ····const-string·v5,·"bucket_id" | 945 | ····const-string·v5,·"bucket_id" |
| |
952 | ····.line·1120 | 946 | ····.line·1089 |
953 | ····invoke-virtual·{p0,·v5},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 947 | ····invoke-virtual·{p0,·v5},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
954 | ····const-string·v6,·"bucket_display_name" | 948 | ····const-string·v6,·"bucket_display_name" |
| |
955 | ····.line·1121 | 949 | ····.line·1090 |
956 | ····invoke-virtual·{p0,·v6},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 950 | ····invoke-virtual·{p0,·v6},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
957 | ····const-string·v7,·"_data" | 951 | ····const-string·v7,·"_data" |
| |
958 | ····.line·1123 | 952 | ····.line·1092 |
959 | ····invoke-virtual·{p0,·v7},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 953 | ····invoke-virtual·{p0,·v7},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
| |
960 | ····move-result-object·v7 | 954 | ····move-result-object·v7 |
| |
961 | ····.line·1124 | 955 | ····.line·1093 |
962 | ····invoke-static·{v7},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 956 | ····invoke-static·{v7},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
963 | ····move-result·v8 | 957 | ····move-result·v8 |
| |
964 | ····if-eqz·v8,·:cond_0 | 958 | ····if-eqz·v8,·:cond_0 |
| |
965 | ····return-void | 959 | ····return-void |
| |
966 | ····.line·1126 | 960 | ····.line·1095 |
967 | ····:cond_0 | 961 | ····:cond_0 |
968 | ····new-instance·v8,·Ljava/io/File; | 962 | ····new-instance·v8,·Ljava/io/File; |
| |
969 | ····invoke-direct·{v8,·v7},·Ljava/io/File;-><init>(Ljava/lang/String;)V | 963 | ····invoke-direct·{v8,·v7},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
| |
970 | ····.line·1127 | 964 | ····.line·1096 |
971 | ····new-instance·v9,·Ljava/io/File; | 965 | ····new-instance·v9,·Ljava/io/File; |
| |
972 | ····sget-object·v10,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; | 966 | ····sget-object·v10,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; |
| |
973 | ····invoke-virtual·{v7,·v10},·Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String; | 967 | ····invoke-virtual·{v7,·v10},·Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String; |
| |
974 | ····move-result-object·v10 | 968 | ····move-result-object·v10 |
| |
975 | ····invoke-direct·{v9,·v10},·Ljava/io/File;-><init>(Ljava/lang/String;)V | 969 | ····invoke-direct·{v9,·v10},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
| |
976 | ····.line·1129 | 970 | ····.line·1098 |
977 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractVolumeName(Ljava/lang/String;)Ljava/lang/String; | 971 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractVolumeName(Ljava/lang/String;)Ljava/lang/String; |
| |
978 | ····move-result-object·v10 | 972 | ····move-result-object·v10 |
| |
979 | ····invoke-virtual·{p0,·v0,·v10},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V | 973 | ····invoke-virtual·{p0,·v0,·v10},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V |
| |
980 | ····.line·1130 | 974 | ····.line·1099 |
981 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractRelativePath(Ljava/lang/String;)Ljava/lang/String; | 975 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractRelativePath(Ljava/lang/String;)Ljava/lang/String; |
| |
982 | ····move-result-object·v0 | 976 | ····move-result-object·v0 |
| |
983 | ····invoke-virtual·{p0,·v1,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V | 977 | ····invoke-virtual·{p0,·v1,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V |
| |
984 | ····.line·1131 | 978 | ····.line·1100 |
985 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractDisplayName(Ljava/lang/String;)Ljava/lang/String; | 979 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractDisplayName(Ljava/lang/String;)Ljava/lang/String; |
| |
986 | ····move-result-object·v0 | 980 | ····move-result-object·v0 |
| |
987 | ····.line·1132 | 981 | ····.line·1101 |
988 | ····sget-object·v7,·Lcom/android/providers/media/util/FileUtils;->PATTERN_EXPIRES_FILE:Ljava/util/regex/Pattern; | 982 | ····sget-object·v7,·Lcom/android/providers/media/util/FileUtils;->PATTERN_EXPIRES_FILE:Ljava/util/regex/Pattern; |
| |
989 | ····invoke-virtual·{v7,·v0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 983 | ····invoke-virtual·{v7,·v0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
990 | ····move-result-object·v7 | 984 | ····move-result-object·v7 |
| |
991 | ····.line·1133 | 985 | ····.line·1102 |
992 | ····invoke-virtual·{v7},·Ljava/util/regex/Matcher;->matches()Z | 986 | ····invoke-virtual·{v7},·Ljava/util/regex/Matcher;->matches()Z |
| |
993 | ····move-result·v10 | 987 | ····move-result·v10 |
| |
994 | ····const-string·v11,·"is_pending" | 988 | ····const-string·v11,·"is_pending" |
| |
995 | ····if-eqz·v10,·:cond_1 | 989 | ····if-eqz·v10,·:cond_1 |
| |
996 | ····const/4·p1,·0x1 | 990 | ····const/4·p1,·0x1 |
| |
997 | ····.line·1135 | 991 | ····.line·1104 |
998 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 992 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
999 | ····move-result-object·v0 | 993 | ····move-result-object·v0 |
| |
1000 | ····const-string·v10,·"pending" | 994 | ····const-string·v10,·"pending" |
| |
1001 | ····invoke-virtual·{v0,·v10},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 995 | ····invoke-virtual·{v0,·v10},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
1002 | ····move-result·v0 | 996 | ····move-result·v0 |
| |
1003 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 997 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1004 | ····move-result-object·v0 | 998 | ····move-result-object·v0 |
| |
1005 | ····.line·1134 | 999 | ····.line·1103 |
1006 | ····invoke-virtual·{p0,·v11,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V | 1000 | ····invoke-virtual·{p0,·v11,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V |
| |
1007 | ····.line·1137 | 1001 | ····.line·1106 |
1008 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 1002 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
1009 | ····move-result-object·p1 | 1003 | ····move-result-object·p1 |
| |
1010 | ····const-string·v0,·"trashed" | 1004 | ····const-string·v0,·"trashed" |
| |
1011 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 1005 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
Max diff block lines reached; 64684/93491 bytes (69.19%) of diff not shown.
|