| | | |
Offset 20, 14 lines modified | Offset 20, 16 lines modified |
| |
20 | .field·public·static·final·PERMISSION_IS_REDACTION_NEEDED:I·=·0x100 | 20 | .field·public·static·final·PERMISSION_IS_REDACTION_NEEDED:I·=·0x100 |
| |
21 | .field·public·static·final·PERMISSION_IS_SELF:I·=·0x1 | 21 | .field·public·static·final·PERMISSION_IS_SELF:I·=·0x1 |
| |
22 | .field·public·static·final·PERMISSION_IS_SHELL:I·=·0x2 | 22 | .field·public·static·final·PERMISSION_IS_SHELL:I·=·0x2 |
| |
| 23 | .field·public·static·final·PERMISSION_IS_SYSTEM_GALLERY:I·=·0x400000 |
| |
23 | .field·public·static·final·PERMISSION_READ_AUDIO:I·=·0x10000 | 24 | .field·public·static·final·PERMISSION_READ_AUDIO:I·=·0x10000 |
| |
24 | .field·public·static·final·PERMISSION_READ_IMAGES:I·=·0x40000 | 25 | .field·public·static·final·PERMISSION_READ_IMAGES:I·=·0x40000 |
| |
25 | .field·public·static·final·PERMISSION_READ_VIDEO:I·=·0x20000 | 26 | .field·public·static·final·PERMISSION_READ_VIDEO:I·=·0x20000 |
| |
26 | .field·public·static·final·PERMISSION_WRITE_AUDIO:I·=·0x80000 | 27 | .field·public·static·final·PERMISSION_WRITE_AUDIO:I·=·0x80000 |
Offset 80, 83 lines modified | Offset 82, 83 lines modified |
80 | .field·public·final·uid:I | 82 | .field·public·final·uid:I |
| |
| |
81 | #·direct·methods | 83 | #·direct·methods |
82 | .method·private·constructor·<init>(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)V | 84 | .method·private·constructor·<init>(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)V |
83 | ····.locals·1 | 85 | ····.locals·1 |
| |
84 | ····.line·66 | 86 | ····.line·67 |
85 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 87 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
86 | ····.line·333 | 88 | ····.line·339 |
87 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; | 89 | ····new-instance·v0,·Lcom/android/providers/media/util/LongArray; |
| |
88 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V | 90 | ····invoke-direct·{v0},·Lcom/android/providers/media/util/LongArray;-><init>()V |
| |
89 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->ownedIds:Lcom/android/providers/media/util/LongArray; | 91 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->ownedIds:Lcom/android/providers/media/util/LongArray; |
| |
90 | ····.line·352 | 92 | ····.line·358 |
91 | ····new-instance·v0,·Landroid/util/ArrayMap; | 93 | ····new-instance·v0,·Landroid/util/ArrayMap; |
| |
92 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V | 94 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V |
| |
93 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap; | 95 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap; |
| |
94 | ····.line·67 | 96 | ····.line·68 |
95 | ····iput-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 97 | ····iput-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
96 | ····.line·68 | 98 | ····.line·69 |
97 | ····iput·p2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 99 | ····iput·p2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
98 | ····.line·69 | 100 | ····.line·70 |
99 | ····iput·p3,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 101 | ····iput·p3,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
100 | ····.line·70 | 102 | ····.line·71 |
101 | ····iput-object·p4,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String; | 103 | ····iput-object·p4,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String; |
| |
102 | ····.line·71 | 104 | ····.line·72 |
103 | ····iput-object·p5,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 105 | ····iput-object·p5,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
104 | ····return-void | 106 | ····return-void |
105 | .end·method | 107 | .end·method |
| |
106 | .method·public·static·fromBinder(Landroid/content/Context;Landroid/content/ContentProvider;)Lcom/android/providers/media/LocalCallingIdentity; | 108 | .method·public·static·fromBinder(Landroid/content/Context;Landroid/content/ContentProvider;)Lcom/android/providers/media/LocalCallingIdentity; |
107 | ····.locals·7 | 109 | ····.locals·7 |
| |
108 | ····.line·87 | 110 | ····.line·88 |
109 | ····invoke-virtual·{p1},·Landroid/content/ContentProvider;->getCallingPackageUnchecked()Ljava/lang/String; | 111 | ····invoke-virtual·{p1},·Landroid/content/ContentProvider;->getCallingPackageUnchecked()Ljava/lang/String; |
| |
110 | ····move-result-object·v0 | 112 | ····move-result-object·v0 |
| |
111 | ····if-nez·v0,·:cond_0 | 113 | ····if-nez·v0,·:cond_0 |
| |
112 | ····.line·89 | 114 | ····.line·90 |
113 | ····invoke-virtual·{p0},·Landroid/content/Context;->getOpPackageName()Ljava/lang/String; | 115 | ····invoke-virtual·{p0},·Landroid/content/Context;->getOpPackageName()Ljava/lang/String; |
| |
114 | ····move-result-object·v0 | 116 | ····move-result-object·v0 |
| |
115 | ····:cond_0 | 117 | ····:cond_0 |
116 | ····move-object·v5,·v0 | 118 | ····move-object·v5,·v0 |
| |
117 | ····.line·91 | 119 | ····.line·92 |
118 | ····invoke-virtual·{p1},·Landroid/content/ContentProvider;->getCallingAttributionTag()Ljava/lang/String; | 120 | ····invoke-virtual·{p1},·Landroid/content/ContentProvider;->getCallingAttributionTag()Ljava/lang/String; |
| |
119 | ····move-result-object·p1 | 121 | ····move-result-object·p1 |
| |
120 | ····if-nez·p1,·:cond_1 | 122 | ····if-nez·p1,·:cond_1 |
| |
121 | ····.line·93 | 123 | ····.line·94 |
122 | ····invoke-virtual·{p0},·Landroid/content/Context;->getAttributionTag()Ljava/lang/String; | 124 | ····invoke-virtual·{p0},·Landroid/content/Context;->getAttributionTag()Ljava/lang/String; |
| |
123 | ····move-result-object·p1 | 125 | ····move-result-object·p1 |
| |
124 | ····:cond_1 | 126 | ····:cond_1 |
125 | ····move-object·v6,·p1 | 127 | ····move-object·v6,·p1 |
| |
126 | ····.line·95 | 128 | ····.line·96 |
127 | ····new-instance·p1,·Lcom/android/providers/media/LocalCallingIdentity; | 129 | ····new-instance·p1,·Lcom/android/providers/media/LocalCallingIdentity; |
| |
128 | ····invoke-static·{},·Landroid/os/Binder;->getCallingPid()I | 130 | ····invoke-static·{},·Landroid/os/Binder;->getCallingPid()I |
| |
129 | ····move-result·v3 | 131 | ····move-result·v3 |
| |
130 | ····invoke-static·{},·Landroid/os/Binder;->getCallingUid()I | 132 | ····invoke-static·{},·Landroid/os/Binder;->getCallingUid()I |
Offset 171, 78 lines modified | Offset 173, 78 lines modified |
| |
171 | ····return-object·p1 | 173 | ····return-object·p1 |
172 | .end·method | 174 | .end·method |
| |
173 | .method·public·static·fromExternal(Landroid/content/Context;I)Lcom/android/providers/media/LocalCallingIdentity; | 175 | .method·public·static·fromExternal(Landroid/content/Context;I)Lcom/android/providers/media/LocalCallingIdentity; |
174 | ····.locals·4 | 176 | ····.locals·4 |
| |
175 | ····.line·100 | 177 | ····.line·101 |
176 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 178 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
177 | ····move-result-object·v0 | 179 | ····move-result-object·v0 |
| |
178 | ····invoke-virtual·{v0,·p1},·Landroid/content/pm/PackageManager;->getPackagesForUid(I)[Ljava/lang/String; | 180 | ····invoke-virtual·{v0,·p1},·Landroid/content/pm/PackageManager;->getPackagesForUid(I)[Ljava/lang/String; |
| |
179 | ····move-result-object·v0 | 181 | ····move-result-object·v0 |
| |
180 | ····if-eqz·v0,·:cond_1 | 182 | ····if-eqz·v0,·:cond_1 |
| |
181 | ····.line·101 | 183 | ····.line·102 |
182 | ····array-length·v1,·v0 | 184 | ····array-length·v1,·v0 |
| |
183 | ····if-eqz·v1,·:cond_1 | 185 | ····if-eqz·v1,·:cond_1 |
| |
184 | ····const/4·v1,·0x0 | 186 | ····const/4·v1,·0x0 |
| |
185 | ····.line·104 | 187 | ····.line·105 |
186 | ····aget-object·v2,·v0,·v1 | 188 | ····aget-object·v2,·v0,·v1 |
| |
187 | ····const/4·v3,·0x0 | 189 | ····const/4·v3,·0x0 |
| |
188 | ····invoke-static·{p0,·p1,·v2,·v3},·Lcom/android/providers/media/LocalCallingIdentity;->fromExternal(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Lcom/android/providers/media/LocalCallingIdentity; | 190 | ····invoke-static·{p0,·p1,·v2,·v3},·Lcom/android/providers/media/LocalCallingIdentity;->fromExternal(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Lcom/android/providers/media/LocalCallingIdentity; |
| |
189 | ····move-result-object·p0 | 191 | ····move-result-object·p0 |
| |
190 | ····.line·105 | 192 | ····.line·106 |
191 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String; | 193 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String; |
| |
192 | ····const/4·v0,·0x1 | 194 | ····const/4·v0,·0x1 |
| |
193 | ····.line·106 | 195 | ····.line·107 |
194 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z | 196 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z |
| |
195 | ····const/16·v0,·0x7d0 | 197 | ····const/16·v0,·0x7d0 |
| |
196 | ····if-ne·p1,·v0,·:cond_0 | 198 | ····if-ne·p1,·v0,·:cond_0 |
| |
197 | ····const-string·p1,·"persist.sys.fuse.shell.redaction-needed" | 199 | ····const-string·p1,·"persist.sys.fuse.shell.redaction-needed" |
| |
198 | ····.line·109 | 200 | ····.line·110 |
199 | ····invoke-static·{p1,·v1},·Landroid/os/SystemProperties;->getBoolean(Ljava/lang/String;Z)Z | 201 | ····invoke-static·{p1,·v1},·Landroid/os/SystemProperties;->getBoolean(Ljava/lang/String;Z)Z |
| |
200 | ····move-result·p1 | 202 | ····move-result·p1 |
| |
201 | ····if-eqz·p1,·:cond_0 | 203 | ····if-eqz·p1,·:cond_0 |
| |
202 | ····.line·110 | 204 | ····.line·111 |
203 | ····iget·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I | 205 | ····iget·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I |
| |
204 | ····const/16·v0,·0x100 | 206 | ····const/16·v0,·0x100 |
| |
205 | ····or-int/2addr·p1,·v0 | 207 | ····or-int/2addr·p1,·v0 |
| |
206 | ····iput·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I | 208 | ····iput·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I |
| |
207 | ····.line·111 | 209 | ····.line·112 |
208 | ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I | 210 | ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I |
| |
209 | ····:cond_0 | 211 | ····:cond_0 |
210 | ····return-object·p0 | 212 | ····return-object·p0 |
| |
211 | ····.line·102 | 213 | ····.line·103 |
212 | ····:cond_1 | 214 | ····:cond_1 |
213 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 215 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
| |
214 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 216 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
215 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 217 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
Offset 264, 15 lines modified | Offset 266, 15 lines modified |
| |
264 | ····throw·p0 | 266 | ····throw·p0 |
265 | .end·method | 267 | .end·method |
| |
266 | .method·public·static·fromExternal(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Lcom/android/providers/media/LocalCallingIdentity; | 268 | .method·public·static·fromExternal(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Lcom/android/providers/media/LocalCallingIdentity; |
267 | ····.locals·7 | 269 | ····.locals·7 |
| |
268 | ····.line·119 | 270 | ····.line·120 |
269 | ····new-instance·v6,·Lcom/android/providers/media/LocalCallingIdentity; | 271 | ····new-instance·v6,·Lcom/android/providers/media/LocalCallingIdentity; |
| |
270 | ····const/4·v2,·-0x1 | 272 | ····const/4·v2,·-0x1 |
| |
271 | ····move-object·v0,·v6 | 273 | ····move-object·v0,·v6 |
| |
272 | ····move-object·v1,·p0 | 274 | ····move-object·v1,·p0 |
Offset 287, 105 lines modified | Offset 289, 105 lines modified |
| |
287 | ····return-object·v6 | 289 | ····return-object·v6 |
288 | .end·method | 290 | .end·method |
| |
289 | .method·public·static·fromSelf(Landroid/content/Context;)Lcom/android/providers/media/LocalCallingIdentity; | 291 | .method·public·static·fromSelf(Landroid/content/Context;)Lcom/android/providers/media/LocalCallingIdentity; |
290 | ····.locals·7 | 292 | ····.locals·7 |
| |
291 | ····.line·123 | 293 | ····.line·124 |
292 | ····new-instance·v6,·Lcom/android/providers/media/LocalCallingIdentity; | 294 | ····new-instance·v6,·Lcom/android/providers/media/LocalCallingIdentity; |
| |
293 | ····.line·125 | 295 | ····.line·126 |
294 | ····invoke-static·{},·Landroid/os/Process;->myPid()I | 296 | ····invoke-static·{},·Landroid/os/Process;->myPid()I |
| |
295 | ····move-result·v2 | 297 | ····move-result·v2 |
| |
296 | ····.line·126 | 298 | ····.line·127 |
297 | ····invoke-static·{},·Landroid/os/Process;->myUid()I | 299 | ····invoke-static·{},·Landroid/os/Process;->myUid()I |
| |
298 | ····move-result·v3 | 300 | ····move-result·v3 |
| |
299 | ····.line·127 | 301 | ····.line·128 |
300 | ····invoke-virtual·{p0},·Landroid/content/Context;->getOpPackageName()Ljava/lang/String; | 302 | ····invoke-virtual·{p0},·Landroid/content/Context;->getOpPackageName()Ljava/lang/String; |
| |
301 | ····move-result-object·v4 | 303 | ····move-result-object·v4 |
| |
302 | ····.line·128 | 304 | ····.line·129 |
303 | ····invoke-virtual·{p0},·Landroid/content/Context;->getAttributionTag()Ljava/lang/String; | 305 | ····invoke-virtual·{p0},·Landroid/content/Context;->getAttributionTag()Ljava/lang/String; |
| |
304 | ····move-result-object·v5 | 306 | ····move-result-object·v5 |
| |
305 | ····move-object·v0,·v6 | 307 | ····move-object·v0,·v6 |
| |
306 | ····move-object·v1,·p0 | 308 | ····move-object·v1,·p0 |
| |
307 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/providers/media/LocalCallingIdentity;-><init>(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)V | 309 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/providers/media/LocalCallingIdentity;-><init>(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)V |
| |
308 | ····.line·130 | 310 | ····.line·131 |
309 | ····iget-object·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String; | 311 | ····iget-object·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String; |
| |
310 | ····iput-object·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String; | 312 | ····iput-object·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String; |
| |
311 | ····const/4·p0,·0x1 | 313 | ····const/4·p0,·0x1 |
| |
312 | ····.line·131 | 314 | ····.line·132 |
313 | ····iput-boolean·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z | 315 | ····iput-boolean·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z |
| |
314 | ····const/16·v0,·0x2710 | 316 | ····const/16·v0,·0x2710 |
| |
315 | ····.line·133 | 317 | ····.line·134 |
316 | ····iput·v0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I | 318 | ····iput·v0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I |
| |
317 | ····.line·134 | 319 | ····.line·135 |
318 | ····iput-boolean·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z | 320 | ····iput-boolean·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z |
| |
319 | ····const/16·p0,·-0xf0b | 321 | ····const/16·p0,·-0xf0b |
| |
320 | ····.line·135 | 322 | ····.line·136 |
321 | ····iput·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I | 323 | ····iput·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I |
| |
322 | ····const/4·p0,·-0x1 | 324 | ····const/4·p0,·-0x1 |
| |
323 | ····.line·138 | 325 | ····.line·139 |
324 | ····iput·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I | 326 | ····iput·p0,·v6,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I |
| |
325 | ····return-object·v6 | 327 | ····return-object·v6 |
326 | .end·method | 328 | .end·method |
| |
327 | .method·private·getPackageNameInternal()Ljava/lang/String; | 329 | .method·private·getPackageNameInternal()Ljava/lang/String; |
328 | ····.locals·3 | 330 | ····.locals·3 |
| |
329 | ····.line·155 | 331 | ····.line·156 |
330 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 332 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
331 | ····const-class·v1,·Landroid/app/AppOpsManager; | 333 | ····const-class·v1,·Landroid/app/AppOpsManager; |
| |
332 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; | 334 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; |
| |
333 | ····move-result-object·v0 | 335 | ····move-result-object·v0 |
| |
334 | ····check-cast·v0,·Landroid/app/AppOpsManager; | 336 | ····check-cast·v0,·Landroid/app/AppOpsManager; |
| |
335 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 337 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
336 | ····iget-object·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String; | 338 | ····iget-object·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String; |
| |
337 | ····.line·156 | 339 | ····.line·157 |
338 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/app/AppOpsManager;->checkPackage(ILjava/lang/String;)V | 340 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/app/AppOpsManager;->checkPackage(ILjava/lang/String;)V |
| |
339 | ····.line·157 | 341 | ····.line·158 |
340 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String; | 342 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameUnchecked:Ljava/lang/String; |
| |
341 | ····return-object·p0 | 343 | ····return-object·p0 |
342 | .end·method | 344 | .end·method |
| |
343 | .method·private·getSharedPackageNamesInternal()[Ljava/lang/String; | 345 | .method·private·getSharedPackageNamesInternal()[Ljava/lang/String; |
344 | ····.locals·1 | 346 | ····.locals·1 |
| |
345 | ····.line·172 | 347 | ····.line·173 |
346 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 348 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
347 | ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 349 | ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
348 | ····move-result-object·v0 | 350 | ····move-result-object·v0 |
| |
349 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 351 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
Offset 406, 36 lines modified | Offset 408, 36 lines modified |
406 | ····:goto_0 | 408 | ····:goto_0 |
407 | ····return-object·p0 | 409 | ····return-object·p0 |
408 | .end·method | 410 | .end·method |
| |
409 | .method·private·getTargetSdkVersionInternal()I | 411 | .method·private·getTargetSdkVersionInternal()I |
410 | ····.locals·2 | 412 | ····.locals·2 |
| |
411 | ····.line·189 | 413 | ····.line·190 |
412 | ····:try_start_0 | 414 | ····:try_start_0 |
413 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 415 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
414 | ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 416 | ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
415 | ····move-result-object·v0 | 417 | ····move-result-object·v0 |
| |
416 | ····.line·190 | 418 | ····.line·191 |
417 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 419 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
418 | ····move-result-object·p0 | 420 | ····move-result-object·p0 |
| |
419 | ····const/4·v1,·0x0 | 421 | ····const/4·v1,·0x0 |
| |
420 | ····invoke-virtual·{v0,·p0,·v1},·Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo; | 422 | ····invoke-virtual·{v0,·p0,·v1},·Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo; |
| |
421 | ····move-result-object·p0 | 423 | ····move-result-object·p0 |
| |
422 | ····if-eqz·p0,·:cond_0 | 424 | ····if-eqz·p0,·:cond_0 |
| |
423 | ····.line·192 | 425 | ····.line·193 |
424 | ····iget·p0,·p0,·Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I | 426 | ····iget·p0,·p0,·Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I |
425 | ····:try_end_0 | 427 | ····:try_end_0 |
426 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 428 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
427 | ····return·p0 | 429 | ····return·p0 |
| |
428 | ····:catch_0 | 430 | ····:catch_0 |
Offset 444, 15 lines modified | Offset 446, 15 lines modified |
| |
444 | ····return·p0 | 446 | ····return·p0 |
445 | .end·method | 447 | .end·method |
| |
446 | .method·private·hasPermissionInternal(I)Z | 448 | .method·private·hasPermissionInternal(I)Z |
447 | ····.locals·3 | 449 | ····.locals·3 |
| |
448 | ····.line·231 | 450 | ····.line·234 |
449 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 451 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
450 | ····const/16·v1,·0x7d0 | 452 | ····const/16·v1,·0x7d0 |
| |
451 | ····if-ne·v0,·v1,·:cond_1 | 453 | ····if-ne·v0,·v1,·:cond_1 |
| |
452 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 454 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
Offset 463, 36 lines modified | Offset 465, 36 lines modified |
| |
463 | ····move-result-object·v0 | 465 | ····move-result-object·v0 |
| |
464 | ····check-cast·v0,·Landroid/os/UserManager; | 466 | ····check-cast·v0,·Landroid/os/UserManager; |
| |
465 | ····const-string·v1,·"no_usb_file_transfer" | 467 | ····const-string·v1,·"no_usb_file_transfer" |
| |
466 | ····.line·232 | 468 | ····.line·235 |
467 | ····invoke-virtual·{v0,·v1},·Landroid/os/UserManager;->hasUserRestriction(Ljava/lang/String;)Z | 469 | ····invoke-virtual·{v0,·v1},·Landroid/os/UserManager;->hasUserRestriction(Ljava/lang/String;)Z |
| |
468 | ····move-result·v0 | 470 | ····move-result·v0 |
| |
469 | ····if-nez·v0,·:cond_0 | 471 | ····if-nez·v0,·:cond_0 |
| |
470 | ····goto·:goto_0 | 472 | ····goto·:goto_0 |
| |
471 | ····.line·233 | 473 | ····.line·236 |
472 | ····:cond_0 | 474 | ····:cond_0 |
473 | ····new-instance·p0,·Ljava/lang/SecurityException; | 475 | ····new-instance·p0,·Ljava/lang/SecurityException; |
| |
474 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 476 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
475 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 477 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
476 | ····const-string·v0,·"Shell·user·cannot·access·files·for·user·" | 478 | ····const-string·v0,·"Shell·user·cannot·access·files·for·user·" |
| |
477 | ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 479 | ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
478 | ····.line·234 | 480 | ····.line·237 |
479 | ····invoke-static·{},·Landroid/os/UserHandle;->myUserId()I | 481 | ····invoke-static·{},·Landroid/os/UserHandle;->myUserId()I |
| |
480 | ····move-result·v0 | 482 | ····move-result·v0 |
| |
481 | ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 483 | ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
| |
482 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 484 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 515, 194 lines modified | Offset 517, 214 lines modified |
| |
515 | ····sparse-switch·p1,·:sswitch_data_0 | 517 | ····sparse-switch·p1,·:sswitch_data_0 |
| |
516 | ····const/4·p0,·0x0 | 518 | ····const/4·p0,·0x0 |
| |
517 | ····return·p0 | 519 | ····return·p0 |
| |
518 | ····.line·272 | 520 | ····.line·278 |
519 | ····:sswitch_0 | 521 | ····:sswitch_0 |
520 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 522 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
| 523 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
| 524 | ····.line·279 |
| 525 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
| 526 | ····move-result-object·v1 |
| |
| 527 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
| 528 | ····.line·278 |
| 529 | ····invoke-static·{p1,·v0,·v1,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkWriteImagesOrVideoAppOps(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)Z |
| |
| 530 | ····move-result·p0 |
| |
| 531 | ····return·p0 |
| |
| 532 | ····.line·275 |
| 533 | ····:sswitch_1 |
| 534 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
521 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 535 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
522 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 536 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
523 | ····.line·273 | 537 | ····.line·276 |
524 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 538 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
525 | ····move-result-object·v2 | 539 | ····move-result-object·v2 |
| |
526 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 540 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
527 | ····.line·272 | 541 | ····.line·275 |
528 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteImages(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z | 542 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteImages(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z |
| |
529 | ····move-result·p0 | 543 | ····move-result·p0 |
| |
530 | ····return·p0 | 544 | ····return·p0 |
| |
531 | ····.line·269 | 545 | ····.line·272 |
532 | ····:sswitch_1 | 546 | ····:sswitch_2 |
533 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 547 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
534 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 548 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
535 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 549 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
536 | ····.line·270 | 550 | ····.line·273 |
537 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 551 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
538 | ····move-result-object·v2 | 552 | ····move-result-object·v2 |
| |
539 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 553 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
540 | ····.line·269 | 554 | ····.line·272 |
541 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteVideo(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z | 555 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteVideo(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z |
| |
542 | ····move-result·p0 | 556 | ····move-result·p0 |
| |
543 | ····return·p0 | 557 | ····return·p0 |
| |
544 | ····.line·266 | 558 | ····.line·269 |
545 | ····:sswitch_2 | 559 | ····:sswitch_3 |
546 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 560 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
547 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 561 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
548 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 562 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
549 | ····.line·267 | 563 | ····.line·270 |
550 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 564 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
551 | ····move-result-object·v2 | 565 | ····move-result-object·v2 |
| |
552 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 566 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
553 | ····.line·266 | 567 | ····.line·269 |
554 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteAudio(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z | 568 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteAudio(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z |
| |
555 | ····move-result·p0 | 569 | ····move-result·p0 |
| |
556 | ····return·p0 | 570 | ····return·p0 |
| |
557 | ····.line·263 | 571 | ····.line·266 |
558 | ····:sswitch_3 | 572 | ····:sswitch_4 |
559 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 573 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
560 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 574 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
561 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 575 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
562 | ····.line·264 | 576 | ····.line·267 |
563 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 577 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
564 | ····move-result-object·v2 | 578 | ····move-result-object·v2 |
| |
565 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 579 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
566 | ····.line·263 | 580 | ····.line·266 |
567 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadImages(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z | 581 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadImages(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z |
| |
568 | ····move-result·p0 | 582 | ····move-result·p0 |
| |
569 | ····return·p0 | 583 | ····return·p0 |
| |
570 | ····.line·260 | 584 | ····.line·263 |
571 | ····:sswitch_4 | 585 | ····:sswitch_5 |
572 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 586 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
573 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 587 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
574 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 588 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
575 | ····.line·261 | 589 | ····.line·264 |
576 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 590 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
577 | ····move-result-object·v2 | 591 | ····move-result-object·v2 |
| |
578 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 592 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
579 | ····.line·260 | 593 | ····.line·263 |
580 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadVideo(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z | 594 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadVideo(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z |
| |
581 | ····move-result·p0 | 595 | ····move-result·p0 |
| |
582 | ····return·p0 | 596 | ····return·p0 |
| |
583 | ····.line·257 | 597 | ····.line·260 |
584 | ····:sswitch_5 | 598 | ····:sswitch_6 |
585 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 599 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
586 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 600 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
587 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 601 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
588 | ····.line·258 | 602 | ····.line·261 |
589 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 603 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
590 | ····move-result-object·v2 | 604 | ····move-result-object·v2 |
| |
591 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 605 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
592 | ····.line·257 | 606 | ····.line·260 |
593 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadAudio(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z | 607 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadAudio(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z |
| |
594 | ····move-result·p0 | 608 | ····move-result·p0 |
| |
595 | ····return·p0 | 609 | ····return·p0 |
| |
596 | ····.line·254 | 610 | ····.line·257 |
597 | ····:sswitch_6 | 611 | ····:sswitch_7 |
598 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyWriteInternal()Z | 612 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyWriteInternal()Z |
| |
599 | ····move-result·p0 | 613 | ····move-result·p0 |
| |
600 | ····return·p0 | 614 | ····return·p0 |
| |
601 | ····.line·252 | 615 | ····.line·255 |
602 | ····:sswitch_7 | 616 | ····:sswitch_8 |
603 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyReadInternal()Z | 617 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyReadInternal()Z |
| |
604 | ····move-result·p0 | 618 | ····move-result·p0 |
| |
605 | ····return·p0 | 619 | ····return·p0 |
| |
606 | ····.line·250 | 620 | ····.line·253 |
607 | ····:sswitch_8 | 621 | ····:sswitch_9 |
608 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyStorageGranted()Z | 622 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isLegacyStorageGranted()Z |
| |
609 | ····move-result·p0 | 623 | ····move-result·p0 |
| |
610 | ····return·p0 | 624 | ····return·p0 |
| |
611 | ····.line·248 | 625 | ····.line·251 |
612 | ····:sswitch_9 | 626 | ····:sswitch_a |
613 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isRedactionNeededInternal()Z | 627 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->isRedactionNeededInternal()Z |
| |
614 | ····move-result·p0 | 628 | ····move-result·p0 |
| |
615 | ····return·p0 | 629 | ····return·p0 |
| |
616 | ····.line·245 | 630 | ····.line·248 |
617 | ····:sswitch_a | 631 | ····:sswitch_b |
618 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 632 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
619 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 633 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
620 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 634 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
621 | ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionDelegator(Landroid/content/Context;II)Z | 635 | ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionDelegator(Landroid/content/Context;II)Z |
| |
622 | ····move-result·p0 | 636 | ····move-result·p0 |
| |
623 | ····return·p0 | 637 | ····return·p0 |
| |
624 | ····.line·243 | 638 | ····.line·246 |
625 | ····:sswitch_b | 639 | ····:sswitch_c |
626 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 640 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
627 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 641 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
628 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 642 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
629 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 643 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
Offset 713, 80 lines modified | Offset 735, 79 lines modified |
| |
713 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionManager(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z | 735 | ····invoke-static·{p1,·v0,·v1,·v2,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionManager(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z |
| |
714 | ····move-result·p0 | 736 | ····move-result·p0 |
| |
715 | ····return·p0 | 737 | ····return·p0 |
| |
716 | ····.line·241 | 738 | ····.line·244 |
717 | ····:cond_2 | 739 | ····:cond_2 |
718 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 740 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
719 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 741 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
720 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 742 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
721 | ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionShell(Landroid/content/Context;II)Z | 743 | ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionShell(Landroid/content/Context;II)Z |
| |
722 | ····move-result·p0 | 744 | ····move-result·p0 |
| |
723 | ····return·p0 | 745 | ····return·p0 |
| |
724 | ····.line·239 | 746 | ····.line·242 |
725 | ····:cond_3 | 747 | ····:cond_3 |
726 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 748 | ····iget-object·p1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
727 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 749 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
728 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 750 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
729 | ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionSelf(Landroid/content/Context;II)Z | 751 | ····invoke-static·{p1,·v0,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionSelf(Landroid/content/Context;II)Z |
| |
730 | ····move-result·p0 | 752 | ····move-result·p0 |
| |
731 | ····return·p0 | 753 | ····return·p0 |
| |
732 | ····nop | |
| |
733 | ····:sswitch_data_0 | 754 | ····:sswitch_data_0 |
734 | ····.sparse-switch | 755 | ····.sparse-switch |
735 | ········0x4·->·:sswitch_b | 756 | ········0x4·->·:sswitch_c |
736 | ········0x8·->·:sswitch_a | 757 | ········0x8·->·:sswitch_b |
737 | ········0x100·->·:sswitch_9 | 758 | ········0x100·->·:sswitch_a |
738 | ········0x200·->·:sswitch_8 | 759 | ········0x200·->·:sswitch_9 |
739 | ········0x400·->·:sswitch_7 | 760 | ········0x400·->·:sswitch_8 |
740 | ········0x800·->·:sswitch_6 | 761 | ········0x800·->·:sswitch_7 |
741 | ········0x10000·->·:sswitch_5 | 762 | ········0x10000·->·:sswitch_6 |
742 | ········0x20000·->·:sswitch_4 | 763 | ········0x20000·->·:sswitch_5 |
743 | ········0x40000·->·:sswitch_3 | 764 | ········0x40000·->·:sswitch_4 |
744 | ········0x80000·->·:sswitch_2 | 765 | ········0x80000·->·:sswitch_3 |
745 | ········0x100000·->·:sswitch_1 | 766 | ········0x100000·->·:sswitch_2 |
746 | ········0x200000·->·:sswitch_0 | 767 | ········0x200000·->·:sswitch_1 |
| 768 | ········0x400000·->·:sswitch_0 |
747 | ····.end·sparse-switch | 769 | ····.end·sparse-switch |
748 | .end·method | 770 | .end·method |
| |
749 | .method·private·isLegacyReadInternal()Z | 771 | .method·private·isLegacyReadInternal()Z |
750 | ····.locals·4 | 772 | ····.locals·4 |
| |
751 | ····const/16·v0,·0x200 | 773 | ····const/16·v0,·0x200 |
| |
752 | ····.line·313 | 774 | ····.line·319 |
753 | ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z | 775 | ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z |
| |
754 | ····move-result·v0 | 776 | ····move-result·v0 |
| |
755 | ····if-eqz·v0,·:cond_0 | 777 | ····if-eqz·v0,·:cond_0 |
| |
756 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 778 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
757 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 779 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
758 | ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 780 | ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
759 | ····.line·314 | 781 | ····.line·320 |
760 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 782 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
761 | ····move-result-object·v3 | 783 | ····move-result-object·v3 |
| |
762 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 784 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
763 | ····invoke-static·{v0,·v1,·v2,·v3,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadStorage(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z | 785 | ····invoke-static·{v0,·v1,·v2,·v3,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionReadStorage(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z |
Offset 805, 74 lines modified | Offset 826, 74 lines modified |
805 | ····:goto_0 | 826 | ····:goto_0 |
806 | ····return·p0 | 827 | ····return·p0 |
807 | .end·method | 828 | .end·method |
| |
808 | .method·private·isLegacyStorageGranted()Z | 829 | .method·private·isLegacyStorageGranted()Z |
809 | ····.locals·5 | 830 | ····.locals·5 |
| |
810 | ····.line·281 | 831 | ····.line·287 |
811 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 832 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
812 | ····move-result-object·v0 | 833 | ····move-result-object·v0 |
| |
813 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 834 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
814 | ····invoke-static·{v1},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle; | 835 | ····invoke-static·{v1},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle; |
| |
815 | ····move-result-object·v1 | 836 | ····move-result-object·v1 |
| |
816 | ····const-wide/32·v2,·0x8efaaaf | 837 | ····const-wide/32·v2,·0x8efaaaf |
| |
817 | ····.line·280 | 838 | ····.line·286 |
818 | ····invoke-static·{v2,·v3,·v0,·v1},·Landroid/app/compat/CompatChanges;->isChangeEnabled(JLjava/lang/String;Landroid/os/UserHandle;)Z | 839 | ····invoke-static·{v2,·v3,·v0,·v1},·Landroid/app/compat/CompatChanges;->isChangeEnabled(JLjava/lang/String;Landroid/os/UserHandle;)Z |
| |
819 | ····move-result·v0 | 840 | ····move-result·v0 |
| |
820 | ····.line·283 | 841 | ····.line·289 |
821 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 842 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
822 | ····move-result-object·v1 | 843 | ····move-result-object·v1 |
| |
823 | ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 844 | ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
824 | ····invoke-static·{v2},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle; | 845 | ····invoke-static·{v2},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle; |
| |
825 | ····move-result-object·v2 | 846 | ····move-result-object·v2 |
| |
826 | ····const-wide/32·v3,·0x7e81388 | 847 | ····const-wide/32·v3,·0x7e81388 |
| |
827 | ····.line·282 | 848 | ····.line·288 |
828 | ····invoke-static·{v3,·v4,·v1,·v2},·Landroid/app/compat/CompatChanges;->isChangeEnabled(JLjava/lang/String;Landroid/os/UserHandle;)Z | 849 | ····invoke-static·{v3,·v4,·v1,·v2},·Landroid/app/compat/CompatChanges;->isChangeEnabled(JLjava/lang/String;Landroid/os/UserHandle;)Z |
| |
829 | ····move-result·v1 | 850 | ····move-result·v1 |
| |
830 | ····.line·286 | 851 | ····.line·292 |
831 | ····invoke-direct·{p0,·v0,·v1},·Lcom/android/providers/media/LocalCallingIdentity;->isScopedStorageEnforced(ZZ)Z | 852 | ····invoke-direct·{p0,·v0,·v1},·Lcom/android/providers/media/LocalCallingIdentity;->isScopedStorageEnforced(ZZ)Z |
| |
832 | ····move-result·v2 | 853 | ····move-result·v2 |
| |
833 | ····if-eqz·v2,·:cond_0 | 854 | ····if-eqz·v2,·:cond_0 |
| |
834 | ····const/4·p0,·0x0 | 855 | ····const/4·p0,·0x0 |
| |
835 | ····return·p0 | 856 | ····return·p0 |
| |
836 | ····.line·290 | 857 | ····.line·296 |
837 | ····:cond_0 | 858 | ····:cond_0 |
838 | ····invoke-direct·{p0,·v0,·v1},·Lcom/android/providers/media/LocalCallingIdentity;->isScopedStorageDisabled(ZZ)Z | 859 | ····invoke-direct·{p0,·v0,·v1},·Lcom/android/providers/media/LocalCallingIdentity;->isScopedStorageDisabled(ZZ)Z |
| |
839 | ····move-result·v0 | 860 | ····move-result·v0 |
| |
840 | ····if-eqz·v0,·:cond_1 | 861 | ····if-eqz·v0,·:cond_1 |
| |
841 | ····const/4·p0,·0x1 | 862 | ····const/4·p0,·0x1 |
| |
842 | ····return·p0 | 863 | ····return·p0 |
| |
843 | ····.line·294 | 864 | ····.line·300 |
844 | ····:cond_1 | 865 | ····:cond_1 |
845 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 866 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
846 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 867 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
847 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 868 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
Offset 886, 28 lines modified | Offset 907, 28 lines modified |
886 | .end·method | 907 | .end·method |
| |
887 | .method·private·isLegacyWriteInternal()Z | 908 | .method·private·isLegacyWriteInternal()Z |
888 | ····.locals·4 | 909 | ····.locals·4 |
| |
889 | ····const/16·v0,·0x200 | 910 | ····const/16·v0,·0x200 |
| |
890 | ····.line·308 | 911 | ····.line·314 |
891 | ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z | 912 | ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z |
| |
892 | ····move-result·v0 | 913 | ····move-result·v0 |
| |
893 | ····if-eqz·v0,·:cond_0 | 914 | ····if-eqz·v0,·:cond_0 |
| |
894 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 915 | ····iget-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
895 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 916 | ····iget·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
896 | ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 917 | ····iget·v2,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
897 | ····.line·309 | 918 | ····.line·315 |
898 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 919 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
899 | ····move-result-object·v3 | 920 | ····move-result-object·v3 |
| |
900 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 921 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
901 | ····invoke-static·{v0,·v1,·v2,·v3,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteStorage(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z | 922 | ····invoke-static·{v0,·v1,·v2,·v3,·p0},·Lcom/android/providers/media/util/PermissionUtils;->checkPermissionWriteStorage(Landroid/content/Context;IILjava/lang/String;Ljava/lang/String;)Z |
Offset 928, 15 lines modified | Offset 949, 15 lines modified |
928 | .end·method | 949 | .end·method |
| |
929 | .method·private·isRedactionNeededInternal()Z | 950 | .method·private·isRedactionNeededInternal()Z |
930 | ····.locals·12 | 951 | ····.locals·12 |
| |
931 | ····const/4·v0,·0x1 | 952 | ····const/4·v0,·0x1 |
| |
932 | ····.line·319 | 953 | ····.line·325 |
933 | ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z | 954 | ····invoke-virtual·{p0,·v0},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission(I)Z |
| |
934 | ····move-result·v1 | 955 | ····move-result·v1 |
| |
935 | ····const/4·v2,·0x0 | 956 | ····const/4·v2,·0x0 |
| |
936 | ····if-nez·v1,·:cond_3 | 957 | ····if-nez·v1,·:cond_3 |
Offset 947, 15 lines modified | Offset 968, 15 lines modified |
| |
947 | ····move-result·v1 | 968 | ····move-result·v1 |
| |
948 | ····if-eqz·v1,·:cond_0 | 969 | ····if-eqz·v1,·:cond_0 |
| |
949 | ····goto·:goto_1 | 970 | ····goto·:goto_1 |
| |
950 | ····.line·323 | 971 | ····.line·329 |
951 | ····:cond_0 | 972 | ····:cond_0 |
952 | ····iget-object·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 973 | ····iget-object·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
953 | ····iget·v3,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I | 974 | ····iget·v3,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->pid:I |
| |
954 | ····iget·v4,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 975 | ····iget·v4,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
Offset 969, 39 lines modified | Offset 990, 39 lines modified |
| |
969 | ····if-eq·v1,·v3,·:cond_2 | 990 | ····if-eq·v1,·v3,·:cond_2 |
| |
970 | ····iget-object·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; | 991 | ····iget-object·v1,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->context:Landroid/content/Context; |
| |
971 | ····const-class·v3,·Landroid/app/AppOpsManager; | 992 | ····const-class·v3,·Landroid/app/AppOpsManager; |
| |
972 | ····.line·324 | 993 | ····.line·330 |
973 | ····invoke-virtual·{v1,·v3},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; | 994 | ····invoke-virtual·{v1,·v3},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; |
| |
974 | ····move-result-object·v1 | 995 | ····move-result-object·v1 |
| |
975 | ····move-object·v6,·v1 | 996 | ····move-object·v6,·v1 |
| |
976 | ····check-cast·v6,·Landroid/app/AppOpsManager; | 997 | ····check-cast·v6,·Landroid/app/AppOpsManager; |
| |
977 | ····.line·325 | 998 | ····.line·331 |
978 | ····invoke-static·{v5},·Landroid/app/AppOpsManager;->permissionToOp(Ljava/lang/String;)Ljava/lang/String; | 999 | ····invoke-static·{v5},·Landroid/app/AppOpsManager;->permissionToOp(Ljava/lang/String;)Ljava/lang/String; |
| |
979 | ····move-result-object·v7 | 1000 | ····move-result-object·v7 |
| |
980 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; | 1001 | ····invoke-virtual·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageName()Ljava/lang/String; |
| |
981 | ····move-result-object·v8 | 1002 | ····move-result-object·v8 |
| |
982 | ····iget·v9,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I | 1003 | ····iget·v9,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->uid:I |
| |
983 | ····iget-object·v10,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; | 1004 | ····iget-object·v10,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->attributionTag:Ljava/lang/String; |
| |
984 | ····const/4·v11,·0x0 | 1005 | ····const/4·v11,·0x0 |
| |
985 | ····.line·324 | 1006 | ····.line·330 |
986 | ····invoke-virtual/range·{v6·..·v11},·Landroid/app/AppOpsManager;->noteProxyOpNoThrow(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)I | 1007 | ····invoke-virtual/range·{v6·..·v11},·Landroid/app/AppOpsManager;->noteProxyOpNoThrow(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)I |
| |
987 | ····move-result·p0 | 1008 | ····move-result·p0 |
| |
988 | ····if-eqz·p0,·:cond_1 | 1009 | ····if-eqz·p0,·:cond_1 |
| |
989 | ····goto·:goto_0 | 1010 | ····goto·:goto_0 |
Offset 1055, 30 lines modified | Offset 1076, 30 lines modified |
1055 | .end·method | 1076 | .end·method |
| |
| |
1056 | #·virtual·methods | 1077 | #·virtual·methods |
1057 | .method·public·addDeletedRowId(Ljava/lang/String;J)V | 1078 | .method·public·addDeletedRowId(Ljava/lang/String;J)V |
1058 | ····.locals·0 | 1079 | ····.locals·0 |
| |
1059 | ····.line·355 | 1080 | ····.line·361 |
1060 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap; | 1081 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap; |
| |
1061 | ····invoke-static·{p2,·p3},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1082 | ····invoke-static·{p2,·p3},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
1062 | ····move-result-object·p2 | 1083 | ····move-result-object·p2 |
| |
1063 | ····invoke-virtual·{p0,·p1,·p2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 1084 | ····invoke-virtual·{p0,·p1,·p2},·Landroid/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
1064 | ····return-void | 1085 | ····return-void |
1065 | .end·method | 1086 | .end·method |
| |
1066 | .method·public·getDeletedRowId(Ljava/lang/String;)J | 1087 | .method·public·getDeletedRowId(Ljava/lang/String;)J |
1067 | ····.locals·2 | 1088 | ····.locals·2 |
| |
1068 | ····.line·369 | 1089 | ····.line·375 |
1069 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap; | 1090 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->rowIdOfDeletedPaths:Landroid/util/ArrayMap; |
| |
1070 | ····const-wide/16·v0,·-0x1 | 1091 | ····const-wide/16·v0,·-0x1 |
| |
1071 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 1092 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
1072 | ····move-result-object·v0 | 1093 | ····move-result-object·v0 |
Offset 1095, 125 lines modified | Offset 1116, 125 lines modified |
| |
1095 | ····return-wide·p0 | 1116 | ····return-wide·p0 |
1096 | .end·method | 1117 | .end·method |
| |
1097 | .method·public·getPackageName()Ljava/lang/String; | 1118 | .method·public·getPackageName()Ljava/lang/String; |
1098 | ····.locals·1 | 1119 | ····.locals·1 |
| |
1099 | ····.line·146 | 1120 | ····.line·147 |
1100 | ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z | 1121 | ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z |
| |
1101 | ····if-nez·v0,·:cond_0 | 1122 | ····if-nez·v0,·:cond_0 |
| |
1102 | ····.line·147 | 1123 | ····.line·148 |
1103 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageNameInternal()Ljava/lang/String; | 1124 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getPackageNameInternal()Ljava/lang/String; |
| |
1104 | ····move-result-object·v0 | 1125 | ····move-result-object·v0 |
| |
1105 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String; | 1126 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String; |
| |
1106 | ····const/4·v0,·0x1 | 1127 | ····const/4·v0,·0x1 |
| |
1107 | ····.line·148 | 1128 | ····.line·149 |
1108 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z | 1129 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageNameResolved:Z |
| |
1109 | ····.line·150 | 1130 | ····.line·151 |
1110 | ····:cond_0 | 1131 | ····:cond_0 |
1111 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String; | 1132 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->packageName:Ljava/lang/String; |
| |
1112 | ····return-object·p0 | 1133 | ····return-object·p0 |
1113 | .end·method | 1134 | .end·method |
| |
1114 | .method·public·getSharedPackageNames()[Ljava/lang/String; | 1135 | .method·public·getSharedPackageNames()[Ljava/lang/String; |
1115 | ····.locals·1 | 1136 | ····.locals·1 |
| |
1116 | ····.line·164 | 1137 | ····.line·165 |
1117 | ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z | 1138 | ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z |
| |
1118 | ····if-nez·v0,·:cond_0 | 1139 | ····if-nez·v0,·:cond_0 |
| |
1119 | ····.line·165 | 1140 | ····.line·166 |
1120 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getSharedPackageNamesInternal()[Ljava/lang/String; | 1141 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getSharedPackageNamesInternal()[Ljava/lang/String; |
| |
1121 | ····move-result-object·v0 | 1142 | ····move-result-object·v0 |
| |
1122 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String; | 1143 | ····iput-object·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String; |
| |
1123 | ····const/4·v0,·0x1 | 1144 | ····const/4·v0,·0x1 |
| |
1124 | ····.line·166 | 1145 | ····.line·167 |
1125 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z | 1146 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNamesResolved:Z |
| |
1126 | ····.line·168 | 1147 | ····.line·169 |
1127 | ····:cond_0 | 1148 | ····:cond_0 |
1128 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String; | 1149 | ····iget-object·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->sharedPackageNames:[Ljava/lang/String; |
| |
1129 | ····return-object·p0 | 1150 | ····return-object·p0 |
1130 | .end·method | 1151 | .end·method |
| |
1131 | .method·public·getTargetSdkVersion()I | 1152 | .method·public·getTargetSdkVersion()I |
1132 | ····.locals·1 | 1153 | ····.locals·1 |
| |
1133 | ····.line·180 | 1154 | ····.line·181 |
1134 | ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z | 1155 | ····iget-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z |
| |
1135 | ····if-nez·v0,·:cond_0 | 1156 | ····if-nez·v0,·:cond_0 |
| |
1136 | ····.line·181 | 1157 | ····.line·182 |
1137 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getTargetSdkVersionInternal()I | 1158 | ····invoke-direct·{p0},·Lcom/android/providers/media/LocalCallingIdentity;->getTargetSdkVersionInternal()I |
| |
1138 | ····move-result·v0 | 1159 | ····move-result·v0 |
| |
1139 | ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I | 1160 | ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I |
| |
1140 | ····const/4·v0,·0x1 | 1161 | ····const/4·v0,·0x1 |
| |
1141 | ····.line·182 | 1162 | ····.line·183 |
1142 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z | 1163 | ····iput-boolean·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersionResolved:Z |
| |
1143 | ····.line·184 | 1164 | ····.line·185 |
1144 | ····:cond_0 | 1165 | ····:cond_0 |
1145 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I | 1166 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->targetSdkVersion:I |
| |
1146 | ····return·p0 | 1167 | ····return·p0 |
1147 | .end·method | 1168 | .end·method |
| |
1148 | .method·public·hasPermission(I)Z | 1169 | .method·public·hasPermission(I)Z |
1149 | ····.locals·1 | 1170 | ····.locals·1 |
| |
1150 | ····.line·220 | 1171 | ····.line·223 |
1151 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I | 1172 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I |
| |
1152 | ····and-int/2addr·v0,·p1 | 1173 | ····and-int/2addr·v0,·p1 |
| |
1153 | ····if-nez·v0,·:cond_1 | 1174 | ····if-nez·v0,·:cond_1 |
| |
1154 | ····.line·221 | 1175 | ····.line·224 |
1155 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionInternal(I)Z | 1176 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionInternal(I)Z |
| |
1156 | ····move-result·v0 | 1177 | ····move-result·v0 |
| |
1157 | ····if-eqz·v0,·:cond_0 | 1178 | ····if-eqz·v0,·:cond_0 |
| |
1158 | ····.line·222 | 1179 | ····.line·225 |
1159 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I | 1180 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I |
| |
1160 | ····or-int/2addr·v0,·p1 | 1181 | ····or-int/2addr·v0,·p1 |
| |
1161 | ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I | 1182 | ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I |
| |
1162 | ····.line·224 | 1183 | ····.line·227 |
1163 | ····:cond_0 | 1184 | ····:cond_0 |
1164 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I | 1185 | ····iget·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I |
| |
1165 | ····or-int/2addr·v0,·p1 | 1186 | ····or-int/2addr·v0,·p1 |
| |
1166 | ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I | 1187 | ····iput·v0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermissionResolved:I |
| |
1167 | ····.line·226 | 1188 | ····.line·229 |
1168 | ····:cond_1 | 1189 | ····:cond_1 |
1169 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I | 1190 | ····iget·p0,·p0,·Lcom/android/providers/media/LocalCallingIdentity;->hasPermission:I |
| |
1170 | ····and-int/2addr·p0,·p1 | 1191 | ····and-int/2addr·p0,·p1 |
| |
1171 | ····if-eqz·p0,·:cond_2 | 1192 | ····if-eqz·p0,·:cond_2 |
| |
Offset 1227, 15 lines modified | Offset 1248, 15 lines modified |
1227 | ····:goto_0 | 1248 | ····:goto_0 |
Max diff block lines reached; 2604/35209 bytes (7.40%) of diff not shown.
|