Offset 2, 15 lines modifiedOffset 2, 14 lines modified
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"AppPermissionUsage.java"3 .source·"AppPermissionUsage.java"
  
  
4 #·annotations4 #·annotations
5 .annotation·system·Ldalvik/annotation/MemberClasses;5 .annotation·system·Ldalvik/annotation/MemberClasses;
6 ····value·=·{6 ····value·=·{
7 ········Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$TimelineUsage;, 
8 ········Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$Builder;,7 ········Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$Builder;,
9 ········Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;8 ········Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;
10 ····}9 ····}
11 .end·annotation10 .end·annotation
  
  
12 #·instance·fields11 #·instance·fields
Offset 41, 79 lines modifiedOffset 40, 79 lines modified
41 ············"Landroid/app/AppOpsManager$HistoricalPackageOps;",40 ············"Landroid/app/AppOpsManager$HistoricalPackageOps;",
42 ············"Ljava/util/ArrayList<",41 ············"Ljava/util/ArrayList<",
43 ············"Landroid/media/AudioRecordingConfiguration;",42 ············"Landroid/media/AudioRecordingConfiguration;",
44 ············">;)V"43 ············">;)V"
45 ········}44 ········}
46 ····.end·annotation45 ····.end·annotation
  
47 ····.line·6946 ····.line·68
48 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V47 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
49 ····.line·5748 ····.line·56
50 ····new-instance·v0,·Ljava/util/ArrayList;49 ····new-instance·v0,·Ljava/util/ArrayList;
  
51 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V50 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V
  
52 ····iput-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mGroupUsages:Ljava/util/List;51 ····iput-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mGroupUsages:Ljava/util/List;
  
53 ····.line·7052 ····.line·69
54 ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mPermissionApp:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;53 ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mPermissionApp:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;
  
55 ····.line·7154 ····.line·70
56 ····invoke-interface·{p2},·Ljava/util/List;->size()I55 ····invoke-interface·{p2},·Ljava/util/List;->size()I
  
57 ····move-result·p156 ····move-result·p1
  
58 ····const/4·v0,·0x057 ····const/4·v0,·0x0
  
59 ····move·v1,·v058 ····move·v1,·v0
  
60 ····:goto_059 ····:goto_0
61 ····if-ge·v1,·p1,·:cond_360 ····if-ge·v1,·p1,·:cond_3
  
62 ····.line·7361 ····.line·72
63 ····invoke-interface·{p2,·v1},·Ljava/util/List;->get(I)Ljava/lang/Object;62 ····invoke-interface·{p2,·v1},·Ljava/util/List;->get(I)Ljava/lang/Object;
  
64 ····move-result-object·v263 ····move-result-object·v2
  
65 ····check-cast·v2,·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;64 ····check-cast·v2,·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
  
66 ····if-eqz·p5,·:cond_265 ····if-eqz·p5,·:cond_2
  
67 ····.line·8166 ····.line·80
68 ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String;67 ····invoke-virtual·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String;
  
69 ····move-result-object·v368 ····move-result-object·v3
  
70 ····const-string·v4,·"android.permission-group.MICROPHONE"69 ····const-string·v4,·"android.permission-group.MICROPHONE"
  
71 ····invoke-virtual·{v3,·v4},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z70 ····invoke-virtual·{v3,·v4},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
72 ····move-result·v371 ····move-result·v3
  
73 ····if-eqz·v3,·:cond_272 ····if-eqz·v3,·:cond_2
  
74 ····.line·8373 ····.line·82
75 ····invoke-virtual·{p5},·Ljava/util/ArrayList;->size()I74 ····invoke-virtual·{p5},·Ljava/util/ArrayList;->size()I
  
76 ····move-result·v375 ····move-result·v3
  
77 ····move·v4,·v076 ····move·v4,·v0
  
78 ····:goto_177 ····:goto_1
79 ····if-ge·v4,·v3,·:cond_178 ····if-ge·v4,·v3,·:cond_1
  
80 ····.line·8579 ····.line·84
81 ····invoke-virtual·{p5,·v4},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object;80 ····invoke-virtual·{p5,·v4},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
  
82 ····move-result-object·v581 ····move-result-object·v5
  
83 ····check-cast·v5,·Landroid/media/AudioRecordingConfiguration;82 ····check-cast·v5,·Landroid/media/AudioRecordingConfiguration;
  
84 ····.line·8683 ····.line·85
85 ····invoke-virtual·{v5},·Landroid/media/AudioRecordingConfiguration;->isClientSilenced()Z84 ····invoke-virtual·{v5},·Landroid/media/AudioRecordingConfiguration;->isClientSilenced()Z
  
