Offset 17, 17 lines modifiedOffset 17, 15 lines modified
  
  
17 #·instance·fields17 #·instance·fields
18 .field·private·final·injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;18 .field·private·final·injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;
  
19 .field·private·lowPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;19 .field·private·lowPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;
  
20 .field·private·modelDownloadManager:Lcom/android/textclassifier/downloader/ModelDownloadManager; 
  
21 .field·private·modelFileManager:Lcom/android/textclassifier/ModelFileManager;20 .field·private·modelFileManager:Lcom/android/textclassifier/common/ModelFileManager;
  
22 .field·private·normPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;21 .field·private·normPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;
  
23 .field·private·sessionIdToContext:Landroidx/collection/LruCache;22 .field·private·sessionIdToContext:Landroidx/collection/LruCache;
  
24 .field·private·settings:Lcom/android/textclassifier/common/TextClassifierSettings;23 .field·private·settings:Lcom/android/textclassifier/common/TextClassifierSettings;
  
Offset 160, 115 lines modifiedOffset 158, 14 lines modified
160 ····invoke-virtual·{v0,·p1,·p0,·p2},·Lcom/android/textclassifier/TextClassifierImpl;->generateLinks(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassificationContext;Landroid/view/textclassifier/TextLinks$Request;)Landroid/view/textclassifier/TextLinks;158 ····invoke-virtual·{v0,·p1,·p0,·p2},·Lcom/android/textclassifier/TextClassifierImpl;->generateLinks(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassificationContext;Landroid/view/textclassifier/TextLinks$Request;)Landroid/view/textclassifier/TextLinks;
  
161 ····move-result-object·p0159 ····move-result-object·p0
  
162 ····return-object·p0160 ····return-object·p0
163 .end·method161 .end·method
  
164 .method·public·static·$r8$lambda$eXpIopUKY8kIyJbvDtQTisEp18k(Lcom/android/textclassifier/DefaultTextClassifierService;Ljava/io/PrintWriter;)V 
165 ····.locals·2 
  
166 ····invoke-static·{p0},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; 
  
167 ····.line·1 
168 ····new-instance·v0,·Lcom/android/textclassifier/utils/IndentingPrintWriter; 
  
