| | | |
Offset 28, 28 lines modified | Offset 28, 24 lines modified |
| |
28 | .field·public·static·final·PATTERN_DOWNLOADS_DIRECTORY:Ljava/util/regex/Pattern; | 28 | .field·public·static·final·PATTERN_DOWNLOADS_DIRECTORY:Ljava/util/regex/Pattern; |
| |
29 | .field·public·static·final·PATTERN_DOWNLOADS_FILE:Ljava/util/regex/Pattern; | 29 | .field·public·static·final·PATTERN_DOWNLOADS_FILE:Ljava/util/regex/Pattern; |
| |
30 | .field·public·static·final·PATTERN_EXPIRES_FILE:Ljava/util/regex/Pattern; | 30 | .field·public·static·final·PATTERN_EXPIRES_FILE:Ljava/util/regex/Pattern; |
| |
31 | .field·private·static·final·PATTERN_INVISIBLE:Ljava/util/regex/Pattern; | |
| |
32 | .field·public·static·final·PATTERN_OBB_OR_CHILD_PATH:Ljava/util/regex/Pattern; | 31 | .field·public·static·final·PATTERN_OBB_OR_CHILD_PATH:Ljava/util/regex/Pattern; |
| |
33 | .field·public·static·final·PATTERN_OWNED_PATH:Ljava/util/regex/Pattern; | 32 | .field·public·static·final·PATTERN_OWNED_PATH:Ljava/util/regex/Pattern; |
| |
34 | .field·public·static·final·PATTERN_PENDING_FILEPATH_FOR_SQL:Ljava/util/regex/Pattern; | 33 | .field·public·static·final·PATTERN_PENDING_FILEPATH_FOR_SQL:Ljava/util/regex/Pattern; |
| |
35 | .field·private·static·final·PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; | 34 | .field·private·static·final·PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; |
| |
36 | .field·private·static·final·PATTERN_USER_ID:Ljava/util/regex/Pattern; | 35 | .field·private·static·final·PATTERN_USER_ID:Ljava/util/regex/Pattern; |
| |
37 | .field·private·static·final·PATTERN_VISIBLE:Ljava/util/regex/Pattern; | |
| |
38 | .field·private·static·final·PATTERN_VOLUME_NAME:Ljava/util/regex/Pattern; | 36 | .field·private·static·final·PATTERN_VOLUME_NAME:Ljava/util/regex/Pattern; |
| |
39 | .field·public·static·final·PREFIX_PENDING:Ljava/lang/String;·=·"pending" | 37 | .field·public·static·final·PREFIX_PENDING:Ljava/lang/String;·=·"pending" |
| |
40 | .field·public·static·final·PREFIX_TRASHED:Ljava/lang/String;·=·"trashed" | 38 | .field·public·static·final·PREFIX_TRASHED:Ljava/lang/String;·=·"trashed" |
| |
41 | .field·private·static·final·PROP_CROSS_USER_ALLOWED:Z | 39 | .field·private·static·final·PROP_CROSS_USER_ALLOWED:Z |
Offset 259, 33 lines modified | Offset 255, 15 lines modified |
| |
259 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 255 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
260 | ····move-result-object·v0 | 256 | ····move-result-object·v0 |
| |
261 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_OBB_OR_CHILD_PATH:Ljava/util/regex/Pattern; | 257 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_OBB_OR_CHILD_PATH:Ljava/util/regex/Pattern; |
| |
262 | ····const-string·v0,·"(?i)^/storage/[^/]+(?:/[0-9]+)?$" | |
| |
263 | ····.line·984 | 258 | ····.line·993 |
264 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | |
| |
265 | ····move-result-object·v0 | |
| |
266 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_VISIBLE:Ljava/util/regex/Pattern; | |
| |
267 | ····const-string·v0,·"(?i)^/storage/[^/]+(?:/[0-9]+)?/(?:(?:Android/(?:data|obb|sandbox)$)|(?:\\.transforms$)|(?:(?:Movies|Music|Pictures)/.thumbnails$))" | |
| |
268 | ····.line·987 | |
269 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | |
| |
270 | ····move-result-object·v0 | |
| |
271 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_INVISIBLE:Ljava/util/regex/Pattern; | |
| |
272 | ····.line·1002 | |
273 | ····invoke-static·{},·Lcom/android/modules/utils/build/SdkLevel;->isAtLeastS()Z | 259 | ····invoke-static·{},·Lcom/android/modules/utils/build/SdkLevel;->isAtLeastS()Z |
| |
274 | ····move-result·v0 | 260 | ····move-result·v0 |
| |
275 | ····const/16·v2,·0xb | 261 | ····const/16·v2,·0xb |
| |
276 | ····const/16·v3,·0xa | 262 | ····const/16·v3,·0xa |
Offset 310, 15 lines modified | Offset 288, 15 lines modified |
| |
310 | ····const/4·v13,·0x1 | 288 | ····const/4·v13,·0x1 |
| |
311 | ····if-eqz·v0,·:cond_2 | 289 | ····if-eqz·v0,·:cond_2 |
| |
312 | ····new-array·v0,·v11,·[Ljava/lang/String; | 290 | ····new-array·v0,·v11,·[Ljava/lang/String; |
| |
313 | ····.line·1003 | 291 | ····.line·994 |
314 | ····sget-object·v11,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String; | 292 | ····sget-object·v11,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String; |
| |
315 | ····aput-object·v11,·v0,·v1 | 293 | ····aput-object·v11,·v0,·v1 |
| |
316 | ····sget-object·v11,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String; | 294 | ····sget-object·v11,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String; |
| |
317 | ····aput-object·v11,·v0,·v13 | 295 | ····aput-object·v11,·v0,·v13 |
Offset 366, 15 lines modified | Offset 344, 15 lines modified |
366 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->DEFAULT_FOLDER_NAMES:[Ljava/lang/String; | 344 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->DEFAULT_FOLDER_NAMES:[Ljava/lang/String; |
| |
367 | ····goto·:goto_2 | 345 | ····goto·:goto_2 |
| |
368 | ····:cond_2 | 346 | ····:cond_2 |
369 | ····new-array·v0,·v11,·[Ljava/lang/String; | 347 | ····new-array·v0,·v11,·[Ljava/lang/String; |
| |
370 | ····.line·1018 | 348 | ····.line·1009 |
371 | ····sget-object·v11,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String; | 349 | ····sget-object·v11,·Landroid/os/Environment;->DIRECTORY_MUSIC:Ljava/lang/String; |
| |
372 | ····aput-object·v11,·v0,·v1 | 350 | ····aput-object·v11,·v0,·v1 |
| |
373 | ····sget-object·v11,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String; | 351 | ····sget-object·v11,·Landroid/os/Environment;->DIRECTORY_PODCASTS:Ljava/lang/String; |
| |
374 | ····aput-object·v11,·v0,·v13 | 352 | ····aput-object·v11,·v0,·v13 |
Offset 420, 53 lines modified | Offset 398, 53 lines modified |
420 | ····aput-object·v3,·v0,·v2 | 398 | ····aput-object·v3,·v0,·v2 |
| |
421 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->DEFAULT_FOLDER_NAMES:[Ljava/lang/String; | 399 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->DEFAULT_FOLDER_NAMES:[Ljava/lang/String; |
| |
422 | ····:goto_2 | 400 | ····:goto_2 |
423 | ····const-string·v0,·"(?i)^/storage/(?:emulated/[0-9]+/|[^/]+/)" | 401 | ····const-string·v0,·"(?i)^/storage/(?:emulated/[0-9]+/|[^/]+/)" |
| |
424 | ····.line·1038 | 402 | ····.line·1029 |
425 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 403 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
426 | ····move-result-object·v0 | 404 | ····move-result-object·v0 |
| |
427 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; | 405 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; |
| |
428 | ····const-string·v0,·"(?i)^/storage/([^/]+)" | 406 | ····const-string·v0,·"(?i)^/storage/([^/]+)" |
| |
429 | ····.line·1044 | 407 | ····.line·1035 |
430 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 408 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
431 | ····move-result-object·v0 | 409 | ····move-result-object·v0 |
| |
432 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_VOLUME_NAME:Ljava/util/regex/Pattern; | 410 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_VOLUME_NAME:Ljava/util/regex/Pattern; |
| |
433 | ····const-string·v0,·"(?i)^/storage/emulated/([0-9]+)" | 411 | ····const-string·v0,·"(?i)^/storage/emulated/([0-9]+)" |
| |
434 | ····.line·1050 | 412 | ····.line·1041 |
435 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 413 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
| |
436 | ····move-result-object·v0 | 414 | ····move-result-object·v0 |
| |
437 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_USER_ID:Ljava/util/regex/Pattern; | 415 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->PATTERN_USER_ID:Ljava/util/regex/Pattern; |
| |
438 | ····new-array·v0,·v12,·[Ljava/lang/Object; | 416 | ····new-array·v0,·v12,·[Ljava/lang/Object; |
| |
439 | ····.line·1053 | 417 | ····.line·1044 |
440 | ····sget-object·v2,·Landroid/os/Environment;->DIRECTORY_DCIM:Ljava/lang/String; | 418 | ····sget-object·v2,·Landroid/os/Environment;->DIRECTORY_DCIM:Ljava/lang/String; |
| |
441 | ····aput-object·v2,·v0,·v1 | 419 | ····aput-object·v2,·v0,·v1 |
| |
442 | ····const-string·v1,·"Camera" | 420 | ····const-string·v1,·"Camera" |
| |
443 | ····aput-object·v1,·v0,·v13 | 421 | ····aput-object·v1,·v0,·v13 |
| |
444 | ····const-string·v1,·"%s/%s/" | 422 | ····const-string·v1,·"%s/%s/" |
| |
445 | ····.line·1054 | 423 | ····.line·1045 |
446 | ····invoke-static·{v1,·v0},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 424 | ····invoke-static·{v1,·v0},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
447 | ····move-result-object·v0 | 425 | ····move-result-object·v0 |
| |
448 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->CAMERA_RELATIVE_PATH:Ljava/lang/String; | 426 | ····sput-object·v0,·Lcom/android/providers/media/util/FileUtils;->CAMERA_RELATIVE_PATH:Ljava/lang/String; |
| |
449 | ····return-void | 427 | ····return-void |
Offset 900, 18 lines modified | Offset 878, 18 lines modified |
900 | .method·public·static·clearAppCacheDirectories()I | 878 | .method·public·static·clearAppCacheDirectories()I |
901 | ····.locals·8 | 879 | ····.locals·8 |
| |
902 | ····const-string·v0,·"MediaProvider" | 880 | ····const-string·v0,·"MediaProvider" |
| |
903 | ····const-string·v1,·"Clearing·cache·for·all·apps" | 881 | ····const-string·v1,·"Clearing·cache·for·all·apps" |
| |
904 | ····.line·1547 | 882 | ····.line·1521 |
905 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I | 883 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
| |
906 | ····.line·1548 | 884 | ····.line·1522 |
907 | ····invoke-static·{},·Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File; | 885 | ····invoke-static·{},·Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File; |
| |
908 | ····move-result-object·v1 | 886 | ····move-result-object·v1 |
| |
909 | ····const-string·v2,·"Android" | 887 | ····const-string·v2,·"Android" |
| |
910 | ····const-string·v3,·"data" | 888 | ····const-string·v3,·"data" |
Offset 920, 15 lines modified | Offset 898, 15 lines modified |
| |
920 | ····move-result-object·v2 | 898 | ····move-result-object·v2 |
| |
921 | ····invoke-static·{v1,·v2},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; | 899 | ····invoke-static·{v1,·v2},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; |
| |
922 | ····move-result-object·v1 | 900 | ····move-result-object·v1 |
| |
923 | ····.line·1550 | 901 | ····.line·1524 |
924 | ····invoke-virtual·{v1},·Ljava/io/File;->listFiles()[Ljava/io/File; | 902 | ····invoke-virtual·{v1},·Ljava/io/File;->listFiles()[Ljava/io/File; |
| |
925 | ····move-result-object·v1 | 903 | ····move-result-object·v1 |
| |
926 | ····array-length·v2,·v1 | 904 | ····array-length·v2,·v1 |
| |
927 | ····const/4·v3,·0x0 | 905 | ····const/4·v3,·0x0 |
Offset 936, 45 lines modified | Offset 914, 45 lines modified |
936 | ····move·v4,·v3 | 914 | ····move·v4,·v3 |
| |
937 | ····:goto_0 | 915 | ····:goto_0 |
938 | ····if-ge·v3,·v2,·:cond_1 | 916 | ····if-ge·v3,·v2,·:cond_1 |
| |
939 | ····aget-object·v5,·v1,·v3 | 917 | ····aget-object·v5,·v1,·v3 |
| |
940 | ····.line·1552 | 918 | ····.line·1526 |
941 | ····:try_start_0 | 919 | ····:try_start_0 |
942 | ····new-instance·v6,·Ljava/io/File; | 920 | ····new-instance·v6,·Ljava/io/File; |
| |
943 | ····const-string·v7,·"cache" | 921 | ····const-string·v7,·"cache" |
| |
944 | ····invoke-direct·{v6,·v5,·v7},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V | 922 | ····invoke-direct·{v6,·v5,·v7},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V |
| |
945 | ····.line·1553 | 923 | ····.line·1527 |
946 | ····invoke-virtual·{v6},·Ljava/io/File;->isDirectory()Z | 924 | ····invoke-virtual·{v6},·Ljava/io/File;->isDirectory()Z |
| |
947 | ····move-result·v5 | 925 | ····move-result·v5 |
| |
948 | ····if-eqz·v5,·:cond_0 | 926 | ····if-eqz·v5,·:cond_0 |
| |
949 | ····.line·1554 | 927 | ····.line·1528 |
950 | ····invoke-static·{v6},·Lcom/android/providers/media/util/FileUtils;->deleteContents(Ljava/io/File;)V | 928 | ····invoke-static·{v6},·Lcom/android/providers/media/util/FileUtils;->deleteContents(Ljava/io/File;)V |
951 | ····:try_end_0 | 929 | ····:try_end_0 |
952 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0 | 930 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
953 | ····goto·:goto_1 | 931 | ····goto·:goto_1 |
| |
954 | ····:catch_0 | 932 | ····:catch_0 |
955 | ····move-exception·v4 | 933 | ····move-exception·v4 |
| |
956 | ····const-string·v5,·"Couldn\'t·delete·all·app·cache·dirs!" | 934 | ····const-string·v5,·"Couldn\'t·delete·all·app·cache·dirs!" |
| |
957 | ····.line·1560 | 935 | ····.line·1534 |
958 | ····invoke-static·{v0,·v5,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 936 | ····invoke-static·{v0,·v5,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
| |
959 | ····.line·1561 | 937 | ····.line·1535 |
960 | ····sget·v4,·Landroid/system/OsConstants;->EIO:I | 938 | ····sget·v4,·Landroid/system/OsConstants;->EIO:I |
| |
961 | ····:cond_0 | 939 | ····:cond_0 |
962 | ····:goto_1 | 940 | ····:goto_1 |
963 | ····add-int/lit8·v3,·v3,·0x1 | 941 | ····add-int/lit8·v3,·v3,·0x1 |
| |
964 | ····goto·:goto_0 | 942 | ····goto·:goto_0 |
Offset 1013, 20 lines modified | Offset 991, 20 lines modified |
1013 | .method·public·static·computeDataFromValues(Landroid/content/ContentValues;Ljava/io/File;Z)V | 991 | .method·public·static·computeDataFromValues(Landroid/content/ContentValues;Ljava/io/File;Z)V |
1014 | ····.locals·16 | 992 | ····.locals·16 |
| |
1015 | ····move-object/from16·v0,·p0 | 993 | ····move-object/from16·v0,·p0 |
| |
1016 | ····const-string·v1,·"_data" | 994 | ····const-string·v1,·"_data" |
| |
1017 | ····.line·1339 | 995 | ····.line·1318 |
1018 | ····invoke-virtual·{v0,·v1},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 996 | ····invoke-virtual·{v0,·v1},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
1019 | ····const-string·v2,·"_display_name" | 997 | ····const-string·v2,·"_display_name" |
| |
1020 | ····.line·1341 | 998 | ····.line·1320 |
1021 | ····invoke-virtual·{v0,·v2},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 999 | ····invoke-virtual·{v0,·v2},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
| |
1022 | ····move-result-object·v2 | 1000 | ····move-result-object·v2 |
| |
1023 | ····const/16·v3,·0xff | 1001 | ····const/16·v3,·0xff |
| |
1024 | ····const/4·v4,·0x3 | 1002 | ····const/4·v4,·0x3 |
Offset 1043, 399 lines modified | Offset 1021, 399 lines modified |
| |
1043 | ····const/4·v11,·0x0 | 1021 | ····const/4·v11,·0x0 |
| |
1044 | ····if-nez·p2,·:cond_0 | 1022 | ····if-nez·p2,·:cond_0 |
| |
1045 | ····const-string·v12,·"is_pending" | 1023 | ····const-string·v12,·"is_pending" |
| |
1046 | ····.line·1344 | 1024 | ····.line·1323 |
1047 | ····invoke-static·{v0,·v12,·v11},·Lcom/android/providers/media/util/DatabaseUtils;->getAsBoolean(Landroid/content/ContentValues;Ljava/lang/String;Z)Z | 1025 | ····invoke-static·{v0,·v12,·v11},·Lcom/android/providers/media/util/DatabaseUtils;->getAsBoolean(Landroid/content/ContentValues;Ljava/lang/String;Z)Z |
| |
1048 | ····move-result·v12 | 1026 | ····move-result·v12 |
| |
1049 | ····if-eqz·v12,·:cond_0 | 1027 | ····if-eqz·v12,·:cond_0 |
| |
1050 | ····.line·1346 | 1028 | ····.line·1325 |
1051 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 1029 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
1052 | ····move-result-wide·v12 | 1030 | ····move-result-wide·v12 |
| |
1053 | ····const-wide/32·v14,·0x240c8400 | 1031 | ····const-wide/32·v14,·0x240c8400 |
| |
1054 | ····add-long/2addr·v12,·v14 | 1032 | ····add-long/2addr·v12,·v14 |
| |
1055 | ····div-long/2addr·v12,·v6 | 1033 | ····div-long/2addr·v12,·v6 |
| |
1056 | ····.line·1345 | 1034 | ····.line·1324 |
1057 | ····invoke-static·{v0,·v8,·v12,·v13},·Lcom/android/providers/media/util/DatabaseUtils;->getAsLong(Landroid/content/ContentValues;Ljava/lang/String;J)J | 1035 | ····invoke-static·{v0,·v8,·v12,·v13},·Lcom/android/providers/media/util/DatabaseUtils;->getAsLong(Landroid/content/ContentValues;Ljava/lang/String;J)J |
| |
1058 | ····move-result-wide·v6 | 1036 | ····move-result-wide·v6 |
| |
1059 | ····.line·1347 | 1037 | ····.line·1326 |
1060 | ····sget-object·v8,·Ljava/util/Locale;->US:Ljava/util/Locale; | 1038 | ····sget-object·v8,·Ljava/util/Locale;->US:Ljava/util/Locale; |
| |
1061 | ····new-array·v4,·v4,·[Ljava/lang/Object; | 1039 | ····new-array·v4,·v4,·[Ljava/lang/Object; |
| |
1062 | ····const-string·v12,·"pending" | 1040 | ····const-string·v12,·"pending" |
| |
1063 | ····aput-object·v12,·v4,·v11 | 1041 | ····aput-object·v12,·v4,·v11 |
| |
1064 | ····.line·1348 | 1042 | ····.line·1327 |
1065 | ····invoke-static·{v6,·v7},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1043 | ····invoke-static·{v6,·v7},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
1066 | ····move-result-object·v6 | 1044 | ····move-result-object·v6 |
| |
1067 | ····aput-object·v6,·v4,·v10 | 1045 | ····aput-object·v6,·v4,·v10 |
| |
1068 | ····aput-object·v2,·v4,·v9 | 1046 | ····aput-object·v2,·v4,·v9 |
| |
1069 | ····.line·1347 | 1047 | ····.line·1326 |
1070 | ····invoke-static·{v8,·v5,·v4},·Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 1048 | ····invoke-static·{v8,·v5,·v4},·Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
1071 | ····move-result-object·v2 | 1049 | ····move-result-object·v2 |
| |
1072 | ····.line·1352 | 1050 | ····.line·1331 |
1073 | ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->trimFilename(Ljava/lang/String;I)Ljava/lang/String; | 1051 | ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->trimFilename(Ljava/lang/String;I)Ljava/lang/String; |
| |
1074 | ····move-result-object·v2 | 1052 | ····move-result-object·v2 |
| |
1075 | ····goto·:goto_0 | 1053 | ····goto·:goto_0 |
| |
1076 | ····:cond_0 | 1054 | ····:cond_0 |
1077 | ····const-string·v12,·"is_trashed" | 1055 | ····const-string·v12,·"is_trashed" |
| |
1078 | ····.line·1353 | 1056 | ····.line·1332 |
1079 | ····invoke-static·{v0,·v12,·v11},·Lcom/android/providers/media/util/DatabaseUtils;->getAsBoolean(Landroid/content/ContentValues;Ljava/lang/String;Z)Z | 1057 | ····invoke-static·{v0,·v12,·v11},·Lcom/android/providers/media/util/DatabaseUtils;->getAsBoolean(Landroid/content/ContentValues;Ljava/lang/String;Z)Z |
| |
1080 | ····move-result·v12 | 1058 | ····move-result·v12 |
| |
1081 | ····if-eqz·v12,·:cond_1 | 1059 | ····if-eqz·v12,·:cond_1 |
| |
1082 | ····.line·1355 | 1060 | ····.line·1334 |
1083 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 1061 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
1084 | ····move-result-wide·v12 | 1062 | ····move-result-wide·v12 |
| |
1085 | ····const-wide·v14,·0x9a7ec800L | 1063 | ····const-wide·v14,·0x9a7ec800L |
| |
1086 | ····add-long/2addr·v12,·v14 | 1064 | ····add-long/2addr·v12,·v14 |
| |
1087 | ····div-long/2addr·v12,·v6 | 1065 | ····div-long/2addr·v12,·v6 |
| |
1088 | ····.line·1354 | 1066 | ····.line·1333 |
1089 | ····invoke-static·{v0,·v8,·v12,·v13},·Lcom/android/providers/media/util/DatabaseUtils;->getAsLong(Landroid/content/ContentValues;Ljava/lang/String;J)J | 1067 | ····invoke-static·{v0,·v8,·v12,·v13},·Lcom/android/providers/media/util/DatabaseUtils;->getAsLong(Landroid/content/ContentValues;Ljava/lang/String;J)J |
| |
1090 | ····move-result-wide·v6 | 1068 | ····move-result-wide·v6 |
| |
1091 | ····.line·1356 | 1069 | ····.line·1335 |
1092 | ····sget-object·v8,·Ljava/util/Locale;->US:Ljava/util/Locale; | 1070 | ····sget-object·v8,·Ljava/util/Locale;->US:Ljava/util/Locale; |
| |
1093 | ····new-array·v4,·v4,·[Ljava/lang/Object; | 1071 | ····new-array·v4,·v4,·[Ljava/lang/Object; |
| |
1094 | ····const-string·v12,·"trashed" | 1072 | ····const-string·v12,·"trashed" |
| |
1095 | ····aput-object·v12,·v4,·v11 | 1073 | ····aput-object·v12,·v4,·v11 |
| |
1096 | ····.line·1357 | 1074 | ····.line·1336 |
1097 | ····invoke-static·{v6,·v7},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1075 | ····invoke-static·{v6,·v7},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
1098 | ····move-result-object·v6 | 1076 | ····move-result-object·v6 |
| |
1099 | ····aput-object·v6,·v4,·v10 | 1077 | ····aput-object·v6,·v4,·v10 |
| |
1100 | ····aput-object·v2,·v4,·v9 | 1078 | ····aput-object·v2,·v4,·v9 |
| |
1101 | ····.line·1356 | 1079 | ····.line·1335 |
1102 | ····invoke-static·{v8,·v5,·v4},·Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 1080 | ····invoke-static·{v8,·v5,·v4},·Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
1103 | ····move-result-object·v2 | 1081 | ····move-result-object·v2 |
| |
1104 | ····.line·1361 | 1082 | ····.line·1340 |
1105 | ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->trimFilename(Ljava/lang/String;I)Ljava/lang/String; | 1083 | ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->trimFilename(Ljava/lang/String;I)Ljava/lang/String; |
| |
1106 | ····move-result-object·v2 | 1084 | ····move-result-object·v2 |
| |
1107 | ····:cond_1 | 1085 | ····:cond_1 |
1108 | ····:goto_0 | 1086 | ····:goto_0 |
1109 | ····new-array·v3,·v9,·[Ljava/lang/String; | 1087 | ····new-array·v3,·v9,·[Ljava/lang/String; |
| |
1110 | ····const-string·v4,·"relative_path" | 1088 | ····const-string·v4,·"relative_path" |
| |
1111 | ····.line·1367 | 1089 | ····.line·1346 |
1112 | ····invoke-virtual·{v0,·v4},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 1090 | ····invoke-virtual·{v0,·v4},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
| |
1113 | ····move-result-object·v4 | 1091 | ····move-result-object·v4 |
| |
1114 | ····aput-object·v4,·v3,·v11 | 1092 | ····aput-object·v4,·v3,·v11 |
| |
1115 | ····aput-object·v2,·v3,·v10 | 1093 | ····aput-object·v2,·v3,·v10 |
| |
1116 | ····move-object/from16·v2,·p1 | 1094 | ····move-object/from16·v2,·p1 |
| |
1117 | ····.line·1366 | 1095 | ····.line·1345 |
1118 | ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; | 1096 | ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; |
| |
1119 | ····move-result-object·v2 | 1097 | ····move-result-object·v2 |
| |
1120 | ····.line·1368 | 1098 | ····.line·1347 |
1121 | ····invoke-virtual·{v2},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; | 1099 | ····invoke-virtual·{v2},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; |
| |
1122 | ····move-result-object·v2 | 1100 | ····move-result-object·v2 |
| |
1123 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V | 1101 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V |
| |
1124 | ····return-void | 1102 | ····return-void |
1125 | .end·method | 1103 | .end·method |
| |
1126 | .method·public·static·computeDateExpires(Landroid/content/ContentValues;)V | 1104 | .method·public·static·computeDateExpires(Landroid/content/ContentValues;)V |
1127 | ····.locals·9 | 1105 | ····.locals·9 |
| |
1128 | ····const-string·v0,·"date_expires" | 1106 | ····const-string·v0,·"date_expires" |
| |
1129 | ····.line·1251 | 1107 | ····.line·1230 |
1130 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 1108 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
1131 | ····const-string·v1,·"is_pending" | 1109 | ····const-string·v1,·"is_pending" |
| |
1132 | ····.line·1255 | 1110 | ····.line·1234 |
1133 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->get(Ljava/lang/String;)Ljava/lang/Object; | 1111 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->get(Ljava/lang/String;)Ljava/lang/Object; |
| |
1134 | ····move-result-object·v1 | 1112 | ····move-result-object·v1 |
| |
1135 | ····const-wide/16·v2,·0x3e8 | 1113 | ····const-wide/16·v2,·0x3e8 |
| |
1136 | ····const/4·v4,·0x0 | 1114 | ····const/4·v4,·0x0 |
| |
1137 | ····if-eqz·v1,·:cond_1 | 1115 | ····if-eqz·v1,·:cond_1 |
| |
1138 | ····.line·1257 | 1116 | ····.line·1236 |
1139 | ····invoke-static·{v1,·v4},·Lcom/android/providers/media/util/DatabaseUtils;->parseBoolean(Ljava/lang/Object;Z)Z | 1117 | ····invoke-static·{v1,·v4},·Lcom/android/providers/media/util/DatabaseUtils;->parseBoolean(Ljava/lang/Object;Z)Z |
| |
1140 | ····move-result·v1 | 1118 | ····move-result·v1 |
| |
1141 | ····if-eqz·v1,·:cond_0 | 1119 | ····if-eqz·v1,·:cond_0 |
| |
1142 | ····.line·1259 | 1120 | ····.line·1238 |
1143 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 1121 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
1144 | ····move-result-wide·v5 | 1122 | ····move-result-wide·v5 |
| |
1145 | ····const-wide/32·v7,·0x240c8400 | 1123 | ····const-wide/32·v7,·0x240c8400 |
| |
1146 | ····add-long/2addr·v5,·v7 | 1124 | ····add-long/2addr·v5,·v7 |
| |
1147 | ····div-long/2addr·v5,·v2 | 1125 | ····div-long/2addr·v5,·v2 |
| |
1148 | ····invoke-static·{v5,·v6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1126 | ····invoke-static·{v5,·v6},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
1149 | ····move-result-object·v1 | 1127 | ····move-result-object·v1 |
| |
1150 | ····.line·1258 | 1128 | ····.line·1237 |
1151 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V | 1129 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V |
| |
1152 | ····goto·:goto_0 | 1130 | ····goto·:goto_0 |
| |
1153 | ····.line·1261 | 1131 | ····.line·1240 |
1154 | ····:cond_0 | 1132 | ····:cond_0 |
1155 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V | 1133 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V |
| |
1156 | ····:cond_1 | 1134 | ····:cond_1 |
1157 | ····:goto_0 | 1135 | ····:goto_0 |
1158 | ····const-string·v1,·"is_trashed" | 1136 | ····const-string·v1,·"is_trashed" |
| |
1159 | ····.line·1264 | 1137 | ····.line·1243 |
1160 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->get(Ljava/lang/String;)Ljava/lang/Object; | 1138 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->get(Ljava/lang/String;)Ljava/lang/Object; |
| |
1161 | ····move-result-object·v1 | 1139 | ····move-result-object·v1 |
| |
1162 | ····if-eqz·v1,·:cond_3 | 1140 | ····if-eqz·v1,·:cond_3 |
| |
1163 | ····.line·1266 | 1141 | ····.line·1245 |
1164 | ····invoke-static·{v1,·v4},·Lcom/android/providers/media/util/DatabaseUtils;->parseBoolean(Ljava/lang/Object;Z)Z | 1142 | ····invoke-static·{v1,·v4},·Lcom/android/providers/media/util/DatabaseUtils;->parseBoolean(Ljava/lang/Object;Z)Z |
| |
1165 | ····move-result·v1 | 1143 | ····move-result·v1 |
| |
1166 | ····if-eqz·v1,·:cond_2 | 1144 | ····if-eqz·v1,·:cond_2 |
| |
1167 | ····.line·1268 | 1145 | ····.line·1247 |
1168 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 1146 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
1169 | ····move-result-wide·v4 | 1147 | ····move-result-wide·v4 |
| |
1170 | ····const-wide·v6,·0x9a7ec800L | 1148 | ····const-wide·v6,·0x9a7ec800L |
| |
1171 | ····add-long/2addr·v4,·v6 | 1149 | ····add-long/2addr·v4,·v6 |
| |
1172 | ····div-long/2addr·v4,·v2 | 1150 | ····div-long/2addr·v4,·v2 |
| |
1173 | ····invoke-static·{v4,·v5},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1151 | ····invoke-static·{v4,·v5},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
1174 | ····move-result-object·v1 | 1152 | ····move-result-object·v1 |
| |
1175 | ····.line·1267 | 1153 | ····.line·1246 |
1176 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V | 1154 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V |
| |
1177 | ····goto·:goto_1 | 1155 | ····goto·:goto_1 |
| |
1178 | ····.line·1270 | 1156 | ····.line·1249 |
1179 | ····:cond_2 | 1157 | ····:cond_2 |
1180 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V | 1158 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V |
| |
1181 | ····:cond_3 | 1159 | ····:cond_3 |
1182 | ····:goto_1 | 1160 | ····:goto_1 |
1183 | ····return-void | 1161 | ····return-void |
1184 | .end·method | 1162 | .end·method |
| |
1185 | .method·public·static·computeValuesFromData(Landroid/content/ContentValues;Z)V | 1163 | .method·public·static·computeValuesFromData(Landroid/content/ContentValues;Z)V |
1186 | ····.locals·12 | 1164 | ····.locals·12 |
| |
1187 | ····const-string·v0,·"volume_name" | 1165 | ····const-string·v0,·"volume_name" |
| |
1188 | ····.line·1282 | 1166 | ····.line·1261 |
1189 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 1167 | ····invoke-virtual·{p0,·v0},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
1190 | ····const-string·v1,·"relative_path" | 1168 | ····const-string·v1,·"relative_path" |
| |
1191 | ····.line·1283 | 1169 | ····.line·1262 |
1192 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 1170 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
1193 | ····const-string·v2,·"is_trashed" | 1171 | ····const-string·v2,·"is_trashed" |
| |
1194 | ····.line·1284 | 1172 | ····.line·1263 |
1195 | ····invoke-virtual·{p0,·v2},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 1173 | ····invoke-virtual·{p0,·v2},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
1196 | ····const-string·v3,·"date_expires" | 1174 | ····const-string·v3,·"date_expires" |
| |
1197 | ····.line·1285 | 1175 | ····.line·1264 |
1198 | ····invoke-virtual·{p0,·v3},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 1176 | ····invoke-virtual·{p0,·v3},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
1199 | ····const-string·v4,·"_display_name" | 1177 | ····const-string·v4,·"_display_name" |
| |
1200 | ····.line·1286 | 1178 | ····.line·1265 |
1201 | ····invoke-virtual·{p0,·v4},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 1179 | ····invoke-virtual·{p0,·v4},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
1202 | ····const-string·v5,·"bucket_id" | 1180 | ····const-string·v5,·"bucket_id" |
| |
1203 | ····.line·1287 | 1181 | ····.line·1266 |
1204 | ····invoke-virtual·{p0,·v5},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 1182 | ····invoke-virtual·{p0,·v5},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
1205 | ····const-string·v6,·"bucket_display_name" | 1183 | ····const-string·v6,·"bucket_display_name" |
| |
1206 | ····.line·1288 | 1184 | ····.line·1267 |
1207 | ····invoke-virtual·{p0,·v6},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V | 1185 | ····invoke-virtual·{p0,·v6},·Landroid/content/ContentValues;->remove(Ljava/lang/String;)V |
| |
1208 | ····const-string·v7,·"_data" | 1186 | ····const-string·v7,·"_data" |
| |
1209 | ····.line·1290 | 1187 | ····.line·1269 |
1210 | ····invoke-virtual·{p0,·v7},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 1188 | ····invoke-virtual·{p0,·v7},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
| |
1211 | ····move-result-object·v7 | 1189 | ····move-result-object·v7 |
| |
1212 | ····.line·1291 | 1190 | ····.line·1270 |
1213 | ····invoke-static·{v7},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1191 | ····invoke-static·{v7},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1214 | ····move-result·v8 | 1192 | ····move-result·v8 |
| |
1215 | ····if-eqz·v8,·:cond_0 | 1193 | ····if-eqz·v8,·:cond_0 |
| |
1216 | ····return-void | 1194 | ····return-void |
| |
1217 | ····.line·1293 | 1195 | ····.line·1272 |
1218 | ····:cond_0 | 1196 | ····:cond_0 |
1219 | ····new-instance·v8,·Ljava/io/File; | 1197 | ····new-instance·v8,·Ljava/io/File; |
| |
1220 | ····invoke-direct·{v8,·v7},·Ljava/io/File;-><init>(Ljava/lang/String;)V | 1198 | ····invoke-direct·{v8,·v7},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
| |
1221 | ····.line·1294 | 1199 | ····.line·1273 |
1222 | ····new-instance·v9,·Ljava/io/File; | 1200 | ····new-instance·v9,·Ljava/io/File; |
| |
1223 | ····sget-object·v10,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; | 1201 | ····sget-object·v10,·Ljava/util/Locale;->ROOT:Ljava/util/Locale; |
| |
1224 | ····invoke-virtual·{v7,·v10},·Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String; | 1202 | ····invoke-virtual·{v7,·v10},·Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String; |
| |
1225 | ····move-result-object·v10 | 1203 | ····move-result-object·v10 |
| |
1226 | ····invoke-direct·{v9,·v10},·Ljava/io/File;-><init>(Ljava/lang/String;)V | 1204 | ····invoke-direct·{v9,·v10},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
| |
1227 | ····.line·1296 | 1205 | ····.line·1275 |
1228 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractVolumeName(Ljava/lang/String;)Ljava/lang/String; | 1206 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractVolumeName(Ljava/lang/String;)Ljava/lang/String; |
| |
1229 | ····move-result-object·v10 | 1207 | ····move-result-object·v10 |
| |
1230 | ····invoke-virtual·{p0,·v0,·v10},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V | 1208 | ····invoke-virtual·{p0,·v0,·v10},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V |
| |
1231 | ····.line·1297 | 1209 | ····.line·1276 |
1232 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractRelativePath(Ljava/lang/String;)Ljava/lang/String; | 1210 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractRelativePath(Ljava/lang/String;)Ljava/lang/String; |
| |
1233 | ····move-result-object·v0 | 1211 | ····move-result-object·v0 |
| |
1234 | ····invoke-virtual·{p0,·v1,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V | 1212 | ····invoke-virtual·{p0,·v1,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V |
| |
1235 | ····.line·1298 | 1213 | ····.line·1277 |
1236 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractDisplayName(Ljava/lang/String;)Ljava/lang/String; | 1214 | ····invoke-static·{v7},·Lcom/android/providers/media/util/FileUtils;->extractDisplayName(Ljava/lang/String;)Ljava/lang/String; |
| |
1237 | ····move-result-object·v0 | 1215 | ····move-result-object·v0 |
| |
1238 | ····.line·1299 | 1216 | ····.line·1278 |
1239 | ····sget-object·v7,·Lcom/android/providers/media/util/FileUtils;->PATTERN_EXPIRES_FILE:Ljava/util/regex/Pattern; | 1217 | ····sget-object·v7,·Lcom/android/providers/media/util/FileUtils;->PATTERN_EXPIRES_FILE:Ljava/util/regex/Pattern; |
| |
1240 | ····invoke-virtual·{v7,·v0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 1218 | ····invoke-virtual·{v7,·v0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
1241 | ····move-result-object·v7 | 1219 | ····move-result-object·v7 |
| |
1242 | ····.line·1300 | 1220 | ····.line·1279 |
1243 | ····invoke-virtual·{v7},·Ljava/util/regex/Matcher;->matches()Z | 1221 | ····invoke-virtual·{v7},·Ljava/util/regex/Matcher;->matches()Z |
| |
1244 | ····move-result·v10 | 1222 | ····move-result·v10 |
| |
1245 | ····const-string·v11,·"is_pending" | 1223 | ····const-string·v11,·"is_pending" |
| |
1246 | ····if-eqz·v10,·:cond_1 | 1224 | ····if-eqz·v10,·:cond_1 |
| |
1247 | ····const/4·p1,·0x1 | 1225 | ····const/4·p1,·0x1 |
| |
1248 | ····.line·1302 | 1226 | ····.line·1281 |
1249 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 1227 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
1250 | ····move-result-object·v0 | 1228 | ····move-result-object·v0 |
| |
1251 | ····const-string·v10,·"pending" | 1229 | ····const-string·v10,·"pending" |
| |
1252 | ····invoke-virtual·{v0,·v10},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 1230 | ····invoke-virtual·{v0,·v10},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
1253 | ····move-result·v0 | 1231 | ····move-result·v0 |
| |
1254 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1232 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1255 | ····move-result-object·v0 | 1233 | ····move-result-object·v0 |
| |
1256 | ····.line·1301 | 1234 | ····.line·1280 |
1257 | ····invoke-virtual·{p0,·v11,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V | 1235 | ····invoke-virtual·{p0,·v11,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V |
| |
1258 | ····.line·1304 | 1236 | ····.line·1283 |
1259 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 1237 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
1260 | ····move-result-object·p1 | 1238 | ····move-result-object·p1 |
| |
1261 | ····const-string·v0,·"trashed" | 1239 | ····const-string·v0,·"trashed" |
| |
1262 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 1240 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
1263 | ····move-result·p1 | 1241 | ····move-result·p1 |
| |
1264 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1242 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1265 | ····move-result-object·p1 | 1243 | ····move-result-object·p1 |
| |
1266 | ····.line·1303 | 1244 | ····.line·1282 |
1267 | ····invoke-virtual·{p0,·v2,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V | 1245 | ····invoke-virtual·{p0,·v2,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V |
| |
1268 | ····const/4·p1,·0x2 | 1246 | ····const/4·p1,·0x2 |
| |
1269 | ····.line·1305 | 1247 | ····.line·1284 |
1270 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 1248 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
1271 | ····move-result-object·p1 | 1249 | ····move-result-object·p1 |
| |
1272 | ····invoke-static·{p1},·Ljava/lang/Long;->parseLong(Ljava/lang/String;)J | 1250 | ····invoke-static·{p1},·Ljava/lang/Long;->parseLong(Ljava/lang/String;)J |
| |
1273 | ····move-result-wide·v10 | 1251 | ····move-result-wide·v10 |
Offset 1444, 15 lines modified | Offset 1422, 15 lines modified |
| |
1444 | ····move-result-object·p1 | 1422 | ····move-result-object·p1 |
| |
1445 | ····invoke-virtual·{p0,·v3,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V | 1423 | ····invoke-virtual·{p0,·v3,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V |
| |
1446 | ····const/4·p1,·0x3 | 1424 | ····const/4·p1,·0x3 |
| |
1447 | ····.line·1306 | 1425 | ····.line·1285 |
1448 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 1426 | ····invoke-virtual·{v7,·p1},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
1449 | ····move-result-object·p1 | 1427 | ····move-result-object·p1 |
| |
1450 | ····invoke-virtual·{p0,·v4,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V | 1428 | ····invoke-virtual·{p0,·v4,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V |
| |
1451 | ····goto·:goto_1 | 1429 | ····goto·:goto_1 |
Offset 1460, 69 lines modified | Offset 1438, 69 lines modified |
1460 | ····:cond_1 | 1438 | ····:cond_1 |
1461 | ····const/4·v7,·0x0 | 1439 | ····const/4·v7,·0x0 |
| |
1462 | ····if-eqz·p1,·:cond_2 | 1440 | ····if-eqz·p1,·:cond_2 |
| |
1463 | ····goto·:goto_0 | 1441 | ····goto·:goto_0 |
| |
1464 | ····.line·1314 | 1442 | ····.line·1293 |
1465 | ····:cond_2 | 1443 | ····:cond_2 |
1466 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1444 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1467 | ····move-result-object·p1 | 1445 | ····move-result-object·p1 |
| |
1468 | ····invoke-virtual·{p0,·v11,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V | 1446 | ····invoke-virtual·{p0,·v11,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V |
| |
1469 | ····.line·1316 | 1447 | ····.line·1295 |
1470 | ····:goto_0 | 1448 | ····:goto_0 |
1471 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1449 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1472 | ····move-result-object·p1 | 1450 | ····move-result-object·p1 |
| |
1473 | ····invoke-virtual·{p0,·v2,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V | 1451 | ····invoke-virtual·{p0,·v2,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V |
| |
1474 | ····.line·1317 | 1452 | ····.line·1296 |
1475 | ····invoke-virtual·{p0,·v3},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V | 1453 | ····invoke-virtual·{p0,·v3},·Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V |
| |
1476 | ····.line·1318 | 1454 | ····.line·1297 |
1477 | ····invoke-virtual·{p0,·v4,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V | 1455 | ····invoke-virtual·{p0,·v4,·v0},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V |
| |
1478 | ····.line·1322 | 1456 | ····.line·1301 |
1479 | ····:goto_1 | 1457 | ····:goto_1 |
1480 | ····invoke-virtual·{v9},·Ljava/io/File;->getParent()Ljava/lang/String; | 1458 | ····invoke-virtual·{v9},·Ljava/io/File;->getParent()Ljava/lang/String; |
| |
1481 | ····move-result-object·p1 | 1459 | ····move-result-object·p1 |
| |
1482 | ····if-eqz·p1,·:cond_3 | 1460 | ····if-eqz·p1,·:cond_3 |
| |
1483 | ····.line·1324 | 1461 | ····.line·1303 |
1484 | ····invoke-virtual·{p1},·Ljava/lang/String;->hashCode()I | 1462 | ····invoke-virtual·{p1},·Ljava/lang/String;->hashCode()I |
| |
1485 | ····move-result·p1 | 1463 | ····move-result·p1 |
| |
1486 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1464 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1487 | ····move-result-object·p1 | 1465 | ····move-result-object·p1 |
| |
1488 | ····invoke-virtual·{p0,·v5,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V | 1466 | ····invoke-virtual·{p0,·v5,·p1},·Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V |
| |
1489 | ····.line·1326 | 1467 | ····.line·1305 |
1490 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 1468 | ····invoke-virtual·{p0,·v1},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
| |
1491 | ····move-result-object·p1 | 1469 | ····move-result-object·p1 |
| |
1492 | ····const-string·v0,·"/" | 1470 | ····const-string·v0,·"/" |
| |
1493 | ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 1471 | ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
1494 | ····move-result·p1 | 1472 | ····move-result·p1 |
| |
1495 | ····if-nez·p1,·:cond_3 | 1473 | ····if-nez·p1,·:cond_3 |
| |
1496 | ····.line·1327 | 1474 | ····.line·1306 |
1497 | ····invoke-virtual·{v8},·Ljava/io/File;->getParentFile()Ljava/io/File; | 1475 | ····invoke-virtual·{v8},·Ljava/io/File;->getParentFile()Ljava/io/File; |
| |
1498 | ····move-result-object·p1 | 1476 | ····move-result-object·p1 |
| |
1499 | ····invoke-virtual·{p1},·Ljava/io/File;->getName()Ljava/lang/String; | 1477 | ····invoke-virtual·{p1},·Ljava/io/File;->getName()Ljava/lang/String; |
| |
1500 | ····move-result-object·p1 | 1478 | ····move-result-object·p1 |
Offset 1972, 32 lines modified | Offset 1950, 32 lines modified |
| |
1972 | ····const/4·v0,·0x0 | 1950 | ····const/4·v0,·0x0 |
| |
1973 | ····if-nez·p0,·:cond_0 | 1951 | ····if-nez·p0,·:cond_0 |
| |
1974 | ····return-object·v0 | 1952 | ····return-object·v0 |
| |
1975 | ····.line·1151 | 1953 | ····.line·1142 |
1976 | ····:cond_0 | 1954 | ····:cond_0 |
1977 | ····sget-object·v1,·Lcom/android/providers/media/util/FileUtils;->PATTERN_OWNED_PATH:Ljava/util/regex/Pattern; | 1955 | ····sget-object·v1,·Lcom/android/providers/media/util/FileUtils;->PATTERN_OWNED_PATH:Ljava/util/regex/Pattern; |
| |
1978 | ····invoke-virtual·{v1,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 1956 | ····invoke-virtual·{v1,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
1979 | ····move-result-object·p0 | 1957 | ····move-result-object·p0 |
| |
1980 | ····.line·1152 | 1958 | ····.line·1143 |
1981 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z | 1959 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->matches()Z |
| |
1982 | ····move-result·v1 | 1960 | ····move-result·v1 |
| |
1983 | ····if-eqz·v1,·:cond_1 | 1961 | ····if-eqz·v1,·:cond_1 |
| |
1984 | ····const/4·v0,·0x1 | 1962 | ····const/4·v0,·0x1 |
| |
1985 | ····.line·1153 | 1963 | ····.line·1144 |
1986 | ····invoke-virtual·{p0,·v0},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 1964 | ····invoke-virtual·{p0,·v0},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
1987 | ····move-result-object·p0 | 1965 | ····move-result-object·p0 |
| |
1988 | ····return-object·p0 | 1966 | ····return-object·p0 |
| |
1989 | ····:cond_1 | 1967 | ····:cond_1 |
Offset 2009, 50 lines modified | Offset 1987, 50 lines modified |
| |
2009 | ····const/4·v0,·0x0 | 1987 | ····const/4·v0,·0x0 |
| |
2010 | ····if-nez·p0,·:cond_0 | 1988 | ····if-nez·p0,·:cond_0 |
| |
2011 | ····return-object·v0 | 1989 | ····return-object·v0 |
| |
2012 | ····.line·1101 | 1990 | ····.line·1092 |
2013 | ····:cond_0 | 1991 | ····:cond_0 |
2014 | ····sget-object·v1,·Lcom/android/providers/media/util/FileUtils;->PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; | 1992 | ····sget-object·v1,·Lcom/android/providers/media/util/FileUtils;->PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; |
| |
2015 | ····invoke-virtual·{v1,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 1993 | ····invoke-virtual·{v1,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
2016 | ····move-result-object·v1 | 1994 | ····move-result-object·v1 |
| |
2017 | ····.line·1102 | 1995 | ····.line·1093 |
2018 | ····invoke-virtual·{v1},·Ljava/util/regex/Matcher;->find()Z | 1996 | ····invoke-virtual·{v1},·Ljava/util/regex/Matcher;->find()Z |
| |
2019 | ····move-result·v2 | 1997 | ····move-result·v2 |
| |
2020 | ····if-eqz·v2,·:cond_3 | 1998 | ····if-eqz·v2,·:cond_3 |
| |
2021 | ····const/16·v0,·0x2f | 1999 | ····const/16·v0,·0x2f |
| |
2022 | ····.line·1103 | 2000 | ····.line·1094 |
2023 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->lastIndexOf(I)I | 2001 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->lastIndexOf(I)I |
| |
2024 | ····move-result·v0 | 2002 | ····move-result·v0 |
| |
2025 | ····const/4·v2,·-0x1 | 2003 | ····const/4·v2,·-0x1 |
| |
2026 | ····if-eq·v0,·v2,·:cond_2 | 2004 | ····if-eq·v0,·v2,·:cond_2 |
| |
2027 | ····.line·1104 | 2005 | ····.line·1095 |
2028 | ····invoke-virtual·{v1},·Ljava/util/regex/Matcher;->end()I | 2006 | ····invoke-virtual·{v1},·Ljava/util/regex/Matcher;->end()I |
| |
2029 | ····move-result·v2 | 2007 | ····move-result·v2 |
| |
2030 | ····if-ge·v0,·v2,·:cond_1 | 2008 | ····if-ge·v0,·v2,·:cond_1 |
| |
2031 | ····goto·:goto_0 | 2009 | ····goto·:goto_0 |
| |
2032 | ····.line·1109 | 2010 | ····.line·1100 |
2033 | ····:cond_1 | 2011 | ····:cond_1 |
2034 | ····invoke-virtual·{v1},·Ljava/util/regex/Matcher;->end()I | 2012 | ····invoke-virtual·{v1},·Ljava/util/regex/Matcher;->end()I |
| |
2035 | ····move-result·v1 | 2013 | ····move-result·v1 |
| |
2036 | ····add-int/lit8·v0,·v0,·0x1 | 2014 | ····add-int/lit8·v0,·v0,·0x1 |
| |
Offset 2080, 84 lines modified | Offset 2058, 84 lines modified |
2080 | ····if-nez·p0,·:cond_0 | 2058 | ····if-nez·p0,·:cond_0 |
| |
2081 | ····return-object·v0 | 2059 | ····return-object·v0 |
| |
2082 | ····:cond_0 | 2060 | ····:cond_0 |
2083 | ····const-string·v1,·"/storage/emulated" | 2061 | ····const-string·v1,·"/storage/emulated" |
| |
2084 | ····.line·1123 | 2062 | ····.line·1114 |
2085 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 2063 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
2086 | ····move-result·v1 | 2064 | ····move-result·v1 |
| |
2087 | ····if-nez·v1,·:cond_4 | 2065 | ····if-nez·v1,·:cond_4 |
| |
2088 | ····const-string·v1,·"/storage/emulated/" | 2066 | ····const-string·v1,·"/storage/emulated/" |
| |
2089 | ····.line·1124 | 2067 | ····.line·1115 |
2090 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 2068 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
2091 | ····move-result·v1 | 2069 | ····move-result·v1 |
| |
2092 | ····if-eqz·v1,·:cond_1 | 2070 | ····if-eqz·v1,·:cond_1 |
| |
2093 | ····goto·:goto_0 | 2071 | ····goto·:goto_0 |
| |
2094 | ····:cond_1 | 2072 | ····:cond_1 |
2095 | ····const-string·v1,·"/" | 2073 | ····const-string·v1,·"/" |
| |
2096 | ····.line·1133 | 2074 | ····.line·1124 |
2097 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->endsWith(Ljava/lang/String;)Z | 2075 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->endsWith(Ljava/lang/String;)Z |
| |
2098 | ····move-result·v2 | 2076 | ····move-result·v2 |
| |
2099 | ····if-nez·v2,·:cond_2 | 2077 | ····if-nez·v2,·:cond_2 |
| |
2100 | ····.line·1135 | 2078 | ····.line·1126 |
2101 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 2079 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
| |
2102 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V | 2080 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V |
| |
2103 | ····invoke-virtual·{v2,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 2081 | ····invoke-virtual·{v2,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
2104 | ····invoke-virtual·{v2,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 2082 | ····invoke-virtual·{v2,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
2105 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 2083 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
2106 | ····move-result-object·p0 | 2084 | ····move-result-object·p0 |
| |
2107 | ····.line·1138 | 2085 | ····.line·1129 |
2108 | ····:cond_2 | 2086 | ····:cond_2 |
2109 | ····sget-object·v2,·Lcom/android/providers/media/util/FileUtils;->PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; | 2087 | ····sget-object·v2,·Lcom/android/providers/media/util/FileUtils;->PATTERN_RELATIVE_PATH:Ljava/util/regex/Pattern; |
| |
2110 | ····invoke-virtual·{v2,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 2088 | ····invoke-virtual·{v2,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
2111 | ····move-result-object·v2 | 2089 | ····move-result-object·v2 |
| |
2112 | ····.line·1139 | 2090 | ····.line·1130 |
2113 | ····invoke-virtual·{v2},·Ljava/util/regex/Matcher;->find()Z | 2091 | ····invoke-virtual·{v2},·Ljava/util/regex/Matcher;->find()Z |
| |
2114 | ····move-result·v3 | 2092 | ····move-result·v3 |
| |
2115 | ····if-eqz·v3,·:cond_4 | 2093 | ····if-eqz·v3,·:cond_4 |
| |
2116 | ····.line·1140 | 2094 | ····.line·1131 |
2117 | ····invoke-virtual·{v2},·Ljava/util/regex/Matcher;->end()I | 2095 | ····invoke-virtual·{v2},·Ljava/util/regex/Matcher;->end()I |
| |
2118 | ····move-result·v0 | 2096 | ····move-result·v0 |
| |
2119 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | 2097 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I |
| |
2120 | ····move-result·v3 | 2098 | ····move-result·v3 |
| |
2121 | ····if-ne·v0,·v3,·:cond_3 | 2099 | ····if-ne·v0,·v3,·:cond_3 |
| |
2122 | ····return-object·v1 | 2100 | ····return-object·v1 |
| |
2123 | ····.line·1144 | 2101 | ····.line·1135 |
2124 | ····:cond_3 | 2102 | ····:cond_3 |
2125 | ····invoke-virtual·{v2},·Ljava/util/regex/Matcher;->end()I | 2103 | ····invoke-virtual·{v2},·Ljava/util/regex/Matcher;->end()I |
| |
2126 | ····move-result·v0 | 2104 | ····move-result·v0 |
| |
2127 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->substring(I)Ljava/lang/String; | 2105 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->substring(I)Ljava/lang/String; |
| |
Offset 2169, 44 lines modified | Offset 2147, 44 lines modified |
2169 | ····:goto_0 | 2147 | ····:goto_0 |
2170 | ····return-object·v0 | 2148 | ····return-object·v0 |
2171 | .end·method | 2149 | .end·method |
| |
2172 | .method·public·static·extractTopLevelDir(Ljava/lang/String;)Ljava/lang/String; | 2150 | .method·public·static·extractTopLevelDir(Ljava/lang/String;)Ljava/lang/String; |
2173 | ····.locals·1 | 2151 | ····.locals·1 |
| |
2174 | ····.line·1210 | 2152 | ····.line·1189 |
2175 | ····invoke-static·{p0},·Lcom/android/providers/media/util/FileUtils;->extractRelativePath(Ljava/lang/String;)Ljava/lang/String; | 2153 | ····invoke-static·{p0},·Lcom/android/providers/media/util/FileUtils;->extractRelativePath(Ljava/lang/String;)Ljava/lang/String; |
| |
2176 | ····move-result-object·p0 | 2154 | ····move-result-object·p0 |
| |
2177 | ····if-nez·p0,·:cond_0 | 2155 | ····if-nez·p0,·:cond_0 |
| |
2178 | ····const/4·p0,·0x0 | 2156 | ····const/4·p0,·0x0 |
| |
2179 | ····return-object·p0 | 2157 | ····return-object·p0 |
| |
2180 | ····:cond_0 | 2158 | ····:cond_0 |
2181 | ····const-string·v0,·"/" | 2159 | ····const-string·v0,·"/" |
| |
2182 | ····.line·1215 | 2160 | ····.line·1194 |
2183 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; | 2161 | ····invoke-virtual·{p0,·v0},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; |
| |
2184 | ····move-result-object·p0 | 2162 | ····move-result-object·p0 |
| |
2185 | ····invoke-static·{p0},·Lcom/android/providers/media/util/FileUtils;->extractTopLevelDir([Ljava/lang/String;)Ljava/lang/String; | 2163 | ····invoke-static·{p0},·Lcom/android/providers/media/util/FileUtils;->extractTopLevelDir([Ljava/lang/String;)Ljava/lang/String; |
| |
2186 | ····move-result-object·p0 | 2164 | ····move-result-object·p0 |
| |
2187 | ····return-object·p0 | 2165 | ····return-object·p0 |
2188 | .end·method | 2166 | .end·method |
| |
2189 | .method·public·static·extractTopLevelDir([Ljava/lang/String;)Ljava/lang/String; | 2167 | .method·public·static·extractTopLevelDir([Ljava/lang/String;)Ljava/lang/String; |
2190 | ····.locals·1 | 2168 | ····.locals·1 |
| |
2191 | ····.line·1220 | 2169 | ····.line·1199 |
2192 | ····sget-object·v0,·Lcom/android/providers/media/util/FileUtils;->PROP_CROSS_USER_ROOT:Ljava/lang/String; | 2170 | ····sget-object·v0,·Lcom/android/providers/media/util/FileUtils;->PROP_CROSS_USER_ROOT:Ljava/lang/String; |
| |
2193 | ····invoke-static·{p0,·v0},·Lcom/android/providers/media/util/FileUtils;->extractTopLevelDir([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 2171 | ····invoke-static·{p0,·v0},·Lcom/android/providers/media/util/FileUtils;->extractTopLevelDir([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
| |
2194 | ····move-result-object·p0 | 2172 | ····move-result-object·p0 |
| |
2195 | ····return-object·p0 | 2173 | ····return-object·p0 |
Offset 2217, 15 lines modified | Offset 2195, 15 lines modified |
| |
2217 | ····const/4·v0,·0x0 | 2195 | ····const/4·v0,·0x0 |
| |
2218 | ····if-nez·p0,·:cond_0 | 2196 | ····if-nez·p0,·:cond_0 |
| |
2219 | ····return-object·v0 | 2197 | ····return-object·v0 |
| |
2220 | ····.line·1228 | 2198 | ····.line·1207 |
2221 | ····:cond_0 | 2199 | ····:cond_0 |
2222 | ····array-length·v1,·p0 | 2200 | ····array-length·v1,·p0 |
| |
2223 | ····if-lez·v1,·:cond_1 | 2201 | ····if-lez·v1,·:cond_1 |
| |
2224 | ····const/4·v1,·0x0 | 2202 | ····const/4·v1,·0x0 |
| |
Offset 2235, 22 lines modified | Offset 2213, 22 lines modified |
| |
2235 | ····:cond_1 | 2213 | ····:cond_1 |
2236 | ····move-object·v1,·v0 | 2214 | ····move-object·v1,·v0 |
| |
2237 | ····:goto_0 | 2215 | ····:goto_0 |
2238 | ····if-eqz·p1,·:cond_3 | 2216 | ····if-eqz·p1,·:cond_3 |
| |
2239 | ····.line·1229 | 2217 | ····.line·1208 |
2240 | ····invoke-virtual·{p1,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 2218 | ····invoke-virtual·{p1,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
2241 | ····move-result·p1 | 2219 | ····move-result·p1 |
| |
2242 | ····if-eqz·p1,·:cond_3 | 2220 | ····if-eqz·p1,·:cond_3 |
| |
2243 | ····.line·1230 | 2221 | ····.line·1209 |
2244 | ····array-length·p1,·p0 | 2222 | ····array-length·p1,·p0 |
| |
2245 | ····const/4·v1,·0x1 | 2223 | ····const/4·v1,·0x1 |
| |
2246 | ····if-le·p1,·v1,·:cond_2 | 2224 | ····if-le·p1,·v1,·:cond_2 |
| |
2247 | ····aget-object·v0,·p0,·v1 | 2225 | ····aget-object·v0,·p0,·v1 |
Offset 2267, 32 lines modified | Offset 2245, 32 lines modified |
| |
2267 | ····const/4·v0,·-0x1 | 2245 | ····const/4·v0,·-0x1 |
| |
2268 | ····if-nez·p0,·:cond_0 | 2246 | ····if-nez·p0,·:cond_0 |
| |
2269 | ····return·v0 | 2247 | ····return·v0 |
| |
2270 | ····.line·1066 | 2248 | ····.line·1057 |
2271 | ····:cond_0 | 2249 | ····:cond_0 |
2272 | ····sget-object·v1,·Lcom/android/providers/media/util/FileUtils;->PATTERN_USER_ID:Ljava/util/regex/Pattern; | 2250 | ····sget-object·v1,·Lcom/android/providers/media/util/FileUtils;->PATTERN_USER_ID:Ljava/util/regex/Pattern; |
| |
2273 | ····invoke-virtual·{v1,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 2251 | ····invoke-virtual·{v1,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
| |
2274 | ····move-result-object·p0 | 2252 | ····move-result-object·p0 |
| |
2275 | ····.line·1067 | 2253 | ····.line·1058 |
2276 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->find()Z | 2254 | ····invoke-virtual·{p0},·Ljava/util/regex/Matcher;->find()Z |
| |
2277 | ····move-result·v1 | 2255 | ····move-result·v1 |
| |
2278 | ····if-eqz·v1,·:cond_1 | 2256 | ····if-eqz·v1,·:cond_1 |
| |
2279 | ····const/4·v0,·0x1 | 2257 | ····const/4·v0,·0x1 |
| |
2280 | ····.line·1068 | 2258 | ····.line·1059 |
2281 | ····invoke-virtual·{p0,·v0},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; | 2259 | ····invoke-virtual·{p0,·v0},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
| |
2282 | ····move-result-object·p0 | 2260 | ····move-result-object·p0 |
| |
2283 | ····invoke-static·{p0},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I | 2261 | ····invoke-static·{p0},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I |
| |
2284 | ····move-result·p0 | 2262 | ····move-result·p0 |
Offset 2308, 50 lines modified | Offset 2286, 50 lines modified |
Max diff block lines reached; 24522/52504 bytes (46.71%) of diff not shown.
|