| | | |
Offset 1, 14 lines modified | Offset 1, 11 lines modified |
1 | .class·public·final·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData; | 1 | .class·public·final·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData; |
2 | .super·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData; | 2 | .super·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData; |
3 | .source·"OpUsageLiveData.kt" | 3 | .source·"OpUsageLiveData.kt" |
| |
4 | #·interfaces | |
5 | .implements·Landroid/app/AppOpsManager$OnOpActiveChangedListener; | |
| |
| |
6 | #·annotations | 4 | #·annotations |
7 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
8 | ····value·=·{ | 6 | ····value·=·{ |
9 | ········Lcom/android/permissioncontroller/permission/data/OpUsageLiveData$Companion; | 7 | ········Lcom/android/permissioncontroller/permission/data/OpUsageLiveData$Companion; |
10 | ····} | 8 | ····} |
11 | .end·annotation | 9 | .end·annotation |
Offset 16, 32 lines modified | Offset 13, 34 lines modified |
16 | .annotation·system·Ldalvik/annotation/Signature; | 13 | .annotation·system·Ldalvik/annotation/Signature; |
17 | ····value·=·{ | 14 | ····value·=·{ |
18 | ········"Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData<", | 15 | ········"Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData<", |
19 | ········"Ljava/util/Map<", | 16 | ········"Ljava/util/Map<", |
20 | ········"Ljava/lang/String;", | 17 | ········"Ljava/lang/String;", |
21 | ········"Ljava/util/List<", | 18 | ········"Ljava/util/List<", |
22 | ········"Lcom/android/permissioncontroller/permission/data/OpAccess;", | 19 | ········"Lcom/android/permissioncontroller/permission/data/OpAccess;", |
23 | ········">;>;>;", | 20 | ········">;>;>;" |
24 | ········"Landroid/app/AppOpsManager$OnOpActiveChangedListener;" | |
25 | ····} | 21 | ····} |
26 | .end·annotation | 22 | .end·annotation |
| |
27 | .annotation·system·Ldalvik/annotation/SourceDebugExtension; | 23 | .annotation·system·Ldalvik/annotation/SourceDebugExtension; |
28 | ····value·=·"SMAP\nOpUsageLiveData.kt\nKotlin\n*S·Kotlin\n*F\n+·1·OpUsageLiveData.kt\ncom/android/permissioncontroller/permission/data/OpUsageLiveData\n+·2·ArraysJVM.kt\nkotlin/collections/ArraysKt__ArraysJVMKt\n+·3·Maps.kt\nkotlin/collections/MapsKt__MapsKt\n*L\n1#1,194:1\n37#2,2:195\n37#2,2:204\n307#3,7:197\n*E\n*S·KotlinDebug\n*F\n+·1·OpUsageLiveData.kt\ncom/android/permissioncontroller/permission/data/OpUsageLiveData\n*L\n57#1,2:195\n129#1,2:204\n83#1,7:197\n*E\n" | 24 | ····value·=·"SMAP\nOpUsageLiveData.kt\nKotlin\n*S·Kotlin\n*F\n+·1·OpUsageLiveData.kt\ncom/android/permissioncontroller/permission/data/OpUsageLiveData\n+·2·ArraysJVM.kt\nkotlin/collections/ArraysKt__ArraysJVMKt\n+·3·Maps.kt\nkotlin/collections/MapsKt__MapsKt\n*L\n1#1,114:1\n37#2,2:115\n307#3,7:117\n*E\n*S·KotlinDebug\n*F\n+·1·OpUsageLiveData.kt\ncom/android/permissioncontroller/permission/data/OpUsageLiveData\n*L\n48#1,2:115\n68#1,7:117\n*E\n" |
29 | .end·annotation | 25 | .end·annotation |
| |
| |
30 | #·static·fields | 26 | #·static·fields |
31 | .field·public·static·final·Companion:Lcom/android/permissioncontroller/permission/data/OpUsageLiveData$Companion; | 27 | .field·public·static·final·Companion:Lcom/android/permissioncontroller/permission/data/OpUsageLiveData$Companion; |
| |
| |
32 | #·instance·fields | 28 | #·instance·fields |
33 | .field·private·final·app:Landroid/app/Application; | 29 | .field·private·final·app:Landroid/app/Application; |
| |
34 | .field·private·final·appOpsManager:Landroid/app/AppOpsManager; | 30 | .field·private·final·appOpsManager:Landroid/app/AppOpsManager; |
| 31 | ····.annotation·build·Lorg/jetbrains/annotations/NotNull; |
| 32 | ····.end·annotation |
| 33 | .end·field |
| |
35 | .field·private·final·opNames:Ljava/util/List; | 34 | .field·private·final·opNames:Ljava/util/List; |
36 | ····.annotation·system·Ldalvik/annotation/Signature; | 35 | ····.annotation·system·Ldalvik/annotation/Signature; |
37 | ········value·=·{ | 36 | ········value·=·{ |
38 | ············"Ljava/util/List<", | 37 | ············"Ljava/util/List<", |
39 | ············"Ljava/lang/String;", | 38 | ············"Ljava/lang/String;", |
40 | ············">;" | 39 | ············">;" |
Offset 91, 24 lines modified | Offset 90, 24 lines modified |
| |
91 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 90 | ····invoke-static·{p1,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
92 | ····const-string·v0,·"opNames" | 91 | ····const-string·v0,·"opNames" |
| |
93 | ····invoke-static·{p2,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 92 | ····invoke-static·{p2,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
94 | ····.line·48 | 93 | ····.line·41 |
95 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;-><init>()V | 94 | ····invoke-direct·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;-><init>()V |
| |
96 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->app:Landroid/app/Application; | 95 | ····iput-object·p1,·p0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->app:Landroid/app/Application; |
| |
97 | ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->opNames:Ljava/util/List; | 96 | ····iput-object·p2,·p0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->opNames:Ljava/util/List; |
| |
98 | ····iput-wide·p3,·p0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->usageDurationMs:J | 97 | ····iput-wide·p3,·p0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->usageDurationMs:J |
| |
99 | ····.line·50 | 98 | ····.line·42 |
100 | ····const-class·p2,·Landroid/app/AppOpsManager; | 99 | ····const-class·p2,·Landroid/app/AppOpsManager; |
| |
101 | ····invoke-virtual·{p1,·p2},·Landroid/app/Application;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; | 100 | ····invoke-virtual·{p1,·p2},·Landroid/app/Application;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; |
| |
102 | ····move-result-object·p1 | 101 | ····move-result-object·p1 |
| |
103 | ····if-eqz·p1,·:cond_0 | 102 | ····if-eqz·p1,·:cond_0 |
Offset 126, 15 lines modified | Offset 125, 15 lines modified |
| |
126 | ····throw·p1 | 125 | ····throw·p1 |
127 | .end·method | 126 | .end·method |
| |
| |
128 | #·virtual·methods | 127 | #·virtual·methods |
129 | .method·public·loadDataAndPostValue(Lkotlinx/coroutines/Job;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | 128 | .method·public·loadDataAndPostValue(Lkotlinx/coroutines/Job;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; |
130 | ····.locals·43 | 129 | ····.locals·24 |
131 | ····.param·p1····#·Lkotlinx/coroutines/Job; | 130 | ····.param·p1····#·Lkotlinx/coroutines/Job; |
132 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | 131 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; |
133 | ········.end·annotation | 132 | ········.end·annotation |
134 | ····.end·param | 133 | ····.end·param |
135 | ····.param·p2····#·Lkotlin/coroutines/Continuation; | 134 | ····.param·p2····#·Lkotlin/coroutines/Continuation; |
136 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | 135 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; |
137 | ········.end·annotation | 136 | ········.end·annotation |
Offset 152, 744 lines modified | Offset 151, 419 lines modified |
152 | ····.end·annotation | 151 | ····.end·annotation |
| |
153 | ····.annotation·build·Lorg/jetbrains/annotations/Nullable; | 152 | ····.annotation·build·Lorg/jetbrains/annotations/Nullable; |
154 | ····.end·annotation | 153 | ····.end·annotation |
| |
155 | ····move-object/from16·v0,·p0 | 154 | ····move-object/from16·v0,·p0 |
| |
156 | ····.line·53 | 155 | ····.line·45 |
157 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 156 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
| |
158 | ····move-result-wide·v1 | 157 | ····move-result-wide·v1 |
| |
159 | ····.line·54 | 158 | ····.line·46 |
160 | ····new-instance·v3,·Ljava/util/LinkedHashMap; | 159 | ····new-instance·v3,·Ljava/util/LinkedHashMap; |
| |
161 | ····invoke-direct·{v3},·Ljava/util/LinkedHashMap;-><init>()V | 160 | ····invoke-direct·{v3},·Ljava/util/LinkedHashMap;-><init>()V |
| |
162 | ····.line·57 | 161 | ····.line·48 |
163 | ····:try_start_0 | |
164 | ····iget-object·v4,·v0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->appOpsManager:Landroid/app/AppOpsManager; | 162 | ····iget-object·v4,·v0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->appOpsManager:Landroid/app/AppOpsManager; |
| |
165 | ····iget-object·v5,·v0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->opNames:Ljava/util/List; | 163 | ····iget-object·v5,·v0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->opNames:Ljava/util/List; |
| |
166 | ····const/4·v6,·0x0 | 164 | ····const/4·v6,·0x0 |
| |
167 | ····new-array·v6,·v6,·[Ljava/lang/String; | 165 | ····new-array·v6,·v6,·[Ljava/lang/String; |
| |
168 | ····.line·38 | 166 | ····.line·38 |
169 | ····invoke-interface·{v5,·v6},·Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; | 167 | ····invoke-interface·{v5,·v6},·Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; |
| |
170 | ····move-result-object·v5 | 168 | ····move-result-object·v5 |
| |
171 | ····if-eqz·v5,·:cond_0 | 169 | ····if-eqz·v5,·:cond_8 |
| |
172 | ····check-cast·v5,·[Ljava/lang/String; | 170 | ····check-cast·v5,·[Ljava/lang/String; |
| |
173 | ····.line·57 | 171 | ····.line·48 |
174 | ····invoke-virtual·{v4,·v5},·Landroid/app/AppOpsManager;->getPackagesForOps([Ljava/lang/String;)Ljava/util/List; | 172 | ····invoke-virtual·{v4,·v5},·Landroid/app/AppOpsManager;->getPackagesForOps([Ljava/lang/String;)Ljava/util/List; |
| |
175 | ····move-result-object·v4 | 173 | ····move-result-object·v4 |
| |
| 174 | ····const-string·v5,·"appOpsManager.getPackage\u2026s(opNames.toTypedArray())" |
176 | ····goto·:goto_0 | |
| |
177 | ····.line·38 | |
178 | ····:cond_0 | |
179 | ····new-instance·v4,·Lkotlin/TypeCastException; | |
| |
180 | ····const-string·v5,·"null·cannot·be·cast·to·non-null·type·kotlin.Array<T>" | |
| |
181 | ····invoke-direct·{v4,·v5},·Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V | |
| |
| 175 | ····invoke-static·{v4,·v5},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
182 | ····throw·v4 | |
183 | ····:try_end_0 | |
184 | ····.catch·Ljava/lang/NullPointerException;·{:try_start_0·..·:try_end_0}·:catch_0 | |
| |
185 | ····.line·60 | 176 | ····.line·49 |
186 | ····:catch_0 | |
187 | ····invoke-static·{},·Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List; | |
| |
188 | ····move-result-object·v4 | |
| |
189 | ····.line·62 | |
190 | ····:goto_0 | |
191 | ····invoke-interface·{v4},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 177 | ····invoke-interface·{v4},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
192 | ····move-result-object·v4 | 178 | ····move-result-object·v4 |
| |
193 | ····:goto_1 | 179 | ····:goto_0 |
194 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z | 180 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z |
| |
195 | ····move-result·v5 | 181 | ····move-result·v5 |
| |
196 | ····if-eqz·v5,·:cond_c | 182 | ····if-eqz·v5,·:cond_7 |
| |
197 | ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 183 | ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
198 | ····move-result-object·v5 | 184 | ····move-result-object·v5 |
| |
199 | ····check-cast·v5,·Landroid/app/AppOpsManager$PackageOps; | 185 | ····check-cast·v5,·Landroid/app/AppOpsManager$PackageOps; |
| |
| 186 | ····const-string·v6,·"packageOp" |
| |
200 | ····.line·63 | 187 | ····.line·50 |
| 188 | ····invoke-static·{v5,·v6},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
201 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getOps()Ljava/util/List; | 189 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getOps()Ljava/util/List; |
| |
202 | ····move-result-object·v6 | 190 | ····move-result-object·v6 |
| |
203 | ····invoke-interface·{v6},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 191 | ····invoke-interface·{v6},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
204 | ····move-result-object·v6 | 192 | ····move-result-object·v6 |
| |
205 | ····:goto_2 | 193 | ····:goto_1 |
206 | ····invoke-interface·{v6},·Ljava/util/Iterator;->hasNext()Z | 194 | ····invoke-interface·{v6},·Ljava/util/Iterator;->hasNext()Z |
| |
207 | ····move-result·v7 | 195 | ····move-result·v7 |
| |
208 | ····if-eqz·v7,·:cond_b | 196 | ····if-eqz·v7,·:cond_6 |
| |
209 | ····invoke-interface·{v6},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 197 | ····invoke-interface·{v6},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
210 | ····move-result-object·v7 | 198 | ····move-result-object·v7 |
| |
211 | ····check-cast·v7,·Landroid/app/AppOpsManager$OpEntry; | 199 | ····check-cast·v7,·Landroid/app/AppOpsManager$OpEntry; |
| |
212 | ····const-string·v8,·"opEntry" | |
| |
213 | ····.line·64 | 200 | ····.line·51 |
| 201 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getUid()I |
214 | ····invoke-static·{v7,·v8},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
215 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->getAttributedOpEntries()Ljava/util/Map; | |
| |
216 | ····move-result-object·v8 | |
| |
217 | ····const-string·v9,·"opEntry.attributedOpEntries" | |
| |
218 | ····invoke-static·{v8,·v9},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
219 | ····invoke-interface·{v8},·Ljava/util/Map;->entrySet()Ljava/util/Set; | |
| |
220 | ····move-result-object·v8 | 202 | ····move-result·v8 |
| |
221 | ····invoke-interface·{v8},·Ljava/util/Set;->iterator()Ljava/util/Iterator; | 203 | ····invoke-static·{v8},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle; |
| |
222 | ····move-result-object·v8 | 204 | ····move-result-object·v8 |
| |
| 205 | ····const/16·v9,·0xd |
223 | ····:goto_3 | |
224 | ····invoke-interface·{v8},·Ljava/util/Iterator;->hasNext()Z | |
| |
225 | ····move-result·v9 | |
| |
226 | ····if-eqz·v9,·:cond_a | |
| |
227 | ····invoke-interface·{v8},·Ljava/util/Iterator;->next()Ljava/lang/Object; | |
| |
228 | ····move-result-object·v9 | |
| |
229 | ····check-cast·v9,·Ljava/util/Map$Entry; | |
| |
230 | ····invoke-interface·{v9},·Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; | |
| |
231 | ····move-result-object·v10 | |
| |
232 | ····check-cast·v10,·Ljava/lang/String; | |
| |
233 | ····invoke-interface·{v9},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; | |
| |
234 | ····move-result-object·v9 | |
| |
235 | ····check-cast·v9,·Landroid/app/AppOpsManager$AttributedOpEntry; | |
| |
236 | ····.line·65 | 206 | ····.line·52 |
237 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getUid()I | 207 | ····invoke-virtual·{v7,·v9},·Landroid/app/AppOpsManager$OpEntry;->getLastAccessTime(I)J |
| |
238 | ····move-result·v11 | |
| |
239 | ····invoke-static·{v11},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle; | 208 | ····move-result-wide·v10 |
| |
240 | ····move-result-object·v14 | 209 | ····const-wide/16·v12,·-0x1 |
| |
241 | ····const/16·v11,·0xd | 210 | ····cmp-long·v14,·v10,·v12 |
| |
| 211 | ····if-nez·v14,·:cond_0 |
242 | ····.line·66 | |
243 | ····invoke-virtual·{v9,·v11},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastAccessTime(I)J | |
| |
244 | ····move-result-wide·v12 | 212 | ····move-object/from16·v19,·v3 |
| |
245 | ····const-wide/16·v15,·-0x1 | 213 | ····move-object/from16·v16,·v4 |
| |
246 | ····cmp-long·v17,·v12,·v15 | 214 | ····move-object/from16·v17,·v6 |
| |
247 | ····if-nez·v17,·:cond_1 | 215 | ····goto/16·:goto_5 |
| |
248 | ····move-object/from16·v26,·v3 | 216 | ····.line·59 |
| 217 | ····:cond_0 |
| 218 | ····invoke-virtual·{v7,·v9},·Landroid/app/AppOpsManager$OpEntry;->getLastDuration(I)J |
| |
249 | ····move-object/from16·p2,·v4 | 219 | ····move-result-wide·v14 |
| |
250 | ····move-object/from16·v18,·v6 | 220 | ····cmp-long·v9,·v14,·v12 |
| |
251 | ····move-object/from16·v21,·v8 | 221 | ····if-nez·v9,·:cond_1 |
| |
252 | ····goto/16·:goto_7 | 222 | ····const-wide/16·v14,·0x0 |
| |
253 | ····.line·74 | |
254 | ····:cond_1 | 223 | ····:cond_1 |
255 | ····invoke-virtual·{v9,·v11},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastDuration(I)J | |
| |
256 | ····move-result-wide·v17 | |
| |
257 | ····cmp-long·v19,·v17,·v15 | |
| |
258 | ····if-nez·v19,·:cond_2 | |
| |
259 | ····const-wide/16·v17,·0x0 | |
| |
260 | ····:cond_2 | |
261 | ····move-wide/from16·v19,·v12 | |
| |
262 | ····move-wide/from16·v11,·v17 | |
| |
263 | ····const-string·v13,·"attributedOpEntry" | 224 | ····const-string·v9,·"opEntry" |
| |
264 | ····.line·82 | |
265 | ····invoke-static·{v9,·v13},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
266 | ····invoke-virtual·{v9},·Landroid/app/AppOpsManager$AttributedOpEntry;->isRunning()Z | 225 | ····.line·67 |
| 226 | ····invoke-static·{v7,·v9},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
267 | ····move-result·v13 | 227 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->isRunning()Z |
| |
268 | ····move-object/from16·p2,·v4 | 228 | ····move-result·v9 |
| |
269 | ····const-string·v4,·",·duration·" | 229 | ····const-string·v12,·",·duration·" |
| |
270 | ····move-object/from16·v18,·v6 | 230 | ····const-string·v13,·"·current·time·" |
| |
271 | ····const-string·v6,·"current·time·" | 231 | ····move-object/from16·v16,·v4 |
| |
272 | ····move-object/from16·v21,·v8 | 232 | ····const-string·v4,·",·isRunning:·" |
| |
273 | ····const-string·v8,·",·isRunning:·" | 233 | ····move-object/from16·v17,·v6 |
| |
274 | ····const-string·v15,·",·access·time·of·" | 234 | ····const-string·v6,·",·access·time·of·" |
| |
275 | ····move-object/from16·v16,·v14 | 235 | ····move-object/from16·v18,·v8 |
| |
276 | ····const-string·v14,·"·for·" | 236 | ····const-string·v8,·"·for·" |
| |
277 | ····move-object/from16·v24,·v3 | 237 | ····move-object/from16·v19,·v3 |
| |
278 | ····const-string·v3,·"OpUsageLiveData" | 238 | ····const-string·v3,·"OpUsageLiveData" |
| |
279 | ····if-nez·v13,·:cond_4 | 239 | ····if-nez·v9,·:cond_3 |
| |
280 | ····add-long·v25,·v19,·v11 | 240 | ····add-long·v20,·v10,·v14 |
| |
281 | ····move-wide/from16·v27,·v11 | 241 | ····move-wide/from16·v22,·v14 |
| |
282 | ····iget-wide·v11,·v0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->usageDurationMs:J | 242 | ····iget-wide·v14,·v0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->usageDurationMs:J |
| |
283 | ····sub-long·v11,·v1,·v11 | 243 | ····sub-long·v14,·v1,·v14 |
| |
284 | ····cmp-long·v11,·v25,·v11 | 244 | ····cmp-long·v9,·v20,·v14 |
| |
285 | ····if-lez·v11,·:cond_3 | 245 | ····if-lez·v9,·:cond_2 |
| |
286 | ····move-wide/from16·v11,·v27 | 246 | ····move-wide/from16·v14,·v22 |
| |
287 | ····goto·:goto_4 | 247 | ····goto·:goto_2 |
| |
288 | ····.line·105 | 248 | ····.line·81 |
289 | ····:cond_3 | 249 | ····:cond_2 |
290 | ····new-instance·v11,·Ljava/lang/StringBuilder; | 250 | ····new-instance·v9,·Ljava/lang/StringBuilder; |
| |
291 | ····invoke-direct·{v11},·Ljava/lang/StringBuilder;-><init>()V | 251 | ····invoke-direct·{v9},·Ljava/lang/StringBuilder;-><init>()V |
| |
292 | ····const-string·v12,·"NOT·adding·" | 252 | ····const-string·v14,·"NOT·adding·" |
| |
293 | ····invoke-virtual·{v11,·v12},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 253 | ····invoke-virtual·{v9,·v14},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
294 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->getOpStr()Ljava/lang/String; | 254 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->getOpStr()Ljava/lang/String; |
| |
295 | ····move-result-object·v12 | 255 | ····move-result-object·v14 |
| |
296 | ····invoke-virtual·{v11,·v12},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 256 | ····invoke-virtual·{v9,·v14},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
297 | ····invoke-virtual·{v11,·v14},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 257 | ····invoke-virtual·{v9,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
298 | ····.line·106 | 258 | ····.line·82 |
299 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getPackageName()Ljava/lang/String; | 259 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getPackageName()Ljava/lang/String; |
| |
300 | ····move-result-object·v12 | 260 | ····move-result-object·v8 |
| |
301 | ····invoke-virtual·{v11,·v12},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | |
| |
302 | ····const/16·v13,·0x2f | |
| |
303 | ····invoke-virtual·{v11,·v13},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | |
| |
304 | ····invoke-virtual·{v11,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | |
| |
305 | ····invoke-virtual·{v11,·v15},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | |
| |
306 | ····move-wide/from16·v12,·v19 | |
| |
307 | ····.line·107 | |
308 | ····invoke-virtual·{v11,·v12,·v13},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; | 261 | ····invoke-virtual·{v9,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
309 | ····invoke-virtual·{v11,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 262 | ····invoke-virtual·{v9,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
310 | ····invoke-virtual·{v9},·Landroid/app/AppOpsManager$AttributedOpEntry;->isRunning()Z | 263 | ····invoke-virtual·{v9,·v10,·v11},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; |
| |
311 | ····move-result·v8 | 264 | ····invoke-virtual·{v9,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
312 | ····invoke-virtual·{v11,·v8},·Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder; | 265 | ····.line·83 |
| 266 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->isRunning()Z |
| |
313 | ····const/16·v8,·0x20 | 267 | ····move-result·v4 |
| |
314 | ····invoke-virtual·{v11,·v8},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 268 | ····invoke-virtual·{v9,·v4},·Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder; |
| |
315 | ····invoke-virtual·{v11,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 269 | ····invoke-virtual·{v9,·v13},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
316 | ····.line·108 | |
317 | ····invoke-virtual·{v11,·v1,·v2},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; | 270 | ····invoke-virtual·{v9,·v1,·v2},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; |
| |
318 | ····invoke-virtual·{v11,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 271 | ····invoke-virtual·{v9,·v12},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
319 | ····move-wide/from16·v8,·v27 | 272 | ····move-wide/from16·v14,·v22 |
| |
320 | ····invoke-virtual·{v11,·v8,·v9},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; | 273 | ····invoke-virtual·{v9,·v14,·v15},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; |
| |
321 | ····invoke-virtual·{v11},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 274 | ····invoke-virtual·{v9},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
322 | ····move-result-object·v4 | 275 | ····move-result-object·v4 |
| |
323 | ····.line·105 | 276 | ····.line·81 |
324 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I | 277 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
| |
325 | ····move-object/from16·v26,·v24 | 278 | ····goto/16·:goto_5 |
| |
326 | ····goto/16·:goto_7 | |
| |
327 | ····.line·83 | 279 | ····.line·68 |
328 | ····:cond_4 | 280 | ····:cond_3 |
329 | ····:goto_4 | 281 | ····:goto_2 |
330 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->getOpStr()Ljava/lang/String; | 282 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->getOpStr()Ljava/lang/String; |
| |
331 | ····move-result-object·v13 | 283 | ····move-result-object·v9 |
| |
332 | ····move-wide/from16·v27,·v11 | |
| |
333 | ····const-string·v11,·"opEntry.opStr" | 284 | ····const-string·v0,·"opEntry.opStr" |
| |
334 | ····invoke-static·{v13,·v11},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 285 | ····invoke-static·{v9,·v0},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V |
| |
335 | ····move-object/from16·v12,·v24 | 286 | ····move-object/from16·v0,·v19 |
| |
336 | ····.line·307 | 287 | ····.line·307 |
337 | ····invoke-interface·{v12,·v13},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; | 288 | ····invoke-interface·{v0,·v9},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
| |
338 | ····move-result-object·v11 | |
| |
339 | ····if-nez·v11,·:cond_5 | |
| |
340 | ····.line·83 | |
341 | ····new-instance·v11,·Ljava/util/ArrayList; | |
| |
342 | ····invoke-direct·{v11},·Ljava/util/ArrayList;-><init>()V | |
| |
343 | ····.line·310 | |
344 | ····invoke-interface·{v12,·v13,·v11},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | |
| |
345 | ····.line·83 | |
346 | ····:cond_5 | |
347 | ····move-object·v13,·v11 | |
| |
348 | ····check-cast·v13,·Ljava/util/List; | |
| |
349 | ····.line·84 | |
350 | ····invoke-virtual·{v9},·Landroid/app/AppOpsManager$AttributedOpEntry;->isRunning()Z | |
| |
351 | ····move-result·v11 | |
| |
352 | ····if-eqz·v11,·:cond_6 | |
| |
353 | ····const/16·v11,·0xd | |
| |
354 | ····const-wide/16·v22,·-0x1 | |
| |
355 | ····goto·:goto_5 | |
| |
356 | ····:cond_6 | |
357 | ····move-wide/from16·v22,·v19 | |
| |
358 | ····const/16·v11,·0xd | |
| |
359 | ····.line·89 | |
360 | ····:goto_5 | |
361 | ····invoke-virtual·{v9,·v11},·Landroid/app/AppOpsManager$AttributedOpEntry;->getLastProxyInfo(I)Landroid/app/AppOpsManager$OpEventProxyInfo; | |
| |
362 | ····move-result-object·v24 | |
| |
363 | ····const/16·v25,·0x0 | 289 | ····move-result-object·v19 |
| |
364 | ····if-eqz·v24,·:cond_8 | |
| |
365 | ····.line·91 | |
366 | ····invoke-virtual/range·{v24·..·v24},·Landroid/app/AppOpsManager$OpEventProxyInfo;->getPackageName()Ljava/lang/String; | |
| |
367 | ····move-result-object·v11 | |
| |
368 | ····if-eqz·v11,·:cond_8 | 290 | ····if-nez·v19,·:cond_4 |
| |
369 | ····.line·92 | |
370 | ····new-instance·v11,·Lcom/android/permissioncontroller/permission/data/OpAccess; | |
| |
371 | ····move-object/from16·v26,·v12 | |
| |
372 | ····invoke-virtual/range·{v24·..·v24},·Landroid/app/AppOpsManager$OpEventProxyInfo;->getPackageName()Ljava/lang/String; | |
| |
373 | ····move-result-object·v12 | |
| |
374 | ····if-eqz·v12,·:cond_7 | |
| |
375 | ····move-object/from16·p1,·v13 | |
| |
376 | ····const-string·v13,·"proxy.packageName!!" | |
| |
377 | ····invoke-static·{v12,·v13},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
378 | ····invoke-virtual/range·{v24·..·v24},·Landroid/app/AppOpsManager$OpEventProxyInfo;->getAttributionTag()Ljava/lang/String; | |
| |
379 | ····move-result-object·v31 | |
| |
380 | ····.line·93 | |
381 | ····invoke-virtual/range·{v24·..·v24},·Landroid/app/AppOpsManager$OpEventProxyInfo;->getUid()I | |
| |
382 | ····move-result·v13 | 291 | ····move-object/from16·v20,·v3 |
| |
383 | ····invoke-static·{v13},·Landroid/os/UserHandle;->getUserHandleForUid(I)Landroid/os/UserHandle; | 292 | ····.line·68 |
| 293 | ····new-instance·v3,·Ljava/util/ArrayList; |
| |
384 | ····move-result-object·v13 | 294 | ····invoke-direct·{v3},·Ljava/util/ArrayList;-><init>()V |
| |
| 295 | ····.line·310 |
| 296 | ····invoke-interface·{v0,·v9,·v3},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
385 | ····move-object/from16·v38,·v14 | |
| |
386 | ····const-string·v14,·"UserHandle.getUserHandleForUid(proxy.uid)" | |
| |
387 | ····invoke-static·{v13,·v14},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
388 | ····const/16·v35,·0x0 | |
| |
389 | ····const/16·v36,·0x10 | 297 | ····move-object/from16·v19,·v3 |
| |
390 | ····const/16·v37,·0x0 | 298 | ····goto·:goto_3 |
| |
| 299 | ····:cond_4 |
391 | ····move-object/from16·v29,·v11 | 300 | ····move-object/from16·v20,·v3 |
| |
| 301 | ····.line·68 |
| 302 | ····:goto_3 |
392 | ····move-object/from16·v30,·v12 | 303 | ····move-object/from16·v3,·v19 |
| |
393 | ····move-object/from16·v32,·v13 | 304 | ····check-cast·v3,·Ljava/util/List; |
| |
394 | ····move-wide/from16·v33,·v22 | 305 | ····.line·69 |
| 306 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->isRunning()Z |
| |
| 307 | ····move-result·v9 |
395 | ····.line·92 | |
396 | ····invoke-direct/range·{v29·..·v37},·Lcom/android/permissioncontroller/permission/data/OpAccess;-><init>(Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;JLcom/android/permissioncontroller/permission/data/OpAccess;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
| |
397 | ····goto·:goto_6 | 308 | ····if-eqz·v9,·:cond_5 |
| |
| 309 | ····move-wide/from16·v22,·v14 |
398 | ····:cond_7 | |
399 | ····invoke-static·{},·Lkotlin/jvm/internal/Intrinsics;->throwNpe()V | |
| |
400 | ····throw·v25 | 310 | ····const-wide/16·v14,·-0x1 |
| |
| 311 | ····goto·:goto_4 |
401 | ····:cond_8 | |
402 | ····move-object/from16·v26,·v12 | |
| |
403 | ····move-object/from16·p1,·v13 | 312 | ····:cond_5 |
| 313 | ····move-wide/from16·v22,·v14 |
| |
404 | ····move-object/from16·v38,·v14 | 314 | ····move-wide·v14,·v10 |
| |
405 | ····move-object/from16·v29,·v25 | 315 | ····.line·74 |
| 316 | ····:goto_4 |
| 317 | ····new-instance·v9,·Lcom/android/permissioncontroller/permission/data/OpAccess; |
| |
| 318 | ····move-object/from16·v19,·v0 |
406 | ····.line·95 | |
407 | ····:goto_6 | |
408 | ····new-instance·v14,·Lcom/android/permissioncontroller/permission/data/OpAccess; | |
| |
409 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getPackageName()Ljava/lang/String; | 319 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getPackageName()Ljava/lang/String; |
| |
410 | ····move-result-object·v12 | 320 | ····move-result-object·v0 |
| |
411 | ····const-string·v11,·"packageOp.packageName" | |
| |
412 | ····invoke-static·{v12,·v11},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
413 | ····const-string·v11,·"user" | |
| |
414 | ····move-object/from16·v13,·v16 | |
| |
415 | ····.line·96 | |
416 | ····invoke-static·{v13,·v11},·Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
417 | ····move-wide/from16·v39,·v27 | |
| |
418 | ····move-object·v11,·v14 | |
| |
419 | ····move-object/from16·v0,·v26 | |
| |
420 | ····move-wide/from16·v41,·v19 | |
| |
421 | ····move-object/from16·v19,·v3 | |
| |
422 | ····move-object/from16·v20,·v4 | |
| |
423 | ····move-wide/from16·v3,·v41 | |
| |
424 | ····const/16·v17,·0x2f | |
| |
425 | ····move-object/from16·v0,·p1 | |
| |
426 | ····move-object·v13,·v10 | |
| |
427 | ····move-wide/from16·v27,·v1 | |
| |
428 | ····move-object·v1,·v14 | |
| |
429 | ····move-object/from16·v2,·v38 | |
| |
430 | ····move-object/from16·v14,·v16 | |
| |
431 | ····move-object/from16·p1,·v6 | |
| |
432 | ····move-object·v6,·v15 | |
| |
433 | ····move-wide/from16·v15,·v22 | 321 | ····move-object/from16·p1,·v12 |
| |
434 | ····move-object/from16·v17,·v29 | 322 | ····move-object/from16·v12,·v18 |
| |
| 323 | ····invoke-direct·{v9,·v0,·v12,·v14,·v15},·Lcom/android/permissioncontroller/permission/data/OpAccess;-><init>(Ljava/lang/String;Landroid/os/UserHandle;J)V |
435 | ····.line·95 | |
436 | ····invoke-direct/range·{v11·..·v17},·Lcom/android/permissioncontroller/permission/data/OpAccess;-><init>(Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;JLcom/android/permissioncontroller/permission/data/OpAccess;)V | |
| |
437 | ····invoke-interface·{v0,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 324 | ····invoke-interface·{v3,·v9},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
438 | ····.line·99 | 325 | ····.line·76 |
439 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 326 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
440 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 327 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
441 | ····const-string·v1,·"adding·" | 328 | ····const-string·v3,·"adding·" |
| |
442 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 329 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
443 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->getOpStr()Ljava/lang/String; | 330 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->getOpStr()Ljava/lang/String; |
| |
444 | ····move-result-object·v1 | 331 | ····move-result-object·v3 |
| |
445 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 332 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
446 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 333 | ····invoke-virtual·{v0,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
447 | ····.line·100 | 334 | ····.line·77 |
448 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getPackageName()Ljava/lang/String; | 335 | ····invoke-virtual·{v5},·Landroid/app/AppOpsManager$PackageOps;->getPackageName()Ljava/lang/String; |
| |
449 | ····move-result-object·v1 | 336 | ····move-result-object·v3 |
| |
450 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | |
| |
451 | ····const/16·v1,·0x2f | |
| |
452 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | |
| |
453 | ····invoke-virtual·{v0,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 337 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
454 | ····invoke-virtual·{v0,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 338 | ····invoke-virtual·{v0,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
455 | ····.line·101 | |
456 | ····invoke-virtual·{v0,·v3,·v4},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; | 339 | ····invoke-virtual·{v0,·v10,·v11},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; |
| |
457 | ····invoke-virtual·{v0,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | |
| |
458 | ····invoke-virtual·{v9},·Landroid/app/AppOpsManager$AttributedOpEntry;->isRunning()Z | |
| |
459 | ····move-result·v1 | |
| |
460 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder; | |
| |
461 | ····const/16·v1,·0x20 | 340 | ····invoke-virtual·{v0,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
462 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 341 | ····.line·78 |
| 342 | ····invoke-virtual·{v7},·Landroid/app/AppOpsManager$OpEntry;->isRunning()Z |
| |
463 | ····move-object/from16·v1,·p1 | 343 | ····move-result·v3 |
| |
464 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 344 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder; |
| |
465 | ····move-wide/from16·v1,·v27 | 345 | ····invoke-virtual·{v0,·v13},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
466 | ····.line·102 | |
467 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; | 346 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; |
| |
468 | ····move-object/from16·v3,·v20 | 347 | ····move-object/from16·v3,·p1 |
| |
469 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | |
| |
470 | ····move-wide/from16·v3,·v39 | |
| |
471 | ····invoke-virtual·{v0,·v3,·v4},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; | |
| |
472 | ····const-string·v3,·",·proxy:·" | |
| |
473 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 348 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
| 349 | ····move-wide/from16·v14,·v22 |
474 | ····if-eqz·v24,·:cond_9 | |
| |
475 | ····.line·103 | |
476 | ····invoke-virtual/range·{v24·..·v24},·Landroid/app/AppOpsManager$OpEventProxyInfo;->getPackageName()Ljava/lang/String; | |
| |
477 | ····move-result-object·v25 | |
| |
478 | ····:cond_9 | |
479 | ····move-object/from16·v3,·v25 | |
| |
480 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 350 | ····invoke-virtual·{v0,·v14,·v15},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; |
| |
481 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 351 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
482 | ····move-result-object·v0 | 352 | ····move-result-object·v0 |
| |
483 | ····move-object/from16·v3,·v19 | 353 | ····move-object/from16·v3,·v20 |
| |
484 | ····.line·99 | 354 | ····.line·76 |
485 | ····invoke-static·{v3,·v0},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I | 355 | ····invoke-static·{v3,·v0},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
| |
486 | ····:goto_7 | 356 | ····:goto_5 |
487 | ····move-object/from16·v0,·p0 | 357 | ····move-object/from16·v0,·p0 |
| |
488 | ····move-object/from16·v4,·p2 | |
| |
489 | ····move-object/from16·v6,·v18 | 358 | ····move-object/from16·v4,·v16 |
| |
490 | ····move-object/from16·v8,·v21 | |
| |
491 | ····move-object/from16·v3,·v26 | |
| |
492 | ····goto/16·:goto_3 | 359 | ····move-object/from16·v6,·v17 |
| |
493 | ····:cond_a | |
494 | ····move-object/from16·v0,·p0 | 360 | ····move-object/from16·v3,·v19 |
| |
495 | ····goto/16·:goto_2 | 361 | ····goto/16·:goto_1 |
| |
496 | ····:cond_b | 362 | ····:cond_6 |
497 | ····move-object/from16·v0,·p0 | 363 | ····move-object/from16·v0,·p0 |
| |
498 | ····goto/16·:goto_1 | 364 | ····goto/16·:goto_0 |
| |
499 | ····.line·114 | 365 | ····.line·88 |
500 | ····:cond_c | 366 | ····:cond_7 |
501 | ····invoke-virtual·{v0,·v3},·Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V | 367 | ····invoke-virtual·{v0,·v3},·Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V |
| |
502 | ····.line·115 | 368 | ····.line·89 |
503 | ····sget-object·v1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; | 369 | ····sget-object·v1,·Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; |
| |
504 | ····return-object·v1 | 370 | ····return-object·v1 |
505 | .end·method | |
| |
506 | .method·protected·onActive()V | |
507 | ····.locals·6 | |
| |
508 | ····.line·118 | |
509 | ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->onActive()V | |
| |
510 | ····.line·121 | |
511 | ····sget-object·v0,·Lkotlinx/coroutines/GlobalScope;->INSTANCE:Lkotlinx/coroutines/GlobalScope; | |
| |
512 | ····new-instance·v3,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData$onActive$1; | |
| |
513 | ····const/4·v1,·0x0 | |
| |
514 | ····invoke-direct·{v3,·p0,·v1},·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData$onActive$1;-><init>(Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;Lkotlin/coroutines/Continuation;)V | |
| |
515 | ····const/4·v2,·0x0 | |
| |
516 | ····const/4·v4,·0x3 | |
| |
517 | ····const/4·v5,·0x0 | |
| |
518 | ····invoke-static/range·{v0·..·v5},·Lkotlinx/coroutines/BuildersKt;->launch$default(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lkotlinx/coroutines/CoroutineStart;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job; | |
| |
519 | ····.line·129 | |
520 | ····:try_start_0 | |
521 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->appOpsManager:Landroid/app/AppOpsManager; | |
| |
522 | ····iget-object·v1,·p0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->opNames:Ljava/util/List; | |
| |
523 | ····const/4·v2,·0x0 | |
| |
524 | ····new-array·v2,·v2,·[Ljava/lang/String; | |
| |
525 | ····.line·38 | 371 | ····.line·38 |
526 | ····invoke-interface·{v1,·v2},·Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; | |
| |
527 | ····move-result-object·v1 | |
| |
528 | ····if-eqz·v1,·:cond_0 | |
| |
529 | ····check-cast·v1,·[Ljava/lang/String; | |
| |
530 | ····.line·129 | |
531 | ····sget-object·v2,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData$onActive$2;->INSTANCE:Lcom/android/permissioncontroller/permission/data/OpUsageLiveData$onActive$2; | |
| |
532 | ····invoke-virtual·{v0,·v1,·v2,·p0},·Landroid/app/AppOpsManager;->startWatchingActive([Ljava/lang/String;Ljava/util/concurrent/Executor;Landroid/app/AppOpsManager$OnOpActiveChangedListener;)V | |
| |
533 | ····goto·:goto_0 | |
| |
534 | ····.line·38 | |
535 | ····:cond_0 | 372 | ····:cond_8 |
536 | ····new-instance·v0,·Lkotlin/TypeCastException; | 373 | ····new-instance·v1,·Lkotlin/TypeCastException; |
| |
537 | ····const-string·v1,·"null·cannot·be·cast·to·non-null·type·kotlin.Array<T>" | |
| |
538 | ····invoke-direct·{v0,·v1},·Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V | |
| |
539 | ····throw·v0 | |
540 | ····:try_end_0 | |
541 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0 | |
| |
542 | ····:catch_0 | |
543 | ····:goto_0 | |
544 | ····return-void | |
545 | .end·method | |
| |
546 | .method·protected·onInactive()V | |
547 | ····.locals·1 | |
| |
548 | ····.line·136 | |
549 | ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;->onInactive()V | |
| |
| 374 | ····const-string·v2,·"null·cannot·be·cast·to·non-null·type·kotlin.Array<T>" |
550 | ····.line·138 | |
551 | ····iget-object·v0,·p0,·Lcom/android/permissioncontroller/permission/data/OpUsageLiveData;->appOpsManager:Landroid/app/AppOpsManager; | |
| |
552 | ····invoke-virtual·{v0,·p0},·Landroid/app/AppOpsManager;->stopWatchingActive(Landroid/app/AppOpsManager$OnOpActiveChangedListener;)V | 375 | ····invoke-direct·{v1,·v2},·Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V |
| |
553 | ····return-void | 376 | ····throw·v1 |
554 | .end·method | 377 | .end·method |
| |
555 | .method·public·onOpActiveChanged(Ljava/lang/String;ILjava/lang/String;Z)V | 378 | .method·protected·onActive()V |
556 | ····.locals·0 | 379 | ····.locals·0 |
557 | ····.param·p1····#·Ljava/lang/String; | |
558 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
559 | ········.end·annotation | |
560 | ····.end·param | |
561 | ····.param·p3····#·Ljava/lang/String; | |
562 | ········.annotation·build·Lorg/jetbrains/annotations/NotNull; | |
563 | ········.end·annotation | |
564 | ····.end·param | |
| |
565 | ····const-string·p2,·"op" | |
| |
566 | ····invoke-static·{p1,·p2},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | |
| |
567 | ····const-string·p1,·"packageName" | |
| |
568 | ····invoke-static·{p3,·p1},·Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V | 380 | ····.line·92 |
| 381 | ····invoke-super·{p0},·Lcom/android/permissioncontroller/permission/data/SmartUpdateMediatorLiveData;->onActive()V |
| |
569 | ····.line·142 | 382 | ····.line·93 |
570 | ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;->onUpdate()V | 383 | ····invoke-virtual·{p0},·Lcom/android/permissioncontroller/permission/data/SmartAsyncMediatorLiveData;->updateAsync()V |
| |
571 | ····return-void | 384 | ····return-void |
572 | .end·method | 385 | .end·method |