Offset 1, 31 lines modifiedOffset 1, 22 lines modified
1 .class·public·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;1 .class·public·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"AppPermissionUsage.java"3 .source·"AppPermissionUsage.java"
  
4 #·interfaces 
5 .implements·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$TimelineUsage; 
  
  
6 #·annotations4 #·annotations
7 .annotation·system·Ldalvik/annotation/EnclosingClass;5 .annotation·system·Ldalvik/annotation/EnclosingClass;
8 ····value·=·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;6 ····value·=·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage;
9 .end·annotation7 .end·annotation
  
10 .annotation·system·Ldalvik/annotation/InnerClass;8 .annotation·system·Ldalvik/annotation/InnerClass;
11 ····accessFlags·=·0x99 ····accessFlags·=·0x9
12 ····name·=·"GroupUsage"10 ····name·=·"GroupUsage"
13 .end·annotation11 .end·annotation
  
14 .annotation·system·Ldalvik/annotation/MemberClasses; 
15 ····value·=·{ 
16 ········Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage; 
17 ····} 
18 .end·annotation 
  
  
19 #·instance·fields12 #·instance·fields
20 .field·private·final·mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;13 .field·private·final·mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
  
21 .field·private·final·mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;14 .field·private·final·mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;
  
22 .field·private·final·mLastUsage:Landroid/app/AppOpsManager$PackageOps;15 .field·private·final·mLastUsage:Landroid/app/AppOpsManager$PackageOps;
Offset 38, 37 lines modifiedOffset 29, 27 lines modified
38 ····invoke-static·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->lambda$getLastAccessTime$0(Landroid/app/AppOpsManager$OpEntry;)Ljava/lang/Long;29 ····invoke-static·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->lambda$getLastAccessTime$0(Landroid/app/AppOpsManager$OpEntry;)Ljava/lang/Long;
  
39 ····move-result-object·p030 ····move-result-object·p0
  
40 ····return-object·p031 ····return-object·p0
41 .end·method32 .end·method
  
42 .method·public·static·synthetic·$r8$lambda$N1dYMBE3XSOi4UGfDnoYwTf-EW8(Ljava/util/Map$Entry;)Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage; 
43 ····.locals·0 
  
44 ····invoke-static·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->lambda$getAttributionLabelledGroupUsages$8(Ljava/util/Map$Entry;)Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage; 
  
45 ····move-result-object·p0 
  
46 ····return-object·p0 
47 .end·method 
  
48 .method·public·constructor·<init>(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Landroid/app/AppOpsManager$PackageOps;Landroid/app/AppOpsManager$HistoricalPackageOps;)V33 .method·public·constructor·<init>(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;Landroid/app/AppOpsManager$PackageOps;Landroid/app/AppOpsManager$HistoricalPackageOps;)V
49 ····.locals·034 ····.locals·0
  
50 ····.line·14735 ····.line·146
51 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V36 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
52 ····.line·14837 ····.line·147
53 ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;38 ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
  
54 ····.line·14939 ····.line·148
55 ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;40 ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;
  
56 ····.line·15041 ····.line·149
57 ····iput-object·p3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;42 ····iput-object·p3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;
  
58 ····return-void43 ····return-void
59 .end·method44 .end·method
  
60 .method·private·static·getAllOps(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Ljava/util/Set;45 .method·private·static·getAllOps(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Ljava/util/Set;
61 ····.locals·546 ····.locals·5
Offset 79, 57 lines modifiedOffset 60, 57 lines modified
79 ············")",60 ············")",
80 ············"Ljava/util/Set<",61 ············"Ljava/util/Set<",
81 ············"Ljava/lang/String;",62 ············"Ljava/lang/String;",
82 ············">;"63 ············">;"
83 ········}64 ········}
84 ····.end·annotation65 ····.end·annotation
  
85 ····.line·32466 ····.line·323
86 ····new-instance·v0,·Ljava/util/HashSet;67 ····new-instance·v0,·Ljava/util/HashSet;
  
87 ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V68 ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V
  
88 ····.line·32569 ····.line·324
89 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getPermissions()Ljava/util/ArrayList;70 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getPermissions()Ljava/util/ArrayList;
  
90 ····move-result-object·v171 ····move-result-object·v1
  
91 ····.line·32672 ····.line·325
92 ····invoke-interface·{v1},·Ljava/util/List;->size()I73 ····invoke-interface·{v1},·Ljava/util/List;->size()I
  
93 ····move-result·v274 ····move-result·v2
  
94 ····const/4·v3,·0x075 ····const/4·v3,·0x0
  
95 ····:goto_076 ····:goto_0
96 ····if-ge·v3,·v2,·:cond_177 ····if-ge·v3,·v2,·:cond_1
  