169 ····invoke-direct·{v0,·p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;-><init>(Ljava/io/PrintWriter;)V 
  
170 ····.line·2 
171 ····iget-object·p1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifier:Lcom/android/textclassifier/TextClassifierImpl; 
  
172 ····invoke-virtual·{p1,·v0},·Lcom/android/textclassifier/TextClassifierImpl;->dump(Lcom/android/textclassifier/utils/IndentingPrintWriter;)V 
  
173 ····.line·3 
174 ····iget-object·p1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->modelDownloadManager:Lcom/android/textclassifier/downloader/ModelDownloadManager; 
  
175 ····invoke-virtual·{p1,·v0},·Lcom/android/textclassifier/downloader/ModelDownloadManager;->dump(Lcom/android/textclassifier/utils/IndentingPrintWriter;)V 
  
176 ····const-string·p1,·"DefaultTextClassifierService:" 
  
177 ····.line·4 
178 ····invoke-virtual·{v0,·p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->println(Ljava/lang/String;)Lcom/android/textclassifier/utils/IndentingPrintWriter; 
  
179 ····.line·5 
180 ····invoke-virtual·{v0},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->increaseIndent()Lcom/android/textclassifier/utils/IndentingPrintWriter; 
  
181 ····const-string·p1,·"sessionIdToContext:" 
  
182 ····.line·6 
183 ····invoke-virtual·{v0,·p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->println(Ljava/lang/String;)Lcom/android/textclassifier/utils/IndentingPrintWriter; 
  
184 ····.line·7 
185 ····invoke-virtual·{v0},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->increaseIndent()Lcom/android/textclassifier/utils/IndentingPrintWriter; 
  
186 ····.line·8 
187 ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->sessionIdToContext:Landroidx/collection/LruCache; 
  
188 ····invoke-virtual·{p0},·Landroidx/collection/LruCache;->snapshot()Ljava/util/Map; 
  
189 ····move-result-object·p0 
  
190 ····check-cast·p0,·Ljava/util/LinkedHashMap; 
  
191 ····invoke-virtual·{p0},·Ljava/util/LinkedHashMap;->entrySet()Ljava/util/Set; 
  
192 ····move-result-object·p0 
  
193 ····invoke-interface·{p0},·Ljava/util/Set;->iterator()Ljava/util/Iterator; 
  
194 ····move-result-object·p0 
  
195 ····:goto_0 
196 ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z 
  
197 ····move-result·p1 
  
198 ····if-eqz·p1,·:cond_0 
  
199 ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object; 
  
200 ····move-result-object·p1 
  
201 ····check-cast·p1,·Ljava/util/Map$Entry; 
  
202 ····.line·9 
203 ····invoke-interface·{p1},·Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; 
  
204 ····move-result-object·v1 
  
205 ····check-cast·v1,·Landroid/view/textclassifier/TextClassificationSessionId; 
  
206 ····invoke-virtual·{v1},·Landroid/view/textclassifier/TextClassificationSessionId;->getValue()Ljava/lang/String; 
  
207 ····move-result-object·v1 
  
208 ····invoke-interface·{p1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; 
  
209 ····move-result-object·p1 
  
210 ····invoke-virtual·{v0,·v1,·p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->printPair(Ljava/lang/String;Ljava/lang/Object;)Lcom/android/textclassifier/utils/IndentingPrintWriter; 
  
211 ····goto·:goto_0 
  
212 ····.line·10 
213 ····:cond_0 
214 ····invoke-virtual·{v0},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->decreaseIndent()Lcom/android/textclassifier/utils/IndentingPrintWriter; 
  
215 ····.line·11 
216 ····invoke-virtual·{v0},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->decreaseIndent()Lcom/android/textclassifier/utils/IndentingPrintWriter; 
  
217 ····.line·12 
218 ····invoke-virtual·{v0},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->println()Lcom/android/textclassifier/utils/IndentingPrintWriter; 
  
219 ····.line·13 
220 ····invoke-virtual·{v0},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->flush()V 
  
221 ····return-void 
222 .end·method 
  
223 .method·public·constructor·<init>()V162 .method·public·constructor·<init>()V
224 ····.locals·2163 ····.locals·2
  
225 ····.line·1164 ····.line·1
226 ····invoke-direct·{p0},·Landroid/service/textclassifier/TextClassifierService;-><init>()V165 ····invoke-direct·{p0},·Landroid/service/textclassifier/TextClassifierService;-><init>()V
  
227 ····.line·2166 ····.line·2
Offset 390, 52 lines modifiedOffset 287, 101 lines modified
  
  
390 #·virtual·methods287 #·virtual·methods
391 .method·protected·dump(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V288 .method·protected·dump(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
392 ····.locals·0289 ····.locals·0
  
393 ····.line·1290 ····.line·1
 291 ····new-instance·p1,·Lcom/android/textclassifier/utils/IndentingPrintWriter;
394 ····:try_start_0 
395 ····invoke-static·{},·Lcom/android/textclassifier/common/TextSelectionCompat;->getLowPriorityExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService; 
  
396 ····move-result-object·p1 
  
397 ····new-instance·p3,·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda2; 
  
398 ····invoke-direct·{p3,·p0,·p2},·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda2;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;Ljava/io/PrintWriter;)V292 ····invoke-direct·{p1,·p2},·Lcom/android/textclassifier/utils/IndentingPrintWriter;-><init>(Ljava/io/PrintWriter;)V
  
399 ····.line·2293 ····.line·2
400 ····check-cast·p1,·Lcom/google/common/util/concurrent/AbstractListeningExecutorService;294 ····iget-object·p2,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifier:Lcom/android/textclassifier/TextClassifierImpl;
  
401 ····invoke-virtual·{p1,·p3},·Lcom/google/common/util/concurrent/AbstractListeningExecutorService;->submit(Ljava/lang/Runnable;)Lcom/google/common/util/concurrent/ListenableFuture;295 ····invoke-virtual·{p2,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->dump(Lcom/android/textclassifier/utils/IndentingPrintWriter;)V
  
402 ····move-result-object·p0296 ····const-string·p2,·"DefaultTextClassifierService:"
  
403 ····.line·3297 ····.line·3
 298 ····invoke-virtual·{p1,·p2},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->println(Ljava/lang/String;)Lcom/android/textclassifier/utils/IndentingPrintWriter;
404 ····invoke-interface·{p0},·Ljava/util/concurrent/Future;->get()Ljava/lang/Object; 
405 ····:try_end_0 
406 ····.catch·Ljava/util/concurrent/ExecutionException;·{:try_start_0·..·:try_end_0}·:catch_0 
407 ····.catch·Ljava/lang/InterruptedException;·{:try_start_0·..·:try_end_0}·:catch_0 
  
408 ····goto·:goto_0299 ····.line·4
 300 ····invoke-virtual·{p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->increaseIndent()Lcom/android/textclassifier/utils/IndentingPrintWriter;
  
 301 ····const-string·p2,·"sessionIdToContext:"
409 ····:catch_0 
410 ····move-exception·p0 
  
411 ····.line·4302 ····.line·5
412 ····sget-boolean·p1,·Lcom/android/textclassifier/common/base/TcLog;->ENABLE_FULL_LOGGING:Z303 ····invoke-virtual·{p1,·p2},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->println(Ljava/lang/String;)Lcom/android/textclassifier/utils/IndentingPrintWriter;
  
 304 ····.line·6
 305 ····invoke-virtual·{p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->increaseIndent()Lcom/android/textclassifier/utils/IndentingPrintWriter;
  
 306 ····.line·7
 307 ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->sessionIdToContext:Landroidx/collection/LruCache;
  
413 ····const-string·p1,·"androidtc"308 ····invoke-virtual·{p0},·Landroidx/collection/LruCache;->snapshot()Ljava/util/Map;
  
414 ····const-string·p2,·"Failed·to·dump·Default·TextClassifierService"309 ····move-result-object·p0
  
415 ····.line·5 
416 ····invoke-static·{p1,·p2,·p0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I310 ····check-cast·p0,·Ljava/util/LinkedHashMap;
  
 311 ····invoke-virtual·{p0},·Ljava/util/LinkedHashMap;->entrySet()Ljava/util/Set;
  
 312 ····move-result-object·p0
  
 313 ····invoke-interface·{p0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;
  
 314 ····move-result-object·p0
  
417 ····:goto_0315 ····:goto_0
 316 ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z
  
 317 ····move-result·p2
  
 318 ····if-eqz·p2,·:cond_0
  
 319 ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
 320 ····move-result-object·p2
  
 321 ····check-cast·p2,·Ljava/util/Map$Entry;
  
 322 ····.line·8
 323 ····invoke-interface·{p2},·Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
  
 324 ····move-result-object·p3
  
 325 ····check-cast·p3,·Landroid/view/textclassifier/TextClassificationSessionId;
  
 326 ····invoke-virtual·{p3},·Landroid/view/textclassifier/TextClassificationSessionId;->getValue()Ljava/lang/String;
  
 327 ····move-result-object·p3
  
 328 ····invoke-interface·{p2},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
  
 329 ····move-result-object·p2
  
 330 ····invoke-virtual·{p1,·p3,·p2},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->printPair(Ljava/lang/String;Ljava/lang/Object;)Lcom/android/textclassifier/utils/IndentingPrintWriter;
  
 331 ····goto·:goto_0
  
 332 ····.line·9
 333 ····:cond_0
 334 ····invoke-virtual·{p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->decreaseIndent()Lcom/android/textclassifier/utils/IndentingPrintWriter;
  
 335 ····.line·10
 336 ····invoke-virtual·{p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->decreaseIndent()Lcom/android/textclassifier/utils/IndentingPrintWriter;
  
 337 ····.line·11
 338 ····invoke-virtual·{p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->println()Lcom/android/textclassifier/utils/IndentingPrintWriter;
  
 339 ····.line·12
 340 ····invoke-virtual·{p1},·Lcom/android/textclassifier/utils/IndentingPrintWriter;->flush()V
  
418 ····return-void341 ····return-void
419 .end·method342 .end·method
  
420 .method·public·onClassifyText(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Landroid/os/CancellationSignal;Landroid/service/textclassifier/TextClassifierService$Callback;)V343 .method·public·onClassifyText(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Landroid/os/CancellationSignal;Landroid/service/textclassifier/TextClassifierService$Callback;)V
421 ····.locals·2344 ····.locals·2
  
422 ····.line·1345 ····.line·1
Offset 455, 15 lines modifiedOffset 401, 15 lines modified
455 ····.line·3401 ····.line·3
456 ····invoke-direct·{p0,·v0,·p4,·p1,·p3},·Lcom/android/textclassifier/DefaultTextClassifierService;->handleRequestAsync(Ljava/util/concurrent/Callable;Landroid/service/textclassifier/TextClassifierService$Callback;Lcom/android/textclassifier/common/statsd/TextClassifierApiUsageLogger$Session;Landroid/os/CancellationSignal;)V402 ····invoke-direct·{p0,·v0,·p4,·p1,·p3},·Lcom/android/textclassifier/DefaultTextClassifierService;->handleRequestAsync(Ljava/util/concurrent/Callable;Landroid/service/textclassifier/TextClassifierService$Callback;Lcom/android/textclassifier/common/statsd/TextClassifierApiUsageLogger$Session;Landroid/os/CancellationSignal;)V
  
457 ····return-void403 ····return-void
458 .end·method404 .end·method
  
459 .method·public·onCreate()V405 .method·public·onCreate()V
460 ····.locals·4406 ····.locals·5
  
461 ····.line·1407 ····.line·1
462 ····invoke-super·{p0},·Landroid/app/Service;->onCreate()V408 ····invoke-super·{p0},·Landroid/app/Service;->onCreate()V
  
463 ····.line·2409 ····.line·2
464 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;410 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;
  
Offset 480, 60 lines modifiedOffset 426, 60 lines modified
480 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->settings:Lcom/android/textclassifier/common/TextClassifierSettings;426 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->settings:Lcom/android/textclassifier/common/TextClassifierSettings;
  
481 ····.line·5427 ····.line·5
482 ····iget-object·v1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;428 ····iget-object·v1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;
  
483 ····check-cast·v1,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;429 ····check-cast·v1,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;
  
484 ····invoke-virtual·{v1,·v0},·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;->createModelFileManager(Lcom/android/textclassifier/common/TextClassifierSettings;)Lcom/android/textclassifier/ModelFileManager;430 ····invoke-virtual·{v1,·v0},·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;->createModelFileManager(Lcom/android/textclassifier/common/TextClassifierSettings;)Lcom/android/textclassifier/common/ModelFileManager;
  
485 ····move-result-object·v0431 ····move-result-object·v0
  
486 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->modelFileManager:Lcom/android/textclassifier/ModelFileManager;432 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->modelFileManager:Lcom/android/textclassifier/common/ModelFileManager;
  
487 ····.line·6433 ····.line·6
488 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;434 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;
  
489 ····check-cast·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;435 ····check-cast·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;
  
490 ····invoke-static·{v0},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;436 ····invoke-static·{v0},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
  
491 ····.line·7437 ····.line·7
492 ····invoke-static·{},·Lcom/android/textclassifier/common/TextSelectionCompat;->getNormhPriorityExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;438 ····invoke-static·{},·Lcom/android/textclassifier/common/TextClassifierServiceExecutors;->getNormhPriorityExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;
  
493 ····move-result-object·v0439 ····move-result-object·v0
  
494 ····.line·8440 ····.line·8
495 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->normPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;441 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->normPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;
  
496 ····.line·9442 ····.line·9
497 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;443 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;
  
498 ····check-cast·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;444 ····check-cast·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;
  
499 ····invoke-static·{v0},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;445 ····invoke-static·{v0},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
  
500 ····.line·10446 ····.line·10
501 ····invoke-static·{},·Lcom/android/textclassifier/common/TextSelectionCompat;->getLowPriorityExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;447 ····invoke-static·{},·Lcom/android/textclassifier/common/TextClassifierServiceExecutors;->getLowPriorityExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;
  
502 ····move-result-object·v0448 ····move-result-object·v0
  
503 ····.line·11449 ····.line·11
504 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->lowPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;450 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->lowPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;
  
505 ····.line·12451 ····.line·12
506 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;452 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;
  
507 ····iget-object·v1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->settings:Lcom/android/textclassifier/common/TextClassifierSettings;453 ····iget-object·v1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->settings:Lcom/android/textclassifier/common/TextClassifierSettings;
  
508 ····iget-object·v2,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->modelFileManager:Lcom/android/textclassifier/ModelFileManager;454 ····iget-object·v2,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->modelFileManager:Lcom/android/textclassifier/common/ModelFileManager;
  
509 ····check-cast·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;455 ····check-cast·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;
  
510 ····invoke-virtual·{v0,·v1,·v2},·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;->createTextClassifierImpl(Lcom/android/textclassifier/common/TextClassifierSettings;Lcom/android/textclassifier/ModelFileManager;)Lcom/android/textclassifier/TextClassifierImpl;456 ····invoke-virtual·{v0,·v1,·v2},·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;->createTextClassifierImpl(Lcom/android/textclassifier/common/TextClassifierSettings;Lcom/android/textclassifier/common/ModelFileManager;)Lcom/android/textclassifier/TextClassifierImpl;
  
511 ····move-result-object·v0457 ····move-result-object·v0
  
512 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifier:Lcom/android/textclassifier/TextClassifierImpl;458 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifier:Lcom/android/textclassifier/TextClassifierImpl;
  
513 ····.line·13459 ····.line·13
514 ····new-instance·v0,·Landroidx/collection/LruCache;460 ····new-instance·v0,·Landroidx/collection/LruCache;
Offset 545, 77 lines modifiedOffset 491, 40 lines modified
545 ····move-result·v1491 ····move-result·v1
  
546 ····invoke-direct·{v0,·v1},·Landroidx/collection/LruCache;-><init>(I)V492 ····invoke-direct·{v0,·v1},·Landroidx/collection/LruCache;-><init>(I)V
  
547 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->sessionIdToContext:Landroidx/collection/LruCache;493 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->sessionIdToContext:Landroidx/collection/LruCache;
  
548 ····.line·14494 ····.line·14
549 ····new-instance·v0,·Lcom/android/textclassifier/downloader/ModelDownloadManager; 
  
550 ····iget-object·v1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector; 
  
551 ····.line·15 
552 ····check-cast·v1,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl; 
  
553 ····invoke-virtual·{v1},·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;->getContext()Landroid/content/Context; 
  
554 ····move-result-object·v1 
  
555 ····invoke-virtual·{v1},·Landroid/content/Context;->getApplicationContext()Landroid/content/Context; 
  
556 ····move-result-object·v1 
  
557 ····iget-object·v2,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->settings:Lcom/android/textclassifier/common/TextClassifierSettings; 
  
558 ····.line·16 
559 ····invoke-static·{},·Lcom/android/textclassifier/common/TextSelectionCompat;->getDownloaderExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService; 
  
560 ····move-result-object·v3 
  
561 ····invoke-direct·{v0,·v1,·v2,·v3},·Lcom/android/textclassifier/downloader/ModelDownloadManager;-><init>(Landroid/content/Context;Lcom/android/textclassifier/common/TextClassifierSettings;Lcom/google/common/util/concurrent/ListeningExecutorService;)V 
  
562 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->modelDownloadManager:Lcom/android/textclassifier/downloader/ModelDownloadManager; 
  
563 ····.line·17 
564 ····invoke-virtual·{v0},·Lcom/android/textclassifier/downloader/ModelDownloadManager;->onTextClassifierServiceCreated()V 
  
565 ····.line·18 
566 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->modelFileManager:Lcom/android/textclassifier/ModelFileManager; 
  
567 ····iget-object·v1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->modelDownloadManager:Lcom/android/textclassifier/downloader/ModelDownloadManager; 
  
568 ····iget-object·v2,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->settings:Lcom/android/textclassifier/common/TextClassifierSettings; 
  
569 ····invoke-virtual·{v0,·v1,·v2},·Lcom/android/textclassifier/ModelFileManager;->addModelDownloaderModels(Lcom/android/textclassifier/downloader/ModelDownloadManager;Lcom/android/textclassifier/common/TextClassifierSettings;)V 
  
570 ····.line·19 
571 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;495 ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->injector:Lcom/android/textclassifier/DefaultTextClassifierService$Injector;
  
572 ····iget-object·v1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->settings:Lcom/android/textclassifier/common/TextClassifierSettings;496 ····iget-object·v1,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->settings:Lcom/android/textclassifier/common/TextClassifierSettings;
  
573 ····iget-object·v2,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->lowPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;497 ····iget-object·v2,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->lowPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;
  
574 ····.line·20498 ····.line·15
575 ····check-cast·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;499 ····check-cast·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl;
  
576 ····invoke-static·{v0},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;500 ····invoke-static·{v0},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
  
577 ····.line·21501 ····.line·16
578 ····new-instance·v0,·Lcom/android/textclassifier/common/statsd/TextClassifierApiUsageLogger;502 ····new-instance·v0,·Lcom/android/textclassifier/common/statsd/TextClassifierApiUsageLogger;
  
579 ····.line·22503 ····.line·17
580 ····invoke-static·{v1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;504 ····invoke-static·{v1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
  
581 ····new-instance·v3,·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl$$ExternalSyntheticLambda0;505 ····new-instance·v3,·Lcom/android/textclassifier/common/ModelFileManager$$ExternalSyntheticLambda0;
  
 506 ····const/4·v4,·0x1
  
582 ····invoke-direct·{v3,·v1},·Lcom/android/textclassifier/DefaultTextClassifierService$InjectorImpl$$ExternalSyntheticLambda0;-><init>(Lcom/android/textclassifier/common/TextClassifierSettings;)V507 ····invoke-direct·{v3,·v1,·v4},·Lcom/android/textclassifier/common/ModelFileManager$$ExternalSyntheticLambda0;-><init>(Lcom/android/textclassifier/common/TextClassifierSettings;I)V
  
583 ····invoke-direct·{v0,·v3,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierApiUsageLogger;-><init>(Lcom/google/common/base/Supplier;Ljava/util/concurrent/Executor;)V508 ····invoke-direct·{v0,·v3,·v2},·Lcom/android/textclassifier/common/statsd/TextClassifierApiUsageLogger;-><init>(Lcom/google/common/base/Supplier;Ljava/util/concurrent/Executor;)V
  
584 ····.line·23509 ····.line·18
585 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifierApiUsageLogger:Lcom/android/textclassifier/common/statsd/TextClassifierApiUsageLogger;510 ····iput-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifierApiUsageLogger:Lcom/android/textclassifier/common/statsd/TextClassifierApiUsageLogger;
  
586 ····return-void511 ····return-void
587 .end·method512 .end·method
  
588 .method·public·onCreateTextClassificationSession(Landroid/view/textclassifier/TextClassificationContext;Landroid/view/textclassifier/TextClassificationSessionId;)V513 .method·public·onCreateTextClassificationSession(Landroid/view/textclassifier/TextClassificationContext;Landroid/view/textclassifier/TextClassificationSessionId;)V
589 ····.locals·0514 ····.locals·0
Offset 630, 19 lines modifiedOffset 539, 14 lines modified
  
630 .method·public·onDestroy()V539 .method·public·onDestroy()V
631 ····.locals·0540 ····.locals·0
  
632 ····.line·1541 ····.line·1
633 ····invoke-super·{p0},·Landroid/app/Service;->onDestroy()V542 ····invoke-super·{p0},·Landroid/app/Service;->onDestroy()V
  
634 ····.line·2 
635 ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->modelDownloadManager:Lcom/android/textclassifier/downloader/ModelDownloadManager; 
  
636 ····invoke-virtual·{p0},·Lcom/android/textclassifier/downloader/ModelDownloadManager;->destroy()V 
  
637 ····return-void543 ····return-void
638 .end·method544 .end·method
  
639 .method·public·onDestroyTextClassificationSession(Landroid/view/textclassifier/TextClassificationSessionId;)V545 .method·public·onDestroyTextClassificationSession(Landroid/view/textclassifier/TextClassificationSessionId;)V
640 ····.locals·0546 ····.locals·0
  
641 ····.line·1547 ····.line·1
Offset 699, 17 lines modifiedOffset 603, 17 lines modified
699 ····return-void603 ····return-void
700 .end·method604 .end·method
  
701 .method·public·onSelectionEvent(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/SelectionEvent;)V605 .method·public·onSelectionEvent(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/SelectionEvent;)V
702 ····.locals·1606 ····.locals·1
  
703 ····.line·1607 ····.line·1
704 ····new-instance·v0,·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda3;608 ····new-instance·v0,·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda2;
  
705 ····invoke-direct·{v0,·p0,·p1,·p2},·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda3;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/SelectionEvent;)V609 ····invoke-direct·{v0,·p0,·p1,·p2},·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda2;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/SelectionEvent;)V
  
706 ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/DefaultTextClassifierService;->handleEvent(Ljava/lang/Runnable;)V610 ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/DefaultTextClassifierService;->handleEvent(Ljava/lang/Runnable;)V
  
707 ····return-void611 ····return-void
708 .end·method612 .end·method
  
709 .method·public·onSuggestConversationActions(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/ConversationActions$Request;Landroid/os/CancellationSignal;Landroid/service/textclassifier/TextClassifierService$Callback;)V613 .method·public·onSuggestConversationActions(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/ConversationActions$Request;Landroid/os/CancellationSignal;Landroid/service/textclassifier/TextClassifierService$Callback;)V
Offset 758, 15 lines modifiedOffset 662, 15 lines modified
758 ····return-void662 ····return-void
759 .end·method663 .end·method
  
760 .method·public·onTextClassifierEvent(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassifierEvent;)V664 .method·public·onTextClassifierEvent(Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassifierEvent;)V
761 ····.locals·1665 ····.locals·1
  
762 ····.line·1666 ····.line·1
763 ····new-instance·v0,·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda3;667 ····new-instance·v0,·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda2;
  
764 ····invoke-direct·{v0,·p0,·p1,·p2},·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda3;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassifierEvent;)V668 ····invoke-direct·{v0,·p0,·p1,·p2},·Landroid/ext/services/notification/Assistant$$ExternalSyntheticLambda2;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassifierEvent;)V
  
765 ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/DefaultTextClassifierService;->handleEvent(Ljava/lang/Runnable;)V669 ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/DefaultTextClassifierService;->handleEvent(Ljava/lang/Runnable;)V
  
766 ····return-void670 ····return-void
767 .end·method671 .end·method