Offset 195, 14 lines modifiedOffset 195, 31 lines modified
195 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;195 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
196 ····move-result-object·p0196 ····move-result-object·p0
  
197 ····return-object·p0197 ····return-object·p0
198 .end·method198 .end·method
  
 199 .method·static·synthetic·lambda$getLastAccessDuration$6(Landroid/app/AppOpsManager$OpEntry;)Ljava/lang/Long;
 200 ····.locals·2
  
 201 ····const/16·v0,·0xd
  
 202 ····.line·187
 203 ····invoke-virtual·{p0,·v0},·Landroid/app/AppOpsManager$OpEntry;->getLastDuration(I)J
  
 204 ····move-result-wide·v0
  
 205 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
 206 ····move-result-object·p0
  
 207 ····return-object·p0
 208 .end·method
  
199 .method·static·synthetic·lambda$getLastAccessTime$0(Landroid/app/AppOpsManager$OpEntry;)Ljava/lang/Long;209 .method·static·synthetic·lambda$getLastAccessTime$0(Landroid/app/AppOpsManager$OpEntry;)Ljava/lang/Long;
200 ····.locals·2210 ····.locals·2
  
201 ····const/16·v0,·0xd211 ····const/16·v0,·0xd
  
202 ····.line·137212 ····.line·137
203 ····invoke-virtual·{p0,·v0},·Landroid/app/AppOpsManager$OpEntry;->getLastAccessTime(I)J213 ····invoke-virtual·{p0,·v0},·Landroid/app/AppOpsManager$OpEntry;->getLastAccessTime(I)J
Offset 424, 14 lines modifiedOffset 441, 37 lines modified
  
424 ····.line·257441 ····.line·257
425 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;442 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
  
426 ····return-object·v0443 ····return-object·v0
427 .end·method444 .end·method
  
 445 .method·public·getLastAccessDuration()J
 446 ····.locals·2
  
 447 ····.line·183
 448 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;
  
 449 ····if-nez·v0,·:cond_0
  
 450 ····const-wide/16·v0,·0x0
  
 451 ····return-wide·v0
  
 452 ····.line·186
 453 ····:cond_0
 454 ····sget-object·v0,·Lcom/android/permissioncontroller/permission/model/-$$Lambda$AppPermissionUsage$GroupUsage$fZDSpHFXgLNVuQJ-RKxJo5kKOLI;->INSTANCE:Lcom/android/permissioncontroller/permission/model/-$$Lambda$AppPermissionUsage$GroupUsage$fZDSpHFXgLNVuQJ-RKxJo5kKOLI;
  
 455 ····invoke-direct·{p0,·v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->lastAccessAggregate(Ljava/util/function/Function;)J
  
 456 ····move-result-wide·v0
  
 457 ····return-wide·v0
 458 .end·method
  
428 .method·public·getLastAccessTime()J459 .method·public·getLastAccessTime()J
429 ····.locals·2460 ····.locals·2
  
430 ····.line·133461 ····.line·133
431 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;462 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;
  
432 ····if-nez·v0,·:cond_0463 ····if-nez·v0,·:cond_0
Offset 446, 7 lines modifiedOffset 486, 108 lines modified
  
446 ····invoke-direct·{p0,·v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->lastAccessAggregate(Ljava/util/function/Function;)J486 ····invoke-direct·{p0,·v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->lastAccessAggregate(Ljava/util/function/Function;)J
  
447 ····move-result-wide·v0487 ····move-result-wide·v0
  
448 ····return-wide·v0488 ····return-wide·v0
449 .end·method489 .end·method
  
 490 .method·public·isRunning()Z
 491 ····.locals·10
  
 492 ····.line·202
 493 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;
  
 494 ····const/4·v1,·0x0
  
 495 ····if-nez·v0,·:cond_0
  
 496 ····return·v1
  
 497 ····.line·205
 498 ····:cond_0
 499 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
  
 500 ····invoke-virtual·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getPermissions()Ljava/util/ArrayList;
  
 501 ····move-result-object·v0
  
 502 ····.line·206
 503 ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I
  
 504 ····move-result·v2
  
 505 ····move·v3,·v1
  
 506 ····:goto_0
 507 ····if-ge·v3,·v2,·:cond_3
  
 508 ····.line·208
 509 ····invoke-virtual·{v0,·v3},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
  
 510 ····move-result-object·v4
  
 511 ····check-cast·v4,·Lcom/android/permissioncontroller/permission/model/Permission;
  
 512 ····.line·209
 513 ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/Permission;->getAppOp()Ljava/lang/String;
  
 514 ····move-result-object·v4
  
 515 ····.line·210
 516 ····iget-object·v5,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;
  
 517 ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getOps()Ljava/util/List;
  
 518 ····move-result-object·v5
  
 519 ····.line·211
 520 ····invoke-interface·{v5},·Ljava/util/List;->size()I
  
 521 ····move-result·v6
  
 522 ····move·v7,·v1
  
 523 ····:goto_1
 524 ····if-ge·v7,·v6,·:cond_2
  
 525 ····.line·213
 526 ····invoke-interface·{v5,·v7},·Ljava/util/List;->get(I)Ljava/lang/Object;
  
 527 ····move-result-object·v8
  
 528 ····check-cast·v8,·Landroid/app/AppOpsManager$OpEntry;
  
 529 ····.line·214
 530 ····invoke-virtual·{v8},·Landroid/app/AppOpsManager$OpEntry;->getOpStr()Ljava/lang/String;
  
 531 ····move-result-object·v9
  
 532 ····invoke-virtual·{v9,·v4},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
 533 ····move-result·v9
  
 534 ····if-eqz·v9,·:cond_1
  
 535 ····invoke-virtual·{v8},·Landroid/app/AppOpsManager$OpEntry;->isRunning()Z
  
 536 ····move-result·v8
  
 537 ····if-eqz·v8,·:cond_1
  
 538 ····const/4·v0,·0x1
  
 539 ····return·v0
  
 540 ····:cond_1
 541 ····add-int/lit8·v7,·v7,·0x1
  
 542 ····goto·:goto_1
  
 543 ····:cond_2
 544 ····add-int/lit8·v3,·v3,·0x1
  
 545 ····goto·:goto_0
  
 546 ····:cond_3
 547 ····return·v1
 548 .end·method