97 ····.line·32878 ····.line·327
98 ····invoke-interface·{v1,·v3},·Ljava/util/List;->get(I)Ljava/lang/Object;79 ····invoke-interface·{v1,·v3},·Ljava/util/List;->get(I)Ljava/lang/Object;
  
99 ····move-result-object·v480 ····move-result-object·v4
  
100 ····check-cast·v4,·Lcom/android/permissioncontroller/permission/model/Permission;81 ····check-cast·v4,·Lcom/android/permissioncontroller/permission/model/Permission;
  
101 ····.line·32982 ····.line·328
102 ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/Permission;->getAppOp()Ljava/lang/String;83 ····invoke-virtual·{v4},·Lcom/android/permissioncontroller/permission/model/Permission;->getAppOp()Ljava/lang/String;
  
103 ····move-result-object·v484 ····move-result-object·v4
  
104 ····if-eqz·v4,·:cond_085 ····if-eqz·v4,·:cond_0
  
105 ····.line·33186 ····.line·330
106 ····invoke-interface·{v0,·v4},·Ljava/util/Set;->add(Ljava/lang/Object;)Z87 ····invoke-interface·{v0,·v4},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
107 ····:cond_088 ····:cond_0
108 ····add-int/lit8·v3,·v3,·0x189 ····add-int/lit8·v3,·v3,·0x1
  
109 ····goto·:goto_090 ····goto·:goto_0
  
110 ····.line·33591 ····.line·334
111 ····:cond_192 ····:cond_1
112 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String;93 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String;
  
113 ····move-result-object·v194 ····move-result-object·v1
  
114 ····const-string·v2,·"android.permission-group.MICROPHONE"95 ····const-string·v2,·"android.permission-group.MICROPHONE"
  
Offset 137, 18 lines modifiedOffset 118, 18 lines modified
  
137 ····move-result·v1118 ····move-result·v1
  
138 ····if-eqz·v1,·:cond_2119 ····if-eqz·v1,·:cond_2
  
139 ····const-string·v1,·"android:phone_call_microphone"120 ····const-string·v1,·"android:phone_call_microphone"
  
140 ····.line·336121 ····.line·335
141 ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z122 ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
142 ····.line·339123 ····.line·338
143 ····:cond_2124 ····:cond_2
144 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String;125 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getName()Ljava/lang/String;
  
145 ····move-result-object·p0126 ····move-result-object·p0
  
146 ····const-string·v1,·"android.permission-group.CAMERA"127 ····const-string·v1,·"android.permission-group.CAMERA"
  
Offset 156, 96 lines modifiedOffset 137, 27 lines modified
  
156 ····move-result·p0137 ····move-result·p0
  
157 ····if-eqz·p0,·:cond_3138 ····if-eqz·p0,·:cond_3
  
158 ····const-string·p0,·"android:phone_call_camera"139 ····const-string·p0,·"android:phone_call_camera"
  
159 ····.line·340140 ····.line·339
160 ····invoke-interface·{v0,·p0},·Ljava/util/Set;->add(Ljava/lang/Object;)Z141 ····invoke-interface·{v0,·p0},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
161 ····:cond_3142 ····:cond_3
162 ····return-object·v0143 ····return-object·v0
163 .end·method144 .end·method
  