86 ····move-result·v585 ····move-result·v5
  
87 ····if-eqz·v5,·:cond_086 ····if-eqz·v5,·:cond_0
  
88 ····const/4·v3,·0x187 ····const/4·v3,·0x1
Offset 129, 15 lines modifiedOffset 128, 15 lines modified
129 ····move·v3,·v0128 ····move·v3,·v0
  
130 ····:goto_2129 ····:goto_2
131 ····if-eqz·v3,·:cond_2130 ····if-eqz·v3,·:cond_2
  
132 ····goto·:goto_3131 ····goto·:goto_3
  
133 ····.line·97132 ····.line·96
134 ····:cond_2133 ····:cond_2
135 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mGroupUsages:Ljava/util/List;134 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mGroupUsages:Ljava/util/List;
  
136 ····new-instance·v4,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;135 ····new-instance·v4,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;
  
137 ····invoke-direct·{v4,·v2,·p3,·p4},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;-><init>(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Landroid/app/AppOpsManager$PackageOps;Landroid/app/AppOpsManager$HistoricalPackageOps;)V136 ····invoke-direct·{v4,·v2,·p3,·p4},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;-><init>(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Landroid/app/AppOpsManager$PackageOps;Landroid/app/AppOpsManager$HistoricalPackageOps;)V
  
Offset 151, 26 lines modifiedOffset 150, 26 lines modified
151 ····:cond_3150 ····:cond_3
152 ····return-void151 ····return-void
153 .end·method152 .end·method
  
154 .method·synthetic·constructor·<init>(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;Ljava/util/List;Landroid/app/AppOpsManager$PackageOps;Landroid/app/AppOpsManager$HistoricalPackageOps;Ljava/util/ArrayList;Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$1;)V153 .method·synthetic·constructor·<init>(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;Ljava/util/List;Landroid/app/AppOpsManager$PackageOps;Landroid/app/AppOpsManager$HistoricalPackageOps;Ljava/util/ArrayList;Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$1;)V
155 ····.locals·0154 ····.locals·0
  
156 ····.line·56155 ····.line·55
157 ····invoke-direct/range·{p0·..·p5},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;-><init>(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;Ljava/util/List;Landroid/app/AppOpsManager$PackageOps;Landroid/app/AppOpsManager$HistoricalPackageOps;Ljava/util/ArrayList;)V156 ····invoke-direct/range·{p0·..·p5},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;-><init>(Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;Ljava/util/List;Landroid/app/AppOpsManager$PackageOps;Landroid/app/AppOpsManager$HistoricalPackageOps;Ljava/util/ArrayList;)V
  
158 ····return-void157 ····return-void
159 .end·method158 .end·method
  
  
160 #·virtual·methods159 #·virtual·methods
161 .method·public·getApp()Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;160 .method·public·getApp()Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;
162 ····.locals·0161 ····.locals·0
  
163 ····.line·102162 ····.line·101
164 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mPermissionApp:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;163 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mPermissionApp:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;
  
165 ····return-object·p0164 ····return-object·p0
166 .end·method165 .end·method
  
167 .method·public·getGroupUsages()Ljava/util/List;166 .method·public·getGroupUsages()Ljava/util/List;
168 ····.locals·0167 ····.locals·0
Offset 179, 24 lines modifiedOffset 178, 24 lines modified
179 ············"()",178 ············"()",
180 ············"Ljava/util/List<",179 ············"Ljava/util/List<",
181 ············"Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;",180 ············"Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;",
182 ············">;"181 ············">;"
183 ········}182 ········}
184 ····.end·annotation183 ····.end·annotation
  
185 ····.line·134184 ····.line·133
186 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mGroupUsages:Ljava/util/List;185 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mGroupUsages:Ljava/util/List;
  
187 ····return-object·p0186 ····return-object·p0
188 .end·method187 .end·method
  
189 .method·public·getPackageName()Ljava/lang/String;188 .method·public·getPackageName()Ljava/lang/String;
190 ····.locals·0189 ····.locals·0
  
191 ····.line·106190 ····.line·105
192 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mPermissionApp:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;191 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;->mPermissionApp:Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;
  
193 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->getPackageName()Ljava/lang/String;192 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/legacy/PermissionApps$PermissionApp;->getPackageName()Ljava/lang/String;
  
194 ····move-result-object·p0193 ····move-result-object·p0
  
195 ····return-object·p0194 ····return-object·p0