| | | |
Offset 30, 17 lines modified | Offset 30, 17 lines modified |
30 | ····} | 30 | ····} |
31 | .end·annotation | 31 | .end·annotation |
| |
32 | .annotation·runtime·Lkotlin/coroutines/jvm/internal/DebugMetadata; | 32 | .annotation·runtime·Lkotlin/coroutines/jvm/internal/DebugMetadata; |
33 | ····c·=·"com.android.permissioncontroller.hibernation.HibernationJobService$onStartJob$1" | 33 | ····c·=·"com.android.permissioncontroller.hibernation.HibernationJobService$onStartJob$1" |
34 | ····f·=·"HibernationPolicy.kt" | 34 | ····f·=·"HibernationPolicy.kt" |
35 | ····l·=·{ | 35 | ····l·=·{ |
36 | ········0x21b, | 36 | ········0x218, |
37 | ········0x223, | 37 | ········0x220, |
38 | ········0x227 | 38 | ········0x224 |
39 | ····} | 39 | ····} |
40 | ····m·=·"invokeSuspend" | 40 | ····m·=·"invokeSuspend" |
41 | .end·annotation | 41 | .end·annotation |
| |
| |
42 | #·instance·fields | 42 | #·instance·fields |
43 | .field·final·synthetic·$params:Landroid/app/job/JobParameters; | 43 | .field·final·synthetic·$params:Landroid/app/job/JobParameters; |
Offset 187, 15 lines modified | Offset 187, 15 lines modified |
187 | ····.annotation·build·Lorg/jetbrains/annotations/Nullable; | 187 | ····.annotation·build·Lorg/jetbrains/annotations/Nullable; |
188 | ····.end·annotation | 188 | ····.end·annotation |
| |
189 | ····invoke-static·{},·Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object; | 189 | ····invoke-static·{},·Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object; |
| |
190 | ····move-result-object·v0 | 190 | ····move-result-object·v0 |
| |
191 | ····.line·532 | 191 | ····.line·529 |
192 | ····iget·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I | 192 | ····iget·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I |
| |
193 | ····const/4·v2,·0x3 | 193 | ····const/4·v2,·0x3 |
| |
194 | ····const/4·v3,·0x2 | 194 | ····const/4·v3,·0x2 |
| |
195 | ····const/4·v4,·0x1 | 195 | ····const/4·v4,·0x1 |
Offset 216, 25 lines modified | Offset 216, 25 lines modified |
216 | ····goto/16·:goto_4 | 216 | ····goto/16·:goto_4 |
| |
217 | ····:catch_0 | 217 | ····:catch_0 |
218 | ····move-exception·p1 | 218 | ····move-exception·p1 |
| |
219 | ····goto/16·:goto_3 | 219 | ····goto/16·:goto_3 |
| |
220 | ····.line·557 | 220 | ····.line·554 |
221 | ····:cond_0 | 221 | ····:cond_0 |
222 | ····new-instance·p0,·Ljava/lang/IllegalStateException; | 222 | ····new-instance·p0,·Ljava/lang/IllegalStateException; |
| |
223 | ····const-string·p1,·"call·to·\'resume\'·before·\'invoke\'·with·coroutine" | 223 | ····const-string·p1,·"call·to·\'resume\'·before·\'invoke\'·with·coroutine" |
| |
224 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 224 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
225 | ····throw·p0 | 225 | ····throw·p0 |
| |
226 | ····.line·532 | 226 | ····.line·529 |
227 | ····:cond_1 | 227 | ····:cond_1 |
228 | ····iget-wide·v5,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J | 228 | ····iget-wide·v5,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J |
| |
229 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->L$0:Ljava/lang/Object; | 229 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->L$0:Ljava/lang/Object; |
| |
230 | ····check-cast·v1,·Ljava/util/Set; | 230 | ····check-cast·v1,·Ljava/util/Set; |
| |
Offset 263, 27 lines modified | Offset 263, 27 lines modified |
263 | ····move-wide·v7,·v5 | 263 | ····move-wide·v7,·v5 |
| |
264 | ····:goto_0 | 264 | ····:goto_0 |
265 | ····cmp-long·p1,·v7,·v5 | 265 | ····cmp-long·p1,·v7,·v5 |
| |
266 | ····if-nez·p1,·:cond_4 | 266 | ····if-nez·p1,·:cond_4 |
| |
267 | ····.line·536 | 267 | ····.line·533 |
268 | ····:try_start_3 | 268 | ····:try_start_3 |
269 | ····new-instance·p1,·Ljava/util/Random; | 269 | ····new-instance·p1,·Ljava/util/Random; |
| |
270 | ····invoke-direct·{p1},·Ljava/util/Random;-><init>()V | 270 | ····invoke-direct·{p1},·Ljava/util/Random;-><init>()V |
| |
271 | ····invoke-virtual·{p1},·Ljava/util/Random;->nextLong()J | 271 | ····invoke-virtual·{p1},·Ljava/util/Random;->nextLong()J |
| |
272 | ····move-result-wide·v7 | 272 | ····move-result-wide·v7 |
| |
273 | ····goto·:goto_0 | 273 | ····goto·:goto_0 |
| |
274 | ····.line·539 | 274 | ····.line·536 |
275 | ····:cond_4 | 275 | ····:cond_4 |
276 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; | 276 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; |
| |
277 | ····iput-wide·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J | 277 | ····iput-wide·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J |
| |
278 | ····iput·v4,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I | 278 | ····iput·v4,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I |
| |
Offset 294, 91 lines modified | Offset 294, 91 lines modified |
294 | ····if-ne·p1,·v0,·:cond_5 | 294 | ····if-ne·p1,·v0,·:cond_5 |
| |
295 | ····return-object·v0 | 295 | ····return-object·v0 |
| |
296 | ····:cond_5 | 296 | ····:cond_5 |
297 | ····move-wide·v5,·v7 | 297 | ····move-wide·v5,·v7 |
| |
298 | ····.line·532 | 298 | ····.line·529 |
299 | ····:goto_1 | 299 | ····:goto_1 |
300 | ····check-cast·p1,·Ljava/util/Map; | 300 | ····check-cast·p1,·Ljava/util/Map; |
| |
301 | ····.line·540 | 301 | ····.line·537 |
302 | ····invoke-static·{},·Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set; | 302 | ····invoke-static·{},·Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set; |
| |
303 | ····move-result-object·v1 | 303 | ····move-result-object·v1 |
| |
304 | ····.line·541 | 304 | ····.line·538 |
305 | ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->isHibernationEnabled()Z | 305 | ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->isHibernationEnabled()Z |
| |
306 | ····move-result·v7 | 306 | ····move-result·v7 |
| |
307 | ····if-eqz·v7,·:cond_6 | 307 | ····if-eqz·v7,·:cond_6 |
| |
308 | ····.line·543 | 308 | ····.line·540 |
309 | ····new-instance·v1,·Lcom/android/permissioncontroller/hibernation/HibernationController; | 309 | ····new-instance·v1,·Lcom/android/permissioncontroller/hibernation/HibernationController; |
| |
310 | ····iget-object·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; | 310 | ····iget-object·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; |
| |
311 | ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->getUnusedThresholdMs()J | 311 | ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->getUnusedThresholdMs()J |
| |
312 | ····move-result-wide·v8 | 312 | ····move-result-wide·v8 |
| |
313 | ····.line·544 | 313 | ····.line·541 |
314 | ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->hibernationTargetsPreSApps()Z | 314 | ····invoke-static·{},·Lcom/android/permissioncontroller/hibernation/HibernationPolicyKt;->hibernationTargetsPreSApps()Z |
| |
315 | ····move-result·v10 | 315 | ····move-result·v10 |
| |
316 | ····.line·543 | 316 | ····.line·540 |
317 | ····invoke-direct·{v1,·v7,·v8,·v9,·v10},·Lcom/android/permissioncontroller/hibernation/HibernationController;-><init>(Landroid/content/Context;JZ)V | 317 | ····invoke-direct·{v1,·v7,·v8,·v9,·v10},·Lcom/android/permissioncontroller/hibernation/HibernationController;-><init>(Landroid/content/Context;JZ)V |
| |
318 | ····.line·545 | 318 | ····.line·542 |
319 | ····invoke-virtual·{v1,·p1},·Lcom/android/permissioncontroller/hibernation/HibernationController;->hibernateApps(Ljava/util/Map;)Ljava/util/Set; | 319 | ····invoke-virtual·{v1,·p1},·Lcom/android/permissioncontroller/hibernation/HibernationController;->hibernateApps(Ljava/util/Map;)Ljava/util/Set; |
| |
320 | ····move-result-object·v1 | 320 | ····move-result-object·v1 |
| |
321 | ····.line·548 | 321 | ····.line·545 |
322 | ····:cond_6 | 322 | ····:cond_6 |
323 | ····iget-object·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; | 323 | ····iget-object·v7,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; |
| |
324 | ····.line·547 | 324 | ····.line·544 |
325 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->L$0:Ljava/lang/Object; | 325 | ····iput-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->L$0:Ljava/lang/Object; |
| |
326 | ····iput-wide·v5,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J | 326 | ····iput-wide·v5,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->J$0:J |
| |
327 | ····iput·v3,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I | 327 | ····iput·v3,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->label:I |
| |
328 | ····invoke-static·{p1,·v7,·v5,·v6,·p0},·Lcom/android/permissioncontroller/permission/service/AutoRevokePermissions;->revokeAppPermissions(Ljava/util/Map;Landroid/content/Context;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; | 328 | ····invoke-static·{p1,·v7,·v5,·v6,·p0},·Lcom/android/permissioncontroller/permission/service/AutoRevokePermissions;->revokeAppPermissions(Ljava/util/Map;Landroid/content/Context;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; |
| |
329 | ····move-result-object·p1 | 329 | ····move-result-object·p1 |
| |
330 | ····if-ne·p1,·v0,·:cond_7 | 330 | ····if-ne·p1,·v0,·:cond_7 |
| |
331 | ····return-object·v0 | 331 | ····return-object·v0 |
| |
332 | ····.line·532 | 332 | ····.line·529 |
333 | ····:cond_7 | 333 | ····:cond_7 |
334 | ····:goto_2 | 334 | ····:goto_2 |
335 | ····check-cast·p1,·Ljava/util/Set; | 335 | ····check-cast·p1,·Ljava/util/Set; |
| |
336 | ····.line·549 | 336 | ····.line·546 |
337 | ····invoke-static·{v1,·p1},·Lkotlin/collections/SetsKt;->plus(Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set; | 337 | ····invoke-static·{v1,·p1},·Lkotlin/collections/SetsKt;->plus(Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set; |
| |
338 | ····move-result-object·p1 | 338 | ····move-result-object·p1 |
| |
339 | ····.line·550 | 339 | ····.line·547 |
340 | ····invoke-interface·{p1},·Ljava/util/Collection;->isEmpty()Z | 340 | ····invoke-interface·{p1},·Ljava/util/Collection;->isEmpty()Z |
| |
341 | ····move-result·v1 | 341 | ····move-result·v1 |
| |
342 | ····xor-int/2addr·v1,·v4 | 342 | ····xor-int/2addr·v1,·v4 |
| |
343 | ····if-eqz·v1,·:cond_8 | 343 | ····if-eqz·v1,·:cond_8 |
| |
344 | ····.line·551 | 344 | ····.line·548 |
345 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; | 345 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; |
| |
346 | ····invoke-interface·{p1},·Ljava/util/Set;->size()I | 346 | ····invoke-interface·{p1},·Ljava/util/Set;->size()I |
| |
347 | ····move-result·p1 | 347 | ····move-result·p1 |
| |
348 | ····const/4·v3,·0x0 | 348 | ····const/4·v3,·0x0 |
Offset 393, 33 lines modified | Offset 393, 33 lines modified |
393 | ····:try_end_3 | 393 | ····:try_end_3 |
394 | ····.catch·Ljava/lang/Exception;·{:try_start_3·..·:try_end_3}·:catch_0 | 394 | ····.catch·Ljava/lang/Exception;·{:try_start_3·..·:try_end_3}·:catch_0 |
| |
395 | ····if-ne·p1,·v0,·:cond_8 | 395 | ····if-ne·p1,·v0,·:cond_8 |
| |
396 | ····return-object·v0 | 396 | ····return-object·v0 |
| |
397 | ····.line·554 | 397 | ····.line·551 |
398 | ····:goto_3 | 398 | ····:goto_3 |
399 | ····sget-object·v0,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog; | 399 | ····sget-object·v0,·Lcom/android/permissioncontroller/DumpableLog;->INSTANCE:Lcom/android/permissioncontroller/DumpableLog; |
| |
400 | ····const-string·v1,·"HibernationPolicy" | 400 | ····const-string·v1,·"HibernationPolicy" |
| |
401 | ····const-string·v2,·"Failed·to·auto-revoke·permissions" | 401 | ····const-string·v2,·"Failed·to·auto-revoke·permissions" |
| |
402 | ····invoke-virtual·{v0,·v1,·v2,·p1},·Lcom/android/permissioncontroller/DumpableLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V | 402 | ····invoke-virtual·{v0,·v1,·v2,·p1},·Lcom/android/permissioncontroller/DumpableLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V |
| |
403 | ····.line·556 | 403 | ····.line·553 |
404 | ····:cond_8 | 404 | ····:cond_8 |
405 | ····:goto_4 | 405 | ····:goto_4 |
406 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; | 406 | ····iget-object·p1,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->this$0:Lcom/android/permissioncontroller/hibernation/HibernationJobService; |
| |
407 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->$params:Landroid/app/job/JobParameters; | 407 | ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/hibernation/HibernationJobService$onStartJob$1;->$params:Landroid/app/job/JobParameters; |
| |
408 | ····const/4·v0,·0x0 | 408 | ····const/4·v0,·0x0 |
| |
409 | ····invoke-virtual·{p1,·p0,·v0},·Landroid/app/job/JobService;->jobFinished(Landroid/app/job/JobParameters;Z)V | 409 | ····invoke-virtual·{p1,·p0,·v0},·Landroid/app/job/JobService;->jobFinished(Landroid/app/job/JobParameters;Z)V |
| |
410 | ····.line·557 | 410 | ····.line·554 |
411 | ····sget-object·p0,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; | 411 | ····sget-object·p0,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; |
| |
412 | ····return-object·p0 | 412 | ····return-object·p0 |
413 | .end·method | 413 | .end·method |