164 .method·private·static·getAttributionTagToLabelMap([Landroid/content/pm/Attribution;)Ljava/util/Map; 
165 ····.locals·5 
166 ····.annotation·system·Ldalvik/annotation/Signature; 
167 ········value·=·{ 
168 ············"([", 
169 ············"Landroid/content/pm/Attribution;", 
170 ············")", 
171 ············"Ljava/util/Map<", 
172 ············"Ljava/lang/String;", 
173 ············"Ljava/lang/Integer;", 
174 ············">;" 
175 ········} 
176 ····.end·annotation 
  
177 ····.line·373 
178 ····new-instance·v0,·Ljava/util/HashMap; 
  
179 ····invoke-direct·{v0},·Ljava/util/HashMap;-><init>()V 
  
180 ····.line·374 
181 ····array-length·v1,·p0 
  
182 ····const/4·v2,·0x0 
  
183 ····:goto_0 
184 ····if-ge·v2,·v1,·:cond_0 
  
185 ····aget-object·v3,·p0,·v2 
  
186 ····.line·375 
187 ····invoke-virtual·{v3},·Landroid/content/pm/Attribution;->getTag()Ljava/lang/String; 
  
188 ····move-result-object·v4 
  
189 ····invoke-virtual·{v3},·Landroid/content/pm/Attribution;->getLabel()I 
  
190 ····move-result·v3 
  
191 ····invoke-static·{v3},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; 
  
192 ····move-result-object·v3 
  
193 ····invoke-interface·{v0,·v4,·v3},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 
  
194 ····add-int/lit8·v2,·v2,·0x1 
  
195 ····goto·:goto_0 
  
196 ····:cond_0 
197 ····return-object·v0 
198 .end·method 
  
199 .method·private·static·synthetic·lambda$getAttributionLabelledGroupUsages$8(Ljava/util/Map$Entry;)Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage; 
200 ····.locals·0 
  
201 ····.line·426 
202 ····invoke-interface·{p0},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; 
  
203 ····move-result-object·p0 
  
204 ····check-cast·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder; 
  
205 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder;->build()Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage; 
  
206 ····move-result-object·p0 
  
207 ····return-object·p0 
208 .end·method 
  
209 .method·private·static·synthetic·lambda$getLastAccessTime$0(Landroid/app/AppOpsManager$OpEntry;)Ljava/lang/Long;145 .method·private·static·synthetic·lambda$getLastAccessTime$0(Landroid/app/AppOpsManager$OpEntry;)Ljava/lang/Long;
210 ····.locals·2146 ····.locals·2
  
211 ····const/16·v0,·0xb147 ····const/16·v0,·0xb
  
212 ····.line·158148 ····.line·157
213 ····invoke-virtual·{p0,·v0},·Landroid/app/AppOpsManager$OpEntry;->getLastAccessTime(I)J149 ····invoke-virtual·{p0,·v0},·Landroid/app/AppOpsManager$OpEntry;->getLastAccessTime(I)J
  
214 ····move-result-wide·v0150 ····move-result-wide·v0
  
215 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;151 ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
216 ····move-result-object·p0152 ····move-result-object·p0
Offset 261, 59 lines modifiedOffset 173, 59 lines modified
261 ············"Ljava/util/function/Function<",173 ············"Ljava/util/function/Function<",
262 ············"Landroid/app/AppOpsManager$OpEntry;",174 ············"Landroid/app/AppOpsManager$OpEntry;",
263 ············"Ljava/lang/Long;",175 ············"Ljava/lang/Long;",
264 ············">;)J"176 ············">;)J"
265 ········}177 ········}
266 ····.end·annotation178 ····.end·annotation
  
267 ····.line·309179 ····.line·308
268 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;180 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
  
269 ····invoke-static·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAllOps(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Ljava/util/Set;181 ····invoke-static·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAllOps(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Ljava/util/Set;
  
270 ····move-result-object·v0182 ····move-result-object·v0
  
271 ····.line·310183 ····.line·309
272 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;184 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;
  
273 ····invoke-virtual·{p0},·Landroid/app/AppOpsManager$PackageOps;->getOps()Ljava/util/List;185 ····invoke-virtual·{p0},·Landroid/app/AppOpsManager$PackageOps;->getOps()Ljava/util/List;
  
274 ····move-result-object·p0186 ····move-result-object·p0
  
275 ····.line·311187 ····.line·310
276 ····invoke-interface·{p0},·Ljava/util/List;->size()I188 ····invoke-interface·{p0},·Ljava/util/List;->size()I
  
277 ····move-result·v1189 ····move-result·v1
  
278 ····const-wide/16·v2,·0x0190 ····const-wide/16·v2,·0x0
  
279 ····const/4·v4,·0x0191 ····const/4·v4,·0x0
  
280 ····:goto_0192 ····:goto_0
281 ····if-ge·v4,·v1,·:cond_1193 ····if-ge·v4,·v1,·:cond_1
  
282 ····.line·314194 ····.line·313
283 ····invoke-interface·{p0,·v4},·Ljava/util/List;->get(I)Ljava/lang/Object;195 ····invoke-interface·{p0,·v4},·Ljava/util/List;->get(I)Ljava/lang/Object;
  
284 ····move-result-object·v5196 ····move-result-object·v5
  
285 ····check-cast·v5,·Landroid/app/AppOpsManager$OpEntry;197 ····check-cast·v5,·Landroid/app/AppOpsManager$OpEntry;
  
286 ····.line·315198 ····.line·314
287 ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$OpEntry;->getOpStr()Ljava/lang/String;199 ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$OpEntry;->getOpStr()Ljava/lang/String;
  
288 ····move-result-object·v6200 ····move-result-object·v6
  
289 ····invoke-interface·{v0,·v6},·Ljava/util/Set;->contains(Ljava/lang/Object;)Z201 ····invoke-interface·{v0,·v6},·Ljava/util/Set;->contains(Ljava/lang/Object;)Z
  
290 ····move-result·v6202 ····move-result·v6
  
291 ····if-eqz·v6,·:cond_0203 ····if-eqz·v6,·:cond_0
  
292 ····.line·316204 ····.line·315
293 ····invoke-interface·{p1,·v5},·Ljava/util/function/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;205 ····invoke-interface·{p1,·v5},·Ljava/util/function/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
  
294 ····move-result-object·v5206 ····move-result-object·v5
  
295 ····check-cast·v5,·Ljava/lang/Long;207 ····check-cast·v5,·Ljava/lang/Long;
  
296 ····invoke-virtual·{v5},·Ljava/lang/Long;->longValue()J208 ····invoke-virtual·{v5},·Ljava/lang/Long;->longValue()J
Offset 345, 37 lines modifiedOffset 257, 37 lines modified
345 ············"Ljava/lang/Long;",257 ············"Ljava/lang/Long;",
346 ············"Ljava/lang/Long;",258 ············"Ljava/lang/Long;",
347 ············"Landroid/app/AppOpsManager$OpEventProxyInfo;",259 ············"Landroid/app/AppOpsManager$OpEventProxyInfo;",
348 ············">;>;"260 ············">;>;"
349 ········}261 ········}
350 ····.end·annotation262 ····.end·annotation
  
351 ····.line·249263 ····.line·248
352 ····new-instance·v0,·Ljava/util/ArrayList;264 ····new-instance·v0,·Ljava/util/ArrayList;
  
353 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V265 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V
  
354 ····.line·250266 ····.line·249
355 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->hasDiscreteData()Z267 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->hasDiscreteData()Z
  
356 ····move-result·v1268 ····move-result·v1
  
357 ····if-nez·v1,·:cond_0269 ····if-nez·v1,·:cond_0
  
358 ····return-object·v0270 ····return-object·v0
  
359 ····.line·254271 ····.line·253
360 ····:cond_0272 ····:cond_0
361 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;273 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
  
362 ····invoke-static·{v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAllOps(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Ljava/util/Set;274 ····invoke-static·{v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAllOps(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Ljava/util/Set;
  
363 ····move-result-object·v1275 ····move-result-object·v1
  
364 ····.line·255276 ····.line·254
365 ····invoke-interface·{v1},·Ljava/util/Set;->iterator()Ljava/util/Iterator;277 ····invoke-interface·{v1},·Ljava/util/Set;->iterator()Ljava/util/Iterator;
  
366 ····move-result-object·v1278 ····move-result-object·v1
  
367 ····:cond_1279 ····:cond_1
368 ····:goto_0280 ····:goto_0
369 ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z281 ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z
Offset 386, 402 lines modifiedOffset 298, 125 lines modified
  
386 ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object;298 ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
387 ····move-result-object·v2299 ····move-result-object·v2
  
388 ····check-cast·v2,·Ljava/lang/String;300 ····check-cast·v2,·Ljava/lang/String;
  
389 ····.line·256301 ····.line·255
390 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;302 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;
  
391 ····invoke-virtual·{v3,·v2},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getOp(Ljava/lang/String;)Landroid/app/AppOpsManager$HistoricalOp;303 ····invoke-virtual·{v3,·v2},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getOp(Ljava/lang/String;)Landroid/app/AppOpsManager$HistoricalOp;
  
392 ····move-result-object·v2304 ····move-result-object·v2
  
393 ····if-nez·v2,·:cond_2305 ····if-nez·v2,·:cond_2
  
394 ····goto·:goto_0306 ····goto·:goto_0
  
395 ····.line·261307 ····.line·260
396 ····:cond_2308 ····:cond_2
397 ····invoke-virtual·{v2},·Landroid/app/AppOpsManager$HistoricalOp;->getDiscreteAccessCount()I309 ····invoke-virtual·{v2},·Landroid/app/AppOpsManager$HistoricalOp;->getDiscreteAccessCount()I
  
398 ····move-result·v3310 ····move-result·v3
  
399 ····const/4·v4,·0x0311 ····const/4·v4,·0x0
  
400 ····:goto_1312 ····:goto_1
401 ····if-ge·v4,·v3,·:cond_1313 ····if-ge·v4,·v3,·:cond_1
  
402 ····.line·263314 ····.line·262
403 ····invoke-virtual·{v2,·v4},·Landroid/app/AppOpsManager$HistoricalOp;->getDiscreteAccessAt(I)Landroid/app/AppOpsManager$AttributedOpEntry;315 ····invoke-virtual·{v2,·v4},·Landroid/app/AppOpsManager$HistoricalOp;->getDiscreteAccessAt(I)Landroid/app/AppOpsManager$AttributedOpEntry;
  
404 ····move-result-object·v5316 ····move-result-object·v5
  
405 ····.line·264317 ····.line·263
406 ····new-instance·v6,·Lkotlin/Triple;318 ····new-instance·v6,·Lkotlin/Triple;
  
407 ····const/16·v7,·0xb319 ····const/16·v7,·0xb
  
408 ····.line·265320 ····.line·264
409 ····invoke-virtual·{v5,·v7},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastAccessTime(I)J321 ····invoke-virtual·{v5,·v7},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastAccessTime(I)J
  
410 ····move-result-wide·v8322 ····move-result-wide·v8
  
411 ····invoke-static·{v8,·v9},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;323 ····invoke-static·{v8,·v9},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
412 ····move-result-object·v8324 ····move-result-object·v8
  
413 ····.line·266325 ····.line·265
414 ····invoke-virtual·{v5,·v7},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastDuration(I)J326 ····invoke-virtual·{v5,·v7},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastDuration(I)J
  
415 ····move-result-wide·v9327 ····move-result-wide·v9
  
416 ····invoke-static·{v9,·v10},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;328 ····invoke-static·{v9,·v10},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
  
417 ····move-result-object·v9329 ····move-result-object·v9
  
418 ····.line·267330 ····.line·266
419 ····invoke-virtual·{v5,·v7},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastProxyInfo(I)Landroid/app/AppOpsManager$OpEventProxyInfo;331 ····invoke-virtual·{v5,·v7},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastProxyInfo(I)Landroid/app/AppOpsManager$OpEventProxyInfo;
  
420 ····move-result-object·v5332 ····move-result-object·v5
  
421 ····invoke-direct·{v6,·v8,·v9,·v5},·Lkotlin/Triple;-><init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V333 ····invoke-direct·{v6,·v8,·v9,·v5},·Lkotlin/Triple;-><init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
  
422 ····.line·264334 ····.line·263
423 ····invoke-interface·{v0,·v6},·Ljava/util/List;->add(Ljava/lang/Object;)Z335 ····invoke-interface·{v0,·v6},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
424 ····add-int/lit8·v4,·v4,·0x1336 ····add-int/lit8·v4,·v4,·0x1
  
425 ····goto·:goto_1337 ····goto·:goto_1
  
426 ····:cond_3338 ····:cond_3
427 ····return-object·v0339 ····return-object·v0
428 .end·method340 .end·method
  
429 .method·public·getAttributionLabelledGroupUsages()Ljava/util/List; 
430 ····.locals·18 
431 ····.annotation·system·Ldalvik/annotation/Signature; 
432 ········value·=·{ 
433 ············"()", 
434 ············"Ljava/util/List<", 
435 ············"Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage;", 
436 ············">;" 
437 ········} 
438 ····.end·annotation 
  
439 ····move-object/from16·v0,·p0 
  
440 ····.line·383 
441 ····iget-object·v1,·v0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps; 
  
442 ····if-eqz·v1,·:cond_7 
  
443 ····invoke-virtual·{v1},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getAttributedOpsCount()I 
  
444 ····move-result·v1 
  
445 ····if-nez·v1,·:cond_0 
  
446 ····goto/16·:goto_3 
  
447 ····.line·387 
448 ····:cond_0 
449 ····invoke-virtual/range·{p0·..·p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; 
  
450 ····move-result-object·v1 
  
451 ····invoke-virtual·{v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;->getApp()Landroid/content/pm/PackageInfo; 
  
452 ····move-result-object·v1 
  
453 ····iget-object·v1,·v1,·Landroid/content/pm/PackageInfo;->attributions:[Landroid/content/pm/Attribution; 
  
454 ····invoke-static·{v1},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAttributionTagToLabelMap([Landroid/content/pm/Attribution;)Ljava/util/Map; 
  
455 ····move-result-object·v1 
  
456 ····.line·389 
457 ····iget-object·v2,·v0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; 
  
458 ····invoke-static·{v2},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAllOps(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Ljava/util/Set; 
  
459 ····move-result-object·v2 
  
460 ····.line·392 
461 ····new-instance·v3,·Ljava/util/HashMap; 
  
462 ····invoke-direct·{v3},·Ljava/util/HashMap;-><init>()V 
  
463 ····const/4·v4,·0x0 
  
464 ····move·v5,·v4 
  
465 ····.line·395 
466 ····:goto_0 
467 ····iget-object·v6,·v0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps; 
  
468 ····invoke-virtual·{v6},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getAttributedOpsCount()I 
  
469 ····move-result·v6 
  
470 ····if-ge·v5,·v6,·:cond_6 
  
471 ····.line·396 
472 ····iget-object·v6,·v0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps; 
  
473 ····invoke-virtual·{v6,·v5},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getAttributedOpsAt(I)Landroid/app/AppOpsManager$AttributedHistoricalOps; 
  
474 ····move-result-object·v6 
  
475 ····.line·397 
476 ····invoke-virtual·{v6},·Landroid/app/AppOpsManager$AttributedHistoricalOps;->getTag()Ljava/lang/String; 
  
477 ····move-result-object·v7 
  
478 ····.line·399 
479 ····invoke-interface·{v2},·Ljava/util/Set;->iterator()Ljava/util/Iterator; 
  
480 ····move-result-object·v8 
  
481 ····:goto_1 
482 ····invoke-interface·{v8},·Ljava/util/Iterator;->hasNext()Z 
  
483 ····move-result·v9 
  
484 ····if-eqz·v9,·:cond_5 
  
485 ····invoke-interface·{v8},·Ljava/util/Iterator;->next()Ljava/lang/Object; 
  
486 ····move-result-object·v9 
  
487 ····check-cast·v9,·Ljava/lang/String; 
  
488 ····.line·400 
489 ····invoke-virtual·{v6,·v9},·Landroid/app/AppOpsManager$AttributedHistoricalOps;->getOp(Ljava/lang/String;)Landroid/app/AppOpsManager$HistoricalOp; 
  
490 ····move-result-object·v9 
  
491 ····if-nez·v9,·:cond_1 
  
492 ····goto·:goto_1 
  
493 ····.line·405 
494 ····:cond_1 
495 ····invoke-virtual·{v9},·Landroid/app/AppOpsManager$HistoricalOp;->getDiscreteAccessCount()I 
  
496 ····move-result·v10 
  
497 ····move·v11,·v4 
  
498 ····:goto_2 
499 ····if-ge·v11,·v10,·:cond_4 
  
500 ····.line·407 
501 ····invoke-virtual·{v9,·v11},·Landroid/app/AppOpsManager$HistoricalOp;->getDiscreteAccessAt(I)Landroid/app/AppOpsManager$AttributedOpEntry; 
  
502 ····move-result-object·v12 
  
503 ····.line·408 
504 ····invoke-virtual·{v6},·Landroid/app/AppOpsManager$AttributedHistoricalOps;->getTag()Ljava/lang/String; 
  
505 ····move-result-object·v13 
  
506 ····invoke-interface·{v1,·v13},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; 
  
507 ····move-result-object·v13 
  
508 ····check-cast·v13,·Ljava/lang/Integer; 
  
509 ····if-nez·v13,·:cond_2 
  
510 ····.line·410 
511 ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; 
  
512 ····move-result-object·v13 
  
513 ····.line·412 
514 ····:cond_2 
515 ····invoke-interface·{v3,·v13},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z 
  
516 ····move-result·v14 
  
517 ····if-nez·v14,·:cond_3 
  
518 ····.line·413 
519 ····new-instance·v14,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder; 
  
520 ····.line·414 
521 ····invoke-virtual·{v13},·Ljava/lang/Integer;->intValue()I 
  
522 ····move-result·v15 
  
523 ····invoke-virtual/range·{p0·..·p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup; 
  
524 ····move-result-object·v4 
  
525 ····invoke-direct·{v14,·v15,·v4},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder;-><init>(ILcom/android/permissioncontroller/permission/model/AppPermissionGroup;)V 
  
526 ····.line·413 
527 ····invoke-interface·{v3,·v13,·v14},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 
  
528 ····.line·416 
529 ····:cond_3 
530 ····invoke-interface·{v3,·v13},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; 
  
531 ····move-result-object·v4 
  
532 ····check-cast·v4,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder; 
  
533 ····invoke-virtual·{v4,·v7},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder;->addAttributionTag(Ljava/lang/String;)Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder; 
  
534 ····.line·417 
535 ····invoke-interface·{v3,·v13},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; 
  
536 ····move-result-object·v4 
  
537 ····check-cast·v4,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder; 
  
538 ····new-instance·v13,·Lkotlin/Triple; 
  
539 ····const/16·v14,·0xb 
  
540 ····.line·418 
541 ····invoke-virtual·{v12,·v14},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastAccessTime(I)J 
  
542 ····move-result-wide·v16 
  
543 ····invoke-static/range·{v16·..·v17},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; 
  
544 ····move-result-object·v15 
  
545 ····.line·419 
546 ····invoke-virtual·{v12,·v14},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastDuration(I)J 
  
547 ····move-result-wide·v16 
  
548 ····invoke-static/range·{v16·..·v17},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; 
  
549 ····move-result-object·v0 
  
550 ····.line·420 
551 ····invoke-virtual·{v12,·v14},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastProxyInfo(I)Landroid/app/AppOpsManager$OpEventProxyInfo; 
  
552 ····move-result-object·v12 
  
553 ····invoke-direct·{v13,·v15,·v0,·v12},·Lkotlin/Triple;-><init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V 
  
554 ····.line·417 
555 ····invoke-virtual·{v4,·v13},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder;->addDiscreteAccessTime(Lkotlin/Triple;)Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$AttributionLabelledGroupUsage$Builder; 
  
556 ····add-int/lit8·v11,·v11,·0x1 
  
557 ····const/4·v4,·0x0 
  
558 ····move-object/from16·v0,·p0 
  
559 ····goto·:goto_2 
  
560 ····:cond_4 
561 ····move-object/from16·v0,·p0 
  
562 ····goto·:goto_1 
  
563 ····:cond_5 
564 ····add-int/lit8·v5,·v5,·0x1 
  
565 ····const/4·v4,·0x0 
  
566 ····move-object/from16·v0,·p0 
  
567 ····goto/16·:goto_0 
  
568 ····.line·425 
569 ····:cond_6 
570 ····invoke-interface·{v3},·Ljava/util/Map;->entrySet()Ljava/util/Set; 
  
571 ····move-result-object·v0 
  
572 ····invoke-interface·{v0},·Ljava/util/Set;->stream()Ljava/util/stream/Stream; 
  
573 ····move-result-object·v0 
  
574 ····sget-object·v1,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$$ExternalSyntheticLambda1;->INSTANCE:Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$$ExternalSyntheticLambda1; 
  
575 ····.line·426 
576 ····invoke-interface·{v0,·v1},·Ljava/util/stream/Stream;->map(Ljava/util/function/Function;)Ljava/util/stream/Stream; 
  
577 ····move-result-object·v0 
  
578 ····.line·427 
579 ····invoke-static·{},·Ljava/util/stream/Collectors;->toList()Ljava/util/stream/Collector; 
  
580 ····move-result-object·v1 
  
581 ····invoke-interface·{v0,·v1},·Ljava/util/stream/Stream;->collect(Ljava/util/stream/Collector;)Ljava/lang/Object; 
  
582 ····move-result-object·v0 
  
583 ····check-cast·v0,·Ljava/util/List; 
  
584 ····return-object·v0 
  
585 ····.line·384 
586 ····:cond_7 
587 ····:goto_3 
588 ····new-instance·v0,·Ljava/util/ArrayList; 
  
589 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V 
  
590 ····return-object·v0 
591 .end·method 
  
592 .method·public·getAttributionTags()Ljava/util/ArrayList;341 .method·public·getAttributionTags()Ljava/util/ArrayList;
593 ····.locals·4342 ····.locals·4
594 ····.annotation·system·Ldalvik/annotation/Signature;343 ····.annotation·system·Ldalvik/annotation/Signature;
595 ········value·=·{344 ········value·=·{
596 ············"()",345 ············"()",
597 ············"Ljava/util/ArrayList<",346 ············"Ljava/util/ArrayList<",
598 ············"Ljava/lang/String;",347 ············"Ljava/lang/String;",
599 ············">;"348 ············">;"
600 ········}349 ········}
601 ····.end·annotation350 ····.end·annotation
  
602 ····.line·358351 ····.line·357
603 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;352 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;
  
604 ····if-eqz·v0,·:cond_2353 ····if-eqz·v0,·:cond_2
  
605 ····invoke-virtual·{v0},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getAttributedOpsCount()I354 ····invoke-virtual·{v0},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getAttributedOpsCount()I
  
606 ····move-result·v0355 ····move-result·v0
  
607 ····if-nez·v0,·:cond_0356 ····if-nez·v0,·:cond_0
  
608 ····goto·:goto_1357 ····goto·:goto_1
  
609 ····.line·361358 ····.line·360
610 ····:cond_0359 ····:cond_0
611 ····new-instance·v0,·Ljava/util/ArrayList;360 ····new-instance·v0,·Ljava/util/ArrayList;
  
612 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V361 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V
  
613 ····.line·362362 ····.line·361
614 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;363 ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;
  
615 ····invoke-virtual·{v1},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getAttributedOpsCount()I364 ····invoke-virtual·{v1},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getAttributedOpsCount()I
  
616 ····move-result·v1365 ····move-result·v1
  
617 ····const/4·v2,·0x0366 ····const/4·v2,·0x0
  
618 ····:goto_0367 ····:goto_0
619 ····if-ge·v2,·v1,·:cond_1368 ····if-ge·v2,·v1,·:cond_1
  
620 ····.line·364369 ····.line·363
621 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;370 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;
  
622 ····invoke-virtual·{v3,·v2},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getAttributedOpsAt(I)Landroid/app/AppOpsManager$AttributedHistoricalOps;371 ····invoke-virtual·{v3,·v2},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getAttributedOpsAt(I)Landroid/app/AppOpsManager$AttributedHistoricalOps;
  
623 ····move-result-object·v3372 ····move-result-object·v3
  
624 ····invoke-virtual·{v3},·Landroid/app/AppOpsManager$AttributedHistoricalOps;->getTag()Ljava/lang/String;373 ····invoke-virtual·{v3},·Landroid/app/AppOpsManager$AttributedHistoricalOps;->getTag()Ljava/lang/String;
Offset 800, 78 lines modifiedOffset 435, 67 lines modified
800 ····:cond_2435 ····:cond_2
801 ····:goto_1436 ····:goto_1
802 ····const/4·p0,·0x0437 ····const/4·p0,·0x0
  
803 ····return-object·p0438 ····return-object·p0
804 .end·method439 .end·method
  
805 .method·public·bridge·synthetic·getAttributionTags()Ljava/util/List; 
806 ····.locals·0 
  
807 ····.line·141 
808 ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAttributionTags()Ljava/util/ArrayList; 
  
809 ····move-result-object·p0 
  
810 ····return-object·p0 
811 .end·method 
  
812 .method·public·getGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;440 .method·public·getGroup()Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
813 ····.locals·0441 ····.locals·0
  
814 ····.line·348442 ····.line·347
815 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;443 ····iget-object·p0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
  
816 ····return-object·p0444 ····return-object·p0
817 .end·method445 .end·method
  
818 .method·public·getLastAccessTime()J446 .method·public·getLastAccessTime()J
819 ····.locals·2447 ····.locals·2
  
820 ····.line·154448 ····.line·153
821 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;449 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mLastUsage:Landroid/app/AppOpsManager$PackageOps;
  
822 ····if-nez·v0,·:cond_0450 ····if-nez·v0,·:cond_0
  
823 ····const-wide/16·v0,·0x0451 ····const-wide/16·v0,·0x0
  
824 ····return-wide·v0452 ····return-wide·v0
  
825 ····.line·158453 ····.line·157
826 ····:cond_0454 ····:cond_0
827 ····sget-object·v0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$$ExternalSyntheticLambda0;->INSTANCE:Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$$ExternalSyntheticLambda0;455 ····sget-object·v0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$$ExternalSyntheticLambda0;->INSTANCE:Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage$$ExternalSyntheticLambda0;
  
828 ····invoke-direct·{p0,·v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->lastAccessAggregate(Ljava/util/function/Function;)J456 ····invoke-direct·{p0,·v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->lastAccessAggregate(Ljava/util/function/Function;)J
  
829 ····move-result-wide·v0457 ····move-result-wide·v0
  
830 ····return-wide·v0458 ····return-wide·v0
831 .end·method459 .end·method
  
832 .method·public·hasDiscreteData()Z460 .method·public·hasDiscreteData()Z
833 ····.locals·4461 ····.locals·4
  
834 ····.line·233462 ····.line·232
835 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;463 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;
  
836 ····const/4·v1,·0x0464 ····const/4·v1,·0x0
  
837 ····if-nez·v0,·:cond_0465 ····if-nez·v0,·:cond_0
  
838 ····return·v1466 ····return·v1
  
839 ····.line·237467 ····.line·236
840 ····:cond_0468 ····:cond_0
841 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;469 ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mGroup:Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;
  
842 ····invoke-static·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAllOps(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Ljava/util/Set;470 ····invoke-static·{v0},·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->getAllOps(Lcom/android/permissioncontroller/permission/model/AppPermissionGroup;)Ljava/util/Set;
  
843 ····move-result-object·v0471 ····move-result-object·v0
  
844 ····.line·238472 ····.line·237
845 ····invoke-interface·{v0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;473 ····invoke-interface·{v0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;
  
846 ····move-result-object·v0474 ····move-result-object·v0
  
847 ····:cond_1475 ····:cond_1
848 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z476 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z
  
Offset 881, 24 lines modifiedOffset 505, 24 lines modified
  
881 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;505 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
882 ····move-result-object·v2506 ····move-result-object·v2
  
883 ····check-cast·v2,·Ljava/lang/String;507 ····check-cast·v2,·Ljava/lang/String;
  
884 ····.line·239508 ····.line·238
885 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;509 ····iget-object·v3,·p0,·Lcom/android/permissioncontroller/permission/model/AppPermissionUsage$GroupUsage;->mHistoricalUsage:Landroid/app/AppOpsManager$HistoricalPackageOps;
  
886 ····invoke-virtual·{v3,·v2},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getOp(Ljava/lang/String;)Landroid/app/AppOpsManager$HistoricalOp;510 ····invoke-virtual·{v3,·v2},·Landroid/app/AppOpsManager$HistoricalPackageOps;->getOp(Ljava/lang/String;)Landroid/app/AppOpsManager$HistoricalOp;
  
887 ····move-result-object·v2511 ····move-result-object·v2
  
888 ····if-eqz·v2,·:cond_1512 ····if-eqz·v2,·:cond_1
  
889 ····.line·240513 ····.line·239
890 ····invoke-virtual·{v2},·Landroid/app/AppOpsManager$HistoricalOp;->getDiscreteAccessCount()I514 ····invoke-virtual·{v2},·Landroid/app/AppOpsManager$HistoricalOp;->getDiscreteAccessCount()I
  
891 ····move-result·v2515 ····move-result·v2
  
892 ····if-lez·v2,·:cond_1516 ····if-lez·v2,·:cond_1
  
893 ····const/4·p0,·0x1517 ····const/4·p0,·0x1