Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
1 | apex_manifest.pb | 1 | apex_manifest.pb |
2 | lost+found | 2 | lost+found |
3 | priv-app | 3 | priv-app |
4 | priv-app/ | 4 | priv-app/ExtServices |
5 | priv-app/ | 5 | priv-app/ExtServices/ExtServices.apk |
Offset 1, 2 lines modified | Offset 1, 2 lines modified | ||
00000000:·0a17·636f·6d2e·616e·6472·6f69·642e·6578··..com.android.ex | 00000000:·0a17·636f·6d2e·616e·6472·6f69·642e·6578··..com.android.ex | ||
00000010:·7473·6572·7669·6365·7310· | 00000010:·7473·6572·7669·6365·7310·80c6·868f·01····tservices...... |
Offset 1, 2 lines modified | Offset 1, 2 lines modified | ||
1 | 1 | ExtServices | |
2 | 2 | ExtServices/ExtServices.apk |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | 1 | ExtServices.apk |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | Verifies | 1 | Verifies |
2 | Verified·using·v1·scheme·(JAR·signing):·false | 2 | Verified·using·v1·scheme·(JAR·signing):·false |
3 | Verified·using·v2·scheme·(APK·Signature·Scheme·v2):·false | 3 | Verified·using·v2·scheme·(APK·Signature·Scheme·v2):·false |
4 | Verified·using·v3·scheme·(APK·Signature·Scheme·v3):·true | 4 | Verified·using·v3·scheme·(APK·Signature·Scheme·v3):·true |
5 | Number·of·signers:·1 | 5 | Number·of·signers:·1 |
6 | Signer·#1·certificate·DN:· | 6 | Signer·#1·certificate·DN:·EMAILADDRESS=android@android.com,·CN=Android,·OU=Android,·O=Android,·L=Mountain·View,·ST=California,·C=US |
7 | Signer·#1·certificate·SHA-256·digest:·184605095be6ca22d055f34efaf01344fd3ab3b5638c30627610eeae8a260b29 | ||
8 | Signer·#1·certificate·SHA-1·digest:·b99dd2248a4882e560503ba1b6cb10efb3808f21 | ||
9 | Signer·#1·certificate· | 7 | Signer·#1·certificate·SHA-256·digest:·c8a2e9bccf597c2fb6dc66bee293fc13f2fc47ec77bc6b2b0d52c11f51192ab8 |
8 | Signer·#1·certificate·SHA-1·digest:·27196e386b875e76adf700e7ea84e4c6eee33dfa | ||
9 | Signer·#1·certificate·MD5·digest:·8ddb342f2da5408402d7568af21e29f9 | ||
10 | Signer·#1·key·algorithm:·RSA | 10 | Signer·#1·key·algorithm:·RSA |
11 | Signer·#1·key·size·(bits):· | 11 | Signer·#1·key·size·(bits):·2048 |
12 | Signer·#1·public·key·SHA-256·digest:·24f02177cd9bd1eb8bc02e16a538e3e7e7e844620f112d85b0bcbf7f7c3e1231 | ||
13 | Signer·#1·public·key·SHA-1·digest:·6b89e99531fad790ad46a6bb1331b5c1933a5411 | ||
14 | Signer·#1·public·key· | 12 | Signer·#1·public·key·SHA-256·digest:·3d3df7dc9bf26e02d4cd76256d41d45e41a4dedebe7feb95c40e3697681be8a7 |
13 | Signer·#1·public·key·SHA-1·digest:·06cac910fdbd67398c0bb8e297ef679dea589f61 | ||
14 | Signer·#1·public·key·MD5·digest:·f3714d30107c5b7d1e29325669b80e05 |
Offset 1, 16 lines modified | Offset 1, 14 lines modified | ||
1 | Zip·file·size:· | 1 | Zip·file·size:·3959977·bytes,·number·of·entries:·46 |
2 | -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.arch.core_core-runtime.version | ||
3 | -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.autofill_autofill.version | 2 | -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.autofill_autofill.version |
4 | -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.core_core.version | 3 | -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.core_core.version |
5 | -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.lifecycle_lifecycle-runtime.version | 4 | -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.lifecycle_lifecycle-runtime.version |
6 | -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.versionedparcelable_versionedparcelable.version | 5 | -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.versionedparcelable_versionedparcelable.version |
7 | -rw----·····1.0·fat····39078·bx·stor·09-Jan-01·00:00·assets/NOTICE.html.gz | ||
8 | -rw----·····1.0·fat···5 | 6 | -rw----·····1.0·fat···512604·bx·stor·09-Jan-01·00:00·classes.dex |
9 | -rw----·····1.0·fat··3 | 7 | -rw----·····1.0·fat··3369904·bx·stor·09-Jan-01·00:00·lib/arm64-v8a/libtextclassifier.so |
10 | -rw----·····1.0·fat······212·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notification_bg_low_normal.9.png | 8 | -rw----·····1.0·fat······212·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notification_bg_low_normal.9.png |
11 | -rw----·····1.0·fat······225·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png | 9 | -rw----·····1.0·fat······225·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png |
12 | -rw----·····1.0·fat······212·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notification_bg_normal.9.png | 10 | -rw----·····1.0·fat······212·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notification_bg_normal.9.png |
13 | -rw----·····1.0·fat······225·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png | 11 | -rw----·····1.0·fat······225·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png |
14 | -rw----·····1.0·fat······107·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notify_panel_notification_icon_bg.png | 12 | -rw----·····1.0·fat······107·bx·stor·09-Jan-01·00:00·res/drawable-hdpi-v4/notify_panel_notification_icon_bg.png |
15 | -rw----·····1.0·fat······215·bx·stor·09-Jan-01·00:00·res/drawable-mdpi-v4/notification_bg_low_normal.9.png | 13 | -rw----·····1.0·fat······215·bx·stor·09-Jan-01·00:00·res/drawable-mdpi-v4/notification_bg_low_normal.9.png |
16 | -rw----·····1.0·fat······223·bx·stor·09-Jan-01·00:00·res/drawable-mdpi-v4/notification_bg_low_pressed.9.png | 14 | -rw----·····1.0·fat······223·bx·stor·09-Jan-01·00:00·res/drawable-mdpi-v4/notification_bg_low_pressed.9.png |
Offset 19, 15 lines modified | Offset 17, 15 lines modified | ||
19 | -rw----·····1.0·fat·······98·bx·stor·09-Jan-01·00:00·res/drawable-mdpi-v4/notify_panel_notification_icon_bg.png | 17 | -rw----·····1.0·fat·······98·bx·stor·09-Jan-01·00:00·res/drawable-mdpi-v4/notify_panel_notification_icon_bg.png |
20 | -rw----·····1.0·fat······221·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notification_bg_low_normal.9.png | 18 | -rw----·····1.0·fat······221·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notification_bg_low_normal.9.png |
21 | -rw----·····1.0·fat······252·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notification_bg_low_pressed.9.png | 19 | -rw----·····1.0·fat······252·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notification_bg_low_pressed.9.png |
22 | -rw----·····1.0·fat······221·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notification_bg_normal.9.png | 20 | -rw----·····1.0·fat······221·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notification_bg_normal.9.png |
23 | -rw----·····1.0·fat······247·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notification_bg_normal_pressed.9.png | 21 | -rw----·····1.0·fat······247·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notification_bg_normal_pressed.9.png |
24 | -rw----·····1.0·fat······138·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notify_panel_notification_icon_bg.png | 22 | -rw----·····1.0·fat······138·bx·stor·09-Jan-01·00:00·res/drawable-xhdpi-v4/notify_panel_notification_icon_bg.png |
25 | -rw----·····1.0·fat····38712·bx·stor·09-Jan-01·00:00·resources.arsc | 23 | -rw----·····1.0·fat····38712·bx·stor·09-Jan-01·00:00·resources.arsc |
26 | -rw----·····2.0·fat·····8 | 24 | -rw----·····2.0·fat·····8412·bl·defN·09-Jan-01·00:00·AndroidManifest.xml |
27 | -rw----·····2.0·fat······129·bl·defN·09-Jan-01·00:00·META-INF/maven/com.google.errorprone/error_prone_annotations/pom.properties | 25 | -rw----·····2.0·fat······129·bl·defN·09-Jan-01·00:00·META-INF/maven/com.google.errorprone/error_prone_annotations/pom.properties |
28 | -rw----·····2.0·fat·····1784·bl·defN·09-Jan-01·00:00·META-INF/maven/com.google.errorprone/error_prone_annotations/pom.xml | 26 | -rw----·····2.0·fat·····1784·bl·defN·09-Jan-01·00:00·META-INF/maven/com.google.errorprone/error_prone_annotations/pom.xml |
29 | -rw----·····2.0·fat······339·bl·defN·09-Jan-01·00:00·META-INF/proguard/androidx-annotations.pro | 27 | -rw----·····2.0·fat······339·bl·defN·09-Jan-01·00:00·META-INF/proguard/androidx-annotations.pro |
30 | -rw----·····2.0·fat·····1180·bl·defN·09-Jan-01·00:00·res/drawable-v21/notification_action_background.xml | 28 | -rw----·····2.0·fat·····1180·bl·defN·09-Jan-01·00:00·res/drawable-v21/notification_action_background.xml |
31 | -rw----·····2.0·fat······920·bl·defN·09-Jan-01·00:00·res/drawable-v29/autofill_inline_suggestion_chip_background.xml | 29 | -rw----·····2.0·fat······920·bl·defN·09-Jan-01·00:00·res/drawable-v29/autofill_inline_suggestion_chip_background.xml |
32 | -rw----·····2.0·fat······532·bl·defN·09-Jan-01·00:00·res/drawable/notification_bg.xml | 30 | -rw----·····2.0·fat······532·bl·defN·09-Jan-01·00:00·res/drawable/notification_bg.xml |
33 | -rw----·····2.0·fat······532·bl·defN·09-Jan-01·00:00·res/drawable/notification_bg_low.xml | 31 | -rw----·····2.0·fat······532·bl·defN·09-Jan-01·00:00·res/drawable/notification_bg_low.xml |
Offset 40, 12 lines modified | Offset 38, 11 lines modified | ||
40 | -rw----·····2.0·fat·····1228·bl·defN·09-Jan-01·00:00·res/layout-v21/notification_action_tombstone.xml | 38 | -rw----·····2.0·fat·····1228·bl·defN·09-Jan-01·00:00·res/layout-v21/notification_action_tombstone.xml |
41 | -rw----·····2.0·fat·····2456·bl·defN·09-Jan-01·00:00·res/layout-v21/notification_template_custom_big.xml | 39 | -rw----·····2.0·fat·····2456·bl·defN·09-Jan-01·00:00·res/layout-v21/notification_template_custom_big.xml |
42 | -rw----·····2.0·fat······988·bl·defN·09-Jan-01·00:00·res/layout-v21/notification_template_icon_group.xml | 40 | -rw----·····2.0·fat······988·bl·defN·09-Jan-01·00:00·res/layout-v21/notification_template_icon_group.xml |
43 | -rw----·····2.0·fat·····1260·bl·defN·09-Jan-01·00:00·res/layout/autofill_inline_suggestion.xml | 41 | -rw----·····2.0·fat·····1260·bl·defN·09-Jan-01·00:00·res/layout/autofill_inline_suggestion.xml |
44 | -rw----·····2.0·fat······612·bl·defN·09-Jan-01·00:00·res/layout/custom_dialog.xml | 42 | -rw----·····2.0·fat······612·bl·defN·09-Jan-01·00:00·res/layout/custom_dialog.xml |
45 | -rw----·····2.0·fat······440·bl·defN·09-Jan-01·00:00·res/layout/notification_template_part_chronometer.xml | 43 | -rw----·····2.0·fat······440·bl·defN·09-Jan-01·00:00·res/layout/notification_template_part_chronometer.xml |
46 | -rw----·····2.0·fat······440·bl·defN·09-Jan-01·00:00·res/layout/notification_template_part_time.xml | 44 | -rw----·····2.0·fat······440·bl·defN·09-Jan-01·00:00·res/layout/notification_template_part_time.xml |
47 | -rw----·····2.0·fat·······32·bl·defN·09-Jan-01·00:00·stamp-cert-sha256 | ||
48 | -rw----·····2.0·fat·····5 | 45 | -rw----·····2.0·fat·····5278·bl·defN·09-Jan-01·00:00·META-INF/CERT.SF |
49 | -rw----·····2.0·fat····· | 46 | -rw----·····2.0·fat·····1722·bl·defN·09-Jan-01·00:00·META-INF/CERT.RSA |
50 | -rw----·····2.0·fat·····5 | 47 | -rw----·····2.0·fat·····5166·bl·defN·09-Jan-01·00:00·META-INF/MANIFEST.MF |
51 | 4 | 48 | 46·files,·3961572·bytes·uncompressed,·3939273·bytes·compressed:··0.6% |
Offset 1, 53 lines modified | Offset 1, 52 lines modified | ||
1 | <?xml·version="1.0"·encoding="utf-8"?> | 1 | <?xml·version="1.0"·encoding="utf-8"?> |
2 | <manifest·xmlns:android="http://schemas.android.com/apk/res/android"·xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"·android:versionCode="30 | 2 | <manifest·xmlns:android="http://schemas.android.com/apk/res/android"·xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"·android:versionCode="300000000"·android:versionName="2019-09"·android:compileSdkVersion="30"·android:compileSdkVersionCodename="11"·coreApp="true"·package="android.ext.services"·platformBuildVersionCode="30"·platformBuildVersionName="11"> |
3 | ··<uses-sdk·android:minSdkVersion="30"·android:targetSdkVersion="30"/> | 3 | ··<uses-sdk·android:minSdkVersion="30"·android:targetSdkVersion="30"/> |
4 | ··<uses-permission·android:name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"/> | 4 | ··<uses-permission·android:name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE"/> |
5 | ··<uses-permission·android:name="android.permission.READ_DEVICE_CONFIG"/> | 5 | ··<uses-permission·android:name="android.permission.READ_DEVICE_CONFIG"/> |
6 | ··<uses-permission·android:name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE"/> | 6 | ··<uses-permission·android:name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE"/> |
7 | ··<uses-permission·android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE"/> | 7 | ··<uses-permission·android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE"/> |
8 | ··<uses-permission·android:name="android.permission.ACCESS_NETWORK_STATE"/> | 8 | ··<uses-permission·android:name="android.permission.ACCESS_NETWORK_STATE"/> |
9 | ··<uses-permission·android:name="android.permission.INTERACT_ACROSS_USERS"/> | 9 | ··<uses-permission·android:name="android.permission.INTERACT_ACROSS_USERS"/> |
10 | ··<uses-permission·android:name="android.permission.ACCESS_COARSE_LOCATION"/> | 10 | ··<uses-permission·android:name="android.permission.ACCESS_COARSE_LOCATION"/> |
11 | ··<uses-permission·android:name="android.permission.QUERY_ALL_PACKAGES"/> | 11 | ··<uses-permission·android:name="android.permission.QUERY_ALL_PACKAGES"/> |
12 | ··<application·android:label="@string/app_name"·android:supportsRtl="true"·android:extractNativeLibs="false"·android:defaultToDeviceProtectedStorage="true"·android:directBootAware="true"·android:appComponentFactory="androidx.core.app.CoreComponentFactory"·android:forceQueryable="true"> | 12 | ··<application·android:label="@string/app_name"·android:supportsRtl="true"·android:extractNativeLibs="false"·android:defaultToDeviceProtectedStorage="true"·android:directBootAware="true"·android:appComponentFactory="androidx.core.app.CoreComponentFactory"·android:forceQueryable="true"> |
13 | ····<service·android:name="android.ext.services.storage.CacheQuotaServiceImpl"·android:permission="android.permission.BIND_CACHE_QUOTA_SERVICE" | 13 | ····<service·android:name="android.ext.services.storage.CacheQuotaServiceImpl"·android:permission="android.permission.BIND_CACHE_QUOTA_SERVICE"> |
14 | ······<intent-filter> | 14 | ······<intent-filter> |
15 | ········<action·android:name="android.app.usage.CacheQuotaService"/> | 15 | ········<action·android:name="android.app.usage.CacheQuotaService"/> |
16 | ······</intent-filter> | 16 | ······</intent-filter> |
17 | ····</service> | 17 | ····</service> |
18 | ····<service·android:name="android.ext.services.resolver.LRResolverRankerService"·android:permission="android.permission.BIND_RESOLVER_RANKER_SERVICE" | 18 | ····<service·android:name="android.ext.services.resolver.LRResolverRankerService"·android:permission="android.permission.BIND_RESOLVER_RANKER_SERVICE"> |
19 | ······<intent-filter·android:priority="-1"> | 19 | ······<intent-filter·android:priority="-1"> |
20 | ········<action·android:name="android.service.resolver.ResolverRankerService"/> | 20 | ········<action·android:name="android.service.resolver.ResolverRankerService"/> |
21 | ······</intent-filter> | 21 | ······</intent-filter> |
22 | ····</service> | 22 | ····</service> |
23 | ····<service·android:label="@string/notification_assistant"·android:name="android.ext.services.notification.Assistant"·android:permission="android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"·android:exported="true"> | 23 | ····<service·android:label="@string/notification_assistant"·android:name="android.ext.services.notification.Assistant"·android:permission="android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"·android:exported="true"> |
24 | ······<intent-filter> | 24 | ······<intent-filter> |
25 | ········<action·android:name="android.service.notification.NotificationAssistantService"/> | 25 | ········<action·android:name="android.service.notification.NotificationAssistantService"/> |
26 | ······</intent-filter> | 26 | ······</intent-filter> |
27 | ····</service> | 27 | ····</service> |
28 | ····<service·android:name="android.ext.services.autofill.AutofillFieldClassificationServiceImpl"·android:permission="android.permission.BIND_AUTOFILL_FIELD_CLASSIFICATION_SERVICE" | 28 | ····<service·android:name="android.ext.services.autofill.AutofillFieldClassificationServiceImpl"·android:permission="android.permission.BIND_AUTOFILL_FIELD_CLASSIFICATION_SERVICE"> |
29 | ······<intent-filter> | 29 | ······<intent-filter> |
30 | ········<action·android:name="android.service.autofill.AutofillFieldClassificationService"/> | 30 | ········<action·android:name="android.service.autofill.AutofillFieldClassificationService"/> |
31 | ······</intent-filter> | 31 | ······</intent-filter> |
32 | ······<meta-data·android:name="android.autofill.field_classification.default_algorithm"·android:resource="@string/autofill_field_classification_default_algorithm"/> | 32 | ······<meta-data·android:name="android.autofill.field_classification.default_algorithm"·android:resource="@string/autofill_field_classification_default_algorithm"/> |
33 | ······<meta-data·android:name="android.autofill.field_classification.available_algorithms"·android:resource="@array/autofill_field_classification_available_algorithms"/> | 33 | ······<meta-data·android:name="android.autofill.field_classification.available_algorithms"·android:resource="@array/autofill_field_classification_available_algorithms"/> |
34 | ····</service> | 34 | ····</service> |
35 | ····<service·android:name="android.ext.services.watchdog.ExplicitHealthCheckServiceImpl"·android:permission="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE" | 35 | ····<service·android:name="android.ext.services.watchdog.ExplicitHealthCheckServiceImpl"·android:permission="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE"> |
36 | ······<intent-filter> | 36 | ······<intent-filter> |
37 | ········<action·android:name="android.service.watchdog.ExplicitHealthCheckService"/> | 37 | ········<action·android:name="android.service.watchdog.ExplicitHealthCheckService"/> |
38 | ······</intent-filter> | 38 | ······</intent-filter> |
39 | ····</service> | 39 | ····</service> |
40 | ····<activity·android:theme="@android:style/Theme.NoDisplay"·android:name="com.android.textclassifier.notification.CopyCodeActivity"·android:exported="false"/> | 40 | ····<activity·android:theme="@android:style/Theme.NoDisplay"·android:name="com.android.textclassifier.notification.CopyCodeActivity"·android:exported="false"/> |
41 | ····<service·android:name="com.android.textclassifier.DefaultTextClassifierService"·android:permission="android.permission.BIND_TEXTCLASSIFIER_SERVICE"·android:exported="true"> | 41 | ····<service·android:name="com.android.textclassifier.DefaultTextClassifierService"·android:permission="android.permission.BIND_TEXTCLASSIFIER_SERVICE"·android:exported="true"> |
42 | ······<intent-filter> | 42 | ······<intent-filter> |
43 | ········<action·android:name="android.service.textclassifier.TextClassifierService"/> | 43 | ········<action·android:name="android.service.textclassifier.TextClassifierService"/> |
44 | ······</intent-filter> | 44 | ······</intent-filter> |
45 | ····</service> | 45 | ····</service> |
46 | ····<service·android:name="android.ext.services.autofill.InlineSuggestionRenderServiceImpl"·android:permission="android.permission.BIND_INLINE_SUGGESTION_RENDER_SERVICE" | 46 | ····<service·android:name="android.ext.services.autofill.InlineSuggestionRenderServiceImpl"·android:permission="android.permission.BIND_INLINE_SUGGESTION_RENDER_SERVICE"> |
47 | ······<intent-filter> | 47 | ······<intent-filter> |
48 | ········<action·android:name="android.service.autofill.InlineSuggestionRenderService"/> | 48 | ········<action·android:name="android.service.autofill.InlineSuggestionRenderService"/> |
49 | ······</intent-filter> | 49 | ······</intent-filter> |
50 | ····</service> | 50 | ····</service> |
51 | ····<meta-data·android:name="android.content.pm.LOGGING_PARENT"·android:value="com.google.android.modulemetadata"/> | ||
52 | ··</application> | 51 | ··</application> |
53 | </manifest> | 52 | </manifest> |
Offset 1, 18 lines modified | Offset 1, 16 lines modified | ||
1 | !!brut.androlib.meta.MetaInfo | 1 | !!brut.androlib.meta.MetaInfo |
2 | compressionType:·false | 2 | compressionType:·false |
3 | doNotCompress: | 3 | doNotCompress: |
4 | -·dex | 4 | -·dex |
5 | -·arsc | 5 | -·arsc |
6 | -·META-INF/androidx.arch.core_core-runtime.version | ||
7 | -·META-INF/androidx.autofill_autofill.version | 6 | -·META-INF/androidx.autofill_autofill.version |
8 | -·META-INF/androidx.core_core.version | 7 | -·META-INF/androidx.core_core.version |
9 | -·META-INF/androidx.lifecycle_lifecycle-runtime.version | 8 | -·META-INF/androidx.lifecycle_lifecycle-runtime.version |
10 | -·META-INF/androidx.versionedparcelable_versionedparcelable.version | 9 | -·META-INF/androidx.versionedparcelable_versionedparcelable.version |
11 | -·assets/NOTICE.html.gz | ||
12 | -·so | 10 | -·so |
13 | -·res/drawable-hdpi-v4/notification_bg_low_normal.9.png | 11 | -·res/drawable-hdpi-v4/notification_bg_low_normal.9.png |
14 | -·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png | 12 | -·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png |
15 | -·res/drawable-hdpi-v4/notification_bg_normal.9.png | 13 | -·res/drawable-hdpi-v4/notification_bg_normal.9.png |
16 | -·res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png | 14 | -·res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png |
17 | -·png | 15 | -·png |
18 | -·res/drawable-mdpi-v4/notification_bg_low_normal.9.png | 16 | -·res/drawable-mdpi-v4/notification_bg_low_normal.9.png |
Offset 26, 17 lines modified | Offset 24, 16 lines modified | ||
26 | isFrameworkApk:·false | 24 | isFrameworkApk:·false |
27 | packageInfo:·null | 25 | packageInfo:·null |
28 | sdkInfo: | 26 | sdkInfo: |
29 | ··minSdkVersion:·'30' | 27 | ··minSdkVersion:·'30' |
30 | ··targetSdkVersion:·'30' | 28 | ··targetSdkVersion:·'30' |
31 | sharedLibrary:·false | 29 | sharedLibrary:·false |
32 | sparseResources:·false | 30 | sparseResources:·false |
33 | unknownFiles: | 31 | unknownFiles:·{} |
34 | ··stamp-cert-sha256:·'8' | ||
35 | usesFramework: | 32 | usesFramework: |
36 | ··ids: | 33 | ··ids: |
37 | ··-·1 | 34 | ··-·1 |
38 | ··tag:·null | 35 | ··tag:·null |
39 | version:·2.4.0-dirty | 36 | version:·2.4.0-dirty |
40 | versionInfo: | 37 | versionInfo: |
41 | ··versionCode:·'30 | 38 | ··versionCode:·'300000000' |
42 | ··versionName:· | 39 | ··versionName:·2019-09 |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | Zip·file·size:·9 | 1 | Zip·file·size:·912188·bytes,·number·of·entries:·569 |
2 | ?rwxrwxr-x··2.0·unx······801·b-·stor·80-Jan-01·00:00·android/ext/services/autofill/-$$Lambda$InlineSuggestionRenderServiceImpl$Zc7Cw4Af0nVrsEQVRbOUCayIteQ.class | 2 | ?rwxrwxr-x··2.0·unx······801·b-·stor·80-Jan-01·00:00·android/ext/services/autofill/-$$Lambda$InlineSuggestionRenderServiceImpl$Zc7Cw4Af0nVrsEQVRbOUCayIteQ.class |
3 | ?rwxrwxr-x··2.0·unx·····1089·b-·stor·80-Jan-01·00:00·android/ext/services/autofill/CreditCardMatcher.class | 3 | ?rwxrwxr-x··2.0·unx·····1089·b-·stor·80-Jan-01·00:00·android/ext/services/autofill/CreditCardMatcher.class |
4 | ?rwxrwxr-x··2.0·unx······944·b-·stor·80-Jan-01·00:00·android/ext/services/autofill/ExactMatch.class | 4 | ?rwxrwxr-x··2.0·unx······944·b-·stor·80-Jan-01·00:00·android/ext/services/autofill/ExactMatch.class |
5 | ?rwxrwxr-x··2.0·unx·····2 | 5 | ?rwxrwxr-x··2.0·unx·····2339·b-·stor·80-Jan-01·00:00·android/ext/services/autofill/InlineSuggestionRenderServiceImpl.class |
6 | ?rwxrwxr-x··2.0·unx······747·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$8OcbgaBkWzZD9QqsQxJ8tATyoDg.class | 6 | ?rwxrwxr-x··2.0·unx······747·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$8OcbgaBkWzZD9QqsQxJ8tATyoDg.class |
7 | ?rwxrwxr-x··2.0·unx······745·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$KNS2YvWxIn_DhQn56_TYhEouU5g.class | 7 | ?rwxrwxr-x··2.0·unx······745·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$KNS2YvWxIn_DhQn56_TYhEouU5g.class |
8 | ?rwxrwxr-x··2.0·unx······598·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$enxCDYGVDNz5w3C940JBwNCQS_0.class | 8 | ?rwxrwxr-x··2.0·unx······598·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$enxCDYGVDNz5w3C940JBwNCQS_0.class |
9 | ?rwxrwxr-x··2.0·unx······832·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$qgLReRMtuuL1lIroEENW9NmyU-o.class | 9 | ?rwxrwxr-x··2.0·unx······832·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$qgLReRMtuuL1lIroEENW9NmyU-o.class |
10 | ?rwxrwxr-x··2.0·unx······767·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$zkD5hZILRH-2pAmtLN6pAn6Qgx8.class | 10 | ?rwxrwxr-x··2.0·unx······767·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$Assistant$zkD5hZILRH-2pAmtLN6pAn6Qgx8.class |
11 | ?rwxrwxr-x··2.0·unx······639·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$AssistantSettings$2swz6XVVRpcB5k2897oDHYrCXyU.class | 11 | ?rwxrwxr-x··2.0·unx······639·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$AssistantSettings$2swz6XVVRpcB5k2897oDHYrCXyU.class |
12 | ?rwxrwxr-x··2.0·unx······636·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$AssistantSettings$7UYjfS1qjCUtR0XPhfm4M_F5NQE.class | 12 | ?rwxrwxr-x··2.0·unx······636·b-·stor·80-Jan-01·00:00·android/ext/services/notification/-$$Lambda$AssistantSettings$7UYjfS1qjCUtR0XPhfm4M_F5NQE.class |
Offset 34, 17 lines modified | Offset 34, 17 lines modified | ||
34 | ?rwxrwxr-x··2.0·unx······623·b-·stor·80-Jan-01·00:00·android/support/v4/os/ResultReceiver$1.class | 34 | ?rwxrwxr-x··2.0·unx······623·b-·stor·80-Jan-01·00:00·android/support/v4/os/ResultReceiver$1.class |
35 | ?rwxrwxr-x··2.0·unx······575·b-·stor·80-Jan-01·00:00·android/support/v4/os/ResultReceiver$MyRunnable.class | 35 | ?rwxrwxr-x··2.0·unx······575·b-·stor·80-Jan-01·00:00·android/support/v4/os/ResultReceiver$MyRunnable.class |
36 | ?rwxrwxr-x··2.0·unx·····1252·b-·stor·80-Jan-01·00:00·android/support/v4/os/ResultReceiver.class | 36 | ?rwxrwxr-x··2.0·unx·····1252·b-·stor·80-Jan-01·00:00·android/support/v4/os/ResultReceiver.class |
37 | ?rwxrwxr-x··2.0·unx······115·b-·stor·80-Jan-01·00:00·androidx/annotation/Keep.class | 37 | ?rwxrwxr-x··2.0·unx······115·b-·stor·80-Jan-01·00:00·androidx/annotation/Keep.class |
38 | ?rwxrwxr-x··2.0·unx······329·b-·stor·80-Jan-01·00:00·androidx/autofill/R$id.class | 38 | ?rwxrwxr-x··2.0·unx······329·b-·stor·80-Jan-01·00:00·androidx/autofill/R$id.class |
39 | ?rwxrwxr-x··2.0·unx······148·b-·stor·80-Jan-01·00:00·androidx/autofill/R$layout.class | 39 | ?rwxrwxr-x··2.0·unx······148·b-·stor·80-Jan-01·00:00·androidx/autofill/R$layout.class |
40 | ?rwxrwxr-x··2.0·unx······151·b-·stor·80-Jan-01·00:00·androidx/autofill/R$style.class | 40 | ?rwxrwxr-x··2.0·unx······151·b-·stor·80-Jan-01·00:00·androidx/autofill/R$style.class |
41 | ?rwxrwxr-x··2.0·unx·····2 | 41 | ?rwxrwxr-x··2.0·unx·····2060·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/Renderer.class |
42 | ?rwxrwxr-x··2.0·unx······497·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/UiVersions.class | 42 | ?rwxrwxr-x··2.0·unx······497·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/UiVersions.class |
43 | ?rwxrwxr-x··2.0·unx······ | 43 | ?rwxrwxr-x··2.0·unx······529·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/VersionUtils.class |
44 | ?rwxrwxr-x··2.0·unx······443·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/common/BundledStyle.class | 44 | ?rwxrwxr-x··2.0·unx······443·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/common/BundledStyle.class |
45 | ?rwxrwxr-x··2.0·unx······646·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/common/SlicedContent.class | 45 | ?rwxrwxr-x··2.0·unx······646·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/common/SlicedContent.class |
46 | ?rwxrwxr-x··2.0·unx·····3477·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/v1/InlineSuggestionUi.class | 46 | ?rwxrwxr-x··2.0·unx·····3477·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/v1/InlineSuggestionUi.class |
47 | ?rwxrwxr-x··2.0·unx·····2239·b-·stor·80-Jan-01·00:00·androidx/collection/ArrayMap$EntrySet.class | 47 | ?rwxrwxr-x··2.0·unx·····2239·b-·stor·80-Jan-01·00:00·androidx/collection/ArrayMap$EntrySet.class |
48 | ?rwxrwxr-x··2.0·unx·····1750·b-·stor·80-Jan-01·00:00·androidx/collection/ArrayMap$KeySet.class | 48 | ?rwxrwxr-x··2.0·unx·····1750·b-·stor·80-Jan-01·00:00·androidx/collection/ArrayMap$KeySet.class |
49 | ?rwxrwxr-x··2.0·unx·····2161·b-·stor·80-Jan-01·00:00·androidx/collection/ArrayMap$MapIterator.class | 49 | ?rwxrwxr-x··2.0·unx·····2161·b-·stor·80-Jan-01·00:00·androidx/collection/ArrayMap$MapIterator.class |
50 | ?rwxrwxr-x··2.0·unx·····1828·b-·stor·80-Jan-01·00:00·androidx/collection/ArrayMap$ValueCollection.class | 50 | ?rwxrwxr-x··2.0·unx·····1828·b-·stor·80-Jan-01·00:00·androidx/collection/ArrayMap$ValueCollection.class |
Offset 82, 61 lines modified | Offset 82, 57 lines modified | ||
82 | ?rwxrwxr-x··2.0·unx······550·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$DefaultTextClassifierService$uayK-PvjyPV4tI4hMS5w5SeT0rA.class | 82 | ?rwxrwxr-x··2.0·unx······550·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$DefaultTextClassifierService$uayK-PvjyPV4tI4hMS5w5SeT0rA.class |
83 | ?rwxrwxr-x··2.0·unx······832·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$DefaultTextClassifierService$w-rc-EC-vdc0nPUCi2eXlf71Smw.class | 83 | ?rwxrwxr-x··2.0·unx······832·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$DefaultTextClassifierService$w-rc-EC-vdc0nPUCi2eXlf71Smw.class |
84 | ?rwxrwxr-x··2.0·unx······522·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$DefaultTextClassifierService$yNSEFy3JVW1IOjoC_clSd0dxJhU.class | 84 | ?rwxrwxr-x··2.0·unx······522·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$DefaultTextClassifierService$yNSEFy3JVW1IOjoC_clSd0dxJhU.class |
85 | ?rwxrwxr-x··2.0·unx······813·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$DefaultTextClassifierService$yXvzteEXitEHOLvc8n1LDN1uTOg.class | 85 | ?rwxrwxr-x··2.0·unx······813·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$DefaultTextClassifierService$yXvzteEXitEHOLvc8n1LDN1uTOg.class |
86 | ?rwxrwxr-x··2.0·unx······630·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$EntityConfidence$hoZFXqIZjQVxadsNS4Jf5wV-hgo.class | 86 | ?rwxrwxr-x··2.0·unx······630·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$EntityConfidence$hoZFXqIZjQVxadsNS4Jf5wV-hgo.class |
87 | ?rwxrwxr-x··2.0·unx······504·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$L_UQMPjXwBN0ch4zL2dD82nf9RI.class | 87 | ?rwxrwxr-x··2.0·unx······504·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$L_UQMPjXwBN0ch4zL2dD82nf9RI.class |
88 | ?rwxrwxr-x··2.0·unx······705·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk.class | 88 | ?rwxrwxr-x··2.0·unx······705·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk.class |
89 | ?rwxrwxr-x··2.0·unx······692·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$ModelFileManager$ModelFileSupplierImpl$fMYSxifD0V8sHsS4KyfvDE-HosE.class | ||
90 | ?rwxrwxr-x··2.0·unx······604·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$NxwbyZSxofZ4Z5SQhfXmtLQ1nxk.class | 89 | ?rwxrwxr-x··2.0·unx······604·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$NxwbyZSxofZ4Z5SQhfXmtLQ1nxk.class |
91 | ?rwxrwxr-x··2.0·unx······462·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$OGSS2qx6njxlnp0dnKb4lA3jnw8.class | 90 | ?rwxrwxr-x··2.0·unx······462·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$OGSS2qx6njxlnp0dnKb4lA3jnw8.class |
92 | ?rwxrwxr-x··2.0·unx······553·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$TextClassifierImpl$2dNQE4N9CXjJ-oio8KtmeiaIZ_M.class | ||
93 | ?rwxrwxr-x··2.0·unx······ | 91 | ?rwxrwxr-x··2.0·unx······629·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$TextClassifierImpl$GgWuU910BaKzzHu6MQGYGCHOgkg.class |
94 | ?rwxrwxr-x··2.0·unx······667·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$TextClassifierImpl$Lko6ClGZ6OU9F7efqKl9WVqP3kc.class | 92 | ?rwxrwxr-x··2.0·unx······667·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$TextClassifierImpl$Lko6ClGZ6OU9F7efqKl9WVqP3kc.class |
93 | ?rwxrwxr-x··2.0·unx······784·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws.class | ||
94 | ?rwxrwxr-x··2.0·unx······553·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$TextClassifierImpl$wlF5Lmygug2HifzLlH779V8jReI.class | ||
95 | ?rwxrwxr-x··2.0·unx······613·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$XeE_KI7QgMKzF9vYRSoFWAolyuA.class | 95 | ?rwxrwxr-x··2.0·unx······613·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$XeE_KI7QgMKzF9vYRSoFWAolyuA.class |
96 | ?rwxrwxr-x··2.0·unx······602·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k.class | 96 | ?rwxrwxr-x··2.0·unx······602·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k.class |
97 | ?rwxrwxr-x··2.0·unx······635·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$jJq8RXuVdjYF3lPq-77PEw1NJLM.class | 97 | ?rwxrwxr-x··2.0·unx······635·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$jJq8RXuVdjYF3lPq-77PEw1NJLM.class |
98 | ?rwxrwxr-x··2.0·unx······105·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ActionsSuggestionsHelper$1.class | 98 | ?rwxrwxr-x··2.0·unx······105·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ActionsSuggestionsHelper$1.class |
99 | ?rwxrwxr-x··2.0·unx·····1601·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder.class | 99 | ?rwxrwxr-x··2.0·unx·····1601·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder.class |
100 | ?rwxrwxr-x··2.0·unx·····80 | 100 | ?rwxrwxr-x··2.0·unx·····8051·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ActionsSuggestionsHelper.class |
101 | ?rwxrwxr-x··2.0·unx····· | 101 | ?rwxrwxr-x··2.0·unx·····8962·b-·stor·80-Jan-01·00:00·com/android/textclassifier/DefaultTextClassifierService.class |
102 | ?rwxrwxr-x··2.0·unx·····2328·b-·stor·80-Jan-01·00:00·com/android/textclassifier/EntityConfidence.class | 102 | ?rwxrwxr-x··2.0·unx·····2328·b-·stor·80-Jan-01·00:00·com/android/textclassifier/EntityConfidence.class |
103 | ?rwxrwxr-x··2.0·unx·····4837·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ExtrasUtils.class | 103 | ?rwxrwxr-x··2.0·unx·····4837·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ExtrasUtils.class |
104 | ?rwxrwxr-x··2.0·unx······547·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager$ModelFile$ModelType.class | ||
105 | ?rwxrwxr-x··2.0·unx·····376 | 104 | ?rwxrwxr-x··2.0·unx·····3676·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager$ModelFile.class |
106 | ?rwxrwxr-x··2.0·unx·····1013·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl$ModelFileInfo.class | ||
107 | ?rwxrwxr-x··2.0·unx····· | 105 | ?rwxrwxr-x··2.0·unx·····4650·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.class |
108 | ?rwxrwxr-x··2.0·unx····· | 106 | ?rwxrwxr-x··2.0·unx·····1435·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager.class |
109 | ?rwxrwxr-x··2.0·unx····3 | 107 | ?rwxrwxr-x··2.0·unx····35123·b-·defN·80-Jan-01·00:00·com/android/textclassifier/TextClassifierImpl.class |
110 | ?rwxrwxr-x··2.0·unx······485·b-·stor·80-Jan-01·00:00·com/android/textclassifier/TextClassifierSettings$IDeviceConfig.class | ||
111 | ?rwxrwxr-x··2.0·unx····· | 108 | ?rwxrwxr-x··2.0·unx·····5889·b-·stor·80-Jan-01·00:00·com/android/textclassifier/TextClassifierSettings.class |
112 | ?rwxrwxr-x··2.0·unx······800·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/base/TcLog.class | 109 | ?rwxrwxr-x··2.0·unx······800·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/base/TcLog.class |
113 | ?rwxrwxr-x··2.0·unx······588·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/intent/LabeledIntent$Result.class | 110 | ?rwxrwxr-x··2.0·unx······588·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/intent/LabeledIntent$Result.class |
114 | ?rwxrwxr-x··2.0·unx······258·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/intent/LabeledIntent$TitleChooser.class | 111 | ?rwxrwxr-x··2.0·unx······258·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/intent/LabeledIntent$TitleChooser.class |
115 | ?rwxrwxr-x··2.0·unx····· | 112 | ?rwxrwxr-x··2.0·unx·····5660·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/intent/LabeledIntent.class |
116 | ?rwxrwxr-x··2.0·unx·····5187·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/intent/TemplateIntentFactory.class | 113 | ?rwxrwxr-x··2.0·unx·····5187·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/intent/TemplateIntentFactory.class |
117 | ?rwxrwxr-x··2.0·unx······730·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/ResultIdUtils$ModelInfo.class | 114 | ?rwxrwxr-x··2.0·unx······730·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/ResultIdUtils$ModelInfo.class |
118 | ?rwxrwxr-x··2.0·unx·····2984·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/ResultIdUtils.class | 115 | ?rwxrwxr-x··2.0·unx·····2984·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/ResultIdUtils.class |
119 | ?rwxrwxr-x··2.0·unx······121·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassificationContext$1.class | 116 | ?rwxrwxr-x··2.0·unx······121·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassificationContext$1.class |
120 | ?rwxrwxr-x··2.0·unx·····1013·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassificationContext$Builder.class | 117 | ?rwxrwxr-x··2.0·unx·····1013·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassificationContext$Builder.class |
121 | ?rwxrwxr-x··2.0·unx·····1149·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassificationContext.class | 118 | ?rwxrwxr-x··2.0·unx·····1149·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassificationContext.class |
122 | ?rwxrwxr-x··2.0·unx·····1290·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassificationSessionId.class | 119 | ?rwxrwxr-x··2.0·unx·····1290·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassificationSessionId.class |
123 | ?rwxrwxr-x··2.0·unx······115·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassifierEvent$1.class | 120 | ?rwxrwxr-x··2.0·unx······115·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassifierEvent$1.class |
124 | ?rwxrwxr-x··2.0·unx·····3722·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassifierEvent$Builder.class | 121 | ?rwxrwxr-x··2.0·unx·····3722·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassifierEvent$Builder.class |
125 | ?rwxrwxr-x··2.0·unx·····3720·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassifierEvent.class | 122 | ?rwxrwxr-x··2.0·unx·····3720·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/logging/TextClassifierEvent.class |
126 | ?rwxrwxr-x··2.0·unx······608·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/-$$Lambda$GenerateLinksLogger$Pc3PlDwg4TEgsFqlhikIPj1R5GA.class | 123 | ?rwxrwxr-x··2.0·unx······608·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/-$$Lambda$GenerateLinksLogger$Pc3PlDwg4TEgsFqlhikIPj1R5GA.class |
127 | ?rwxrwxr-x··2.0·unx······742·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/-$$Lambda$GenerateLinksLogger$Ppb_G2fUFe9AHi7fb5Jb5NKe9nU.class | 124 | ?rwxrwxr-x··2.0·unx······742·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/-$$Lambda$GenerateLinksLogger$Ppb_G2fUFe9AHi7fb5Jb5NKe9nU.class |
128 | ?rwxrwxr-x··2.0·unx······114·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/GenerateLinksLogger$1.class | 125 | ?rwxrwxr-x··2.0·unx······114·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/GenerateLinksLogger$1.class |
129 | ?rwxrwxr-x··2.0·unx······599·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats.class | 126 | ?rwxrwxr-x··2.0·unx······599·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats.class |
130 | ?rwxrwxr-x··2.0·unx····· | 127 | ?rwxrwxr-x··2.0·unx·····5233·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/GenerateLinksLogger.class |
131 | ?rwxrwxr-x··2.0·unx·····2662·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/SelectionEventConverter.class | 128 | ?rwxrwxr-x··2.0·unx·····2662·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/SelectionEventConverter.class |
132 | ?rwxrwxr-x··2.0·unx······630·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/TextClassificationSessionIdConverter.class | 129 | ?rwxrwxr-x··2.0·unx······630·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/TextClassificationSessionIdConverter.class |
133 | ?rwxrwxr-x··2.0·unx·····5802·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/TextClassifierEventConverter.class | 130 | ?rwxrwxr-x··2.0·unx·····5802·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/TextClassifierEventConverter.class |
134 | ?rwxrwxr-x··2.0·unx·····7 | 131 | ?rwxrwxr-x··2.0·unx·····7243·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/TextClassifierEventLogger.class |
135 | ?rwxrwxr-x··2.0·unx·····1675·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/TextClassifierStatsLog.class | ||
136 | ?rwxrwxr-x··2.0·unx······571·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/-$$Lambda$GAGfzMbcczN3XjrMYlSN9rpKxHs.class | 132 | ?rwxrwxr-x··2.0·unx······571·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/-$$Lambda$GAGfzMbcczN3XjrMYlSN9rpKxHs.class |
137 | ?rwxrwxr-x··2.0·unx·····1376·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsHelper$nqAehbuWudtq1R0SqQHGETrZ0XQ.class | 133 | ?rwxrwxr-x··2.0·unx·····1376·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsHelper$nqAehbuWudtq1R0SqQHGETrZ0XQ.class |
138 | ?rwxrwxr-x··2.0·unx······654·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsLogSession$Nme9AGABTW6ttsuf-I1x1v3RdM8.class | 134 | ?rwxrwxr-x··2.0·unx······654·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsLogSession$Nme9AGABTW6ttsuf-I1x1v3RdM8.class |
139 | ?rwxrwxr-x··2.0·unx·····1377·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/CopyCodeActivity.class | 135 | ?rwxrwxr-x··2.0·unx·····1377·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/CopyCodeActivity.class |
140 | ?rwxrwxr-x··2.0·unx·····1770·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/NotificationUtils.class | 136 | ?rwxrwxr-x··2.0·unx·····1770·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/NotificationUtils.class |
141 | ?rwxrwxr-x··2.0·unx······223·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/R$drawable.class | 137 | ?rwxrwxr-x··2.0·unx······223·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/R$drawable.class |
142 | ?rwxrwxr-x··2.0·unx······224·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/R$string.class | 138 | ?rwxrwxr-x··2.0·unx······224·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/R$string.class |
Offset 147, 31 lines modified | Offset 143, 25 lines modified | ||
147 | ?rwxrwxr-x··2.0·unx····14805·b-·defN·80-Jan-01·00:00·com/android/textclassifier/notification/SmartSuggestionsHelper.class | 143 | ?rwxrwxr-x··2.0·unx····14805·b-·defN·80-Jan-01·00:00·com/android/textclassifier/notification/SmartSuggestionsHelper.class |
148 | ?rwxrwxr-x··2.0·unx·····3754·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/SmartSuggestionsLogSession.class | 144 | ?rwxrwxr-x··2.0·unx·····3754·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/SmartSuggestionsLogSession.class |
149 | ?rwxrwxr-x··2.0·unx·····1581·b-·stor·80-Jan-01·00:00·com/android/textclassifier/utils/IndentingPrintWriter.class | 145 | ?rwxrwxr-x··2.0·unx·····1581·b-·stor·80-Jan-01·00:00·com/android/textclassifier/utils/IndentingPrintWriter.class |
150 | ?rwxrwxr-x··2.0·unx·····1171·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion.class | 146 | ?rwxrwxr-x··2.0·unx·····1171·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion.class |
151 | ?rwxrwxr-x··2.0·unx······196·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions.class | 147 | ?rwxrwxr-x··2.0·unx······196·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions.class |
152 | ?rwxrwxr-x··2.0·unx······542·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel$Conversation.class | 148 | ?rwxrwxr-x··2.0·unx······542·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel$Conversation.class |
153 | ?rwxrwxr-x··2.0·unx······773·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage.class | 149 | ?rwxrwxr-x··2.0·unx······773·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage.class |
154 | ?rwxrwxr-x··2.0·unx····· | 150 | ?rwxrwxr-x··2.0·unx·····2982·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel.class |
155 | ?rwxrwxr-x··2.0·unx······102·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$1.class | ||
156 | ?rwxrwxr-x··2.0·unx·····1037·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotateMode.class | ||
157 | ?rwxrwxr-x··2.0·unx······672·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotatedSpan.class | 151 | ?rwxrwxr-x··2.0·unx······672·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotatedSpan.class |
158 | ?rwxrwxr-x··2.0·unx·····3259·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotationOptions$Builder.class | ||
159 | ?rwxrwxr-x··2.0·unx·····2 | 152 | ?rwxrwxr-x··2.0·unx·····2315·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotationOptions.class |
160 | ?rwxrwxr-x··2.0·unx·····1021·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotationUsecase.class | 153 | ?rwxrwxr-x··2.0·unx·····1021·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotationUsecase.class |
161 | ?rwxrwxr-x··2.0·unx······799·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$Annotations.class | ||
162 | ?rwxrwxr-x··2.0·unx·····2551·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$ClassificationOptions$Builder.class | ||
163 | ?rwxrwxr-x··2.0·unx·····1 | 154 | ?rwxrwxr-x··2.0·unx·····1593·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$ClassificationOptions.class |
164 | ?rwxrwxr-x··2.0·unx·····2756·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$ClassificationResult.class | 155 | ?rwxrwxr-x··2.0·unx·····2756·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$ClassificationResult.class |
165 | ?rwxrwxr-x··2.0·unx······659·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$DatetimeResult.class | 156 | ?rwxrwxr-x··2.0·unx······659·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$DatetimeResult.class |
166 | ?rwxrwxr-x··2.0·unx······652·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions.class | 157 | ?rwxrwxr-x··2.0·unx······652·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions.class |
167 | ?rwxrwxr-x··2.0·unx·····1171·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$InputFragment.class | 158 | ?rwxrwxr-x··2.0·unx·····1171·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$InputFragment.class |
168 | ?rwxrwxr-x··2.0·unx·····1907·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$SelectionOptions$Builder.class | ||
169 | ?rwxrwxr-x··2.0·unx·····1 | 159 | ?rwxrwxr-x··2.0·unx·····1198·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$SelectionOptions.class |
170 | ?rwxrwxr-x··2.0·unx····· | 160 | ?rwxrwxr-x··2.0·unx·····5347·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel.class |
171 | ?rwxrwxr-x··2.0·unx······408·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/LangIdModel$LanguageResult.class | 161 | ?rwxrwxr-x··2.0·unx······408·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/LangIdModel$LanguageResult.class |
172 | ?rwxrwxr-x··2.0·unx·····2027·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/LangIdModel.class | 162 | ?rwxrwxr-x··2.0·unx·····2027·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/LangIdModel.class |
173 | ?rwxrwxr-x··2.0·unx·····2644·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/NamedVariant.class | 163 | ?rwxrwxr-x··2.0·unx·····2644·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/NamedVariant.class |
174 | ?rwxrwxr-x··2.0·unx······984·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/RemoteActionTemplate.class | 164 | ?rwxrwxr-x··2.0·unx······984·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/RemoteActionTemplate.class |
175 | ?rwxrwxr-x··2.0·unx······637·b-·stor·80-Jan-01·00:00·com/google/common/base/AbstractIterator$1.class | 165 | ?rwxrwxr-x··2.0·unx······637·b-·stor·80-Jan-01·00:00·com/google/common/base/AbstractIterator$1.class |
176 | ?rwxrwxr-x··2.0·unx······936·b-·stor·80-Jan-01·00:00·com/google/common/base/AbstractIterator$State.class | 166 | ?rwxrwxr-x··2.0·unx······936·b-·stor·80-Jan-01·00:00·com/google/common/base/AbstractIterator$State.class |
177 | ?rwxrwxr-x··2.0·unx·····1226·b-·stor·80-Jan-01·00:00·com/google/common/base/AbstractIterator.class | 167 | ?rwxrwxr-x··2.0·unx·····1226·b-·stor·80-Jan-01·00:00·com/google/common/base/AbstractIterator.class |
Offset 227, 15 lines modified | Offset 217, 15 lines modified | ||
... Open expanded diff ... |
Offset 255, 30 lines modified | Offset 255, 30 lines modified | ||
255 | Filename:·com/android/textclassifier/-$$Lambda$L_UQMPjXwBN0ch4zL2dD82nf9RI.class | 255 | Filename:·com/android/textclassifier/-$$Lambda$L_UQMPjXwBN0ch4zL2dD82nf9RI.class |
256 | Comment:· | 256 | Comment:· |
257 | Filename:·com/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk.class | 257 | Filename:·com/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk.class |
258 | Comment:· | 258 | Comment:· |
259 | Filename:·com/android/textclassifier/-$$Lambda$ModelFileManager$ModelFileSupplierImpl$fMYSxifD0V8sHsS4KyfvDE-HosE.class | ||
260 | Comment:· | ||
261 | Filename:·com/android/textclassifier/-$$Lambda$NxwbyZSxofZ4Z5SQhfXmtLQ1nxk.class | 259 | Filename:·com/android/textclassifier/-$$Lambda$NxwbyZSxofZ4Z5SQhfXmtLQ1nxk.class |
262 | Comment:· | 260 | Comment:· |
263 | Filename:·com/android/textclassifier/-$$Lambda$OGSS2qx6njxlnp0dnKb4lA3jnw8.class | 261 | Filename:·com/android/textclassifier/-$$Lambda$OGSS2qx6njxlnp0dnKb4lA3jnw8.class |
264 | Comment:· | 262 | Comment:· |
265 | Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 263 | Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$GgWuU910BaKzzHu6MQGYGCHOgkg.class |
266 | Comment:· | 264 | Comment:· |
267 | Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 265 | Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$Lko6ClGZ6OU9F7efqKl9WVqP3kc.class |
268 | Comment:· | 266 | Comment:· |
267 | Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws.class | ||
268 | Comment:· | ||
269 | Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 269 | Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$wlF5Lmygug2HifzLlH779V8jReI.class |
270 | Comment:· | 270 | Comment:· |
271 | Filename:·com/android/textclassifier/-$$Lambda$XeE_KI7QgMKzF9vYRSoFWAolyuA.class | 271 | Filename:·com/android/textclassifier/-$$Lambda$XeE_KI7QgMKzF9vYRSoFWAolyuA.class |
272 | Comment:· | 272 | Comment:· |
273 | Filename:·com/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k.class | 273 | Filename:·com/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k.class |
274 | Comment:· | 274 | Comment:· |
Offset 300, 35 lines modified | Offset 300, 26 lines modified | ||
300 | Filename:·com/android/textclassifier/EntityConfidence.class | 300 | Filename:·com/android/textclassifier/EntityConfidence.class |
301 | Comment:· | 301 | Comment:· |
302 | Filename:·com/android/textclassifier/ExtrasUtils.class | 302 | Filename:·com/android/textclassifier/ExtrasUtils.class |
303 | Comment:· | 303 | Comment:· |
304 | Filename:·com/android/textclassifier/ModelFileManager$ModelFile$ModelType.class | ||
305 | Comment:· | ||
306 | Filename:·com/android/textclassifier/ModelFileManager$ModelFile.class | 304 | Filename:·com/android/textclassifier/ModelFileManager$ModelFile.class |
307 | Comment:· | 305 | Comment:· |
308 | Filename:·com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl$ModelFileInfo.class | ||
309 | Comment:· | ||
310 | Filename:·com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.class | 306 | Filename:·com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.class |
311 | Comment:· | 307 | Comment:· |
312 | Filename:·com/android/textclassifier/ModelFileManager.class | 308 | Filename:·com/android/textclassifier/ModelFileManager.class |
313 | Comment:· | 309 | Comment:· |
314 | Filename:·com/android/textclassifier/TextClassifierImpl.class | 310 | Filename:·com/android/textclassifier/TextClassifierImpl.class |
315 | Comment:· | 311 | Comment:· |
316 | Filename:·com/android/textclassifier/TextClassifierSettings$IDeviceConfig.class | ||
317 | Comment:· | ||
318 | Filename:·com/android/textclassifier/TextClassifierSettings.class | 312 | Filename:·com/android/textclassifier/TextClassifierSettings.class |
319 | Comment:· | 313 | Comment:· |
320 | Filename:·com/android/textclassifier/common/base/TcLog.class | 314 | Filename:·com/android/textclassifier/common/base/TcLog.class |
321 | Comment:· | 315 | Comment:· |
322 | Filename:·com/android/textclassifier/common/intent/LabeledIntent$Result.class | 316 | Filename:·com/android/textclassifier/common/intent/LabeledIntent$Result.class |
Offset 393, 17 lines modified | Offset 384, 14 lines modified | ||
393 | Filename:·com/android/textclassifier/common/statsd/TextClassifierEventConverter.class | 384 | Filename:·com/android/textclassifier/common/statsd/TextClassifierEventConverter.class |
394 | Comment:· | 385 | Comment:· |
395 | Filename:·com/android/textclassifier/common/statsd/TextClassifierEventLogger.class | 386 | Filename:·com/android/textclassifier/common/statsd/TextClassifierEventLogger.class |
396 | Comment:· | 387 | Comment:· |
397 | Filename:·com/android/textclassifier/common/statsd/TextClassifierStatsLog.class | ||
398 | Comment:· | ||
399 | Filename:·com/android/textclassifier/notification/-$$Lambda$GAGfzMbcczN3XjrMYlSN9rpKxHs.class | 388 | Filename:·com/android/textclassifier/notification/-$$Lambda$GAGfzMbcczN3XjrMYlSN9rpKxHs.class |
400 | Comment:· | 389 | Comment:· |
401 | Filename:·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsHelper$nqAehbuWudtq1R0SqQHGETrZ0XQ.class | 390 | Filename:·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsHelper$nqAehbuWudtq1R0SqQHGETrZ0XQ.class |
402 | Comment:· | 391 | Comment:· |
403 | Filename:·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsLogSession$Nme9AGABTW6ttsuf-I1x1v3RdM8.class | 392 | Filename:·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsLogSession$Nme9AGABTW6ttsuf-I1x1v3RdM8.class |
Offset 453, 38 lines modified | Offset 441, 23 lines modified | ||
453 | Filename:·com/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage.class | 441 | Filename:·com/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage.class |
454 | Comment:· | 442 | Comment:· |
455 | Filename:·com/google/android/textclassifier/ActionsSuggestionsModel.class | 443 | Filename:·com/google/android/textclassifier/ActionsSuggestionsModel.class |
456 | Comment:· | 444 | Comment:· |
457 | Filename:·com/google/android/textclassifier/AnnotatorModel$1.class | ||
458 | Comment:· | ||
459 | Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotateMode.class | ||
460 | Comment:· | ||
461 | Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotatedSpan.class | 445 | Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotatedSpan.class |
462 | Comment:· | 446 | Comment:· |
463 | Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotationOptions$Builder.class | ||
464 | Comment:· | ||
465 | Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotationOptions.class | 447 | Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotationOptions.class |
466 | Comment:· | 448 | Comment:· |
467 | Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotationUsecase.class | 449 | Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotationUsecase.class |
468 | Comment:· | 450 | Comment:· |
469 | Filename:·com/google/android/textclassifier/AnnotatorModel$Annotations.class | ||
470 | Comment:· | ||
471 | Filename:·com/google/android/textclassifier/AnnotatorModel$ClassificationOptions$Builder.class | ||
472 | Comment:· | ||
473 | Filename:·com/google/android/textclassifier/AnnotatorModel$ClassificationOptions.class | 451 | Filename:·com/google/android/textclassifier/AnnotatorModel$ClassificationOptions.class |
474 | Comment:· | 452 | Comment:· |
475 | Filename:·com/google/android/textclassifier/AnnotatorModel$ClassificationResult.class | 453 | Filename:·com/google/android/textclassifier/AnnotatorModel$ClassificationResult.class |
476 | Comment:· | 454 | Comment:· |
477 | Filename:·com/google/android/textclassifier/AnnotatorModel$DatetimeResult.class | 455 | Filename:·com/google/android/textclassifier/AnnotatorModel$DatetimeResult.class |
Offset 492, 17 lines modified | Offset 465, 14 lines modified | ||
... Open expanded diff ... |
Offset 1, 28 lines modified | Offset 1, 24 lines modified | ||
1 | package·android.ext.services.autofill; | 1 | package·android.ext.services.autofill; |
2 | import·android.app.PendingIntent; | 2 | import·android.app.PendingIntent; |
3 | import·android.os.Bundle; | ||
3 | import·android.view.View$OnLongClickListener; | 4 | import·android.view.View$OnLongClickListener; |
4 | import·android.content.Context; | 5 | import·android.content.Context; |
6 | import·androidx.autofill.inline.Renderer; | ||
5 | import·android.util.Log; | 7 | import·android.util.Log; |
6 | import·androidx.core.util.Preconditions; | 8 | import·androidx.core.util.Preconditions; |
7 | import·android.service.autofill.InlinePresentation; | 9 | import·android.service.autofill.InlinePresentation; |
8 | import·androidx.autofill.inline.Renderer; | ||
9 | import·android.os.Bundle; | ||
10 | import·android.view.View; | 10 | import·android.view.View; |
11 | import·android.content.IntentSender; | 11 | import·android.content.IntentSender; |
12 | import·android.service.autofill.InlineSuggestionRenderService; | 12 | import·android.service.autofill.InlineSuggestionRenderService; |
13 | public·class·InlineSuggestionRenderServiceImpl·extends·InlineSuggestionRenderService | 13 | public·class·InlineSuggestionRenderServiceImpl·extends·InlineSuggestionRenderService |
14 | { | 14 | { |
15 | ····public·Bundle·onGetInlineSuggestionsRendererInfo()·{ | ||
16 | ········return·Renderer.getSupportedInlineUiVersionsAsBundle(); | ||
17 | ····} | ||
18 | ···· | ||
19 | ····public·View·onRenderSuggestion(final·InlinePresentation·inlinePresentation,·final·int·i,·int·j)·{ | 15 | ····public·View·onRenderSuggestion(final·InlinePresentation·inlinePresentation,·final·int·i,·int·j)·{ |
20 | ········Preconditions.checkNotNull((Object)inlinePresentation,·(Object)"InlinePresentationRendererServiceImpl:·InlinePresentation·should·not·be·null"); | 16 | ········Preconditions.checkNotNull((Object)inlinePresentation,·(Object)"InlinePresentationRendererServiceImpl:·InlinePresentation·should·not·be·null"); |
21 | ········final·StringBuilder·sb·=·new·StringBuilder(); | 17 | ········final·StringBuilder·sb·=·new·StringBuilder(); |
22 | ········sb.append("onRenderSuggestion:·width="); | 18 | ········sb.append("onRenderSuggestion:·width="); |
23 | ········sb.append(i); | 19 | ········sb.append(i); |
24 | ········sb.append(",·height="); | 20 | ········sb.append(",·height="); |
25 | ········sb.append(j); | 21 | ········sb.append(j); |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | package·androidx.autofill.inline; | 1 | package·androidx.autofill.inline; |
2 | import·androidx.autofill.inline.v1.InlineSuggestionUi$Style; | 2 | import·androidx.autofill.inline.v1.InlineSuggestionUi$Style; |
3 | import·android.view.View; | 3 | import·android.view.View; |
4 | import·android.content.Context; | ||
5 | import·android.os.Bundle; | 4 | import·android.os.Bundle; |
5 | import·android.content.Context; | ||
6 | import·androidx.autofill.inline.v1.InlineSuggestionUi$Content; | 6 | import·androidx.autofill.inline.v1.InlineSuggestionUi$Content; |
7 | import·androidx.autofill.inline.v1.InlineSuggestionUi; | 7 | import·androidx.autofill.inline.v1.InlineSuggestionUi; |
8 | import·android.util.Log; | 8 | import·android.util.Log; |
9 | import·androidx.autofill.inline.common.SlicedContent; | 9 | import·androidx.autofill.inline.common.SlicedContent; |
10 | import·android.app.PendingIntent; | 10 | import·android.app.PendingIntent; |
11 | import·android.app.slice.Slice; | 11 | import·android.app.slice.Slice; |
Offset 38, 20 lines modified | Offset 38, 14 lines modified | ||
38 | ········final·InlineSuggestionUi$Content·fromSlice·=·InlineSuggestionUi.fromSlice(slice); | 38 | ········final·InlineSuggestionUi$Content·fromSlice·=·InlineSuggestionUi.fromSlice(slice); |
39 | ········if·(fromSlice·==·null)·{ | 39 | ········if·(fromSlice·==·null)·{ |
40 | ············return·null; | 40 | ············return·null; |
41 | ········} | 41 | ········} |
42 | ········return·InlineSuggestionUi.getAttributionIntent(fromSlice); | 42 | ········return·InlineSuggestionUi.getAttributionIntent(fromSlice); |
43 | ····} | 43 | ····} |
44 | ···· | 44 | ···· |
45 | ····public·static·Bundle·getSupportedInlineUiVersionsAsBundle()·{ | ||
46 | ········final·Bundle·bundle·=·new·Bundle(); | ||
47 | ········VersionUtils.writeSupportedVersions(bundle); | ||
48 | ········return·bundle; | ||
49 | ····} | ||
50 | ···· | ||
51 | ····public·static·View·render(final·Context·context,·final·Slice·slice,·Bundle·styleByVersion)·{ | 45 | ····public·static·View·render(final·Context·context,·final·Slice·slice,·Bundle·styleByVersion)·{ |
52 | ········final·String·version·=·SlicedContent.getVersion(slice); | 46 | ········final·String·version·=·SlicedContent.getVersion(slice); |
53 | ········final·boolean·versionSupported·=·VersionUtils.isVersionSupported(version); | 47 | ········final·boolean·versionSupported·=·VersionUtils.isVersionSupported(version); |
54 | ········final·String·s·=·"Renderer"; | 48 | ········final·String·s·=·"Renderer"; |
55 | ········if·(!versionSupported)·{ | 49 | ········if·(!versionSupported)·{ |
56 | ············Log.w(s,·"Content·version·unsupported."); | 50 | ············Log.w(s,·"Content·version·unsupported."); |
57 | ············return·null; | 51 | ············return·null; |
Offset 1, 21 lines modified | Offset 1, 15 lines modified | ||
1 | package·androidx.autofill.inline; | 1 | package·androidx.autofill.inline; |
2 | import·java.util.Collection; | ||
3 | import·java.util.ArrayList; | ||
4 | import·android.os.Bundle; | 2 | import·android.os.Bundle; |
5 | public·final·class·VersionUtils | 3 | public·final·class·VersionUtils |
6 | { | 4 | { |
7 | ····public·static·boolean·isVersionSupported(final·String·s)·{ | 5 | ····public·static·boolean·isVersionSupported(final·String·s)·{ |
8 | ········return·UiVersions.getUiVersions().contains(s); | 6 | ········return·UiVersions.getUiVersions().contains(s); |
9 | ····} | 7 | ····} |
10 | ···· | 8 | ···· |
11 | ····public·static·Bundle·readStyleByVersion(final·Bundle·bundle,·final·String·s)·{ | 9 | ····public·static·Bundle·readStyleByVersion(final·Bundle·bundle,·final·String·s)·{ |
12 | ········return·bundle.getBundle(s); | 10 | ········return·bundle.getBundle(s); |
13 | ····} | 11 | ····} |
14 | ···· | ||
15 | ····public·static·void·writeSupportedVersions(final·Bundle·bundle)·{ | ||
16 | ········bundle.putStringArrayList("androidx.autofill.inline.ui.version:key",·new·ArrayList((Collection<?·extends·E>)UiVersions.getUiVersions())); | ||
17 | ····} | ||
18 | } | 12 | } |
Offset 186, 37 lines modified | Offset 186, 37 lines modified | ||
186 | ··#178·=·Utf8···············getText | 186 | ··#178·=·Utf8···············getText |
187 | ··#179·=·NameAndType········#178:#163·····//·getText:()Ljava/lang/CharSequence; | 187 | ··#179·=·NameAndType········#178:#163·····//·getText:()Ljava/lang/CharSequence; |
188 | ··#180·=·Methodref··········#173.#179·····//·android/view/textclassifier/ConversationActions$Message.getText:()Ljava/lang/CharSequence; | 188 | ··#180·=·Methodref··········#173.#179·····//·android/view/textclassifier/ConversationActions$Message.getText:()Ljava/lang/CharSequence; |
189 | ··#181·=·Utf8···············getReferenceTime | 189 | ··#181·=·Utf8···············getReferenceTime |
190 | ··#182·=·Utf8···············()Ljava/time/ZonedDateTime; | 190 | ··#182·=·Utf8···············()Ljava/time/ZonedDateTime; |
191 | ··#183·=·NameAndType········#181:#182·····//·getReferenceTime:()Ljava/time/ZonedDateTime; | 191 | ··#183·=·NameAndType········#181:#182·····//·getReferenceTime:()Ljava/time/ZonedDateTime; |
192 | ··#184·=·Methodref··········#173.#183·····//·android/view/textclassifier/ConversationActions$Message.getReferenceTime:()Ljava/time/ZonedDateTime; | 192 | ··#184·=·Methodref··········#173.#183·····//·android/view/textclassifier/ConversationActions$Message.getReferenceTime:()Ljava/time/ZonedDateTime; |
193 | ··#185·=·Utf8···············titleWithEntity | ||
194 | ··#186·=·Utf8···············Ljava/lang/String; | ||
195 | ··#187·=·NameAndType········#185:#186·····//·titleWithEntity:Ljava/lang/String; | ||
196 | ··#188·=·Fieldref···········#59.#187······//·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String; | ||
197 | ··#18 | 193 | ··#185·=·Utf8···············android/content/pm/ResolveInfo |
198 | ··#1 | 194 | ··#186·=·Class··············#185··········//·android/content/pm/ResolveInfo |
199 | ··#1 | 195 | ··#187·=·Utf8···············handleAllWebDataURI |
200 | ··#1 | 196 | ··#188·=·Utf8···············Z |
201 | ··#1 | 197 | ··#189·=·NameAndType········#187:#188·····//·handleAllWebDataURI:Z |
202 | ··#19 | 198 | ··#190·=·Fieldref···········#186.#189·····//·android/content/pm/ResolveInfo.handleAllWebDataURI:Z |
199 | ··#191·=·Utf8···············titleWithEntity | ||
200 | ··#192·=·Utf8···············Ljava/lang/String; | ||
201 | ··#193·=·NameAndType········#191:#192·····//·titleWithEntity:Ljava/lang/String; | ||
202 | ··#194·=·Fieldref···········#59.#193······//·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String; | ||
203 | ··#195·=·Utf8···············activityInfo | 203 | ··#195·=·Utf8···············activityInfo |
204 | ··#196·=·Utf8···············Landroid/content/pm/ActivityInfo; | 204 | ··#196·=·Utf8···············Landroid/content/pm/ActivityInfo; |
205 | ··#197·=·NameAndType········#195:#196·····//·activityInfo:Landroid/content/pm/ActivityInfo; | 205 | ··#197·=·NameAndType········#195:#196·····//·activityInfo:Landroid/content/pm/ActivityInfo; |
206 | ··#198·=·Fieldref···········#1 | 206 | ··#198·=·Fieldref···········#186.#197·····//·android/content/pm/ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo; |
207 | ··#199·=·Utf8···············android/content/pm/ActivityInfo | 207 | ··#199·=·Utf8···············android/content/pm/ActivityInfo |
208 | ··#200·=·Class··············#199··········//·android/content/pm/ActivityInfo | 208 | ··#200·=·Class··············#199··········//·android/content/pm/ActivityInfo |
209 | ··#201·=·Utf8···············packageName | 209 | ··#201·=·Utf8···············packageName |
210 | ··#202·=·NameAndType········#201:#1 | 210 | ··#202·=·NameAndType········#201:#192·····//·packageName:Ljava/lang/String; |
211 | ··#203·=·Fieldref···········#200.#202·····//·android/content/pm/ActivityInfo.packageName:Ljava/lang/String; | 211 | ··#203·=·Fieldref···········#200.#202·····//·android/content/pm/ActivityInfo.packageName:Ljava/lang/String; |
212 | ··#204·=·Utf8···············android | 212 | ··#204·=·Utf8···············android |
213 | ··#205·=·String·············#204··········//·android | 213 | ··#205·=·String·············#204··········//·android |
214 | ··#206·=·Utf8···············titleWithoutEntity | 214 | ··#206·=·Utf8···············titleWithoutEntity |
215 | ··#207·=·NameAndType········#206:#1 | 215 | ··#207·=·NameAndType········#206:#192·····//·titleWithoutEntity:Ljava/lang/String; |
216 | ··#208·=·Fieldref···········#59.#207······//·com/android/textclassifier/common/intent/LabeledIntent.titleWithoutEntity:Ljava/lang/String; | 216 | ··#208·=·Fieldref···········#59.#207······//·com/android/textclassifier/common/intent/LabeledIntent.titleWithoutEntity:Ljava/lang/String; |
217 | ··#209·=·Utf8···············android/text/TextUtils | 217 | ··#209·=·Utf8···············android/text/TextUtils |
218 | ··#210·=·Class··············#209··········//·android/text/TextUtils | 218 | ··#210·=·Class··············#209··········//·android/text/TextUtils |
219 | ··#211·=·Utf8···············(Ljava/lang/CharSequence;)Z | 219 | ··#211·=·Utf8···············(Ljava/lang/CharSequence;)Z |
220 | ··#212·=·NameAndType········#46:#211······//·isEmpty:(Ljava/lang/CharSequence;)Z | 220 | ··#212·=·NameAndType········#46:#211······//·isEmpty:(Ljava/lang/CharSequence;)Z |
221 | ··#213·=·Methodref··········#210.#212·····//·android/text/TextUtils.isEmpty:(Ljava/lang/CharSequence;)Z | 221 | ··#213·=·Methodref··········#210.#212·····//·android/text/TextUtils.isEmpty:(Ljava/lang/CharSequence;)Z |
222 | ··#214·=·Utf8···············hashMessage | 222 | ··#214·=·Utf8···············hashMessage |
Offset 589, 44 lines modified | Offset 589, 39 lines modified | ||
589 | ··static·java.lang.CharSequence·lambda$createTitleChooser$1(com.android.textclassifier.common.intent.LabeledIntent,·android.content.pm.ResolveInfo); | 589 | ··static·java.lang.CharSequence·lambda$createTitleChooser$1(com.android.textclassifier.common.intent.LabeledIntent,·android.content.pm.ResolveInfo); |
590 | ····descriptor:·(Lcom/android/textclassifier/common/intent/LabeledIntent;Landroid/content/pm/ResolveInfo;)Ljava/lang/CharSequence; | 590 | ····descriptor:·(Lcom/android/textclassifier/common/intent/LabeledIntent;Landroid/content/pm/ResolveInfo;)Ljava/lang/CharSequence; |
591 | ····flags:·(0x1008)·ACC_STATIC,·ACC_SYNTHETIC | 591 | ····flags:·(0x1008)·ACC_STATIC,·ACC_SYNTHETIC |
592 | ····Code: | 592 | ····Code: |
593 | ······stack=300,·locals=5,·args_size=2 | 593 | ······stack=300,·locals=5,·args_size=2 |
594 | ·········0:·aload_1 | 594 | ·········0:·aload_1 |
595 | ·········1:·ifnonnull·····9 | ||
596 | ·········4:·aload_0 | ||
597 | ·········5:·getfield······#188················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String; | ||
598 | ·········8:·areturn | ||
599 | ·········9:·aload_1 | ||
600 | ········ | 595 | ·········1:·getfield······#190················//·Field·android/content/pm/ResolveInfo.handleAllWebDataURI:Z |
601 | ········ | 596 | ·········4:·istore_2 |
602 | ········ | 597 | ·········5:·iload_2 |
603 | ········ | 598 | ·········6:·ifeq··········14 |
604 | ········ | 599 | ·········9:·aload_0 |
605 | ········1 | 600 | ········10:·getfield······#194················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String; |
606 | ········ | 601 | ········13:·areturn |
607 | ········ | 602 | ········14:·aload_1 |
608 | ········ | 603 | ········15:·getfield······#198················//·Field·android/content/pm/ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo; |
609 | ········ | 604 | ········18:·getfield······#203················//·Field·android/content/pm/ActivityInfo.packageName:Ljava/lang/String; |
610 | ········ | 605 | ········21:·astore_1 |
611 | ········ | 606 | ········22:·ldc···········#205················//·String·android |
612 | ········ | 607 | ········24:·astore_3 |
613 | ········ | 608 | ········25:·aload_3 |
614 | ········ | 609 | ········26:·aload_1 |
615 | ········ | 610 | ········27:·invokevirtual·#127················//·Method·java/lang/String.equals:(Ljava/lang/Object;)Z |
616 | ········3 | 611 | ········30:·istore········4 |
617 | ········ | 612 | ········32:·iload·········4 |
618 | ········ | 613 | ········34:·ifeq··········42 |
619 | ········ | 614 | ········37:·aload_0 |
620 | ········ | 615 | ········38:·getfield······#194················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String; |
621 | ········ | 616 | ········41:·areturn |
622 | ········ | 617 | ········42:·aload_0 |
623 | ········ | 618 | ········43:·getfield······#208················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithoutEntity:Ljava/lang/String; |
624 | ········ | 619 | ········46:·areturn |
625 | ··static·boolean·lambda$toNativeMessages$0(android.view.textclassifier.ConversationActions$Message); | 620 | ··static·boolean·lambda$toNativeMessages$0(android.view.textclassifier.ConversationActions$Message); |
626 | ····descriptor:·(Landroid/view/textclassifier/ConversationActions$Message;)Z | 621 | ····descriptor:·(Landroid/view/textclassifier/ConversationActions$Message;)Z |
627 | ····flags:·(0x1008)·ACC_STATIC,·ACC_SYNTHETIC | 622 | ····flags:·(0x1008)·ACC_STATIC,·ACC_SYNTHETIC |
628 | ····Code: | 623 | ····Code: |
629 | ······stack=300,·locals=1,·args_size=1 | 624 | ······stack=300,·locals=1,·args_size=1 |
630 | ·········0:·aload_0 | 625 | ·········0:·aload_0 |
Offset 67, 20 lines modified | Offset 67, 15 lines modified | ||
67 | ···· | 67 | ···· |
68 | ····public·void·onClassifyText(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassification$Request·textClassification$Request,·final·CancellationSignal·cancellationSignal,·final·TextClassifierService$Callback·textClassifierService$Callback)·{ | 68 | ····public·void·onClassifyText(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassification$Request·textClassification$Request,·final·CancellationSignal·cancellationSignal,·final·TextClassifierService$Callback·textClassifierService$Callback)·{ |
69 | ········this.handleRequestAsync((Callable)new·-$$Lambda$DefaultTextClassifierService$kes_Pfblp-H2B-k6w462oJ3Jec0(this,·textClassification$Request),·textClassifierService$Callback,·cancellationSignal); | 69 | ········this.handleRequestAsync((Callable)new·-$$Lambda$DefaultTextClassifierService$kes_Pfblp-H2B-k6w462oJ3Jec0(this,·textClassification$Request),·textClassifierService$Callback,·cancellationSignal); |
70 | ····} | 70 | ····} |
71 | ···· | 71 | ···· |
72 | ····public·void·onCreate()·{ | 72 | ····public·void·onCreate()·{ |
73 | ········super.onCreate(); | 73 | ········super.onCreate(); |
74 | ········this.textClassifier·=·new·TextClassifierImpl((Context)this,·new·TextClassifierSettings()); | ||
74 | ········final·TextClassifierSettings·textClassifierSettings·=·new·TextClassifierSettings(); | ||
75 | ········this.textClassifier·=·new·TextClassifierImpl((Context)this,·textClassifierSettings,·new·ModelFileManager((Context)this,·textClassifierSettings)); | ||
76 | ····} | ||
77 | ···· | ||
78 | ····public·void·onDestroy()·{ | ||
79 | ········super.onDestroy(); | ||
80 | ····} | 75 | ····} |
81 | ···· | 76 | ···· |
82 | ····public·void·onDetectLanguage(final·TextClassificationSessionId·textClassificationSessionId,·final·TextLanguage$Request·textLanguage$Request,·final·CancellationSignal·cancellationSignal,·final·TextClassifierService$Callback·textClassifierService$Callback)·{ | 77 | ····public·void·onDetectLanguage(final·TextClassificationSessionId·textClassificationSessionId,·final·TextLanguage$Request·textLanguage$Request,·final·CancellationSignal·cancellationSignal,·final·TextClassifierService$Callback·textClassifierService$Callback)·{ |
83 | ········this.handleRequestAsync((Callable)new·-$$Lambda$DefaultTextClassifierService$8W0T12VmVMoXcPndlReYOGXd2o4(this,·textLanguage$Request),·textClassifierService$Callback,·cancellationSignal); | 78 | ········this.handleRequestAsync((Callable)new·-$$Lambda$DefaultTextClassifierService$8W0T12VmVMoXcPndlReYOGXd2o4(this,·textLanguage$Request),·textClassifierService$Callback,·cancellationSignal); |
84 | ····} | 79 | ····} |
85 | ···· | 80 | ···· |
86 | ····public·void·onGenerateLinks(final·TextClassificationSessionId·textClassificationSessionId,·final·TextLinks$Request·textLinks$Request,·final·CancellationSignal·cancellationSignal,·final·TextClassifierService$Callback·textClassifierService$Callback)·{ | 81 | ····public·void·onGenerateLinks(final·TextClassificationSessionId·textClassificationSessionId,·final·TextLinks$Request·textLinks$Request,·final·CancellationSignal·cancellationSignal,·final·TextClassifierService$Callback·textClassifierService$Callback)·{ |
Offset 13, 23 lines modified | Offset 13, 19 lines modified | ||
13 | import·java.util.List; | 13 | import·java.util.List; |
14 | import·java.io.File; | 14 | import·java.io.File; |
15 | public·final·class·ModelFileManager$ModelFile | 15 | public·final·class·ModelFileManager$ModelFile |
16 | { | 16 | { |
17 | ····private·final·File·file; | 17 | ····private·final·File·file; |
18 | ····private·final·boolean·languageIndependent; | 18 | ····private·final·boolean·languageIndependent; |
19 | ····private·final·String·modelType; | ||
20 | ····private·final·List·supportedLocales; | 19 | ····private·final·List·supportedLocales; |
21 | ····private·final·String·supportedLocalesStr; | 20 | ····private·final·String·supportedLocalesStr; |
22 | ····private·final·int·version; | 21 | ····private·final·int·version; |
23 | ···· | 22 | ···· |
24 | ····public·ModelFileManager$ModelFile( | 23 | ····public·ModelFileManager$ModelFile(File·file,·final·int·version,·List·supportedLocales,·String·supportedLocalesStr,·final·boolean·languageIndependent)·{ |
25 | ········Preconditions.checkNotNull((Object)modelType); | ||
26 | ········modelType·=·modelType; | ||
27 | ········this.modelType·=·modelType; | ||
28 | ········Preconditions.checkNotNull((Object)file); | 24 | ········Preconditions.checkNotNull((Object)file); |
29 | ········file·=·file; | 25 | ········file·=·file; |
30 | ········this.file·=·file; | 26 | ········this.file·=·file; |
31 | ········this.version·=·version; | 27 | ········this.version·=·version; |
32 | ········Preconditions.checkNotNull((Object)supportedLocales); | 28 | ········Preconditions.checkNotNull((Object)supportedLocales); |
33 | ········supportedLocales·=·supportedLocales; | 29 | ········supportedLocales·=·supportedLocales; |
34 | ········this.supportedLocales·=·supportedLocales; | 30 | ········this.supportedLocales·=·supportedLocales; |
Offset 253, 10 lines modified | Offset 249, 10 lines modified | ||
253 | ····} | 249 | ····} |
254 | ···· | 250 | ···· |
255 | ····public·ResultIdUtils$ModelInfo·toModelInfo()·{ | 251 | ····public·ResultIdUtils$ModelInfo·toModelInfo()·{ |
256 | ········return·new·ResultIdUtils$ModelInfo(this.getVersion(),·this.supportedLocalesStr); | 252 | ········return·new·ResultIdUtils$ModelInfo(this.getVersion(),·this.supportedLocalesStr); |
257 | ····} | 253 | ····} |
258 | ···· | 254 | ···· |
259 | ····public·String·toString()·{ | 255 | ····public·String·toString()·{ |
260 | ········return·String.format(Locale.US,·"ModelFile·{· | 256 | ········return·String.format(Locale.US,·"ModelFile·{·path=%s·name=%s·version=%d·locales=%s·}",·this.getPath(),·this.getName(),·this.version,·this.supportedLocalesStr); |
261 | ····} | 257 | ····} |
262 | } | 258 | } |
Offset 1, 243 lines modified | Offset 1, 360 lines modified | ||
1 | package·com.android.textclassifier; | 1 | package·com.android.textclassifier; |
2 | import·java.util.Collection; | ||
3 | import·java.io.IOException; | 2 | import·java.io.IOException; |
4 | import·com.google.common.collect.ImmutableList$Builder; | ||
5 | import·java.util.Iterator; | ||
6 | import·java.io.FileNotFoundException; | ||
7 | import·java.util.List; | ||
8 | import·com.google.common.base.Splitter; | ||
9 | import·java.util.Locale; | ||
10 | import·java.util.ArrayList; | ||
11 | import·com.android.textclassifier.common.base.TcLog; | 3 | import·com.android.textclassifier.common.base.TcLog; |
12 | import·android.os.ParcelFileDescriptor; | 4 | import·android.os.ParcelFileDescriptor; |
5 | import·java.util.Collection; | ||
6 | import·java.util.ArrayList; | ||
13 | import·com.google.common.base.Preconditions; | 7 | import·com.google.common.base.Preconditions; |
14 | import·java.util.function.Function; | 8 | import·java.util.function.Function; |
15 | import·java.util.regex.Pattern; | 9 | import·java.util.regex.Pattern; |
16 | import·com.google.common.collect.ImmutableList; | 10 | import·com.google.common.collect.ImmutableList; |
17 | import·java.io.File; | 11 | import·java.io.File; |
18 | import·com.google.common.collect.ImmutableMap; | ||
19 | import·java.util.function.Supplier; | 12 | import·java.util.function.Supplier; |
20 | final·class·ModelFileManager$ModelFileSupplierImpl·implements·Supplier | 13 | public·final·class·ModelFileManager$ModelFileSupplierImpl·implements·Supplier |
21 | { | 14 | { |
22 | ····private·static·final·ImmutableMap·MODEL_FILE_INFO_MAP; | ||
23 | ····private·final·File·configUpdaterModelFile; | ||
24 | ····private·final·File·downloaderModelDir; | ||
25 | ····private·final·File·factoryModelDir; | 15 | ····private·final·File·factoryModelDir; |
26 | ····private·ImmutableList·factoryModels; | 16 | ····private·ImmutableList·factoryModels; |
27 | ····private·final·Object·lock; | 17 | ····private·final·Object·lock; |
28 | ····private·final·Pattern·modelFilenamePattern; | 18 | ····private·final·Pattern·modelFilenamePattern; |
29 | ····private·final·String·modelType; | ||
30 | ····private·final·TextClassifierSettings·settings; | ||
31 | ····private·final·Function·supportedLocalesSupplier; | 19 | ····private·final·Function·supportedLocalesSupplier; |
20 | ····private·final·File·updatedModelFile; | ||
32 | ····private·final·Function·versionSupplier; | 21 | ····private·final·Function·versionSupplier; |
33 | ···· | 22 | ···· |
34 | ····static·{ | ||
35 | ········MODEL_FILE_INFO_MAP·=·ImmutableMap.builder().put((Object)"annotator",·(Object)new·ModelFileManager$ModelFileSupplierImpl$ModelFileInfo("(annotator|textclassifier)\\.(.*)\\.model",·"/data/misc/textclassifier/textclassifier.model",·(Function)-$$Lambda$jJq8RXuVdjYF3lPq-77PEw1NJLM.INSTANCE,·(Function)-$$Lambda$NxwbyZSxofZ4Z5SQhfXmtLQ1nxk.INSTANCE)).put((Object)"lang_id",·(Object)new·ModelFileManager$ModelFileSupplierImpl$ModelFileInfo("lang_id.model",·"/data/misc/textclassifier/lang_id.model",·(Function)-$$Lambda$0biFK4yZBmWN1EO2wtnXskzuEcE.INSTANCE,·(Function)-$$Lambda$ModelFileManager$ModelFileSupplierImpl$fMYSxifD0V8sHsS4KyfvDE-HosE.INSTANCE)).put((Object)"actions_suggestions",·(Object)new·ModelFileManager$ModelFileSupplierImpl$ModelFileInfo("actions_suggestions\\.(.*)\\.model",·"/data/misc/textclassifier/actions_suggestions.model",·(Function)-$$Lambda$9N8WImc0VBjy2oxI_Gk5_Pbye_A.INSTANCE,·(Function)-$$Lambda$XeE_KI7QgMKzF9vYRSoFWAolyuA.INSTANCE)).build(); | ||
36 | ····} | ||
37 | ···· | ||
38 | ····public·ModelFileManager$ModelFileSupplierImpl(final·TextClassifierSettings·textClassifierSettings,·final·String·s,·final·File·file)·{ | ||
39 | ········this(textClassifierSettings,·s,·new·File("/etc/textclassifier/"),·((ModelFileManager$ModelFileSupplierImpl$ModelFileInfo)ModelFileManager$ModelFileSupplierImpl.MODEL_FILE_INFO_MAP.get((Object)s)).getModelNameRegex(),·new·File(((ModelFileManager$ModelFileSupplierImpl$ModelFileInfo)ModelFileManager$ModelFileSupplierImpl.MODEL_FILE_INFO_MAP.get((Object)s)).getConfigUpdaterModelPath()),·file,·((ModelFileManager$ModelFileSupplierImpl$ModelFileInfo)ModelFileManager$ModelFileSupplierImpl.MODEL_FILE_INFO_MAP.get((Object)s)).getVersionSupplier(),·((ModelFileManager$ModelFileSupplierImpl$ModelFileInfo)ModelFileManager$ModelFileSupplierImpl.MODEL_FILE_INFO_MAP.get((Object)s)).getSupportedLocalesSupplier()); | ||
40 | ····} | ||
41 | ···· | ||
42 | ····ModelFileManager$ModelFileSupplierImpl( | 23 | ····public·ModelFileManager$ModelFileSupplierImpl(File·factoryModelDir,·final·String·s,·File·updatedModelFile,·Function·versionSupplier,·Function·supportedLocalesSupplier)·{ |
43 | ········this.lock·=·new·Object(); | 24 | ········this.lock·=·new·Object(); |
44 | ········Preconditions.checkNotNull((Object)settings); | ||
45 | ········settings·=·settings; | ||
46 | ········this.settings·=·settings; | ||
47 | ········Preconditions.checkNotNull((Object) | 25 | ········Preconditions.checkNotNull((Object)updatedModelFile); |
48 | ········modelType·=·modelType; | ||
49 | ········ | 26 | ········updatedModelFile·=·updatedModelFile; |
27 | ········this.updatedModelFile·=·updatedModelFile; | ||
50 | ········Preconditions.checkNotNull((Object)factoryModelDir); | 28 | ········Preconditions.checkNotNull((Object)factoryModelDir); |
51 | ········factoryModelDir·=·factoryModelDir; | 29 | ········factoryModelDir·=·factoryModelDir; |
52 | ········this.factoryModelDir·=·factoryModelDir; | 30 | ········this.factoryModelDir·=·factoryModelDir; |
53 | ········Preconditions.checkNotNull((Object)s); | 31 | ········Preconditions.checkNotNull((Object)s); |
54 | ········this.modelFilenamePattern·=·Pattern.compile(s); | 32 | ········this.modelFilenamePattern·=·Pattern.compile(s); |
55 | ········Preconditions.checkNotNull((Object)configUpdaterModelFile); | ||
56 | ········configUpdaterModelFile·=·configUpdaterModelFile; | ||
57 | ········this.configUpdaterModelFile·=·configUpdaterModelFile; | ||
58 | ········Preconditions.checkNotNull((Object)downloaderModelDir); | ||
59 | ········downloaderModelDir·=·downloaderModelDir; | ||
60 | ········this.downloaderModelDir·=·downloaderModelDir; | ||
61 | ········Preconditions.checkNotNull((Object)versionSupplier); | 33 | ········Preconditions.checkNotNull((Object)versionSupplier); |
62 | ········versionSupplier·=·versionSupplier; | 34 | ········versionSupplier·=·versionSupplier; |
63 | ········this.versionSupplier·=·versionSupplier; | 35 | ········this.versionSupplier·=·versionSupplier; |
64 | ········Preconditions.checkNotNull((Object)supportedLocalesSupplier); | 36 | ········Preconditions.checkNotNull((Object)supportedLocalesSupplier); |
65 | ········supportedLocalesSupplier·=·supportedLocalesSupplier; | 37 | ········supportedLocalesSupplier·=·supportedLocalesSupplier; |
66 | ········this.supportedLocalesSupplier·=·supportedLocalesSupplier; | 38 | ········this.supportedLocalesSupplier·=·supportedLocalesSupplier; |
67 | ····} | 39 | ····} |
68 | ···· | 40 | ···· |
69 | ····private·ModelFileManager$ModelFile·createModelFile(final·File· | 41 | ····private·ModelFileManager$ModelFile·createModelFile(final·File·p0)·{ |
70 | ········final·String·s·=·"ModelFileManager"; | ||
71 | ········final·boolean·exists·=·file.exists(); | ||
72 | ········final·ParcelFileDescriptor·parcelFileDescriptor·=·null; | ||
73 | ········if·(!exists)·{ | ||
74 | ············return·null; | ||
75 | ········ | 42 | ········//· |
43 | ········//·This·method·could·not·be·decompiled. | ||
76 | ········final·int·n·=·268435456; | ||
77 | ········Label_0396:·{ | ||
78 | ············ParcelFileDescriptor·open; | ||
79 | ············try·{ | ||
80 | ················open·=·ParcelFileDescriptor.open(file,·n); | ||
81 | ················if·(open·==·null)·{ | ||
82 | ····················maybeCloseAndLogError(open); | ||
83 | ····················return·null; | ||
84 | ················} | ||
85 | ················int·intValue·=·0; | ||
86 | ················String·s2·=·null; | ||
87 | ················ArrayList<Locale>·list·=·null; | ||
88 | ················ModelFileManager$ModelFile·modelFileManager$ModelFile·=·null; | ||
89 | ················try·{ | ||
90 | ····················final·int·fd·=·open.getFd(); | ||
91 | ····················try·{ | ||
92 | ························final·Function·versionSupplier·=·this.versionSupplier; | ||
93 | ························try·{ | ||
94 | ····························final·Integer·apply·=·versionSupplier.apply(fd); | ||
95 | ····························try·{ | ||
96 | ································final·Integer·n2·=·(Integer)apply; | ||
97 | ································try·{ | ||
98 | ····································intValue·=·n2; | ||
99 | ····································try·{ | ||
100 | ········································final·Function·supportedLocalesSupplier·=·this.supportedLocalesSupplier; | ||
101 | ········································try·{ | ||
102 | ············································s2·=·supportedLocalesSupplier.apply(fd); | ||
103 | ············································try·{ | ||
104 | ················································Label_0180:·{ | ||
105 | ····················································if·(!s2.isEmpty())·{ | ||
106 | ························································break·Label_0180; | ||
107 | ····················································} | ||
108 | ····················································try·{ | ||
109 | ························································final·StringBuilder·sb·=·new·StringBuilder(); | ||
110 | ························································sb.append("Ignoring·"); | ||
111 | ························································sb.append(file.getAbsolutePath()); | ||
112 | ························································TcLog.d(s,·sb.toString()); | ||
113 | ························································maybeCloseAndLogError(open); | ||
114 | ························································return·null; | ||
115 | ························································try·{ | ||
116 | ····························································list·=·new·ArrayList<Locale>(); | ||
117 | ····························································final·Iterable·split·=·Splitter.on(',').split((CharSequence)s2); | ||
118 | ····························································try·{ | ||
119 | ································································final·Iterator<String>·iterator·=·split.iterator(); | ||
... Open expanded diff ... |
Offset 1, 89 lines modified | Offset 1, 43 lines modified | ||
1 | package·com.android.textclassifier; | 1 | package·com.android.textclassifier; |
2 | import·java.util.Iterator; | ||
3 | import·java.util.function.Supplier; | ||
4 | import·com.google.common.collect.ImmutableList; | 2 | import·com.google.common.collect.ImmutableList; |
3 | import·com.google.common.collect.UnmodifiableIterator; | ||
5 | import·java.util.List; | 4 | import·java.util.List; |
6 | import·java.util.Locale; | 5 | import·java.util.Locale; |
7 | import·android.os.LocaleList; | 6 | import·android.os.LocaleList; |
8 | import·com.android.textclassifier.utils.IndentingPrintWriter; | ||
9 | import·com.google.common.collect.UnmodifiableIterator; | ||
10 | import·com.google.common.collect.ImmutableMap$Builder; | ||
11 | import·com.google.common.base.Preconditions; | 7 | import·com.google.common.base.Preconditions; |
8 | import·java.util.function.Supplier; | ||
12 | import·android.content.Context; | ||
13 | import·com.google.common.collect.ImmutableMap; | ||
14 | import·java.io.File; | ||
15 | final·class·ModelFileManager | 9 | final·class·ModelFileManager |
16 | { | 10 | { |
17 | ····private·final·File·downloadModelDir; | ||
18 | ····private·final· | 11 | ····private·final·Supplier·modelFileSupplier; |
19 | ···· | 12 | ···· |
20 | ····public·ModelFileManager( | 13 | ····public·ModelFileManager(Supplier·modelFileSupplier)·{ |
21 | ········Preconditions.checkNotNull((Object) | 14 | ········Preconditions.checkNotNull((Object)modelFileSupplier); |
15 | ········modelFileSupplier·=·modelFileSupplier; | ||
22 | ········Preconditions.checkNotNull((Object)textClassifierSettings); | ||
23 | ········final·File·downloadModelDir·=·new·File(context.getFilesDir(),·"textclassifier/downloads/models/"); | ||
24 | ········this.downloadModelDir·=·downloadModelDir; | ||
25 | ········if·(!downloadModelDir.exists())·{ | ||
26 | ············this.downloadModelDir.mkdirs(); | ||
27 | ········} | ||
28 | ········final·ImmutableMap$Builder·builder·=·ImmutableMap.builder(); | ||
29 | ········for·(final·String·s·:·ModelFileManager$ModelFile$ModelType.values())·{ | ||
30 | ············builder.put((Object)s,·(Object)new·ModelFileManager$ModelFileSupplierImpl(textClassifierSettings,·s,·this.downloadModelDir)); | ||
31 | ········} | ||
32 | ········this.modelFileSupplier | 16 | ········this.modelFileSupplier·=·modelFileSupplier; |
33 | ····} | 17 | ····} |
34 | ···· | 18 | ···· |
35 | ····ModelFileManager(File·downloadModelDir,·ImmutableMap·modelFileSuppliers)·{ | ||
36 | ········Preconditions.checkNotNull((Object)downloadModelDir); | ||
37 | ········downloadModelDir·=·downloadModelDir; | ||
38 | ········this.downloadModelDir·=·downloadModelDir; | ||
39 | ········Preconditions.checkNotNull((Object)modelFileSuppliers); | ||
40 | ········modelFileSuppliers·=·modelFileSuppliers; | ||
41 | ········this.modelFileSuppliers·=·modelFileSuppliers; | ||
42 | ····} | ||
43 | ···· | ||
44 | ····public·void·dump(final·IndentingPrintWriter·indentingPrintWriter)·{ | ||
45 | ········indentingPrintWriter.println("ModelFileManager:"); | ||
46 | ········indentingPrintWriter.increaseIndent(); | ||
47 | ········for·(final·String·str·:·ModelFileManager$ModelFile$ModelType.values())·{ | ||
48 | ············final·StringBuilder·sb·=·new·StringBuilder(); | ||
49 | ············sb.append(str); | ||
50 | ············sb.append("·model·file(s):"); | ||
51 | ············indentingPrintWriter.println(sb.toString()); | ||
52 | ············indentingPrintWriter.increaseIndent(); | ||
53 | ············final·UnmodifiableIterator·iterator2·=·this.listModelFiles(str).iterator(); | ||
54 | ············while·(((Iterator)iterator2).hasNext())·{ | ||
55 | ················indentingPrintWriter.println(((ModelFileManager$ModelFile)((Iterator<ModelFileManager$ModelFile>)iterator2).next()).toString()); | ||
56 | ············} | ||
57 | ············indentingPrintWriter.decreaseIndent(); | ||
58 | ········} | ||
59 | ········indentingPrintWriter.decreaseIndent(); | ||
60 | ····} | ||
61 | ···· | ||
62 | ····public·ModelFileManager$ModelFile·findBestModelFile(final· | 19 | ····public·ModelFileManager$ModelFile·findBestModelFile(final·LocaleList·list)·{ |
63 | ········String·ranges; | 20 | ········String·ranges; |
64 | ········if·(list·!=·null·&&·!list.isEmpty())·{ | 21 | ········if·(list·!=·null·&&·!list.isEmpty())·{ |
65 | ············ranges·=·list.toLanguageTags(); | 22 | ············ranges·=·list.toLanguageTags(); |
66 | ········} | 23 | ········} |
67 | ········else·{ | 24 | ········else·{ |
68 | ············ranges·=·LocaleList.getDefault().toLanguageTags(); | 25 | ············ranges·=·LocaleList.getDefault().toLanguageTags(); |
69 | ········} | 26 | ········} |
70 | ········final·List<Locale.LanguageRange>·parse·=·Locale.LanguageRange.parse(ranges); | 27 | ········final·List<Locale.LanguageRange>·parse·=·Locale.LanguageRange.parse(ranges); |
71 | ········ModelFileManager$ModelFile·modelFileManager$ModelFile·=·null; | 28 | ········ModelFileManager$ModelFile·modelFileManager$ModelFile·=·null; |
72 | ········for·(final·ModelFileManager$ModelFile·modelFileManager$ModelFile2·:·this.listModelFiles( | 29 | ········for·(final·ModelFileManager$ModelFile·modelFileManager$ModelFile2·:·this.listModelFiles())·{ |
73 | ············if·(modelFileManager$ModelFile2.isAnyLanguageSupported((List)parse)·&&·modelFileManager$ModelFile2.isPreferredTo(modelFileManager$ModelFile))·{ | 30 | ············if·(modelFileManager$ModelFile2.isAnyLanguageSupported((List)parse)·&&·modelFileManager$ModelFile2.isPreferredTo(modelFileManager$ModelFile))·{ |
74 | ················modelFileManager$ModelFile·=·modelFileManager$ModelFile2; | 31 | ················modelFileManager$ModelFile·=·modelFileManager$ModelFile2; |
75 | ············} | 32 | ············} |
76 | ········} | 33 | ········} |
77 | ········return·modelFileManager$ModelFile; | 34 | ········return·modelFileManager$ModelFile; |
78 | ····} | 35 | ····} |
79 | ···· | 36 | ···· |
80 | ····public·ImmutableList·listModelFiles( | 37 | ····public·ImmutableList·listModelFiles()·{ |
38 | ········return·this.modelFileSupplier.get(); | ||
81 | ········if·(this.modelFileSuppliers.containsKey((Object)s))·{ | ||
82 | ············return·((Supplier)this.modelFileSuppliers.get((Object)s)).get(); | ||
83 | ········} | ||
84 | ········return·ImmutableList.of(); | ||
85 | ····} | 39 | ····} |
86 | } | 40 | } |
Offset 1, 10 lines modified | Offset 1, 11 lines modified | ||
1 | package·com.android.textclassifier; | 1 | package·com.android.textclassifier; |
2 | import·java.util.Iterator; | ||
2 | import·android.view.textclassifier.TextSelection$Builder; | 3 | import·android.view.textclassifier.TextSelection$Builder; |
3 | import·com.google.android.textclassifier.AnnotatorModel$SelectionOptions; | 4 | import·com.google.android.textclassifier.AnnotatorModel$SelectionOptions; |
4 | import·android.view.textclassifier.TextSelection; | 5 | import·android.view.textclassifier.TextSelection; |
5 | import·android.view.textclassifier.TextSelection$Request; | 6 | import·android.view.textclassifier.TextSelection$Request; |
6 | import·com.google.android.textclassifier.ActionsSuggestionsModel$ConversationMessage; | 7 | import·com.google.android.textclassifier.ActionsSuggestionsModel$ConversationMessage; |
7 | import·com.google.android.textclassifier.ActionsSuggestionsModel$ActionSuggestionOptions; | 8 | import·com.google.android.textclassifier.ActionsSuggestionsModel$ActionSuggestionOptions; |
8 | import·com.google.android.textclassifier.ActionsSuggestionsModel$Conversation; | 9 | import·com.google.android.textclassifier.ActionsSuggestionsModel$Conversation; |
Offset 15, 14 lines modified | Offset 16, 15 lines modified | ||
15 | import·com.android.textclassifier.common.statsd.SelectionEventConverter; | 16 | import·com.android.textclassifier.common.statsd.SelectionEventConverter; |
16 | import·android.view.textclassifier.SelectionEvent; | 17 | import·android.view.textclassifier.SelectionEvent; |
17 | import·com.google.android.textclassifier.AnnotatorModel$AnnotatedSpan; | 18 | import·com.google.android.textclassifier.AnnotatorModel$AnnotatedSpan; |
18 | import·com.google.android.textclassifier.AnnotatorModel$AnnotationOptions; | 19 | import·com.google.android.textclassifier.AnnotatorModel$AnnotationOptions; |
19 | import·android.view.textclassifier.TextLinks$Builder; | 20 | import·android.view.textclassifier.TextLinks$Builder; |
20 | import·android.view.textclassifier.TextLinks; | 21 | import·android.view.textclassifier.TextLinks; |
21 | import·android.view.textclassifier.TextLinks$Request; | 22 | import·android.view.textclassifier.TextLinks$Request; |
23 | import·com.google.common.collect.UnmodifiableIterator; | ||
22 | import·com.android.textclassifier.utils.IndentingPrintWriter; | 24 | import·com.android.textclassifier.utils.IndentingPrintWriter; |
23 | import·android.icu.util.ULocale; | 25 | import·android.icu.util.ULocale; |
24 | import·android.view.textclassifier.TextLanguage$Builder; | 26 | import·android.view.textclassifier.TextLanguage$Builder; |
25 | import·android.view.textclassifier.TextLanguage; | 27 | import·android.view.textclassifier.TextLanguage; |
26 | import·android.view.textclassifier.TextLanguage$Request; | 28 | import·android.view.textclassifier.TextLanguage$Request; |
27 | import·com.google.android.textclassifier.AnnotatorModel$AnnotationUsecase; | 29 | import·com.google.android.textclassifier.AnnotatorModel$AnnotationUsecase; |
28 | import·com.google.android.textclassifier.AnnotatorModel$ClassificationOptions; | 30 | import·com.google.android.textclassifier.AnnotatorModel$ClassificationOptions; |
Offset 38, 20 lines modified | Offset 40, 18 lines modified | ||
38 | import·android.view.View; | 40 | import·android.view.View; |
39 | import·android.content.pm.ResolveInfo; | 41 | import·android.content.pm.ResolveInfo; |
40 | import·com.android.textclassifier.common.intent.LabeledIntent; | 42 | import·com.android.textclassifier.common.intent.LabeledIntent; |
41 | import·android.content.res.Configuration; | 43 | import·android.content.res.Configuration; |
42 | import·android.content.res.Resources; | 44 | import·android.content.res.Resources; |
43 | import·java.io.FileNotFoundException; | 45 | import·java.io.FileNotFoundException; |
44 | import·android.os.ParcelFileDescriptor; | 46 | import·android.os.ParcelFileDescriptor; |
45 | import·java.io.File; | ||
46 | import·java.util.Objects; | 47 | import·java.util.Objects; |
47 | import·com.google.android.textclassifier.LangIdModel$LanguageResult; | 48 | import·com.google.android.textclassifier.LangIdModel$LanguageResult; |
48 | import·java.util.Map; | 49 | import·java.util.Map; |
49 | import·android.util.ArrayMap; | 50 | import·android.util.ArrayMap; |
50 | import·com.google.common.base.Function; | ||
51 | import·com.google.common.collect.ImmutableList; | 51 | import·com.google.common.collect.ImmutableList; |
52 | import·android.content.Intent; | 52 | import·android.content.Intent; |
53 | import·android.view.View$OnClickListener; | 53 | import·android.view.View$OnClickListener; |
54 | import·android.app.PendingIntent; | 54 | import·android.app.PendingIntent; |
55 | import·android.app.RemoteAction; | 55 | import·android.app.RemoteAction; |
56 | import·com.android.textclassifier.common.intent.LabeledIntent$Result; | 56 | import·com.android.textclassifier.common.intent.LabeledIntent$Result; |
57 | import·java.util.Collection; | 57 | import·java.util.Collection; |
Offset 66, 61 lines modified | Offset 66, 77 lines modified | ||
66 | import·com.google.android.textclassifier.AnnotatorModel$ClassificationResult; | 66 | import·com.google.android.textclassifier.AnnotatorModel$ClassificationResult; |
67 | import·java.util.List; | 67 | import·java.util.List; |
68 | import·com.android.textclassifier.common.logging.ResultIdUtils; | 68 | import·com.android.textclassifier.common.logging.ResultIdUtils; |
69 | import·com.google.common.base.Optional; | 69 | import·com.google.common.base.Optional; |
70 | import·android.os.LocaleList; | 70 | import·android.os.LocaleList; |
71 | import·com.android.textclassifier.common.base.TcLog; | 71 | import·com.android.textclassifier.common.base.TcLog; |
72 | import·android.os.Looper; | 72 | import·android.os.Looper; |
73 | import·java.util.function.Supplier; | ||
74 | import·java.util.function.Function; | ||
73 | import·com.google.common.base.Preconditions; | 75 | import·com.google.common.base.Preconditions; |
74 | import·com.android.textclassifier.common.statsd.TextClassifierEventLogger; | 76 | import·com.android.textclassifier.common.statsd.TextClassifierEventLogger; |
75 | import·com.android.textclassifier.common.intent.TemplateIntentFactory; | 77 | import·com.android.textclassifier.common.intent.TemplateIntentFactory; |
76 | import·com.google.android.textclassifier.LangIdModel; | 78 | import·com.google.android.textclassifier.LangIdModel; |
77 | import·com.android.textclassifier.common.statsd.GenerateLinksLogger; | 79 | import·com.android.textclassifier.common.statsd.GenerateLinksLogger; |
78 | import·android.view.textclassifier.TextClassifier; | 80 | import·android.view.textclassifier.TextClassifier; |
79 | import·android.content.Context; | 81 | import·android.content.Context; |
80 | import·com.google.android.textclassifier.AnnotatorModel; | 82 | import·com.google.android.textclassifier.AnnotatorModel; |
81 | import·com.google.android.textclassifier.ActionsSuggestionsModel; | 83 | import·com.google.android.textclassifier.ActionsSuggestionsModel; |
84 | import·java.io.File; | ||
82 | final·class·TextClassifierImpl | 85 | final·class·TextClassifierImpl |
83 | { | 86 | { |
87 | ····private·static·final·File·ANNOTATOR_UPDATED_MODEL_FILE; | ||
88 | ····private·static·final·File·FACTORY_MODEL_DIR; | ||
89 | ····private·static·final·File·UPDATED_ACTIONS_MODEL; | ||
90 | ····private·static·final·File·UPDATED_LANG_ID_MODEL_FILE; | ||
84 | ····private·ModelFileManager$ModelFile·actionModelInUse; | 91 | ····private·ModelFileManager$ModelFile·actionModelInUse; |
85 | ····private·ActionsSuggestionsModel·actionsImpl; | 92 | ····private·ActionsSuggestionsModel·actionsImpl; |
93 | ····private·final·ModelFileManager·actionsModelFileManager; | ||
86 | ····private·AnnotatorModel·annotatorImpl; | 94 | ····private·AnnotatorModel·annotatorImpl; |
95 | ····private·final·ModelFileManager·annotatorModelFileManager; | ||
87 | ····private·ModelFileManager$ModelFile·annotatorModelInUse; | 96 | ····private·ModelFileManager$ModelFile·annotatorModelInUse; |
88 | ····private·final·Context·context; | 97 | ····private·final·Context·context; |
89 | ····private·final·TextClassifier·fallback; | 98 | ····private·final·TextClassifier·fallback; |
90 | ····private·final·GenerateLinksLogger·generateLinksLogger; | 99 | ····private·final·GenerateLinksLogger·generateLinksLogger; |
91 | ····private·LangIdModel·langIdImpl; | 100 | ····private·LangIdModel·langIdImpl; |
101 | ····private·final·ModelFileManager·langIdModelFileManager; | ||
92 | ····private·ModelFileManager$ModelFile·langIdModelInUse; | 102 | ····private·ModelFileManager$ModelFile·langIdModelInUse; |
93 | ····private·final·Object·lock; | 103 | ····private·final·Object·lock; |
94 | ····private·final·ModelFileManager·modelFileManager; | ||
95 | ····private·final·TextClassifierSettings·settings; | 104 | ····private·final·TextClassifierSettings·settings; |
96 | ····private·final·TemplateIntentFactory·templateIntentFactory; | 105 | ····private·final·TemplateIntentFactory·templateIntentFactory; |
97 | ····private·final·TextClassifierEventLogger·textClassifierEventLogger; | 106 | ····private·final·TextClassifierEventLogger·textClassifierEventLogger; |
98 | ···· | 107 | ···· |
99 | ····TextClassifierImpl(final·Context·context,·final·TextClassifierSettings·textClassifierSettings,·final·ModelFileManager·modelFileManager)·{ | ||
100 | ···· | 108 | ····static·{ |
109 | ········FACTORY_MODEL_DIR·=·new·File("/etc/textclassifier/"); | ||
110 | ········ANNOTATOR_UPDATED_MODEL_FILE·=·new·File("/data/misc/textclassifier/textclassifier.model"); | ||
111 | ········UPDATED_LANG_ID_MODEL_FILE·=·new·File("/data/misc/textclassifier/lang_id.model"); | ||
112 | ········UPDATED_ACTIONS_MODEL·=·new·File("/data/misc/textclassifier/actions_suggestions.model"); | ||
101 | ····} | 113 | ····} |
102 | ···· | 114 | ···· |
115 | ····TextClassifierImpl(final·Context·context,·final·TextClassifierSettings·textClassifierSettings)·{ | ||
116 | ········this(context,·textClassifierSettings,·TextClassifier.NO_OP); | ||
117 | ····} | ||
118 | ···· | ||
103 | ····TextClassifierImpl(Context·context,·TextClassifierSettings·settings,· | 119 | ····TextClassifierImpl(Context·context,·TextClassifierSettings·settings,·TextClassifier·fallback)·{ |
104 | ········this.lock·=·new·Object(); | 120 | ········this.lock·=·new·Object(); |
105 | ········this.textClassifierEventLogger·=·new·TextClassifierEventLogger(); | 121 | ········this.textClassifierEventLogger·=·new·TextClassifierEventLogger(); |
106 | ········Preconditions.checkNotNull((Object)context); | 122 | ········Preconditions.checkNotNull((Object)context); |
107 | ········context·=·context; | 123 | ········context·=·context; |
108 | ········this.context·=·context; | 124 | ········this.context·=·context; |
109 | ········Preconditions.checkNotNull((Object)settings); | ||
110 | ········settings·=·settings; | ||
111 | ········this.settings·=·settings; | ||
112 | ········Preconditions.checkNotNull((Object)modelFileManager); | ||
113 | ········modelFileManager·=·modelFileManager; | ||
114 | ········this.modelFileManager·=·modelFileManager; | ||
115 | ········Preconditions.checkNotNull((Object)fallback); | 125 | ········Preconditions.checkNotNull((Object)fallback); |
116 | ········fallback·=·fallback; | 126 | ········fallback·=·fallback; |
117 | ········this.fallback·=·fallback; | 127 | ········this.fallback·=·fallback; |
128 | ········Preconditions.checkNotNull((Object)settings); | ||
129 | ········settings·=·settings; | ||
130 | ········this.settings·=·settings; | ||
118 | ········this.generateLinksLogger·=·new·GenerateLinksLogger( | 131 | ········this.generateLinksLogger·=·new·GenerateLinksLogger(settings.getGenerateLinksLogSampleRate()); |
132 | ········this.annotatorModelFileManager·=·new·ModelFileManager((Supplier)new·ModelFileManager$ModelFileSupplierImpl(TextClassifierImpl.FACTORY_MODEL_DIR,·"textclassifier\\.(.*)\\.model",·TextClassifierImpl.ANNOTATOR_UPDATED_MODEL_FILE,·(Function)-$$Lambda$jJq8RXuVdjYF3lPq-77PEw1NJLM.INSTANCE,·(Function)-$$Lambda$NxwbyZSxofZ4Z5SQhfXmtLQ1nxk.INSTANCE)); | ||
133 | ········this.langIdModelFileManager·=·new·ModelFileManager((Supplier)new·ModelFileManager$ModelFileSupplierImpl(TextClassifierImpl.FACTORY_MODEL_DIR,·"lang_id.model",·TextClassifierImpl.UPDATED_LANG_ID_MODEL_FILE,·(Function)-$$Lambda$0biFK4yZBmWN1EO2wtnXskzuEcE.INSTANCE,·(Function)-$$Lambda$TextClassifierImpl$GgWuU910BaKzzHu6MQGYGCHOgkg.INSTANCE)); | ||
134 | ········this.actionsModelFileManager·=·new·ModelFileManager((Supplier)new·ModelFileManager$ModelFileSupplierImpl(TextClassifierImpl.FACTORY_MODEL_DIR,·"actions_suggestions\\.(.*)\\.model",·TextClassifierImpl.UPDATED_ACTIONS_MODEL,·(Function)-$$Lambda$9N8WImc0VBjy2oxI_Gk5_Pbye_A.INSTANCE,·(Function)-$$Lambda$XeE_KI7QgMKzF9vYRSoFWAolyuA.INSTANCE)); | ||
... Open expanded diff ... |
Offset 2, 62 lines modified | Offset 2, 45 lines modified | ||
2 | package·com.android.textclassifier; | 2 | package·com.android.textclassifier; |
3 | import·com.android.textclassifier.utils.IndentingPrintWriter; | 3 | import·com.android.textclassifier.utils.IndentingPrintWriter; |
4 | import·com.google.common.base.Splitter; | 4 | import·com.google.common.base.Splitter; |
5 | import·java.util.Collections; | 5 | import·java.util.Collections; |
6 | import·java.util.Arrays; | 6 | import·java.util.Arrays; |
7 | import·java.util.List; | 7 | import·java.util.List; |
8 | import·android.provider.DeviceConfig; | ||
8 | import·com.google.common.collect.ImmutableList; | 9 | import·com.google.common.collect.ImmutableList; |
9 | public·final·class·TextClassifierSettings | 10 | public·final·class·TextClassifierSettings |
10 | { | 11 | { |
11 | ····static·final·String·ACTIONS_SUGGESTIONS_URL_PREFIX·=·"actions_suggestions_url_prefix"; | ||
12 | ····static·final·String·ANNOTATOR_URL_PREFIX·=·"annotator_url_prefix"; | ||
13 | ····private·static·final·ImmutableList·CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES; | 12 | ····private·static·final·ImmutableList·CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES; |
14 | ····private·static·final·TextClassifierSettings$IDeviceConfig·DEFAULT_DEVICE_CONFIG; | ||
15 | ····static·final·String·ENTITY_LIST_DEFAULT·=·"entity_list_default"; | 13 | ····static·final·String·ENTITY_LIST_DEFAULT·=·"entity_list_default"; |
16 | ····private·static·final·ImmutableList·ENTITY_LIST_DEFAULT_VALUE; | 14 | ····private·static·final·ImmutableList·ENTITY_LIST_DEFAULT_VALUE; |
17 | ····static·final·String·LANG_ID_CONTEXT_SETTINGS·=·"lang_id_context_settings"; | 15 | ····static·final·String·LANG_ID_CONTEXT_SETTINGS·=·"lang_id_context_settings"; |
18 | ····private·static·final·float[]·LANG_ID_CONTEXT_SETTINGS_DEFAULT; | 16 | ····private·static·final·float[]·LANG_ID_CONTEXT_SETTINGS_DEFAULT; |
19 | ····static·final·String·LANG_ID_THRESHOLD_OVERRIDE·=·"lang_id_threshold_override"; | 17 | ····static·final·String·LANG_ID_THRESHOLD_OVERRIDE·=·"lang_id_threshold_override"; |
20 | ····static·final·String·LANG_ID_URL_PREFIX·=·"lang_id_url_prefix"; | ||
21 | ····static·final·String·MODEL_DOWNLOAD_MANAGER_ENABLED·=·"model_download_manager_enabled"; | ||
22 | ····static·final·String·PRIMARY_ACTIONS_SUGGESTIONS_URL_SUFFIX·=·"primary_actions_suggestions_url_suffix"; | ||
23 | ····static·final·String·PRIMARY_ANNOTATOR_URL_SUFFIX·=·"primary_annotator_url_suffix"; | ||
24 | ····static·final·String·PRIMARY_LANG_ID_URL_SUFFIX·=·"primary_lang_id_url_suffix"; | ||
25 | ····static·final·String·SUGGEST_SELECTION_MAX_RANGE_LENGTH·=·"suggest_selection_max_range_length"; | 18 | ····static·final·String·SUGGEST_SELECTION_MAX_RANGE_LENGTH·=·"suggest_selection_max_range_length"; |
26 | ····static·final·String·TEMPLATE_INTENT_FACTORY_ENABLED·=·"template_intent_factory_enabled"; | 19 | ····static·final·String·TEMPLATE_INTENT_FACTORY_ENABLED·=·"template_intent_factory_enabled"; |
27 | ····private·final·TextClassifierSettings$IDeviceConfig·deviceConfig; | ||
28 | ···· | 20 | ···· |
29 | ····static·{ | 21 | ····static·{ |
30 | ········ENTITY_LIST_DEFAULT_VALUE·=·ImmutableList.of((Object)"address",·(Object)"email",·(Object)"phone",·(Object)"url",·(Object)"date",·(Object)"datetime",·(Object)"flight"); | 22 | ········ENTITY_LIST_DEFAULT_VALUE·=·ImmutableList.of((Object)"address",·(Object)"email",·(Object)"phone",·(Object)"url",·(Object)"date",·(Object)"datetime",·(Object)"flight"); |
31 | ········CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES·=·ImmutableList.of((Object)"text_reply",·(Object)"create_reminder",·(Object)"call_phone",·(Object)"open_url",·(Object)"send_email",·(Object)"send_sms",·(Object)"track_flight",·(Object)"view_calendar",·(Object)"view_map",·(Object)"add_contact",·(Object)"copy"); | 23 | ········CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES·=·ImmutableList.of((Object)"text_reply",·(Object)"create_reminder",·(Object)"call_phone",·(Object)"open_url",·(Object)"send_email",·(Object)"send_sms",·(Object)"track_flight",·(Object)"view_calendar",·(Object)"view_map",·(Object)"add_contact",·(Object)"copy"); |
32 | ········final·float[]·array; | 24 | ········final·float[]·array; |
33 | ········final·float[]·lang_ID_CONTEXT_SETTINGS_DEFAULT·=·array·=·new·float[3]; | 25 | ········final·float[]·lang_ID_CONTEXT_SETTINGS_DEFAULT·=·array·=·new·float[3]; |
34 | ········array[0]·=·20.0f; | 26 | ········array[0]·=·20.0f; |
35 | ········array[1]·=·1.0f; | 27 | ········array[1]·=·1.0f; |
36 | ········array[2]·=·0.4f; | 28 | ········array[2]·=·0.4f; |
37 | ········LANG_ID_CONTEXT_SETTINGS_DEFAULT·=·lang_ID_CONTEXT_SETTINGS_DEFAULT; | 29 | ········LANG_ID_CONTEXT_SETTINGS_DEFAULT·=·lang_ID_CONTEXT_SETTINGS_DEFAULT; |
38 | ········DEFAULT_DEVICE_CONFIG·=·(TextClassifierSettings$IDeviceConfig)new·TextClassifierSettings$1(); | ||
39 | ····} | 30 | ····} |
40 | ···· | 31 | ···· |
41 | ····public·TextClassifierSettings()·{ | ||
42 | ······· | 32 | ····private·static·float[]·getDeviceConfigFloatArray(final·String·s,·final·float[]·array)·{ |
33 | ········return·parse(DeviceConfig.getString("textclassifier",·s,·(String)null),·array); | ||
43 | ····} | 34 | ····} |
44 | ···· | 35 | ···· |
45 | ····TextClassifierSettings(final·TextClassifierSettings$IDeviceConfig·deviceConfig)·{ | ||
46 | ········this.deviceConfig·=·deviceConfig; | ||
47 | ····} | ||
48 | ···· | ||
49 | ····private·float[]·getDeviceConfigFloatArray(final·String·s,·final·float[]·array)·{ | ||
50 | ········return·parse(this.deviceConfig.getString("textclassifier",·s,·(String)null),·array); | ||
51 | ····} | ||
52 | ···· | ||
53 | ····private·List·getDeviceConfigStringList(final·String·s,·final·List·list)·{ | 36 | ····private·static·List·getDeviceConfigStringList(final·String·s,·final·List·list)·{ |
54 | ········return·parse( | 37 | ········return·parse(DeviceConfig.getString("textclassifier",·s,·(String)null),·list); |
55 | ····} | 38 | ····} |
56 | ···· | 39 | ···· |
57 | ····private·static·List·parse(final·String·s,·final·List·list)·{ | 40 | ····private·static·List·parse(final·String·s,·final·List·list)·{ |
58 | ········if·(s·!=·null)·{ | 41 | ········if·(s·!=·null)·{ |
59 | ············return·Collections.unmodifiableList((List<?>)Arrays.asList((T[])s.split(":"))); | 42 | ············return·Collections.unmodifiableList((List<?>)Arrays.asList((T[])s.split(":"))); |
60 | ········} | 43 | ········} |
61 | ········return·list; | 44 | ········return·list; |
Offset 110, 170 lines modified | Offset 93, 74 lines modified | ||
110 | ········indentingPrintWriter.printPair("lang_id_threshold_override",·(Object)this.getLangIdThresholdOverride()); | 93 | ········indentingPrintWriter.printPair("lang_id_threshold_override",·(Object)this.getLangIdThresholdOverride()); |
111 | ········indentingPrintWriter.printPair("translate_action_threshold",·(Object)this.getTranslateActionThreshold()); | 94 | ········indentingPrintWriter.printPair("translate_action_threshold",·(Object)this.getTranslateActionThreshold()); |
112 | ········indentingPrintWriter.printPair("notification_conversation_action_types_default",·(Object)this.getNotificationConversationActionTypes()); | 95 | ········indentingPrintWriter.printPair("notification_conversation_action_types_default",·(Object)this.getNotificationConversationActionTypes()); |
113 | ········indentingPrintWriter.printPair("suggest_selection_max_range_length",·(Object)this.getSuggestSelectionMaxRangeLength()); | 96 | ········indentingPrintWriter.printPair("suggest_selection_max_range_length",·(Object)this.getSuggestSelectionMaxRangeLength()); |
114 | ········indentingPrintWriter.printPair("user_language_profile_enabled",·(Object)this.isUserLanguageProfileEnabled()); | 97 | ········indentingPrintWriter.printPair("user_language_profile_enabled",·(Object)this.isUserLanguageProfileEnabled()); |
115 | ········indentingPrintWriter.printPair("template_intent_factory_enabled",·(Object)this.isTemplateIntentFactoryEnabled()); | 98 | ········indentingPrintWriter.printPair("template_intent_factory_enabled",·(Object)this.isTemplateIntentFactoryEnabled()); |
116 | ········indentingPrintWriter.printPair("translate_in_classification_enabled",·(Object)this.isTranslateInClassificationEnabled()); | 99 | ········indentingPrintWriter.printPair("translate_in_classification_enabled",·(Object)this.isTranslateInClassificationEnabled()); |
117 | ········indentingPrintWriter.printPair("model_download_manager_enabled",·(Object)this.isModelDownloadManagerEnabled()); | ||
118 | ········final·String·s·=·"annotator"; | ||
119 | ········indentingPrintWriter.printPair("annotator_url_prefix",·(Object)this.getModelURLPrefix(s)); | ||
120 | ········final·String·s2·=·"lang_id"; | ||
121 | ········indentingPrintWriter.printPair("lang_id_url_prefix",·(Object)this.getModelURLPrefix(s2)); | ||
122 | ········final·String·s3·=·"actions_suggestions"; | ||
123 | ········indentingPrintWriter.printPair("actions_suggestions_url_prefix",·(Object)this.getModelURLPrefix(s3)); | ||
124 | ········indentingPrintWriter.decreaseIndent(); | ||
125 | ········indentingPrintWriter.printPair("primary_annotator_url_suffix",·(Object)this.getPrimaryModelURLSuffix(s)); | ||
126 | ········indentingPrintWriter.printPair("primary_lang_id_url_suffix",·(Object)this.getPrimaryModelURLSuffix(s2)); | ||
127 | ········indentingPrintWriter.printPair("primary_actions_suggestions_url_suffix",·(Object)this.getPrimaryModelURLSuffix(s3)); | ||
128 | ········indentingPrintWriter.decreaseIndent(); | 100 | ········indentingPrintWriter.decreaseIndent(); |
129 | ····} | 101 | ····} |
130 | ···· | 102 | ···· |
131 | ····public·int·getClassifyTextMaxRangeLength()·{ | 103 | ····public·int·getClassifyTextMaxRangeLength()·{ |
132 | ········return· | 104 | ········return·DeviceConfig.getInt("textclassifier",·"classify_text_max_range_length",·10000); |
133 | ····} | 105 | ····} |
134 | ···· | 106 | ···· |
135 | ····public·List·getEntityListDefault()·{ | 107 | ····public·List·getEntityListDefault()·{ |
136 | ········return· | 108 | ········return·getDeviceConfigStringList("entity_list_default",·(List)TextClassifierSettings.ENTITY_LIST_DEFAULT_VALUE); |
137 | ····} | 109 | ····} |
138 | ···· | 110 | ···· |
139 | ····public·List·getEntityListEditable()·{ | 111 | ····public·List·getEntityListEditable()·{ |
140 | ········return· | 112 | ········return·getDeviceConfigStringList("entity_list_editable",·(List)TextClassifierSettings.ENTITY_LIST_DEFAULT_VALUE); |
141 | ····} | 113 | ····} |
142 | ···· | 114 | ···· |
143 | ····public·List·getEntityListNotEditable()·{ | 115 | ····public·List·getEntityListNotEditable()·{ |
144 | ········return· | 116 | ········return·getDeviceConfigStringList("entity_list_not_editable",·(List)TextClassifierSettings.ENTITY_LIST_DEFAULT_VALUE); |
145 | ····} | 117 | ····} |
146 | ···· | 118 | ···· |
147 | ····public·int·getGenerateLinksLogSampleRate()·{ | 119 | ····public·int·getGenerateLinksLogSampleRate()·{ |
148 | ········return· | 120 | ········return·DeviceConfig.getInt("textclassifier",·"generate_links_log_sample_rate",·100); |
149 | ····} | 121 | ····} |
150 | ···· | 122 | ···· |
151 | ····public·int·getGenerateLinksMaxTextLength()·{ | 123 | ····public·int·getGenerateLinksMaxTextLength()·{ |
152 | ········return· | 124 | ········return·DeviceConfig.getInt("textclassifier",·"generate_links_max_text_length",·100000); |
153 | ····} | 125 | ····} |
154 | ···· | 126 | ···· |
155 | ····public·List·getInAppConversationActionTypes()·{ | 127 | ····public·List·getInAppConversationActionTypes()·{ |
156 | ········return· | 128 | ········return·getDeviceConfigStringList("in_app_conversation_action_types_default",·(List)TextClassifierSettings.CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES); |
157 | ····} | 129 | ····} |
158 | ···· | 130 | ···· |
159 | ····public·float[]·getLangIdContextSettings()·{ | 131 | ····public·float[]·getLangIdContextSettings()·{ |
160 | ········return· | 132 | ········return·getDeviceConfigFloatArray("lang_id_context_settings",·TextClassifierSettings.LANG_ID_CONTEXT_SETTINGS_DEFAULT); |
161 | ····} | 133 | ····} |
162 | ···· | 134 | ···· |
163 | ····public·float·getLangIdThresholdOverride()·{ | 135 | ····public·float·getLangIdThresholdOverride()·{ |
164 | ········return· | 136 | ········return·DeviceConfig.getFloat("textclassifier",·"lang_id_threshold_override",·-1.0f); |
165 | ····} | ||
166 | ···· | ||
167 | ····public·String·getModelURLPrefix(final·String·s)·{ | ||
168 | ········final·int·hashCode·=·s.hashCode(); | ||
169 | ········final·int·n·=·-1408005459; | ||
170 | ········final·int·n2·=·2; | ||
171 | ········final·boolean·b·=·true; | ||
... Open expanded diff ... |
Offset 1, 17 lines modified | Offset 1, 16 lines modified | ||
1 | package·com.android.textclassifier.common.intent; | 1 | package·com.android.textclassifier.common.intent; |
2 | import·androidx.core.app.RemoteActionCompat; | ||
2 | import·android.content.ComponentName; | 3 | import·android.content.ComponentName; |
3 | import·com.google.common.base.Objects; | ||
4 | import·androidx.core.content.ContextCompat; | 4 | import·androidx.core.content.ContextCompat; |
5 | import·android.content.pm.ApplicationInfo; | 5 | import·android.content.pm.ApplicationInfo; |
6 | import·android.content.pm.ActivityInfo; | 6 | import·android.content.pm.ActivityInfo; |
7 | import·android.content.pm.PackageManager; | 7 | import·android.content.pm.PackageManager; |
8 | import·androidx.core.app.RemoteActionCompat; | ||
9 | import·android.content.pm.ResolveInfo; | 8 | import·android.content.pm.ResolveInfo; |
10 | import·android.app.PendingIntent; | 9 | import·android.app.PendingIntent; |
11 | import·android.content.pm.PackageManager$NameNotFoundException; | 10 | import·android.content.pm.PackageManager$NameNotFoundException; |
12 | import·com.android.textclassifier.common.base.TcLog; | 11 | import·com.android.textclassifier.common.base.TcLog; |
13 | import·androidx.core.graphics.drawable.IconCompat; | 12 | import·androidx.core.graphics.drawable.IconCompat; |
14 | import·android.content.Context; | 13 | import·android.content.Context; |
15 | import·com.google.common.base.Preconditions; | 14 | import·com.google.common.base.Preconditions; |
Offset 60, 44 lines modified | Offset 59, 27 lines modified | ||
60 | ········} | 59 | ········} |
61 | ····} | 60 | ····} |
62 | ···· | 61 | ···· |
63 | ····private·static·PendingIntent·createPendingIntent(final·Context·context,·final·Intent·intent,·final·int·n)·{ | 62 | ····private·static·PendingIntent·createPendingIntent(final·Context·context,·final·Intent·intent,·final·int·n)·{ |
64 | ········return·PendingIntent.getActivity(context,·n,·intent,·134217728); | 63 | ········return·PendingIntent.getActivity(context,·n,·intent,·134217728); |
65 | ····} | 64 | ····} |
66 | ···· | 65 | ···· |
67 | ····private·RemoteActionCompat·createRemoteAction(final·Context·context,·final·Intent·intent,·final·IconCompat·iconCompat,·final·boolean·shouldShowIcon,·final·ResolveInfo·resolveInfo,·LabeledIntent$TitleChooser·default_TITLE_CHOOSER)·{ | ||
68 | ········final·PendingIntent·pendingIntent·=·createPendingIntent(context,·intent,·this.requestCode); | ||
69 | ········if·(default_TITLE_CHOOSER·==·null)·{ | ||
70 | ············default_TITLE_CHOOSER·=·LabeledIntent.DEFAULT_TITLE_CHOOSER; | ||
71 | ········} | ||
72 | ········CharSequence·charSequence·=·default_TITLE_CHOOSER.chooseTitle(this,·resolveInfo); | ||
73 | ········if·(TextUtils.isEmpty(charSequence))·{ | ||
74 | ············TcLog.w("LabeledIntent",·"Custom·titleChooser·return·null,·fallback·to·the·default·titleChooser"); | ||
75 | ············charSequence·=·LabeledIntent.DEFAULT_TITLE_CHOOSER.chooseTitle(this,·resolveInfo); | ||
76 | ········} | ||
77 | ········final·RemoteActionCompat·remoteActionCompat·=·new·RemoteActionCompat(iconCompat,·charSequence,·(CharSequence)this.resolveDescription(resolveInfo,·context.getPackageManager()),·pendingIntent); | ||
78 | ········remoteActionCompat.setShouldShowIcon(shouldShowIcon); | ||
79 | ········return·remoteActionCompat; | ||
80 | ····} | ||
81 | ···· | ||
82 | ····private·static·String·getApplicationName(final·ResolveInfo·resolveInfo,·final·PackageManager·packageManager)·{ | 66 | ····private·static·String·getApplicationName(final·ResolveInfo·resolveInfo,·final·PackageManager·packageManager)·{ |
83 | ········if·(resolveInfo·!=·null)·{ | ||
84 | ········ | 67 | ········final·ActivityInfo·activityInfo·=·resolveInfo.activityInfo; |
85 | ········ | 68 | ········if·(activityInfo·==·null)·{ |
86 | ················if·("android".equals(activityInfo.packageName))·{ | ||
87 | ············ | 69 | ············return·null; |
88 | ················} | ||
89 | ················final·ApplicationInfo·applicationInfo·=·resolveInfo.activityInfo.applicationInfo; | ||
90 | ················if·(applicationInfo·==·null)·{ | ||
91 | ····················return·null; | ||
92 | ················} | ||
93 | ················return·packageManager.getApplicationLabel(applicationInfo).toString(); | ||
94 | ············} | ||
95 | ········} | 70 | ········} |
71 | ········if·("android".equals(activityInfo.packageName))·{ | ||
96 | ········return·null; | 72 | ············return·null; |
73 | ········} | ||
74 | ········final·ApplicationInfo·applicationInfo·=·resolveInfo.activityInfo.applicationInfo; | ||
75 | ········if·(applicationInfo·==·null)·{ | ||
76 | ············return·null; | ||
77 | ········} | ||
78 | ········return·packageManager.getApplicationLabel(applicationInfo).toString(); | ||
97 | ····} | 79 | ····} |
98 | ···· | 80 | ···· |
99 | ····private·static·boolean·hasPermission(final·Context·context,·final·ActivityInfo·activityInfo)·{ | 81 | ····private·static·boolean·hasPermission(final·Context·context,·final·ActivityInfo·activityInfo)·{ |
100 | ········final·boolean·exported·=·activityInfo.exported; | 82 | ········final·boolean·exported·=·activityInfo.exported; |
101 | ········boolean·b·=·false; | 83 | ········boolean·b·=·false; |
102 | ········if·(!exported)·{ | 84 | ········if·(!exported)·{ |
103 | ············return·false; | 85 | ············return·false; |
Offset 109, 45 lines modified | Offset 91, 31 lines modified | ||
109 | ········} | 91 | ········} |
110 | ········if·(ContextCompat.checkSelfPermission(context,·permission)·==·0)·{ | 92 | ········if·(ContextCompat.checkSelfPermission(context,·permission)·==·0)·{ |
111 | ············b·=·b2; | 93 | ············b·=·b2; |
112 | ········} | 94 | ········} |
113 | ········return·b; | 95 | ········return·b; |
114 | ····} | 96 | ····} |
115 | ···· | 97 | ···· |
116 | ····private·boolean·isWebIntent()·{ | ||
117 | ········final·boolean·equals·=·"android.intent.action.VIEW".equals(this.intent.getAction()); | ||
118 | ········boolean·b·=·false; | ||
119 | ········if·(!equals)·{ | ||
120 | ············return·false; | ||
121 | ········} | ||
122 | ········final·String·scheme·=·this.intent.getScheme(); | ||
123 | ········if·(Objects.equal((Object)scheme,·(Object)"http")·||·Objects.equal((Object)scheme,·(Object)"https"))·{ | ||
124 | ············b·=·true; | ||
125 | ········} | ||
126 | ········return·b; | ||
127 | ····} | ||
128 | ···· | ||
129 | ····private·String·resolveDescription(final·ResolveInfo·resolveInfo,·final·PackageManager·packageManager)·{ | 98 | ····private·String·resolveDescription(final·ResolveInfo·resolveInfo,·final·PackageManager·packageManager)·{ |
130 | ········if·(!TextUtils.isEmpty((CharSequence)this.descriptionWithAppName))·{ | 99 | ········if·(!TextUtils.isEmpty((CharSequence)this.descriptionWithAppName))·{ |
131 | ············final·String·applicationName·=·getApplicationName(resolveInfo,·packageManager); | 100 | ············final·String·applicationName·=·getApplicationName(resolveInfo,·packageManager); |
132 | ············if·(!TextUtils.isEmpty((CharSequence)applicationName))·{ | 101 | ············if·(!TextUtils.isEmpty((CharSequence)applicationName))·{ |
133 | ················return·String.format(this.descriptionWithAppName,·applicationName); | 102 | ················return·String.format(this.descriptionWithAppName,·applicationName); |
134 | ············} | 103 | ············} |
135 | ········} | 104 | ········} |
136 | ········return·this.description; | 105 | ········return·this.description; |
137 | ····} | 106 | ····} |
138 | ···· | 107 | ···· |
139 | ····public·LabeledIntent$Result·resolve(final·Context·context,· | 108 | ····public·LabeledIntent$Result·resolve(final·Context·context,·LabeledIntent$TitleChooser·default_TITLE_CHOOSER)·{ |
140 | ········final·PackageManager·packageManager·=·context.getPackageManager(); | 109 | ········final·PackageManager·packageManager·=·context.getPackageManager(); |
141 | ········final·Intent·intent·=·this.intent; | 110 | ········final·Intent·intent·=·this.intent; |
142 | ········boolean· | 111 | ········boolean·shouldShowIcon·=·false; |
143 | ········final·ResolveInfo·resolveActivity·=·packageManager.resolveActivity(intent,·0); | 112 | ········final·ResolveInfo·resolveActivity·=·packageManager.resolveActivity(intent,·0); |
144 | ········ | 113 | ········IconCompat·iconCompat·=·null; |
145 | ········final·String·s·=·"LabeledIntent"; | 114 | ········final·String·s·=·"LabeledIntent"; |
146 | ········IconCompat·iconFromPackage·=·null; | ||
147 | ········if·(resolveActivity·!=·null)·{ | 115 | ········if·(resolveActivity·!=·null)·{ |
148 | ············final·ActivityInfo·activityInfo·=·resolveActivity.activityInfo; | 116 | ············final·ActivityInfo·activityInfo·=·resolveActivity.activityInfo; |
149 | ············if·(activityInfo·!=·null)·{ | 117 | ············if·(activityInfo·!=·null)·{ |
150 | ················if·(!hasPermission(context,·activityInfo))·{ | 118 | ················if·(!hasPermission(context,·activityInfo))·{ |
151 | ····················final·StringBuilder·sb·=·new·StringBuilder(); | 119 | ····················final·StringBuilder·sb·=·new·StringBuilder(); |
152 | ····················sb.append("No·permission·to·access:·"); | 120 | ····················sb.append("No·permission·to·access:·"); |
153 | ····················sb.append(resolveActivity.activityInfo); | 121 | ····················sb.append(resolveActivity.activityInfo); |
Offset 158, 32 lines modified | Offset 126, 35 lines modified | ||
158 | ················final·String·packageName·=·activityInfo2.packageName; | 126 | ················final·String·packageName·=·activityInfo2.packageName; |
159 | ················final·String·name·=·activityInfo2.name; | 127 | ················final·String·name·=·activityInfo2.name; |
160 | ················if·(packageName·!=·null·&&·name·!=·null)·{ | 128 | ················if·(packageName·!=·null·&&·name·!=·null)·{ |
161 | ····················final·Intent·intent2·=·new·Intent(this.intent); | 129 | ····················final·Intent·intent2·=·new·Intent(this.intent); |
162 | ····················if·(!"android".equals(packageName))·{ | 130 | ····················if·(!"android".equals(packageName))·{ |
163 | ························intent2.setComponent(new·ComponentName(packageName,·name)); | 131 | ························intent2.setComponent(new·ComponentName(packageName,·name)); |
164 | ························if·(resolveActivity.activityInfo.getIconResource()·!=·0)·{ | 132 | ························if·(resolveActivity.activityInfo.getIconResource()·!=·0)·{ |
165 | ····························icon | 133 | ····························iconCompat·=·createIconFromPackage(context,·packageName,·resolveActivity.activityInfo.getIconResource()); |
166 | ···························· | 134 | ····························shouldShowIcon·=·true; |
167 | ························} | 135 | ························} |
... Open expanded diff ... |
Offset 6, 14 lines modified | Offset 6, 16 lines modified | ||
6 | import·java.util.Iterator; | 6 | import·java.util.Iterator; |
7 | import·com.google.common.collect.ImmutableList; | 7 | import·com.google.common.collect.ImmutableList; |
8 | import·android.view.textclassifier.TextLinks$TextLink; | 8 | import·android.view.textclassifier.TextLinks$TextLink; |
9 | import·androidx.collection.ArrayMap; | 9 | import·androidx.collection.ArrayMap; |
10 | import·android.view.textclassifier.TextLinks; | 10 | import·android.view.textclassifier.TextLinks; |
11 | import·java.util.Locale; | 11 | import·java.util.Locale; |
12 | import·com.android.textclassifier.common.base.TcLog; | 12 | import·com.android.textclassifier.common.base.TcLog; |
13 | import·android.util.StatsLog; | ||
14 | import·android.util.StatsEvent; | ||
13 | import·com.google.common.base.Function; | 15 | import·com.google.common.base.Function; |
14 | import·com.google.common.base.Optional; | 16 | import·com.google.common.base.Optional; |
15 | import·java.util.UUID; | 17 | import·java.util.UUID; |
16 | import·com.google.common.base.Preconditions; | 18 | import·com.google.common.base.Preconditions; |
17 | import·java.util.function.Supplier; | 19 | import·java.util.function.Supplier; |
18 | import·java.util.Random; | 20 | import·java.util.Random; |
Offset 43, 22 lines modified | Offset 45, 24 lines modified | ||
43 | ········} | 45 | ········} |
44 | ········if·(this.random.nextInt(sampleRate)·!=·0)·{ | 46 | ········if·(this.random.nextInt(sampleRate)·!=·0)·{ |
45 | ············n·=·0; | 47 | ············n·=·0; |
46 | ········} | 48 | ········} |
47 | ········return·n·!=·0; | 49 | ········return·n·!=·0; |
48 | ····} | 50 | ····} |
49 | ···· | 51 | ···· |
50 | ····private·static·void·writeStats( | 52 | ····private·static·void·writeStats(String·format,·String·s,·final·String·s2,·final·GenerateLinksLogger$LinkifyStats·generateLinksLogger$LinkifyStats,·final·CharSequence·charSequence,·final·long·l,·Optional·transform,·final·Optional·optional)·{ |
51 | ········ | 53 | ········transform·=·transform.transform((Function)-$$Lambda$oDz1qPSnjjDY1RvRhoswzP9Xa8s.INSTANCE); |
52 | ········final·String·s | 54 | ········final·String·s3·=·""; |
53 | ········final·String·s | 55 | ········final·String·s4·=·(String)transform.or((Object)s3); |
54 | ········final·String·s | 56 | ········final·String·s5·=·(String)optional.transform((Function)-$$Lambda$oDz1qPSnjjDY1RvRhoswzP9Xa8s.INSTANCE).or((Object)s3); |
55 | ········ | 57 | ········StatsLog.write(StatsEvent.newBuilder().setAtomId(220).writeString(format).writeInt(21).writeString(s4).writeInt(0).writeInt(0).writeString(s2).writeInt(generateLinksLogger$LinkifyStats.numLinks).writeInt(generateLinksLogger$LinkifyStats.numLinksTextLength).writeInt(charSequence.length()).writeLong(l).writeString(s).writeString(s5).usePooledBuffer().build()); |
56 | ········if·(TcLog.ENABLE_FULL_LOGGING)·{ | 58 | ········if·(TcLog.ENABLE_FULL_LOGGING)·{ |
57 | ············ | 59 | ············format·=·String.format(Locale.US,·"%s:%s·%d·links·(%d/%d·chars)·%dms·%s·annotator=%s·langid=%s",·format,·s2,·generateLinksLogger$LinkifyStats.numLinks,·generateLinksLogger$LinkifyStats.numLinksTextLength,·charSequence.length(),·l,·s,·s4,·s5); |
60 | ············s·=·"GenerateLinksLogger"; | ||
61 | ············TcLog.v(s,·format); | ||
58 | ········} | 62 | ········} |
59 | ····} | 63 | ····} |
60 | ···· | 64 | ···· |
61 | ····public·void·logGenerateLinks(final·CharSequence·charSequence,·final·TextLinks·textLinks,·final·String·s,·final·long·n,·final·Optional·optional,·final·Optional·optional2)·{ | 65 | ····public·void·logGenerateLinks(final·CharSequence·charSequence,·final·TextLinks·textLinks,·final·String·s,·final·long·n,·final·Optional·optional,·final·Optional·optional2)·{ |
62 | ········Preconditions.checkNotNull((Object)charSequence); | 66 | ········Preconditions.checkNotNull((Object)charSequence); |
63 | ········Preconditions.checkNotNull((Object)textLinks); | 67 | ········Preconditions.checkNotNull((Object)textLinks); |
64 | ········Preconditions.checkNotNull((Object)s); | 68 | ········Preconditions.checkNotNull((Object)s); |
Offset 1, 16 lines modified | Offset 1, 19 lines modified | ||
1 | package·com.android.textclassifier.common.statsd; | 1 | package·com.android.textclassifier.common.statsd; |
2 | import·com.android.textclassifier.common.base.TcLog; | 2 | import·com.android.textclassifier.common.base.TcLog; |
3 | import·com.google.common.base.Preconditions; | 3 | import·com.google.common.base.Preconditions; |
4 | import·com.android.textclassifier.common.logging.TextClassifierEvent$TextLinkifyEvent; | 4 | import·com.android.textclassifier.common.logging.TextClassifierEvent$TextLinkifyEvent; |
5 | import·com.android.textclassifier.common.logging.TextClassifierEvent$LanguageDetectionEvent; | 5 | import·com.android.textclassifier.common.logging.TextClassifierEvent$LanguageDetectionEvent; |
6 | import·android.util.StatsEvent$Builder; | ||
7 | import·android.util.StatsLog; | ||
6 | import·com.google.common.base.Charsets; | 8 | import·com.google.common.base.Charsets; |
7 | import·com.google.common.hash.Hashing; | 9 | import·com.google.common.hash.Hashing; |
10 | import·android.util.StatsEvent; | ||
8 | import·com.google.common.base.Strings; | 11 | import·com.google.common.base.Strings; |
9 | import·com.android.textclassifier.common.logging.TextClassifierEvent$ConversationActionsEvent; | 12 | import·com.android.textclassifier.common.logging.TextClassifierEvent$ConversationActionsEvent; |
10 | import·com.android.textclassifier.common.logging.TextClassificationSessionId; | 13 | import·com.android.textclassifier.common.logging.TextClassificationSessionId; |
11 | import·com.android.textclassifier.common.logging.TextClassificationContext; | 14 | import·com.android.textclassifier.common.logging.TextClassificationContext; |
12 | import·com.google.common.collect.ImmutableList; | 15 | import·com.google.common.collect.ImmutableList; |
13 | import·com.android.textclassifier.common.logging.TextClassifierEvent; | 16 | import·com.android.textclassifier.common.logging.TextClassifierEvent; |
14 | import·java.util.List; | 17 | import·java.util.List; |
Offset 210, 66 lines modified | Offset 213, 67 lines modified | ||
210 | ············} | 213 | ············} |
211 | ········} | 214 | ········} |
212 | ····} | 215 | ····} |
213 | ···· | 216 | ···· |
214 | ····private·static·void·logConversationActionsEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent$ConversationActionsEvent·textClassifierEvent$ConversationActionsEvent)·{ | 217 | ····private·static·void·logConversationActionsEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent$ConversationActionsEvent·textClassifierEvent$ConversationActionsEvent)·{ |
215 | ········final·String·nullToEmpty·=·Strings.nullToEmpty(((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getResultId()); | 218 | ········final·String·nullToEmpty·=·Strings.nullToEmpty(((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getResultId()); |
216 | ········final·ImmutableList·modelNames·=·ResultIdUtils.getModelNames(nullToEmpty); | 219 | ········final·ImmutableList·modelNames·=·ResultIdUtils.getModelNames(nullToEmpty); |
220 | ········final·StatsEvent$Builder·setAtomId·=·StatsEvent.newBuilder().setAtomId(221); | ||
217 | ········String·s; | 221 | ········String·s; |
218 | ········if·(textClassificationSessionId·==·null)·{ | 222 | ········if·(textClassificationSessionId·==·null)·{ |
219 | ············s·=·Hashing.goodFastHash(64).hashString((CharSequence)nullToEmpty,·Charsets.UTF_8).toString(); | 223 | ············s·=·Hashing.goodFastHash(64).hashString((CharSequence)nullToEmpty,·Charsets.UTF_8).toString(); |
220 | ········} | 224 | ········} |
221 | ········else·{ | 225 | ········else·{ |
222 | ············s·=·textClassificationSessionId.getValue(); | 226 | ············s·=·textClassificationSessionId.getValue(); |
223 | ········} | 227 | ········} |
228 | ········final·StatsEvent$Builder·writeString·=·setAtomId.writeString(s).writeInt(((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getEventType()).writeString((String)getItemAt(modelNames,·0,·(Object)null)).writeInt(getWidgetType((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent)).writeString((String)getItemAt(((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getEntityTypes(),·0)); | ||
224 | ········final·int·eventType·=·((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getEventType(); | ||
225 | ········final·String·s2·=·(String)getItemAt(modelNames,·0,·(Object)null); | ||
226 | ········final·int·widgetType·=·getWidgetType((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent); | ||
227 | ········final·String·s3·=·(String)getItemAt(((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getEntityTypes(),·0); | ||
228 | ········final·String[]·entityTypes·=·((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getEntityTypes(); | 229 | ········final·String[]·entityTypes·=·((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getEntityTypes(); |
229 | ········final·int·n·=·1; | 230 | ········final·int·n·=·1; |
230 | ········final·String· | 231 | ········final·StatsEvent$Builder·writeString2·=·writeString.writeString((String)getItemAt(entityTypes,·n)); |
231 | ········final·String[]·entityTypes2·=·((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getEntityTypes(); | 232 | ········final·String[]·entityTypes2·=·((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getEntityTypes(); |
232 | ········final·int·n2·=·2; | 233 | ········final·int·n2·=·2; |
233 | ········ | 234 | ········StatsLog.write(writeString2.writeString((String)getItemAt(entityTypes2,·n2)).writeFloat(getFloatAt(((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getScores(),·0)).writeString(getPackageName((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent)).writeString((String)getItemAt(modelNames,·n,·(Object)null)).writeString((String)getItemAt(modelNames,·n2,·(Object)null)).usePooledBuffer().build()); |
234 | ····} | 235 | ····} |
235 | ···· | 236 | ···· |
236 | ····private·static·void·logLanguageDetectionEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent$LanguageDetectionEvent·textClassifierEvent$LanguageDetectionEvent)·{ | 237 | ····private·static·void·logLanguageDetectionEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent$LanguageDetectionEvent·textClassifierEvent$LanguageDetectionEvent)·{ |
238 | ········final·StatsEvent$Builder·setAtomId·=·StatsEvent.newBuilder().setAtomId(222); | ||
237 | ········String·value; | 239 | ········String·value; |
238 | ········if·(textClassificationSessionId·==·null)·{ | 240 | ········if·(textClassificationSessionId·==·null)·{ |
239 | ············value·=·null; | 241 | ············value·=·null; |
240 | ········} | 242 | ········} |
241 | ········else·{ | 243 | ········else·{ |
242 | ············value·=·textClassificationSessionId.getValue(); | 244 | ············value·=·textClassificationSessionId.getValue(); |
243 | ········} | 245 | ········} |
244 | ········ | 246 | ········StatsLog.write(setAtomId.writeString(value).writeInt(((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent).getEventType()).writeString((String)getItemAt(getModelNames((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent),·0,·(Object)null)).writeInt(getWidgetType((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent)).writeString((String)getItemAt(((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent).getEntityTypes(),·0)).writeFloat(getFloatAt(((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent).getScores(),·0)).writeInt(getIntAt(((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent).getActionIndices(),·0)).writeString(getPackageName((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent)).usePooledBuffer().build()); |
245 | ····} | 247 | ····} |
246 | ···· | 248 | ···· |
247 | ····private·static·void·logTextLinkifyEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent$TextLinkifyEvent·textClassifierEvent$TextLinkifyEvent)·{ | 249 | ····private·static·void·logTextLinkifyEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent$TextLinkifyEvent·textClassifierEvent$TextLinkifyEvent)·{ |
248 | ········final·ImmutableList·modelNames·=·getModelNames((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent); | 250 | ········final·ImmutableList·modelNames·=·getModelNames((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent); |
251 | ········final·StatsEvent$Builder·setAtomId·=·StatsEvent.newBuilder().setAtomId(220); | ||
249 | ········String·value; | 252 | ········String·value; |
250 | ········if·(textClassificationSessionId·==·null)·{ | 253 | ········if·(textClassificationSessionId·==·null)·{ |
251 | ············value·=·null; | 254 | ············value·=·null; |
252 | ········} | 255 | ········} |
253 | ········else·{ | 256 | ········else·{ |
254 | ············value·=·textClassificationSessionId.getValue(); | 257 | ············value·=·textClassificationSessionId.getValue(); |
255 | ········} | 258 | ········} |
256 | ········ | 259 | ········StatsLog.write(setAtomId.writeString(value).writeInt(((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent).getEventType()).writeString((String)getItemAt(modelNames,·0,·(Object)null)).writeInt(getWidgetType((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent)).writeInt(((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent).getEventIndex()).writeString((String)getItemAt(((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent).getEntityTypes(),·0)).writeInt(0).writeInt(0).writeInt(0).writeLong(0L).writeString(getPackageName((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent)).writeString((String)getItemAt(modelNames,·1,·(Object)null)).usePooledBuffer().build()); |
257 | ····} | 260 | ····} |
258 | ···· | 261 | ···· |
259 | ····private·static·void·logTextSelectionEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent$TextSelectionEvent·textClassifierEvent$TextSelectionEvent)·{ | 262 | ····private·static·void·logTextSelectionEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent$TextSelectionEvent·textClassifierEvent$TextSelectionEvent)·{ |
260 | ········final·ImmutableList·modelNames·=·getModelNames((TextClassifierEvent)textClassifierEvent$TextSelectionEvent); | 263 | ········final·ImmutableList·modelNames·=·getModelNames((TextClassifierEvent)textClassifierEvent$TextSelectionEvent); |
264 | ········final·StatsEvent$Builder·setAtomId·=·StatsEvent.newBuilder().setAtomId(219); | ||
261 | ········String·value; | 265 | ········String·value; |
262 | ········if·(textClassificationSessionId·==·null)·{ | 266 | ········if·(textClassificationSessionId·==·null)·{ |
263 | ············value·=·null; | 267 | ············value·=·null; |
264 | ········} | 268 | ········} |
265 | ········else·{ | 269 | ········else·{ |
266 | ············value·=·textClassificationSessionId.getValue(); | 270 | ············value·=·textClassificationSessionId.getValue(); |
267 | ········} | 271 | ········} |
268 | ········ | 272 | ········StatsLog.write(setAtomId.writeString(value).writeInt(getEventType(textClassifierEvent$TextSelectionEvent)).writeString((String)getItemAt(modelNames,·0,·(Object)null)).writeInt(getWidgetType((TextClassifierEvent)textClassifierEvent$TextSelectionEvent)).writeInt(((TextClassifierEvent)textClassifierEvent$TextSelectionEvent).getEventIndex()).writeString((String)getItemAt(((TextClassifierEvent)textClassifierEvent$TextSelectionEvent).getEntityTypes(),·0)).writeInt(textClassifierEvent$TextSelectionEvent.getRelativeWordStartIndex()).writeInt(textClassifierEvent$TextSelectionEvent.getRelativeWordEndIndex()).writeInt(textClassifierEvent$TextSelectionEvent.getRelativeSuggestedWordStartIndex()).writeInt(textClassifierEvent$TextSelectionEvent.getRelativeSuggestedWordEndIndex()).writeString(getPackageName((TextClassifierEvent)textClassifierEvent$TextSelectionEvent)).writeString((String)getItemAt(modelNames,·1,·(Object)null)).usePooledBuffer().build()); |
269 | ····} | 273 | ····} |
270 | ···· | 274 | ···· |
271 | ····public·void·writeEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent·textClassifierEvent)·{ | 275 | ····public·void·writeEvent(final·TextClassificationSessionId·textClassificationSessionId,·final·TextClassifierEvent·textClassifierEvent)·{ |
272 | ········Preconditions.checkNotNull((Object)textClassifierEvent); | 276 | ········Preconditions.checkNotNull((Object)textClassifierEvent); |
273 | ········final·boolean·enable_FULL_LOGGING·=·TcLog.ENABLE_FULL_LOGGING; | 277 | ········final·boolean·enable_FULL_LOGGING·=·TcLog.ENABLE_FULL_LOGGING; |
274 | ········final·String·s·=·"TCEventLogger"; | 278 | ········final·String·s·=·"TCEventLogger"; |
275 | ········if·(enable_FULL_LOGGING)·{ | 279 | ········if·(enable_FULL_LOGGING)·{ |
Offset 1, 11 lines modified | Offset 1, 10 lines modified | ||
1 | package·com.google.android.textclassifier; | 1 | package·com.google.android.textclassifier; |
2 | import·android.content.res.AssetFileDescriptor; | ||
3 | import·java.util.concurrent.atomic.AtomicBoolean; | 2 | import·java.util.concurrent.atomic.AtomicBoolean; |
4 | public·final·class·ActionsSuggestionsModel·implements·AutoCloseable | 3 | public·final·class·ActionsSuggestionsModel·implements·AutoCloseable |
5 | { | 4 | { |
6 | ····private·long·actionsModelPtr; | 5 | ····private·long·actionsModelPtr; |
7 | ····private·final·AtomicBoolean·isClosed; | 6 | ····private·final·AtomicBoolean·isClosed; |
8 | ···· | 7 | ···· |
Offset 23, 28 lines modified | Offset 22, 14 lines modified | ||
23 | ········this.actionsModelPtr·=·nativeNewActionsModel; | 22 | ········this.actionsModelPtr·=·nativeNewActionsModel; |
24 | ········if·(nativeNewActionsModel·!=·0L)·{ | 23 | ········if·(nativeNewActionsModel·!=·0L)·{ |
25 | ············return; | 24 | ············return; |
26 | ········} | 25 | ········} |
27 | ········throw·new·IllegalArgumentException("Couldn't·initialize·actions·model·from·file·descriptor."); | 26 | ········throw·new·IllegalArgumentException("Couldn't·initialize·actions·model·from·file·descriptor."); |
28 | ····} | 27 | ····} |
29 | ···· | 28 | ···· |
30 | ····public·ActionsSuggestionsModel(final·AssetFileDescriptor·assetFileDescriptor)·{ | ||
31 | ········this(assetFileDescriptor,·null); | ||
32 | ····} | ||
33 | ···· | ||
34 | ····public·ActionsSuggestionsModel(final·AssetFileDescriptor·assetFileDescriptor,·final·byte[]·array)·{ | ||
35 | ········this.isClosed·=·new·AtomicBoolean(false); | ||
36 | ········final·long·nativeNewActionsModelWithOffset·=·nativeNewActionsModelWithOffset(assetFileDescriptor.getParcelFileDescriptor().getFd(),·assetFileDescriptor.getStartOffset(),·assetFileDescriptor.getLength(),·array); | ||
37 | ········this.actionsModelPtr·=·nativeNewActionsModelWithOffset; | ||
38 | ········if·(nativeNewActionsModelWithOffset·!=·0L)·{ | ||
39 | ············return; | ||
40 | ········} | ||
41 | ········throw·new·IllegalArgumentException("Couldn't·initialize·actions·model·from·file·descriptor."); | ||
42 | ····} | ||
43 | ···· | ||
44 | ····public·ActionsSuggestionsModel(final·String·s)·{ | 29 | ····public·ActionsSuggestionsModel(final·String·s)·{ |
45 | ········this(s,·null); | 30 | ········this(s,·null); |
46 | ····} | 31 | ····} |
47 | ···· | 32 | ···· |
48 | ····public·ActionsSuggestionsModel(final·String·s,·final·byte[]·array)·{ | 33 | ····public·ActionsSuggestionsModel(final·String·s,·final·byte[]·array)·{ |
49 | ········this.isClosed·=·new·AtomicBoolean(false); | 34 | ········this.isClosed·=·new·AtomicBoolean(false); |
50 | ········final·long·nativeNewActionsModelFromPath·=·nativeNewActionsModelFromPath(s,·array); | 35 | ········final·long·nativeNewActionsModelFromPath·=·nativeNewActionsModelFromPath(s,·array); |
Offset 55, 46 lines modified | Offset 40, 32 lines modified | ||
55 | ········throw·new·IllegalArgumentException("Couldn't·initialize·actions·model·from·given·file."); | 40 | ········throw·new·IllegalArgumentException("Couldn't·initialize·actions·model·from·given·file."); |
56 | ····} | 41 | ····} |
57 | ···· | 42 | ···· |
58 | ····public·static·String·getLocales(final·int·n)·{ | 43 | ····public·static·String·getLocales(final·int·n)·{ |
59 | ········return·nativeGetLocales(n); | 44 | ········return·nativeGetLocales(n); |
60 | ····} | 45 | ····} |
61 | ···· | 46 | ···· |
62 | ····public·static·String·getLocales(final·AssetFileDescriptor·assetFileDescriptor)·{ | ||
63 | ········return·nativeGetLocalesWithOffset(assetFileDescriptor.getParcelFileDescriptor().getFd(),·assetFileDescriptor.getStartOffset(),·assetFileDescriptor.getLength()); | ||
64 | ····} | ||
65 | ···· | ||
66 | ····public·static·String·getName(final·int·n)·{ | 47 | ····public·static·String·getName(final·int·n)·{ |
67 | ········return·nativeGetName(n); | 48 | ········return·nativeGetName(n); |
68 | ····} | 49 | ····} |
69 | ···· | 50 | ···· |
70 | ····public·static·String·getName(final·AssetFileDescriptor·assetFileDescriptor)·{ | ||
71 | ········return·nativeGetNameWithOffset(assetFileDescriptor.getParcelFileDescriptor().getFd(),·assetFileDescriptor.getStartOffset(),·assetFileDescriptor.getLength()); | ||
72 | ····} | ||
73 | ···· | ||
74 | ····public·static·int·getVersion(final·int·n)·{ | 51 | ····public·static·int·getVersion(final·int·n)·{ |
75 | ········return·nativeGetVersion(n); | 52 | ········return·nativeGetVersion(n); |
76 | ····} | 53 | ····} |
77 | ···· | 54 | ···· |
78 | ····public·static·int·getVersion(final·AssetFileDescriptor·assetFileDescriptor)·{ | ||
79 | ········return·nativeGetVersionWithOffset(assetFileDescriptor.getParcelFileDescriptor().getFd(),·assetFileDescriptor.getStartOffset(),·assetFileDescriptor.getLength()); | ||
80 | ····} | ||
81 | ···· | ||
82 | ····private·native·void·nativeCloseActionsModel(final·long·p0); | 55 | ····private·native·void·nativeCloseActionsModel(final·long·p0); |
83 | ···· | 56 | ···· |
84 | ····private·static·native·String·nativeGetLocales(final·int·p0); | 57 | ····private·static·native·String·nativeGetLocales(final·int·p0); |
85 | ···· | 58 | ···· |
86 | ····private·static·native·String·nativeGetLocalesWithOffset(final·int·p0,·final·long·p1,·final·long·p2); | 59 | ····private·static·native·String·nativeGetLocalesWithOffset(final·int·p0,·final·long·p1,·final·long·p2); |
87 | ···· | 60 | ···· |
88 | ····private·static·native·String·nativeGetName(final·int·p0); | 61 | ····private·static·native·String·nativeGetName(final·int·p0); |
89 | ···· | 62 | ···· |
90 | ····private·static·native·String·nativeGetNameWithOffset(final·int·p0,·final·long·p1,·final·long·p2); | 63 | ····private·static·native·String·nativeGetNameWithOffset(final·int·p0,·final·long·p1,·final·long·p2); |
91 | ···· | 64 | ···· |
92 | ····private·native·long·nativeGetNativeModelPtr(final·long·p0); | ||
93 | ···· | ||
94 | ····private·static·native·int·nativeGetVersion(final·int·p0); | 65 | ····private·static·native·int·nativeGetVersion(final·int·p0); |
95 | ···· | 66 | ···· |
96 | ····private·static·native·int·nativeGetVersionWithOffset(final·int·p0,·final·long·p1,·final·long·p2); | 67 | ····private·static·native·int·nativeGetVersionWithOffset(final·int·p0,·final·long·p1,·final·long·p2); |
97 | ···· | 68 | ···· |
98 | ····private·static·native·long·nativeNewActionsModel(final·int·p0,·final·byte[]·p1); | 69 | ····private·static·native·long·nativeNewActionsModel(final·int·p0,·final·byte[]·p1); |
99 | ···· | 70 | ···· |
100 | ····private·static·native·long·nativeNewActionsModelFromPath(final·String·p0,·final·byte[]·p1); | 71 | ····private·static·native·long·nativeNewActionsModelFromPath(final·String·p0,·final·byte[]·p1); |
Offset 115, 18 lines modified | Offset 86, 14 lines modified | ||
115 | ············this.close(); | 86 | ············this.close(); |
116 | ········} | 87 | ········} |
117 | ········finally·{ | 88 | ········finally·{ |
118 | ············super.finalize(); | 89 | ············super.finalize(); |
119 | ········} | 90 | ········} |
120 | ····} | 91 | ····} |
121 | ···· | 92 | ···· |
122 | ····long·getNativeModelPointer()·{ | ||
123 | ········return·this.nativeGetNativeModelPtr(this.actionsModelPtr); | ||
124 | ····} | ||
125 | ···· | ||
126 | ····public·ActionsSuggestionsModel$ActionSuggestion[]·suggestActions(final·ActionsSuggestionsModel$Conversation·actionsSuggestionsModel$Conversation,·final·ActionsSuggestionsModel$ActionSuggestionOptions·actionsSuggestionsModel$ActionSuggestionOptions,·final·AnnotatorModel·annotatorModel)·{ | 93 | ····public·ActionsSuggestionsModel$ActionSuggestion[]·suggestActions(final·ActionsSuggestionsModel$Conversation·actionsSuggestionsModel$Conversation,·final·ActionsSuggestionsModel$ActionSuggestionOptions·actionsSuggestionsModel$ActionSuggestionOptions,·final·AnnotatorModel·annotatorModel)·{ |
127 | ········final·long·actionsModelPtr·=·this.actionsModelPtr; | 94 | ········final·long·actionsModelPtr·=·this.actionsModelPtr; |
128 | ········long·nativeAnnotatorPointer; | 95 | ········long·nativeAnnotatorPointer; |
129 | ········if·(annotatorModel·!=·null)·{ | 96 | ········if·(annotatorModel·!=·null)·{ |
130 | ············nativeAnnotatorPointer·=·annotatorModel.getNativeAnnotatorPointer(); | 97 | ············nativeAnnotatorPointer·=·annotatorModel.getNativeAnnotatorPointer(); |
131 | ········} | 98 | ········} |
132 | ········else·{ | 99 | ········else·{ |
Offset 1, 61 lines modified | Offset 1, 56 lines modified | ||
1 | package·com.google.android.textclassifier; | 1 | package·com.google.android.textclassifier; |
2 | import·java.util.Collection; | 2 | import·java.util.Collection; |
3 | public·final·class·AnnotatorModel$AnnotationOptions | 3 | public·final·class·AnnotatorModel$AnnotationOptions |
4 | { | 4 | { |
5 | ····private·final·int·annotateMode; | ||
6 | ····private·final·int·annotationUsecase; | 5 | ····private·final·int·annotationUsecase; |
7 | ····private·final·String·detectedTextLanguageTags; | 6 | ····private·final·String·detectedTextLanguageTags; |
8 | ····private·final·String[]·entityTypes; | 7 | ····private·final·String[]·entityTypes; |
9 | ····private·final·boolean·hasLocationPermission; | 8 | ····private·final·boolean·hasLocationPermission; |
10 | ····private·final·boolean·hasPersonalizationPermission; | 9 | ····private·final·boolean·hasPersonalizationPermission; |
11 | ····private·final·boolean·isSerializedEntityDataEnabled; | 10 | ····private·final·boolean·isSerializedEntityDataEnabled; |
12 | ····private·final·String·locales; | 11 | ····private·final·String·locales; |
13 | ····private·final·long·referenceTimeMsUtc; | 12 | ····private·final·long·referenceTimeMsUtc; |
14 | ····private·final·String·referenceTimezone; | 13 | ····private·final·String·referenceTimezone; |
15 | ····private·final·boolean·triggerDictionaryOnBeginnerWords; | ||
16 | ····private·final·boolean·usePodNer; | ||
17 | ····private·final·float·userLocationAccuracyMeters; | 14 | ····private·final·float·userLocationAccuracyMeters; |
18 | ····private·final·double·userLocationLat; | 15 | ····private·final·double·userLocationLat; |
19 | ····private·final·double·userLocationLng; | 16 | ····private·final·double·userLocationLng; |
20 | ···· | 17 | ···· |
18 | ····public·AnnotatorModel$AnnotationOptions(final·long·n,·final·String·s,·final·String·s2,·final·String·s3)·{ | ||
19 | ········this(n,·s,·s2,·s3,·null,·AnnotatorModel$AnnotationUsecase.SMART.getValue(),·false); | ||
20 | ····} | ||
21 | ···· | ||
22 | ····public·AnnotatorModel$AnnotationOptions(final·long·n,·final·String·s,·final·String·s2,·final·String·s3,·final·Collection·collection,·final·int·n2,·final·boolean·b)·{ | ||
23 | ········this(n,·s,·s2,·s3,·collection,·n2,·b,·180.0,·360.0,·0.0f); | ||
24 | ····} | ||
25 | ···· | ||
26 | ····public·AnnotatorModel$AnnotationOptions(final·long·n,·final·String·s,·final·String·s2,·final·String·s3,·final·Collection·collection,·final·int·n2,·final·boolean·b,·final·double·n3,·final·double·n4,·final·float·n5)·{ | ||
27 | ········this(n,·s,·s2,·s3,·collection,·n2,·true,·true,·b,·n3,·n4,·n5); | ||
28 | ····} | ||
29 | ···· | ||
21 | ····p | 30 | ····public·AnnotatorModel$AnnotationOptions(final·long·referenceTimeMsUtc,·final·String·referenceTimezone,·final·String·locales,·final·String·detectedTextLanguageTags,·final·Collection·collection,·final·int·annotationUsecase,·final·boolean·hasLocationPermission,·final·boolean·hasPersonalizationPermission,·final·boolean·isSerializedEntityDataEnabled,·final·double·userLocationLat,·final·double·userLocationLng,·final·float·userLocationAccuracyMeters)·{ |
22 | ········this.referenceTimeMsUtc·=·referenceTimeMsUtc; | 31 | ········this.referenceTimeMsUtc·=·referenceTimeMsUtc; |
23 | ········this.referenceTimezone·=·referenceTimezone; | 32 | ········this.referenceTimezone·=·referenceTimezone; |
24 | ········this.locales·=·locales; | 33 | ········this.locales·=·locales; |
25 | ········this.detectedTextLanguageTags·=·detectedTextLanguageTags; | 34 | ········this.detectedTextLanguageTags·=·detectedTextLanguageTags; |
26 | ········String[]·entityTypes; | 35 | ········String[]·entityTypes·=·new·String[0]; |
27 | ········if·(collection· | 36 | ········if·(collection·!=·null)·{ |
28 | ············entityTypes·=·new·String[0]; | ||
29 | ········} | ||
30 | ········else·{ | ||
31 | ············entityTypes·=·collection.toArray( | 37 | ············entityTypes·=·collection.toArray(entityTypes); |
32 | ········} | 38 | ········} |
33 | ········this.entityTypes·=·entityTypes; | 39 | ········this.entityTypes·=·entityTypes; |
34 | ········this.annotateMode·=·annotateMode; | ||
35 | ········this.annotationUsecase·=·annotationUsecase; | 40 | ········this.annotationUsecase·=·annotationUsecase; |
36 | ········this.isSerializedEntityDataEnabled·=·isSerializedEntityDataEnabled; | 41 | ········this.isSerializedEntityDataEnabled·=·isSerializedEntityDataEnabled; |
37 | ········this.userLocationLat·=·userLocationLat; | 42 | ········this.userLocationLat·=·userLocationLat; |
38 | ········this.userLocationLng·=·userLocationLng; | 43 | ········this.userLocationLng·=·userLocationLng; |
39 | ········this.userLocationAccuracyMeters·=·userLocationAccuracyMeters; | 44 | ········this.userLocationAccuracyMeters·=·userLocationAccuracyMeters; |
40 | ········this.hasLocationPermission·=·hasLocationPermission; | 45 | ········this.hasLocationPermission·=·hasLocationPermission; |
41 | ········this.hasPersonalizationPermission·=·hasPersonalizationPermission; | 46 | ········this.hasPersonalizationPermission·=·hasPersonalizationPermission; |
42 | ········this.usePodNer·=·usePodNer; | ||
43 | ········this.triggerDictionaryOnBeginnerWords·=·triggerDictionaryOnBeginnerWords; | ||
44 | ····} | ||
45 | ···· | ||
46 | ····public·static·AnnotatorModel$AnnotationOptions$Builder·builder()·{ | ||
47 | ········return·new·AnnotatorModel$AnnotationOptions$Builder(); | ||
48 | ····} | ||
49 | ···· | ||
50 | ····public·int·getAnnotateMode()·{ | ||
51 | ········return·this.annotateMode; | ||
52 | ····} | 47 | ····} |
53 | ···· | 48 | ···· |
54 | ····public·int·getAnnotationUsecase()·{ | 49 | ····public·int·getAnnotationUsecase()·{ |
55 | ········return·this.annotationUsecase; | 50 | ········return·this.annotationUsecase; |
56 | ····} | 51 | ····} |
57 | ···· | 52 | ···· |
58 | ····public·String·getDetectedTextLanguageTags()·{ | 53 | ····public·String·getDetectedTextLanguageTags()·{ |
Offset 74, 22 lines modified | Offset 69, 14 lines modified | ||
74 | ········return·this.referenceTimeMsUtc; | 69 | ········return·this.referenceTimeMsUtc; |
75 | ····} | 70 | ····} |
76 | ···· | 71 | ···· |
77 | ····public·String·getReferenceTimezone()·{ | 72 | ····public·String·getReferenceTimezone()·{ |
78 | ········return·this.referenceTimezone; | 73 | ········return·this.referenceTimezone; |
79 | ····} | 74 | ····} |
80 | ···· | 75 | ···· |
81 | ····public·boolean·getTriggerDictionaryOnBeginnerWords()·{ | ||
82 | ········return·this.triggerDictionaryOnBeginnerWords; | ||
83 | ····} | ||
84 | ···· | ||
85 | ····public·boolean·getUsePodNer()·{ | ||
86 | ········return·this.usePodNer; | ||
87 | ····} | ||
88 | ···· | ||
89 | ····public·float·getUserLocationAccuracyMeters()·{ | 76 | ····public·float·getUserLocationAccuracyMeters()·{ |
90 | ········return·this.userLocationAccuracyMeters; | 77 | ········return·this.userLocationAccuracyMeters; |
91 | ····} | 78 | ····} |
92 | ···· | 79 | ···· |
93 | ····public·double·getUserLocationLat()·{ | 80 | ····public·double·getUserLocationLat()·{ |
94 | ········return·this.userLocationLat; | 81 | ········return·this.userLocationLat; |
95 | ····} | 82 | ····} |
Offset 4, 37 lines modified | Offset 4, 33 lines modified | ||
4 | public·final·class·AnnotatorModel$ClassificationOptions | 4 | public·final·class·AnnotatorModel$ClassificationOptions |
5 | { | 5 | { |
6 | ····private·final·int·annotationUsecase; | 6 | ····private·final·int·annotationUsecase; |
7 | ····private·final·String·detectedTextLanguageTags; | 7 | ····private·final·String·detectedTextLanguageTags; |
8 | ····private·final·String·locales; | 8 | ····private·final·String·locales; |
9 | ····private·final·long·referenceTimeMsUtc; | 9 | ····private·final·long·referenceTimeMsUtc; |
10 | ····private·final·String·referenceTimezone; | 10 | ····private·final·String·referenceTimezone; |
11 | ····private·final·boolean·triggerDictionaryOnBeginnerWords; | ||
12 | ····private·final·boolean·usePodNer; | ||
13 | ····private·final·String·userFamiliarLanguageTags; | 11 | ····private·final·String·userFamiliarLanguageTags; |
14 | ····private·final·float·userLocationAccuracyMeters; | 12 | ····private·final·float·userLocationAccuracyMeters; |
15 | ····private·final·double·userLocationLat; | 13 | ····private·final·double·userLocationLat; |
16 | ····private·final·double·userLocationLng; | 14 | ····private·final·double·userLocationLng; |
17 | ···· | 15 | ···· |
18 | ····p | 16 | ····public·AnnotatorModel$ClassificationOptions(final·long·n,·final·String·s,·final·String·s2,·final·String·s3)·{ |
17 | ········this(n,·s,·s2,·s3,·AnnotatorModel$AnnotationUsecase.SMART.getValue(),·""); | ||
18 | ····} | ||
19 | ···· | ||
20 | ····public·AnnotatorModel$ClassificationOptions(final·long·referenceTimeMsUtc,·final·String·referenceTimezone,·final·String·locales,·final·String·detectedTextLanguageTags,·final·int·annotationUsecase,·final·String·userFamiliarLanguageTags)·{ | ||
19 | ········this.referenceTimeMsUtc·=·referenceTimeMsUtc; | 21 | ········this.referenceTimeMsUtc·=·referenceTimeMsUtc; |
20 | ········this.referenceTimezone·=·referenceTimezone; | 22 | ········this.referenceTimezone·=·referenceTimezone; |
21 | ········this.locales·=·locales; | 23 | ········this.locales·=·locales; |
22 | ········this.detectedTextLanguageTags·=·detectedTextLanguageTags; | 24 | ········this.detectedTextLanguageTags·=·detectedTextLanguageTags; |
23 | ········this.annotationUsecase·=·annotationUsecase; | 25 | ········this.annotationUsecase·=·annotationUsecase; |
24 | ········this.userLocationLat·=· | 26 | ········this.userLocationLat·=·180.0; |
25 | ········this.userLocationLng·=· | 27 | ········this.userLocationLng·=·360.0; |
26 | ········this.userLocationAccuracyMeters·=· | 28 | ········this.userLocationAccuracyMeters·=·0.0f; |
27 | ········this.userFamiliarLanguageTags·=·userFamiliarLanguageTags; | 29 | ········this.userFamiliarLanguageTags·=·userFamiliarLanguageTags; |
28 | ········this.usePodNer·=·usePodNer; | ||
29 | ········this.triggerDictionaryOnBeginnerWords·=·triggerDictionaryOnBeginnerWords; | ||
30 | ····} | ||
31 | ···· | ||
32 | ····public·static·AnnotatorModel$ClassificationOptions$Builder·builder()·{ | ||
33 | ········return·new·AnnotatorModel$ClassificationOptions$Builder(); | ||
34 | ····} | 30 | ····} |
35 | ···· | 31 | ···· |
36 | ····public·int·getAnnotationUsecase()·{ | 32 | ····public·int·getAnnotationUsecase()·{ |
37 | ········return·this.annotationUsecase; | 33 | ········return·this.annotationUsecase; |
38 | ····} | 34 | ····} |
39 | ···· | 35 | ···· |
40 | ····public·String·getDetectedTextLanguageTags()·{ | 36 | ····public·String·getDetectedTextLanguageTags()·{ |
Offset 49, 22 lines modified | Offset 45, 14 lines modified | ||
49 | ········return·this.referenceTimeMsUtc; | 45 | ········return·this.referenceTimeMsUtc; |
50 | ····} | 46 | ····} |
51 | ···· | 47 | ···· |
52 | ····public·String·getReferenceTimezone()·{ | 48 | ····public·String·getReferenceTimezone()·{ |
53 | ········return·this.referenceTimezone; | 49 | ········return·this.referenceTimezone; |
54 | ····} | 50 | ····} |
55 | ···· | 51 | ···· |
56 | ····public·boolean·getTriggerDictionaryOnBeginnerWords()·{ | ||
57 | ········return·this.triggerDictionaryOnBeginnerWords; | ||
58 | ····} | ||
59 | ···· | ||
60 | ····public·boolean·getUsePodNer()·{ | ||
61 | ········return·this.usePodNer; | ||
62 | ····} | ||
63 | ···· | ||
64 | ····public·String·getUserFamiliarLanguageTags()·{ | 52 | ····public·String·getUserFamiliarLanguageTags()·{ |
65 | ········return·this.userFamiliarLanguageTags; | 53 | ········return·this.userFamiliarLanguageTags; |
66 | ····} | 54 | ····} |
67 | ···· | 55 | ···· |
68 | ····public·float·getUserLocationAccuracyMeters()·{ | 56 | ····public·float·getUserLocationAccuracyMeters()·{ |
69 | ········return·this.userLocationAccuracyMeters; | 57 | ········return·this.userLocationAccuracyMeters; |
70 | ····} | 58 | ····} |
Offset 2, 49 lines modified | Offset 2, 43 lines modified | ||
2 | package·com.google.android.textclassifier; | 2 | package·com.google.android.textclassifier; |
3 | public·final·class·AnnotatorModel$SelectionOptions | 3 | public·final·class·AnnotatorModel$SelectionOptions |
4 | { | 4 | { |
5 | ····private·final·int·annotationUsecase; | 5 | ····private·final·int·annotationUsecase; |
6 | ····private·final·String·detectedTextLanguageTags; | 6 | ····private·final·String·detectedTextLanguageTags; |
7 | ····private·final·String·locales; | 7 | ····private·final·String·locales; |
8 | ····private·final·boolean·usePodNer; | ||
9 | ····private·final·float·userLocationAccuracyMeters; | 8 | ····private·final·float·userLocationAccuracyMeters; |
10 | ····private·final·double·userLocationLat; | 9 | ····private·final·double·userLocationLat; |
11 | ····private·final·double·userLocationLng; | 10 | ····private·final·double·userLocationLng; |
12 | ···· | 11 | ···· |
13 | ····p | 12 | ····public·AnnotatorModel$SelectionOptions(final·String·s,·final·String·s2)·{ |
13 | ········this(s,·s2,·AnnotatorModel$AnnotationUsecase.SMART.getValue()); | ||
14 | ····} | ||
15 | ···· | ||
16 | ····public·AnnotatorModel$SelectionOptions(final·String·locales,·final·String·detectedTextLanguageTags,·final·int·annotationUsecase)·{ | ||
14 | ········this.locales·=·locales; | 17 | ········this.locales·=·locales; |
15 | ········this.detectedTextLanguageTags·=·detectedTextLanguageTags; | 18 | ········this.detectedTextLanguageTags·=·detectedTextLanguageTags; |
16 | ········this.annotationUsecase·=·annotationUsecase; | 19 | ········this.annotationUsecase·=·annotationUsecase; |
17 | ········this.userLocationLat·=· | 20 | ········this.userLocationLat·=·180.0; |
18 | ········this.userLocationLng·=· | 21 | ········this.userLocationLng·=·360.0; |
22 | ········this.userLocationAccuracyMeters·=·0.0f; | ||
19 | ········this.userLocationAccuracyMeters·=·userLocationAccuracyMeters; | ||
20 | ········this.usePodNer·=·usePodNer; | ||
21 | ····} | ||
22 | ···· | ||
23 | ····public·static·AnnotatorModel$SelectionOptions$Builder·builder()·{ | ||
24 | ········return·new·AnnotatorModel$SelectionOptions$Builder(); | ||
25 | ····} | 23 | ····} |
26 | ···· | 24 | ···· |
27 | ····public·int·getAnnotationUsecase()·{ | 25 | ····public·int·getAnnotationUsecase()·{ |
28 | ········return·this.annotationUsecase; | 26 | ········return·this.annotationUsecase; |
29 | ····} | 27 | ····} |
30 | ···· | 28 | ···· |
31 | ····public·String·getDetectedTextLanguageTags()·{ | 29 | ····public·String·getDetectedTextLanguageTags()·{ |
32 | ········return·this.detectedTextLanguageTags; | 30 | ········return·this.detectedTextLanguageTags; |
33 | ····} | 31 | ····} |
34 | ···· | 32 | ···· |
35 | ····public·String·getLocales()·{ | 33 | ····public·String·getLocales()·{ |
36 | ········return·this.locales; | 34 | ········return·this.locales; |
37 | ····} | 35 | ····} |
38 | ···· | 36 | ···· |
39 | ····public·boolean·getUsePodNer()·{ | ||
40 | ········return·this.usePodNer; | ||
41 | ····} | ||
42 | ···· | ||
43 | ····public·float·getUserLocationAccuracyMeters()·{ | 37 | ····public·float·getUserLocationAccuracyMeters()·{ |
44 | ········return·this.userLocationAccuracyMeters; | 38 | ········return·this.userLocationAccuracyMeters; |
45 | ····} | 39 | ····} |
46 | ···· | 40 | ···· |
47 | ····public·double·getUserLocationLat()·{ | 41 | ····public·double·getUserLocationLat()·{ |
48 | ········return·this.userLocationLat; | 42 | ········return·this.userLocationLat; |
49 | ····} | 43 | ····} |
Offset 1, 11 lines modified | Offset 1, 10 lines modified | ||
1 | package·com.google.android.textclassifier; | 1 | package·com.google.android.textclassifier; |
2 | import·android.content.res.AssetFileDescriptor; | ||
3 | import·java.util.concurrent.atomic.AtomicBoolean; | 2 | import·java.util.concurrent.atomic.AtomicBoolean; |
4 | public·final·class·AnnotatorModel·implements·AutoCloseable | 3 | public·final·class·AnnotatorModel·implements·AutoCloseable |
5 | { | 4 | { |
6 | ····public·static·final·double·INVALID_LATITUDE·=·180.0; | 5 | ····public·static·final·double·INVALID_LATITUDE·=·180.0; |
7 | ····public·static·final·float·INVALID_LOCATION_ACCURACY_METERS·=·0.0f; | 6 | ····public·static·final·float·INVALID_LOCATION_ACCURACY_METERS·=·0.0f; |
8 | ····public·static·final·double·INVALID_LONGITUDE·=·360.0; | 7 | ····public·static·final·double·INVALID_LONGITUDE·=·360.0; |
Offset 32, 61 lines modified | Offset 31, 39 lines modified | ||
32 | ········this.annotatorPtr·=·nativeNewAnnotator; | 31 | ········this.annotatorPtr·=·nativeNewAnnotator; |
33 | ········if·(nativeNewAnnotator·!=·0L)·{ | 32 | ········if·(nativeNewAnnotator·!=·0L)·{ |
34 | ············return; | 33 | ············return; |
35 | ········} | 34 | ········} |
36 | ········throw·new·IllegalArgumentException("Couldn't·initialize·TC·from·file·descriptor."); | 35 | ········throw·new·IllegalArgumentException("Couldn't·initialize·TC·from·file·descriptor."); |
37 | ····} | 36 | ····} |
38 | ···· | 37 | ···· |
39 | ····public·AnnotatorModel(final·AssetFileDescriptor·assetFileDescriptor)·{ | ||
40 | ········this.isClosed·=·new·AtomicBoolean(false); | ||
41 | ········final·long·nativeNewAnnotatorWithOffset·=·nativeNewAnnotatorWithOffset(assetFileDescriptor.getParcelFileDescriptor().getFd(),·assetFileDescriptor.getStartOffset(),·assetFileDescriptor.getLength()); | ||
42 | ········this.annotatorPtr·=·nativeNewAnnotatorWithOffset; | ||
43 | ········if·(nativeNewAnnotatorWithOffset·!=·0L)·{ | ||
44 | ············return; | ||
45 | ········} | ||
46 | ········throw·new·IllegalArgumentException("Couldn't·initialize·TC·from·asset·file·descriptor."); | ||
47 | ····} | ||
48 | ···· | ||
49 | ····public·AnnotatorModel(final·String·s)·{ | 38 | ····public·AnnotatorModel(final·String·s)·{ |
50 | ········this.isClosed·=·new·AtomicBoolean(false); | 39 | ········this.isClosed·=·new·AtomicBoolean(false); |
51 | ········final·long·nativeNewAnnotatorFromPath·=·nativeNewAnnotatorFromPath(s); | 40 | ········final·long·nativeNewAnnotatorFromPath·=·nativeNewAnnotatorFromPath(s); |
52 | ········this.annotatorPtr·=·nativeNewAnnotatorFromPath; | 41 | ········this.annotatorPtr·=·nativeNewAnnotatorFromPath; |
53 | ········if·(nativeNewAnnotatorFromPath·!=·0L)·{ | 42 | ········if·(nativeNewAnnotatorFromPath·!=·0L)·{ |
54 | ············return; | 43 | ············return; |
55 | ········} | 44 | ········} |
56 | ········throw·new·IllegalArgumentException("Couldn't·initialize·TC·from·given·file."); | 45 | ········throw·new·IllegalArgumentException("Couldn't·initialize·TC·from·given·file."); |
57 | ····} | 46 | ····} |
58 | ···· | 47 | ···· |
59 | ····public·static·String·getLocales(final·int·n)·{ | 48 | ····public·static·String·getLocales(final·int·n)·{ |
60 | ········return·nativeGetLocales(n); | 49 | ········return·nativeGetLocales(n); |
61 | ····} | 50 | ····} |
62 | ···· | 51 | ···· |
63 | ····public·static·String·getLocales(final·AssetFileDescriptor·assetFileDescriptor)·{ | ||
64 | ········return·nativeGetLocalesWithOffset(assetFileDescriptor.getParcelFileDescriptor().getFd(),·assetFileDescriptor.getStartOffset(),·assetFileDescriptor.getLength()); | ||
65 | ····} | ||
66 | ···· | ||
67 | ····public·static·String·getName(final·int·n)·{ | 52 | ····public·static·String·getName(final·int·n)·{ |
68 | ········return·nativeGetName(n); | 53 | ········return·nativeGetName(n); |
69 | ····} | 54 | ····} |
70 | ···· | 55 | ···· |
71 | ····public·static·String·getName(final·AssetFileDescriptor·assetFileDescriptor)·{ | ||
72 | ········return·nativeGetNameWithOffset(assetFileDescriptor.getParcelFileDescriptor().getFd(),·assetFileDescriptor.getStartOffset(),·assetFileDescriptor.getLength()); | ||
73 | ····} | ||
74 | ···· | ||
75 | ····public·static·int·getVersion(final·int·n)·{ | 56 | ····public·static·int·getVersion(final·int·n)·{ |
76 | ········return·nativeGetVersion(n); | 57 | ········return·nativeGetVersion(n); |
77 | ····} | 58 | ····} |
78 | ···· | 59 | ···· |
79 | ····public·static·int·getVersion(final·AssetFileDescriptor·assetFileDescriptor)·{ | ||
80 | ········return·nativeGetVersionWithOffset(assetFileDescriptor.getParcelFileDescriptor().getFd(),·assetFileDescriptor.getStartOffset(),·assetFileDescriptor.getLength()); | ||
81 | ····} | ||
82 | ···· | ||
83 | ····private·native·AnnotatorModel$AnnotatedSpan[]·nativeAnnotate(final·long·p0,·final·String·p1,·final·AnnotatorModel$AnnotationOptions·p2); | 60 | ····private·native·AnnotatorModel$AnnotatedSpan[]·nativeAnnotate(final·long·p0,·final·String·p1,·final·AnnotatorModel$AnnotationOptions·p2); |
84 | ···· | 61 | ···· |
85 | ····private·native·AnnotatorModel$Annotat | 62 | ····private·native·AnnotatorModel$AnnotatedSpan[][]·nativeAnnotateStructuredInput(final·long·p0,·final·AnnotatorModel$InputFragment[]·p1,·final·AnnotatorModel$AnnotationOptions·p2); |
86 | ···· | 63 | ···· |
87 | ····private·native·AnnotatorModel$ClassificationResult[]·nativeClassifyText(final·long·p0,·final·String·p1,·final·int·p2,·final·int·p3,·final·AnnotatorModel$ClassificationOptions·p4,·final·Object·p5,·final·String·p6); | 64 | ····private·native·AnnotatorModel$ClassificationResult[]·nativeClassifyText(final·long·p0,·final·String·p1,·final·int·p2,·final·int·p3,·final·AnnotatorModel$ClassificationOptions·p4,·final·Object·p5,·final·String·p6); |
88 | ···· | 65 | ···· |
89 | ····private·native·void·nativeCloseAnnotator(final·long·p0); | 66 | ····private·native·void·nativeCloseAnnotator(final·long·p0); |
90 | ···· | 67 | ···· |
91 | ····private·static·native·String·nativeGetLocales(final·int·p0); | 68 | ····private·static·native·String·nativeGetLocales(final·int·p0); |
92 | ···· | 69 | ···· |
Offset 122, 15 lines modified | Offset 99, 15 lines modified | ||
122 | ···· | 99 | ···· |
123 | ····private·native·int[]·nativeSuggestSelection(final·long·p0,·final·String·p1,·final·int·p2,·final·int·p3,·final·AnnotatorModel$SelectionOptions·p4); | 100 | ····private·native·int[]·nativeSuggestSelection(final·long·p0,·final·String·p1,·final·int·p2,·final·int·p3,·final·AnnotatorModel$SelectionOptions·p4); |
124 | ···· | 101 | ···· |
125 | ····public·AnnotatorModel$AnnotatedSpan[]·annotate(final·String·s,·final·AnnotatorModel$AnnotationOptions·annotatorModel$AnnotationOptions)·{ | 102 | ····public·AnnotatorModel$AnnotatedSpan[]·annotate(final·String·s,·final·AnnotatorModel$AnnotationOptions·annotatorModel$AnnotationOptions)·{ |
126 | ········return·this.nativeAnnotate(this.annotatorPtr,·s,·annotatorModel$AnnotationOptions); | 103 | ········return·this.nativeAnnotate(this.annotatorPtr,·s,·annotatorModel$AnnotationOptions); |
127 | ····} | 104 | ····} |
128 | ···· | 105 | ···· |
129 | ····public·AnnotatorModel$Annotat | 106 | ····public·AnnotatorModel$AnnotatedSpan[][]·annotateStructuredInput(final·AnnotatorModel$InputFragment[]·array,·final·AnnotatorModel$AnnotationOptions·annotatorModel$AnnotationOptions)·{ |
130 | ········return·this.nativeAnnotateStructuredInput(this.annotatorPtr,·array,·annotatorModel$AnnotationOptions); | 107 | ········return·this.nativeAnnotateStructuredInput(this.annotatorPtr,·array,·annotatorModel$AnnotationOptions); |
131 | ····} | 108 | ····} |
132 | ···· | 109 | ···· |
133 | ····public·AnnotatorModel$ClassificationResult[]·classifyText(final·String·s,·final·int·n,·final·int·n2,·final·AnnotatorModel$ClassificationOptions·annotatorModel$ClassificationOptions)·{ | 110 | ····public·AnnotatorModel$ClassificationResult[]·classifyText(final·String·s,·final·int·n,·final·int·n2,·final·AnnotatorModel$ClassificationOptions·annotatorModel$ClassificationOptions)·{ |
134 | ········return·this.classifyText(s,·n,·n2,·annotatorModel$ClassificationOptions,·null,·null); | 111 | ········return·this.classifyText(s,·n,·n2,·annotatorModel$ClassificationOptions,·null,·null); |
135 | ····} | 112 | ····} |
136 | ···· | 113 | ···· |
Offset 175, 21 lines modified | Offset 152, 14 lines modified | ||
175 | ····public·void·initializeKnowledgeEngine(final·byte[]·array)·{ | 152 | ····public·void·initializeKnowledgeEngine(final·byte[]·array)·{ |
176 | ········if·(this.nativeInitializeKnowledgeEngine(this.annotatorPtr,·array))·{ | 153 | ········if·(this.nativeInitializeKnowledgeEngine(this.annotatorPtr,·array))·{ |
177 | ············return; | 154 | ············return; |
178 | ········} | 155 | ········} |
179 | ········throw·new·IllegalArgumentException("Couldn't·initialize·the·KG·engine"); | 156 | ········throw·new·IllegalArgumentException("Couldn't·initialize·the·KG·engine"); |
180 | ····} | 157 | ····} |
181 | ···· | 158 | ···· |
182 | ····public·void·initializePersonNameEngine(final·AssetFileDescriptor·assetFileDescriptor)·{ | ||
183 | ········if·(this.nativeInitializePersonNameEngine(this.annotatorPtr,·assetFileDescriptor.getParcelFileDescriptor().getFd(),·assetFileDescriptor.getStartOffset(),·assetFileDescriptor.getLength()))·{ | ||
184 | ············return; | ||
185 | ········} | ||
186 | ········throw·new·IllegalArgumentException("Couldn't·initialize·the·person·name·engine"); | ||
187 | ····} | ||
188 | ···· | ||
189 | ····public·byte[]·lookUpKnowledgeEntity(final·String·s)·{ | 159 | ····public·byte[]·lookUpKnowledgeEntity(final·String·s)·{ |
190 | ········return·this.nativeLookUpKnowledgeEntity(this.annotatorPtr,·s); | 160 | ········return·this.nativeLookUpKnowledgeEntity(this.annotatorPtr,·s); |
191 | ····} | 161 | ····} |
192 | ···· | 162 | ···· |
193 | ····public·void·setLangIdModel(final·LangIdModel·langIdModel)·{ | 163 | ····public·void·setLangIdModel(final·LangIdModel·langIdModel)·{ |
194 | ········this.langIdModel·=·langIdModel; | 164 | ········this.langIdModel·=·langIdModel; |
195 | ········final·long·annotatorPtr·=·this.annotatorPtr; | 165 | ········final·long·annotatorPtr·=·this.annotatorPtr; |
Offset 9, 18 lines modified | Offset 9, 14 lines modified | ||
9 | public·abstract·class·ImmutableMap·implements·Map,·Serializable | 9 | public·abstract·class·ImmutableMap·implements·Map,·Serializable |
10 | { | 10 | { |
11 | ····private·transient·ImmutableSet·entrySet; | 11 | ····private·transient·ImmutableSet·entrySet; |
12 | ····private·transient·ImmutableSet·keySet; | 12 | ····private·transient·ImmutableSet·keySet; |
13 | ····private·transient·ImmutableCollection·values; | 13 | ····private·transient·ImmutableCollection·values; |
14 | ···· | 14 | ···· |
15 | ····public·static·ImmutableMap$Builder·builder()·{ | ||
16 | ········return·new·ImmutableMap$Builder(); | ||
17 | ····} | ||
18 | ···· | ||
19 | ····public·static·ImmutableMap·copyOf(final·Iterable·iterable)·{ | 15 | ····public·static·ImmutableMap·copyOf(final·Iterable·iterable)·{ |
20 | ········int·size; | 16 | ········int·size; |
21 | ········if·(iterable·instanceof·Collection)·{ | 17 | ········if·(iterable·instanceof·Collection)·{ |
22 | ············size·=·((Collection)iterable).size(); | 18 | ············size·=·((Collection)iterable).size(); |
23 | ········} | 19 | ········} |
24 | ········else·{ | 20 | ········else·{ |
25 | ············size·=·4; | 21 | ············size·=·4; |
Offset 66, 18 lines modified | Offset 66, 14 lines modified | ||
66 | ········return·RegularImmutableList.EMPTY; | 66 | ········return·RegularImmutableList.EMPTY; |
67 | ····} | 67 | ····} |
68 | ···· | 68 | ···· |
69 | ····public·static·ImmutableList·of(final·Object·o)·{ | 69 | ····public·static·ImmutableList·of(final·Object·o)·{ |
70 | ········return·construct(o); | 70 | ········return·construct(o); |
71 | ····} | 71 | ····} |
72 | ···· | 72 | ···· |
73 | ····public·static·ImmutableList·of(final·Object·o,·final·Object·o2,·final·Object·o3)·{ | ||
74 | ········return·construct(o,·o2,·o3); | ||
75 | ····} | ||
76 | ···· | ||
77 | ····public·static·ImmutableList·of(final·Object·o,·final·Object·o2,·final·Object·o3,·final·Object·o4,·final·Object·o5,·final·Object·o6,·final·Object·o7)·{ | 73 | ····public·static·ImmutableList·of(final·Object·o,·final·Object·o2,·final·Object·o3,·final·Object·o4,·final·Object·o5,·final·Object·o6,·final·Object·o7)·{ |
78 | ········return·construct(o,·o2,·o3,·o4,·o5,·o6,·o7); | 74 | ········return·construct(o,·o2,·o3,·o4,·o5,·o6,·o7); |
79 | ····} | 75 | ····} |
80 | ···· | 76 | ···· |
81 | ····public·static·ImmutableList·of(final·Object·o,·final·Object·o2,·final·Object·o3,·final·Object·o4,·final·Object·o5,·final·Object·o6,·final·Object·o7,·final·Object·o8,·final·Object·o9,·final·Object·o10,·final·Object·o11)·{ | 77 | ····public·static·ImmutableList·of(final·Object·o,·final·Object·o2,·final·Object·o3,·final·Object·o4,·final·Object·o5,·final·Object·o6,·final·Object·o7,·final·Object·o8,·final·Object·o9,·final·Object·o10,·final·Object·o11)·{ |
82 | ········return·construct(o,·o2,·o3,·o4,·o5,·o6,·o7,·o8,·o9,·o10,·o11); | 78 | ········return·construct(o,·o2,·o3,·o4,·o5,·o6,·o7,·o8,·o9,·o10,·o11); |
83 | ····} | 79 | ····} |
Offset 1, 11 lines modified | Offset 1, 11 lines modified | ||
1 | package·com.android.textclassifier; | 1 | package·com.android.textclassifier; |
2 | import·java.util.function.Function; | 2 | import·java.util.function.Function; |
3 | public·final·class·-$$Lambda$ | 3 | public·final·class·-$$Lambda$TextClassifierImpl$GgWuU910BaKzzHu6MQGYGCHOgkg·implements·Function |
4 | { | 4 | { |
5 | ····public·final·Object·apply(final·Object·o)·{ | 5 | ····public·final·Object·apply(final·Object·o)·{ |
6 | ········return· | 6 | ········return·TextClassifierImpl.lambda$new$0((Integer)o); |
7 | ····} | 7 | ····} |
8 | } | 8 | } |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | package·com.android.textclassifier; | 1 | package·com.android.textclassifier; |
2 | import·android.view.View; | 2 | import·android.view.View; |
3 | import·android.app.PendingIntent; | 3 | import·android.app.PendingIntent; |
4 | import·android.view.View$OnClickListener; | 4 | import·android.view.View$OnClickListener; |
5 | public·final·class·-$$Lambda$TextClassifierImpl$ | 5 | public·final·class·-$$Lambda$TextClassifierImpl$wlF5Lmygug2HifzLlH779V8jReI·implements·View$OnClickListener |
6 | { | 6 | { |
7 | ····public·final·void·onClick(final·View·view)·{ | 7 | ····public·final·void·onClick(final·View·view)·{ |
8 | ········TextClassifierImpl.lambda$createIntentOnClickListener$ | 8 | ········TextClassifierImpl.lambda$createIntentOnClickListener$4(this.f$0,·view); |
9 | ····} | 9 | ····} |
10 | } | 10 | } |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | package·com.android.textclassifier; | 1 | package·com.android.textclassifier; |
2 | import·com.google.common.base.Optional; | 2 | import·com.google.common.base.Optional; |
3 | import·java.util.function.Function; | 3 | import·java.util.function.Function; |
4 | public·final·class·-$$Lambda$TextClassifierImpl$ | 4 | public·final·class·-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws·implements·Function |
5 | { | 5 | { |
6 | ····public·final·Object·apply(final·Object·o)·{ | 6 | ····public·final·Object·apply(final·Object·o)·{ |
7 | ········return·this.f$0.lambda$suggestConversationActions$ | 7 | ········return·this.f$0.lambda$suggestConversationActions$1$TextClassifierImpl(this.f$1,·(CharSequence)o); |
8 | ····} | 8 | ····} |
9 | } | 9 | } |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | package·com.android.textclassifier; | 1 | package·com.android.textclassifier; |
2 | import·com.google.android.textclassifier.LangIdModel; | 2 | import·com.google.android.textclassifier.LangIdModel; |
3 | import·java.util.ArrayList; | 3 | import·java.util.ArrayList; |
4 | import·com.google.common.base.Function; | 4 | import·com.google.common.base.Function; |
5 | public·final·class·-$$Lambda$TextClassifierImpl$ | 5 | public·final·class·-$$Lambda$TextClassifierImpl$Qwks3xU-K0S5rmi-r5zY7rcmhrA·implements·Function |
6 | { | 6 | { |
7 | ····public·final·Object·apply(final·Object·o)·{ | 7 | ····public·final·Object·apply(final·Object·o)·{ |
8 | ········return·TextClassifierImpl.lambda$createClassificationResult$ | 8 | ········return·TextClassifierImpl.lambda$createClassificationResult$3(this.f$0,·(LangIdModel)o); |
9 | ····} | 9 | ····} |
10 | } | 10 | } |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | package·com.android.textclassifier; | 1 | package·com.android.textclassifier; |
2 | import·android.content.Intent; | 2 | import·android.content.Intent; |
3 | import·com.google.common.base.Predicate; | 3 | import·com.google.common.base.Predicate; |
4 | public·final·class·-$$Lambda$TextClassifierImpl$ | 4 | public·final·class·-$$Lambda$TextClassifierImpl$_9AKIndHE_v2Sz1V8d6jhA82Gc4·implements·Predicate |
5 | { | 5 | { |
6 | ····public·final·boolean·apply(final·Object·o)·{ | 6 | ····public·final·boolean·apply(final·Object·o)·{ |
7 | ········return·TextClassifierImpl.lambda$maybeCreateExtrasForTranslate$ | 7 | ········return·TextClassifierImpl.lambda$maybeCreateExtrasForTranslate$5((Intent)o); |
8 | ····} | 8 | ····} |
9 | } | 9 | } |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | package·com.android.textclassifier; | 1 | package·com.android.textclassifier; |
2 | import·com.google.android.textclassifier.LangIdModel; | 2 | import·com.google.android.textclassifier.LangIdModel; |
3 | import·com.google.common.base.Function; | 3 | import·com.google.common.base.Function; |
4 | public·final·class·-$$Lambda$TextClassifierImpl$ | 4 | public·final·class·-$$Lambda$TextClassifierImpl$AY5eoUbVCLXhR9opqmynv0zcSU0·implements·Function |
5 | { | 5 | { |
6 | ····public·final·Object·apply(final·Object·o)·{ | 6 | ····public·final·Object·apply(final·Object·o)·{ |
7 | ········return·this.f$0.lambda$detectLanguageTags$ | 7 | ········return·this.f$0.lambda$detectLanguageTags$6$TextClassifierImpl(this.f$1,·(LangIdModel)o); |
8 | ····} | 8 | ····} |
9 | } | 9 | } |
Offset 705, 19 lines modified | Offset 705, 19 lines modified | ||
00002c00:·0f43·c3b3·6469·676f·2063·6f70·6961·646f··.C..digo·copiado | 00002c00:·0f43·c3b3·6469·676f·2063·6f70·6961·646f··.C..digo·copiado | ||
00002c10:·0024·244e·6f74·6966·6963·6163·696f·6e65··.$$Notificacione | 00002c10:·0024·244e·6f74·6966·6963·6163·696f·6e65··.$$Notificacione | ||
00002c20:·7320·6164·6170·7461·626c·6573·2064·6520··s·adaptables·de· | 00002c20:·7320·6164·6170·7461·626c·6573·2064·6520··s·adaptables·de· | ||
00002c30:·416e·6472·6f69·6400·0e1a·416e·6472·6f69··Android...Androi | 00002c30:·416e·6472·6f69·6400·0e1a·416e·6472·6f69··Android...Androi | ||
00002c40:·6420·e887·aae5·8b95·e8aa·bfe6·95b4·e980··d·.............. | 00002c40:·6420·e887·aae5·8b95·e8aa·bfe6·95b4·e980··d·.............. | ||
00002c50:·9ae7·9fa5·0005·0fe5·b7b2·e8a4·87e8·a3bd··................ | 00002c50:·9ae7·9fa5·0005·0fe5·b7b2·e8a4·87e8·a3bd··................ | ||
00002c60:·e5af·86e7·a2bc·0000·0002·2001·d06a·0000··..........·..j.. | 00002c60:·e5af·86e7·a2bc·0000·0002·2001·d06a·0000··..........·..j.. | ||
00002c70:·7f00·0000·6300·6f00·6d00·2e00·6700·6f00··....c.o.m...g.o. | |||
00002c | 00002c70:·7f00·0000·6100·6e00·6400·7200·6f00·6900··....a.n.d.r.o.i. | ||
00002c80:·6400·2e00·6500·7800·7400·2e00·7300·6500··d...e.x.t...s.e. | |||
00002c90:·7200· | 00002c90:·7200·7600·6900·6300·6500·7300·0000·0000··r.v.i.c.e.s..... | ||
00002ca0:· | 00002ca0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | ||
00002cb0:· | 00002cb0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | ||
00002cc0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | 00002cc0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | ||
00002cd0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | 00002cd0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | ||
00002ce0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | 00002ce0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | ||
00002cf0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | 00002cf0:·0000·0000·0000·0000·0000·0000·0000·0000··................ | ||
00002d00:·0000·0000·0000·0000·0000·0000·0000·0000··................ | 00002d00:·0000·0000·0000·0000·0000·0000·0000·0000··................ | ||
00002d10:·0000·0000·0000·0000·0000·0000·0000·0000··................ | 00002d10:·0000·0000·0000·0000·0000·0000·0000·0000··................ | ||
00002d20:·0000·0000·0000·0000·0000·0000·0000·0000··................ | 00002d20:·0000·0000·0000·0000·0000·0000·0000·0000··................ |
Offset 12, 15 lines modified | Offset 12, 15 lines modified | ||
12 | ····return-void | 12 | ····return-void |
13 | .end·method | 13 | .end·method |
14 | .method·private·synthetic·lambda$onRenderSuggestion$0(Landroid/content/IntentSender;Landroid/view/View;)Z | 14 | .method·private·synthetic·lambda$onRenderSuggestion$0(Landroid/content/IntentSender;Landroid/view/View;)Z |
15 | ····.locals·0 | 15 | ····.locals·0 |
16 | ····.line· | 16 | ····.line·55 |
17 | ····invoke-virtual·{p0,·p1},·Landroid/service/autofill/InlineSuggestionRenderService;->startIntentSender(Landroid/content/IntentSender;)V | 17 | ····invoke-virtual·{p0,·p1},·Landroid/service/autofill/InlineSuggestionRenderService;->startIntentSender(Landroid/content/IntentSender;)V |
18 | ····const/4·p0,·0x1 | 18 | ····const/4·p0,·0x1 |
19 | ····return·p0 | 19 | ····return·p0 |
20 | .end·method | 20 | .end·method |
Offset 32, 34 lines modified | Offset 32, 23 lines modified | ||
32 | ····invoke-direct·{p0,·p1,·p2},·Landroid/ext/services/autofill/InlineSuggestionRenderServiceImpl;->lambda$onRenderSuggestion$0(Landroid/content/IntentSender;Landroid/view/View;)Z | 32 | ····invoke-direct·{p0,·p1,·p2},·Landroid/ext/services/autofill/InlineSuggestionRenderServiceImpl;->lambda$onRenderSuggestion$0(Landroid/content/IntentSender;Landroid/view/View;)Z |
33 | ····move-result·p0 | 33 | ····move-result·p0 |
34 | ····return·p0 | 34 | ····return·p0 |
35 | .end·method | 35 | .end·method |
36 | .method·public·onGetInlineSuggestionsRendererInfo()Landroid/os/Bundle; | ||
37 | ····.locals·0 | ||
38 | ····.line·38 | ||
39 | ····invoke-static·{},·Landroidx/autofill/inline/Renderer;->getSupportedInlineUiVersionsAsBundle()Landroid/os/Bundle; | ||
40 | ····move-result-object·p0 | ||
41 | ····return-object·p0 | ||
42 | .end·method | ||
43 | .method·public·onRenderSuggestion(Landroid/service/autofill/InlinePresentation;II)Landroid/view/View; | 36 | .method·public·onRenderSuggestion(Landroid/service/autofill/InlinePresentation;II)Landroid/view/View; |
44 | ····.locals·2 | 37 | ····.locals·2 |
45 | ····const-string·v0,·"InlinePresentationRendererServiceImpl:·InlinePresentation·should·not·be·null" | 38 | ····const-string·v0,·"InlinePresentationRendererServiceImpl:·InlinePresentation·should·not·be·null" |
46 | ····.line·4 | 39 | ····.line·42 |
47 | ····invoke-static·{p1,·v0},·Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 40 | ····invoke-static·{p1,·v0},·Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
48 | ····.line·4 | 41 | ····.line·43 |
49 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 42 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
50 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 43 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
51 | ····const-string·v1,·"onRenderSuggestion:·width=" | 44 | ····const-string·v1,·"onRenderSuggestion:·width=" |
52 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 45 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 76, 44 lines modified | Offset 65, 44 lines modified | ||
76 | ····move-result-object·p2 | 65 | ····move-result-object·p2 |
77 | ····const-string·p3,·"InlinePresentationRendererServiceImpl" | 66 | ····const-string·p3,·"InlinePresentationRendererServiceImpl" |
78 | ····invoke-static·{p3,·p2},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I | 67 | ····invoke-static·{p3,·p2},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I |
79 | ····.line· | 68 | ····.line·45 |
80 | ····invoke-virtual·{p1},·Landroid/service/autofill/InlinePresentation;->getInlinePresentationSpec()Landroid/widget/inline/InlinePresentationSpec; | 69 | ····invoke-virtual·{p1},·Landroid/service/autofill/InlinePresentation;->getInlinePresentationSpec()Landroid/widget/inline/InlinePresentationSpec; |
81 | ····move-result-object·p2 | 70 | ····move-result-object·p2 |
82 | ····invoke-virtual·{p2},·Landroid/widget/inline/InlinePresentationSpec;->getStyle()Landroid/os/Bundle; | 71 | ····invoke-virtual·{p2},·Landroid/widget/inline/InlinePresentationSpec;->getStyle()Landroid/os/Bundle; |
83 | ····move-result-object·p2 | 72 | ····move-result-object·p2 |
84 | ····const/4·p3,·0x0 | 73 | ····const/4·p3,·0x0 |
85 | ····if-eqz·p2,·:cond_0 | 74 | ····if-eqz·p2,·:cond_0 |
86 | ····.line· | 75 | ····.line·48 |
87 | ····invoke-virtual·{p2},·Landroid/os/Bundle;->isEmpty()Z | 76 | ····invoke-virtual·{p2},·Landroid/os/Bundle;->isEmpty()Z |
88 | ····move-result·v0 | 77 | ····move-result·v0 |
89 | ····if-nez·v0,·:cond_0 | 78 | ····if-nez·v0,·:cond_0 |
90 | ····.line· | 79 | ····.line·49 |
91 | ····invoke-virtual·{p1},·Landroid/service/autofill/InlinePresentation;->getSlice()Landroid/app/slice/Slice; | 80 | ····invoke-virtual·{p1},·Landroid/service/autofill/InlinePresentation;->getSlice()Landroid/app/slice/Slice; |
92 | ····move-result-object·p3 | 81 | ····move-result-object·p3 |
93 | ····invoke-static·{p0,·p3,·p2},·Landroidx/autofill/inline/Renderer;->render(Landroid/content/Context;Landroid/app/slice/Slice;Landroid/os/Bundle;)Landroid/view/View; | 82 | ····invoke-static·{p0,·p3,·p2},·Landroidx/autofill/inline/Renderer;->render(Landroid/content/Context;Landroid/app/slice/Slice;Landroid/os/Bundle;)Landroid/view/View; |
94 | ····move-result-object·p3 | 83 | ····move-result-object·p3 |
95 | ····.line·5 | 84 | ····.line·50 |
96 | ····invoke-virtual·{p1},·Landroid/service/autofill/InlinePresentation;->getSlice()Landroid/app/slice/Slice; | 85 | ····invoke-virtual·{p1},·Landroid/service/autofill/InlinePresentation;->getSlice()Landroid/app/slice/Slice; |
97 | ····move-result-object·p1 | 86 | ····move-result-object·p1 |
98 | ····invoke-static·{p1},·Landroidx/autofill/inline/Renderer;->getAttributionIntent(Landroid/app/slice/Slice;)Landroid/app/PendingIntent; | 87 | ····invoke-static·{p1},·Landroidx/autofill/inline/Renderer;->getAttributionIntent(Landroid/app/slice/Slice;)Landroid/app/PendingIntent; |
99 | ····move-result-object·p1 | 88 | ····move-result-object·p1 |
Offset 124, 20 lines modified | Offset 113, 20 lines modified | ||
124 | ····move-object·p1,·p3 | 113 | ····move-object·p1,·p3 |
125 | ····:goto_0 | 114 | ····:goto_0 |
126 | ····if-eqz·p3,·:cond_1 | 115 | ····if-eqz·p3,·:cond_1 |
127 | ····if-eqz·p1,·:cond_1 | 116 | ····if-eqz·p1,·:cond_1 |
128 | ····.line·5 | 117 | ····.line·53 |
129 | ····invoke-virtual·{p1},·Landroid/app/PendingIntent;->getIntentSender()Landroid/content/IntentSender; | 118 | ····invoke-virtual·{p1},·Landroid/app/PendingIntent;->getIntentSender()Landroid/content/IntentSender; |
130 | ····move-result-object·p1 | 119 | ····move-result-object·p1 |
131 | ····.line· | 120 | ····.line·54 |
132 | ····new-instance·p2,·Landroid/ext/services/autofill/-$$Lambda$InlineSuggestionRenderServiceImpl$Zc7Cw4Af0nVrsEQVRbOUCayIteQ; | 121 | ····new-instance·p2,·Landroid/ext/services/autofill/-$$Lambda$InlineSuggestionRenderServiceImpl$Zc7Cw4Af0nVrsEQVRbOUCayIteQ; |
133 | ····invoke-direct·{p2,·p0,·p1},·Landroid/ext/services/autofill/-$$Lambda$InlineSuggestionRenderServiceImpl$Zc7Cw4Af0nVrsEQVRbOUCayIteQ;-><init>(Landroid/ext/services/autofill/InlineSuggestionRenderServiceImpl;Landroid/content/IntentSender;)V | 122 | ····invoke-direct·{p2,·p0,·p1},·Landroid/ext/services/autofill/-$$Lambda$InlineSuggestionRenderServiceImpl$Zc7Cw4Af0nVrsEQVRbOUCayIteQ;-><init>(Landroid/ext/services/autofill/InlineSuggestionRenderServiceImpl;Landroid/content/IntentSender;)V |
134 | ····invoke-virtual·{p3,·p2},·Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V | 123 | ····invoke-virtual·{p3,·p2},·Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V |
135 | ····:cond_1 | 124 | ····:cond_1 |
Offset 1, 140 lines modified | Offset 1, 256 lines modified | ||
1 | .class·final·Lcom/android/textclassifier/TextClassifierImpl; | 1 | .class·final·Lcom/android/textclassifier/TextClassifierImpl; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"TextClassifierImpl.java" | 3 | .source·"TextClassifierImpl.java" |
4 | #·static·fields | ||
5 | .field·private·static·final·ANNOTATOR_UPDATED_MODEL_FILE:Ljava/io/File; | ||
6 | .field·private·static·final·FACTORY_MODEL_DIR:Ljava/io/File; | ||
7 | .field·private·static·final·UPDATED_ACTIONS_MODEL:Ljava/io/File; | ||
8 | .field·private·static·final·UPDATED_LANG_ID_MODEL_FILE:Ljava/io/File; | ||
4 | #·instance·fields | 9 | #·instance·fields |
5 | .field·private·actionModelInUse:Lcom/android/textclassifier/ModelFileManager$ModelFile; | 10 | .field·private·actionModelInUse:Lcom/android/textclassifier/ModelFileManager$ModelFile; |
6 | .field·private·actionsImpl:Lcom/google/android/textclassifier/ActionsSuggestionsModel; | 11 | .field·private·actionsImpl:Lcom/google/android/textclassifier/ActionsSuggestionsModel; |
12 | .field·private·final·actionsModelFileManager:Lcom/android/textclassifier/ModelFileManager; | ||
7 | .field·private·annotatorImpl:Lcom/google/android/textclassifier/AnnotatorModel; | 13 | .field·private·annotatorImpl:Lcom/google/android/textclassifier/AnnotatorModel; |
14 | .field·private·final·annotatorModelFileManager:Lcom/android/textclassifier/ModelFileManager; | ||
8 | .field·private·annotatorModelInUse:Lcom/android/textclassifier/ModelFileManager$ModelFile; | 15 | .field·private·annotatorModelInUse:Lcom/android/textclassifier/ModelFileManager$ModelFile; |
9 | .field·private·final·context:Landroid/content/Context; | 16 | .field·private·final·context:Landroid/content/Context; |
10 | .field·private·final·fallback:Landroid/view/textclassifier/TextClassifier; | 17 | .field·private·final·fallback:Landroid/view/textclassifier/TextClassifier; |
11 | .field·private·final·generateLinksLogger:Lcom/android/textclassifier/common/statsd/GenerateLinksLogger; | 18 | .field·private·final·generateLinksLogger:Lcom/android/textclassifier/common/statsd/GenerateLinksLogger; |
12 | .field·private·langIdImpl:Lcom/google/android/textclassifier/LangIdModel; | 19 | .field·private·langIdImpl:Lcom/google/android/textclassifier/LangIdModel; |
20 | .field·private·final·langIdModelFileManager:Lcom/android/textclassifier/ModelFileManager; | ||
13 | .field·private·langIdModelInUse:Lcom/android/textclassifier/ModelFileManager$ModelFile; | 21 | .field·private·langIdModelInUse:Lcom/android/textclassifier/ModelFileManager$ModelFile; |
14 | .field·private·final·lock:Ljava/lang/Object; | 22 | .field·private·final·lock:Ljava/lang/Object; |
15 | .field·private·final·modelFileManager:Lcom/android/textclassifier/ModelFileManager; | ||
16 | .field·private·final·settings:Lcom/android/textclassifier/TextClassifierSettings; | 23 | .field·private·final·settings:Lcom/android/textclassifier/TextClassifierSettings; |
17 | .field·private·final·templateIntentFactory:Lcom/android/textclassifier/common/intent/TemplateIntentFactory; | 24 | .field·private·final·templateIntentFactory:Lcom/android/textclassifier/common/intent/TemplateIntentFactory; |
18 | .field·private·final·textClassifierEventLogger:Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger; | 25 | .field·private·final·textClassifierEventLogger:Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger; |
19 | #·direct·methods | 26 | #·direct·methods |
27 | .method·static·constructor·<clinit>()V | ||
28 | ····.locals·2 | ||
29 | ····.line·87 | ||
30 | ····new-instance·v0,·Ljava/io/File; | ||
31 | ····const-string·v1,·"/etc/textclassifier/" | ||
32 | ····invoke-direct·{v0,·v1},·Ljava/io/File;-><init>(Ljava/lang/String;)V | ||
33 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierImpl;->FACTORY_MODEL_DIR:Ljava/io/File; | ||
34 | ····.line·91 | ||
35 | ····new-instance·v0,·Ljava/io/File; | ||
36 | ····const-string·v1,·"/data/misc/textclassifier/textclassifier.model" | ||
37 | ····invoke-direct·{v0,·v1},·Ljava/io/File;-><init>(Ljava/lang/String;)V | ||
38 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierImpl;->ANNOTATOR_UPDATED_MODEL_FILE:Ljava/io/File; | ||
39 | ····.line·96 | ||
40 | ····new-instance·v0,·Ljava/io/File; | ||
41 | ····const-string·v1,·"/data/misc/textclassifier/lang_id.model" | ||
42 | ····invoke-direct·{v0,·v1},·Ljava/io/File;-><init>(Ljava/lang/String;)V | ||
43 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierImpl;->UPDATED_LANG_ID_MODEL_FILE:Ljava/io/File; | ||
44 | ····.line·102 | ||
45 | ····new-instance·v0,·Ljava/io/File; | ||
46 | ····const-string·v1,·"/data/misc/textclassifier/actions_suggestions.model" | ||
47 | ····invoke-direct·{v0,·v1},·Ljava/io/File;-><init>(Ljava/lang/String;)V | ||
48 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierImpl;->UPDATED_ACTIONS_MODEL:Ljava/io/File; | ||
49 | ····return-void | ||
50 | .end·method | ||
20 | .method·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings; | 51 | .method·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;)V |
21 | ····.locals·1 | 52 | ····.locals·1 |
22 | ····.line·1 | 53 | ····.line·173 |
23 | ····sget-object·v0,·Landroid/view/textclassifier/TextClassifier;->NO_OP:Landroid/view/textclassifier/TextClassifier; | 54 | ····sget-object·v0,·Landroid/view/textclassifier/TextClassifier;->NO_OP:Landroid/view/textclassifier/TextClassifier; |
24 | ····invoke-direct·{p0,·p1,·p2,· | 55 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/android/textclassifier/TextClassifierImpl;-><init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;Landroid/view/textclassifier/TextClassifier;)V |
25 | ····return-void | 56 | ····return-void |
26 | .end·method | 57 | .end·method |
27 | .method·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;L | 58 | .method·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;Landroid/view/textclassifier/TextClassifier;)V |
28 | ····.locals· | 59 | ····.locals·6 |
29 | ····.line·1 | 60 | ····.line·139 |
30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 61 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
31 | ····.line· | 62 | ····.line·109 |
32 | ····new-instance·v0,·Ljava/lang/Object; | 63 | ····new-instance·v0,·Ljava/lang/Object; |
33 | ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V | 64 | ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V |
34 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/TextClassifierImpl;->lock:Ljava/lang/Object; | 65 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/TextClassifierImpl;->lock:Ljava/lang/Object; |
35 | ····.line·1 | 66 | ····.line·129 |
36 | ····new-instance·v0,·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger; | 67 | ····new-instance·v0,·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger; |
37 | ····invoke-direct·{v0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;-><init>()V | 68 | ····invoke-direct·{v0},·Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger;-><init>()V |
38 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/TextClassifierImpl;->textClassifierEventLogger:Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger; | 69 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/TextClassifierImpl;->textClassifierEventLogger:Lcom/android/textclassifier/common/statsd/TextClassifierEventLogger; |
39 | ····.line·1 | 70 | ····.line·140 |
40 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 71 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
... Open expanded diff (truncated) ... |
Offset 9, 378 lines modified | Offset 9, 155 lines modified | ||
9 | ········Lcom/android/textclassifier/ModelFileManager$ModelFile;, | 9 | ········Lcom/android/textclassifier/ModelFileManager$ModelFile;, |
10 | ········Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl; | 10 | ········Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl; |
11 | ····} | 11 | ····} |
12 | .end·annotation | 12 | .end·annotation |
13 | #·instance·fields | 13 | #·instance·fields |
14 | .field·private·final·modelFileSupplier:Ljava/util/function/Supplier; | ||
14 | .field·private·final·downloadModelDir:Ljava/io/File; | ||
15 | .field·private·final·modelFileSuppliers:Lcom/google/common/collect/ImmutableMap; | ||
16 | ····.annotation·system·Ldalvik/annotation/Signature; | 15 | ····.annotation·system·Ldalvik/annotation/Signature; |
17 | ········value·=·{ | 16 | ········value·=·{ |
18 | ············"Lcom/google/common/collect/ImmutableMap<", | ||
19 | ············"Ljava/lang/String;", | ||
20 | ············"Ljava/util/function/Supplier<", | 17 | ············"Ljava/util/function/Supplier<", |
21 | ············"Lcom/google/common/collect/ImmutableList<", | 18 | ············"Lcom/google/common/collect/ImmutableList<", |
22 | ············"Lcom/android/textclassifier/ModelFileManager$ModelFile;", | 19 | ············"Lcom/android/textclassifier/ModelFileManager$ModelFile;", |
23 | ············">;>; | 20 | ············">;>;" |
24 | ········} | 21 | ········} |
25 | ····.end·annotation | 22 | ····.end·annotation |
26 | .end·field | 23 | .end·field |
27 | #·direct·methods | 24 | #·direct·methods |
25 | .method·public·constructor·<init>(Ljava/util/function/Supplier;)V | ||
28 | .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;)V | ||
29 | ····.locals·4 | ||
30 | ····.line·68 | ||
31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | ||
32 | ····.line·69 | ||
33 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | ||
34 | ····.line·70 | ||
35 | ····invoke-static·{p2},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | ||
36 | ····.line·71 | ||
37 | ····new-instance·v0,·Ljava/io/File; | ||
38 | ····invoke-virtual·{p1},·Landroid/content/Context;->getFilesDir()Ljava/io/File; | ||
39 | ····move-result-object·p1 | ||
40 | ····const-string·v1,·"textclassifier/downloads/models/" | ||
41 | ····invoke-direct·{v0,·p1,·v1},·Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V | ||
42 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/ModelFileManager;->downloadModelDir:Ljava/io/File; | ||
43 | ····.line·72 | ||
44 | ····invoke-virtual·{v0},·Ljava/io/File;->exists()Z | ||
45 | ····move-result·p1 | ||
46 | ····if-nez·p1,·:cond_0 | ||
47 | ····.line·73 | ||
48 | ····iget-object·p1,·p0,·Lcom/android/textclassifier/ModelFileManager;->downloadModelDir:Ljava/io/File; | ||
49 | ····invoke-virtual·{p1},·Ljava/io/File;->mkdirs()Z | ||
50 | ····.line·77 | ||
51 | ····:cond_0 | ||
52 | ····invoke-static·{},·Lcom/google/common/collect/ImmutableMap;->builder()Lcom/google/common/collect/ImmutableMap$Builder; | ||
53 | ····move-result-object·p1 | ||
54 | ····.line·78 | ||
55 | ····invoke-static·{},·Lcom/android/textclassifier/ModelFileManager$ModelFile$ModelType;->values()Lcom/google/common/collect/ImmutableList; | ||
56 | ····move-result-object·v0 | ||
57 | ····invoke-virtual·{v0},·Lcom/google/common/collect/ImmutableList;->iterator()Lcom/google/common/collect/UnmodifiableIterator; | ||
58 | ····move-result-object·v0 | ||
59 | ····:goto_0 | ||
60 | ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z | ||
61 | ····move-result·v1 | ||
62 | ····if-eqz·v1,·:cond_1 | ||
63 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | ||
64 | ····move-result-object·v1 | ||
65 | ····check-cast·v1,·Ljava/lang/String; | ||
66 | ····.line·79 | ||
67 | ····new-instance·v2,·Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl; | ||
68 | ····iget-object·v3,·p0,·Lcom/android/textclassifier/ModelFileManager;->downloadModelDir:Ljava/io/File; | ||
69 | ····invoke-direct·{v2,·p2,·v1,·v3},·Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl;-><init>(Lcom/android/textclassifier/TextClassifierSettings;Ljava/lang/String;Ljava/io/File;)V | ||
70 | ····invoke-virtual·{p1,·v1,·v2},·Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder; | ||
71 | ····goto·:goto_0 | ||
72 | ····.line·82 | ||
73 | ····:cond_1 | ||
74 | ····invoke-virtual·{p1},·Lcom/google/common/collect/ImmutableMap$Builder;->build()Lcom/google/common/collect/ImmutableMap; | ||
75 | ····move-result-object·p1 | ||
76 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/ModelFileManager;->modelFileSuppliers:Lcom/google/common/collect/ImmutableMap; | ||
77 | ····return-void | ||
78 | .end·method | ||
79 | .method·constructor·<init>(Ljava/io/File;Lcom/google/common/collect/ImmutableMap;)V | ||
80 | ····.locals·0 | 26 | ····.locals·0 |
81 | ····.annotation·system·Ldalvik/annotation/Signature; | 27 | ····.annotation·system·Ldalvik/annotation/Signature; |
82 | ········value·=·{ | 28 | ········value·=·{ |
83 | ············"(", | 29 | ············"(", |
84 | ············"Ljava/io/File;", | ||
85 | ············"Lcom/google/common/collect/ImmutableMap<", | ||
86 | ············"Ljava/lang/String;", | ||
87 | ············"Ljava/util/function/Supplier<", | 30 | ············"Ljava/util/function/Supplier<", |
88 | ············"Lcom/google/common/collect/ImmutableList<", | 31 | ············"Lcom/google/common/collect/ImmutableList<", |
89 | ············"Lcom/android/textclassifier/ModelFileManager$ModelFile;", | 32 | ············"Lcom/android/textclassifier/ModelFileManager$ModelFile;", |
90 | ············">;>; | 33 | ············">;>;)V" |
91 | ········} | 34 | ········} |
92 | ····.end·annotation | 35 | ····.end·annotation |
... Open expanded diff ... |
Offset 26, 39 lines modified | Offset 26, 39 lines modified | ||
26 | .end·annotation | 26 | .end·annotation |
27 | #·direct·methods | 27 | #·direct·methods |
28 | .method·constructor·<init>(Lcom/android/textclassifier/DefaultTextClassifierService;)V | 28 | .method·constructor·<init>(Lcom/android/textclassifier/DefaultTextClassifierService;)V |
29 | ····.locals·0 | 29 | ····.locals·0 |
30 | ····.line·1 | 30 | ····.line·167 |
31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
32 | ····return-void | 32 | ····return-void |
33 | .end·method | 33 | .end·method |
34 | #·virtual·methods | 34 | #·virtual·methods |
35 | .method·public·onFailure(Ljava/lang/Throwable;)V | 35 | .method·public·onFailure(Ljava/lang/Throwable;)V |
36 | ····.locals·1 | 36 | ····.locals·1 |
37 | ····const-string·p0,·"default_tcs" | 37 | ····const-string·p0,·"default_tcs" |
38 | ····const-string·v0,·"onFailure:·" | 38 | ····const-string·v0,·"onFailure:·" |
39 | ····.line·1 | 39 | ····.line·173 |
40 | ····invoke-static·{p0,·v0,·p1},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V | 40 | ····invoke-static·{p0,·v0,·p1},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V |
41 | ····return-void | 41 | ····return-void |
42 | .end·method | 42 | .end·method |
43 | .method·public·bridge·synthetic·onSuccess(Ljava/lang/Object;)V | 43 | .method·public·bridge·synthetic·onSuccess(Ljava/lang/Object;)V |
44 | ····.locals·0 | 44 | ····.locals·0 |
45 | ····.line·1 | 45 | ····.line·167 |
46 | ····check-cast·p1,·Ljava/lang/Void; | 46 | ····check-cast·p1,·Ljava/lang/Void; |
47 | ····invoke-virtual·{p0,·p1},·Lcom/android/textclassifier/DefaultTextClassifierService$2;->onSuccess(Ljava/lang/Void;)V | 47 | ····invoke-virtual·{p0,·p1},·Lcom/android/textclassifier/DefaultTextClassifierService$2;->onSuccess(Ljava/lang/Void;)V |
48 | ····return-void | 48 | ····return-void |
49 | .end·method | 49 | .end·method |
Offset 1, 37 lines modified | Offset 1, 23 lines modified | ||
1 | .class·public·final·Lcom/android/textclassifier/TextClassifierSettings; | 1 | .class·public·final·Lcom/android/textclassifier/TextClassifierSettings; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"TextClassifierSettings.java" | 3 | .source·"TextClassifierSettings.java" |
4 | #·annotations | ||
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | ||
6 | ····value·=·{ | ||
7 | ········Lcom/android/textclassifier/TextClassifierSettings$IDeviceConfig; | ||
8 | ····} | ||
9 | .end·annotation | ||
10 | #·static·fields | 4 | #·static·fields |
11 | .field·static·final·ACTIONS_SUGGESTIONS_URL_PREFIX:Ljava/lang/String;·=·"actions_suggestions_url_prefix" | ||
12 | .field·static·final·ANNOTATOR_URL_PREFIX:Ljava/lang/String;·=·"annotator_url_prefix" | ||
13 | .field·private·static·final·CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES:Lcom/google/common/collect/ImmutableList; | 5 | .field·private·static·final·CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES:Lcom/google/common/collect/ImmutableList; |
14 | ····.annotation·system·Ldalvik/annotation/Signature; | 6 | ····.annotation·system·Ldalvik/annotation/Signature; |
15 | ········value·=·{ | 7 | ········value·=·{ |
16 | ············"Lcom/google/common/collect/ImmutableList<", | 8 | ············"Lcom/google/common/collect/ImmutableList<", |
17 | ············"Ljava/lang/String;", | 9 | ············"Ljava/lang/String;", |
18 | ············">;" | 10 | ············">;" |
19 | ········} | 11 | ········} |
20 | ····.end·annotation | 12 | ····.end·annotation |
21 | .end·field | 13 | .end·field |
22 | .field·private·static·final·DEFAULT_DEVICE_CONFIG:Lcom/android/textclassifier/TextClassifierSettings$IDeviceConfig; | ||
23 | .field·static·final·ENTITY_LIST_DEFAULT:Ljava/lang/String;·=·"entity_list_default" | 14 | .field·static·final·ENTITY_LIST_DEFAULT:Ljava/lang/String;·=·"entity_list_default" |
24 | .field·private·static·final·ENTITY_LIST_DEFAULT_VALUE:Lcom/google/common/collect/ImmutableList; | 15 | .field·private·static·final·ENTITY_LIST_DEFAULT_VALUE:Lcom/google/common/collect/ImmutableList; |
25 | ····.annotation·system·Ldalvik/annotation/Signature; | 16 | ····.annotation·system·Ldalvik/annotation/Signature; |
26 | ········value·=·{ | 17 | ········value·=·{ |
27 | ············"Lcom/google/common/collect/ImmutableList<", | 18 | ············"Lcom/google/common/collect/ImmutableList<", |
28 | ············"Ljava/lang/String;", | 19 | ············"Ljava/lang/String;", |
Offset 42, 33 lines modified | Offset 28, 19 lines modified | ||
42 | .field·static·final·LANG_ID_CONTEXT_SETTINGS:Ljava/lang/String;·=·"lang_id_context_settings" | 28 | .field·static·final·LANG_ID_CONTEXT_SETTINGS:Ljava/lang/String;·=·"lang_id_context_settings" |
43 | .field·private·static·final·LANG_ID_CONTEXT_SETTINGS_DEFAULT:[F | 29 | .field·private·static·final·LANG_ID_CONTEXT_SETTINGS_DEFAULT:[F |
44 | .field·static·final·LANG_ID_THRESHOLD_OVERRIDE:Ljava/lang/String;·=·"lang_id_threshold_override" | 30 | .field·static·final·LANG_ID_THRESHOLD_OVERRIDE:Ljava/lang/String;·=·"lang_id_threshold_override" |
45 | .field·static·final·LANG_ID_URL_PREFIX:Ljava/lang/String;·=·"lang_id_url_prefix" | ||
46 | .field·static·final·MODEL_DOWNLOAD_MANAGER_ENABLED:Ljava/lang/String;·=·"model_download_manager_enabled" | ||
47 | .field·static·final·PRIMARY_ACTIONS_SUGGESTIONS_URL_SUFFIX:Ljava/lang/String;·=·"primary_actions_suggestions_url_suffix" | ||
48 | .field·static·final·PRIMARY_ANNOTATOR_URL_SUFFIX:Ljava/lang/String;·=·"primary_annotator_url_suffix" | ||
49 | .field·static·final·PRIMARY_LANG_ID_URL_SUFFIX:Ljava/lang/String;·=·"primary_lang_id_url_suffix" | ||
50 | .field·static·final·SUGGEST_SELECTION_MAX_RANGE_LENGTH:Ljava/lang/String;·=·"suggest_selection_max_range_length" | 31 | .field·static·final·SUGGEST_SELECTION_MAX_RANGE_LENGTH:Ljava/lang/String;·=·"suggest_selection_max_range_length" |
51 | .field·static·final·TEMPLATE_INTENT_FACTORY_ENABLED:Ljava/lang/String;·=·"template_intent_factory_enabled" | 32 | .field·static·final·TEMPLATE_INTENT_FACTORY_ENABLED:Ljava/lang/String;·=·"template_intent_factory_enabled" |
52 | #·instance·fields | ||
53 | .field·private·final·deviceConfig:Lcom/android/textclassifier/TextClassifierSettings$IDeviceConfig; | ||
54 | #·direct·methods | 33 | #·direct·methods |
55 | .method·static·constructor·<clinit>()V | 34 | .method·static·constructor·<clinit>()V |
56 | ····.locals·12 | 35 | ····.locals·12 |
57 | ····const-string·v0,·"address" | 36 | ····const-string·v0,·"address" |
58 | ····const-string·v1,·"email" | 37 | ····const-string·v1,·"email" |
Offset 79, 15 lines modified | Offset 51, 15 lines modified | ||
79 | ····const-string·v4,·"date" | 51 | ····const-string·v4,·"date" |
80 | ····const-string·v5,·"datetime" | 52 | ····const-string·v5,·"datetime" |
81 | ····const-string·v6,·"flight" | 53 | ····const-string·v6,·"flight" |
82 | ····.line·1 | 54 | ····.line·133 |
83 | ····invoke-static/range·{v0·..·v6},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 55 | ····invoke-static/range·{v0·..·v6},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
84 | ····move-result-object·v0 | 56 | ····move-result-object·v0 |
85 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierSettings;->ENTITY_LIST_DEFAULT_VALUE:Lcom/google/common/collect/ImmutableList; | 57 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierSettings;->ENTITY_LIST_DEFAULT_VALUE:Lcom/google/common/collect/ImmutableList; |
86 | ····const-string·v1,·"text_reply" | 58 | ····const-string·v1,·"text_reply" |
Offset 108, 118 lines modified | Offset 80, 97 lines modified | ||
108 | ····const-string·v9,·"view_map" | 80 | ····const-string·v9,·"view_map" |
109 | ····const-string·v10,·"add_contact" | 81 | ····const-string·v10,·"add_contact" |
110 | ····const-string·v11,·"copy" | 82 | ····const-string·v11,·"copy" |
111 | ····.line·1 | 83 | ····.line·142 |
112 | ····invoke-static/range·{v1·..·v11},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 84 | ····invoke-static/range·{v1·..·v11},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
113 | ····move-result-object·v0 | 85 | ····move-result-object·v0 |
114 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierSettings;->CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES:Lcom/google/common/collect/ImmutableList; | 86 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierSettings;->CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES:Lcom/google/common/collect/ImmutableList; |
115 | ····const/4·v0,·0x3 | 87 | ····const/4·v0,·0x3 |
116 | ····new-array·v0,·v0,·[F | 88 | ····new-array·v0,·v0,·[F |
117 | ····.line· | 89 | ····.line·167 |
118 | ····fill-array-data·v0,·:array_0 | 90 | ····fill-array-data·v0,·:array_0 |
119 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierSettings;->LANG_ID_CONTEXT_SETTINGS_DEFAULT:[F | 91 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierSettings;->LANG_ID_CONTEXT_SETTINGS_DEFAULT:[F |
120 | ····.line·226 | ||
121 | ····new-instance·v0,·Lcom/android/textclassifier/TextClassifierSettings$1; | ||
122 | ····invoke-direct·{v0},·Lcom/android/textclassifier/TextClassifierSettings$1;-><init>()V | ||
123 | ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierSettings;->DEFAULT_DEVICE_CONFIG:Lcom/android/textclassifier/TextClassifierSettings$IDeviceConfig; | ||
124 | ····return-void | 92 | ····return-void |
93 | ····nop | ||
125 | ····:array_0 | 94 | ····:array_0 |
126 | ····.array-data·4 | 95 | ····.array-data·4 |
127 | ········0x41a00000····#·20.0f | 96 | ········0x41a00000····#·20.0f |
128 | ········0x3f800000····#·1.0f | 97 | ········0x3f800000····#·1.0f |
129 | ········0x3ecccccd····#·0.4f | 98 | ········0x3ecccccd····#·0.4f |
... Open expanded diff (truncated) ... |
Offset 214, 51 lines modified | Offset 214, 51 lines modified | ||
214 | ············"Landroid/util/Pair<", | 214 | ············"Landroid/util/Pair<", |
215 | ············"Ljava/lang/String;", | 215 | ············"Ljava/lang/String;", |
216 | ············"Ljava/lang/String;", | 216 | ············"Ljava/lang/String;", |
217 | ············">;" | 217 | ············">;" |
218 | ········} | 218 | ········} |
219 | ····.end·annotation | 219 | ····.end·annotation |
220 | ····.line·19 | 220 | ····.line·192 |
221 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getAction()Landroid/app/RemoteAction; | 221 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getAction()Landroid/app/RemoteAction; |
222 | ····move-result-object·v0 | 222 | ····move-result-object·v0 |
223 | ····const/4·v1,·0x0 | 223 | ····const/4·v1,·0x0 |
224 | ····if-nez·v0,·:cond_0 | 224 | ····if-nez·v0,·:cond_0 |
225 | ····return-object·v1 | 225 | ····return-object·v1 |
226 | ····.line·19 | 226 | ····.line·196 |
227 | ····:cond_0 | 227 | ····:cond_0 |
228 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getExtras()Landroid/os/Bundle; | 228 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getExtras()Landroid/os/Bundle; |
229 | ····move-result-object·v0 | 229 | ····move-result-object·v0 |
230 | ····invoke-static·{v0},·Lcom/android/textclassifier/ExtrasUtils;->getActionIntent(Landroid/os/Bundle;)Landroid/content/Intent; | 230 | ····invoke-static·{v0},·Lcom/android/textclassifier/ExtrasUtils;->getActionIntent(Landroid/os/Bundle;)Landroid/content/Intent; |
231 | ····move-result-object·v0 | 231 | ····move-result-object·v0 |
232 | ····.line· | 232 | ····.line·197 |
233 | ····invoke-virtual·{v0},·Landroid/content/Intent;->getComponent()Landroid/content/ComponentName; | 233 | ····invoke-virtual·{v0},·Landroid/content/Intent;->getComponent()Landroid/content/ComponentName; |
234 | ····move-result-object·v0 | 234 | ····move-result-object·v0 |
235 | ····if-nez·v0,·:cond_1 | 235 | ····if-nez·v0,·:cond_1 |
236 | ····goto·:goto_0 | 236 | ····goto·:goto_0 |
237 | ····.line· | 237 | ····.line·199 |
238 | ····:cond_1 | 238 | ····:cond_1 |
239 | ····invoke-virtual·{v0},·Landroid/content/ComponentName;->getPackageName()Ljava/lang/String; | 239 | ····invoke-virtual·{v0},·Landroid/content/ComponentName;->getPackageName()Ljava/lang/String; |
240 | ····move-result-object·v1 | 240 | ····move-result-object·v1 |
241 | ····.line·20 | 241 | ····.line·200 |
242 | ····:goto_0 | 242 | ····:goto_0 |
243 | ····new-instance·v0,·Landroid/util/Pair; | 243 | ····new-instance·v0,·Landroid/util/Pair; |
244 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getAction()Landroid/app/RemoteAction; | 244 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getAction()Landroid/app/RemoteAction; |
245 | ····move-result-object·p0 | 245 | ····move-result-object·p0 |
Offset 278, 15 lines modified | Offset 278, 15 lines modified | ||
278 | .method·private·static·hashMessage(Landroid/view/textclassifier/ConversationActions$Message;)I | 278 | .method·private·static·hashMessage(Landroid/view/textclassifier/ConversationActions$Message;)I |
279 | ····.locals·3 | 279 | ····.locals·3 |
280 | ····const/4·v0,·0x3 | 280 | ····const/4·v0,·0x3 |
281 | ····new-array·v0,·v0,·[Ljava/lang/Object; | 281 | ····new-array·v0,·v0,·[Ljava/lang/Object; |
282 | ····.line·24 | 282 | ····.line·242 |
283 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationActions$Message;->getAuthor()Landroid/app/Person; | 283 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationActions$Message;->getAuthor()Landroid/app/Person; |
284 | ····move-result-object·v1 | 284 | ····move-result-object·v1 |
285 | ····const/4·v2,·0x0 | 285 | ····const/4·v2,·0x0 |
286 | ····aput-object·v1,·v0,·v2 | 286 | ····aput-object·v1,·v0,·v2 |
Offset 313, 53 lines modified | Offset 313, 45 lines modified | ||
313 | ····return·p0 | 313 | ····return·p0 |
314 | .end·method | 314 | .end·method |
315 | .method·static·synthetic·lambda$createTitleChooser$1(Lcom/android/textclassifier/common/intent/LabeledIntent;Landroid/content/pm/ResolveInfo;)Ljava/lang/CharSequence; | 315 | .method·static·synthetic·lambda$createTitleChooser$1(Lcom/android/textclassifier/common/intent/LabeledIntent;Landroid/content/pm/ResolveInfo;)Ljava/lang/CharSequence; |
316 | ····.locals·1 | 316 | ····.locals·1 |
317 | ····.line·150 | ||
318 | ····iget-boolean·v0,·p1,·Landroid/content/pm/ResolveInfo;->handleAllWebDataURI:Z | ||
317 | ····if- | 319 | ····if-eqz·v0,·:cond_0 |
318 | ····.line·151 | 320 | ····.line·151 |
319 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; | 321 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; |
320 | ····return-object·p0 | 322 | ····return-object·p0 |
321 | ····.line·153 | 323 | ····.line·153 |
322 | ····:cond_0 | 324 | ····:cond_0 |
323 | ····iget-boolean·v0,·p1,·Landroid/content/pm/ResolveInfo;->handleAllWebDataURI:Z | ||
324 | ····if-eqz·v0,·:cond_1 | ||
325 | ····.line·154 | ||
326 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; | ||
327 | ····return-object·p0 | ||
328 | ····.line·156 | ||
329 | ····:cond_1 | ||
330 | ····iget-object·p1,·p1,·Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; | 325 | ····iget-object·p1,·p1,·Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; |
331 | ····iget-object·p1,·p1,·Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String; | 326 | ····iget-object·p1,·p1,·Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String; |
332 | ····const-string·v0,·"android" | 327 | ····const-string·v0,·"android" |
333 | ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 328 | ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
334 | ····move-result·p1 | 329 | ····move-result·p1 |
335 | ····if-eqz·p1,·:cond_ | 330 | ····if-eqz·p1,·:cond_1 |
336 | ····.line·15 | 331 | ····.line·154 |
337 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; | 332 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; |
338 | ····return-object·p0 | 333 | ····return-object·p0 |
339 | ····.line·15 | 334 | ····.line·156 |
340 | ····:cond_ | 335 | ····:cond_1 |
341 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithoutEntity:Ljava/lang/String; | 336 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithoutEntity:Ljava/lang/String; |
342 | ····return-object·p0 | 337 | ····return-object·p0 |
343 | .end·method | 338 | .end·method |
344 | .method·static·synthetic·lambda$toNativeMessages$0(Landroid/view/textclassifier/ConversationActions$Message;)Z | 339 | .method·static·synthetic·lambda$toNativeMessages$0(Landroid/view/textclassifier/ConversationActions$Message;)Z |
345 | ····.locals·0 | 340 | ····.locals·0 |
Offset 398, 20 lines modified | Offset 390, 20 lines modified | ||
398 | ············">;)", | 390 | ············">;)", |
399 | ············"Ljava/util/List<", | 391 | ············"Ljava/util/List<", |
... Open expanded diff ... |
Offset 29, 15 lines modified | Offset 29, 15 lines modified | ||
29 | .field·final·synthetic·val$callback:Landroid/service/textclassifier/TextClassifierService$Callback; | 29 | .field·final·synthetic·val$callback:Landroid/service/textclassifier/TextClassifierService$Callback; |
30 | #·direct·methods | 30 | #·direct·methods |
31 | .method·constructor·<init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/service/textclassifier/TextClassifierService$Callback;)V | 31 | .method·constructor·<init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/service/textclassifier/TextClassifierService$Callback;)V |
32 | ····.locals·0 | 32 | ····.locals·0 |
33 | ····.line·1 | 33 | ····.line·142 |
34 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService$1;->val$callback:Landroid/service/textclassifier/TextClassifierService$Callback; | 34 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService$1;->val$callback:Landroid/service/textclassifier/TextClassifierService$Callback; |
35 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 35 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
36 | ····return-void | 36 | ····return-void |
37 | .end·method | 37 | .end·method |
Offset 46, 18 lines modified | Offset 46, 18 lines modified | ||
46 | .method·public·onFailure(Ljava/lang/Throwable;)V | 46 | .method·public·onFailure(Ljava/lang/Throwable;)V |
47 | ····.locals·2 | 47 | ····.locals·2 |
48 | ····const-string·v0,·"default_tcs" | 48 | ····const-string·v0,·"default_tcs" |
49 | ····const-string·v1,·"onFailure:·" | 49 | ····const-string·v1,·"onFailure:·" |
50 | ····.line·15 | 50 | ····.line·150 |
51 | ····invoke-static·{v0,·v1,·p1},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V | 51 | ····invoke-static·{v0,·v1,·p1},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V |
52 | ····.line·15 | 52 | ····.line·151 |
53 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService$1;->val$callback:Landroid/service/textclassifier/TextClassifierService$Callback; | 53 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService$1;->val$callback:Landroid/service/textclassifier/TextClassifierService$Callback; |
54 | ····invoke-virtual·{p1},·Ljava/lang/Throwable;->getMessage()Ljava/lang/String; | 54 | ····invoke-virtual·{p1},·Ljava/lang/Throwable;->getMessage()Ljava/lang/String; |
55 | ····move-result-object·p1 | 55 | ····move-result-object·p1 |
56 | ····invoke-interface·{p0,·p1},·Landroid/service/textclassifier/TextClassifierService$Callback;->onFailure(Ljava/lang/CharSequence;)V | 56 | ····invoke-interface·{p0,·p1},·Landroid/service/textclassifier/TextClassifierService$Callback;->onFailure(Ljava/lang/CharSequence;)V |
Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
69 | ····.locals·0 | 69 | ····.locals·0 |
70 | ····.annotation·system·Ldalvik/annotation/Signature; | 70 | ····.annotation·system·Ldalvik/annotation/Signature; |
71 | ········value·=·{ | 71 | ········value·=·{ |
72 | ············"(TT;)V" | 72 | ············"(TT;)V" |
73 | ········} | 73 | ········} |
74 | ····.end·annotation | 74 | ····.end·annotation |
75 | ····.line·1 | 75 | ····.line·145 |
76 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService$1;->val$callback:Landroid/service/textclassifier/TextClassifierService$Callback; | 76 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService$1;->val$callback:Landroid/service/textclassifier/TextClassifierService$Callback; |
77 | ····invoke-interface·{p0,·p1},·Landroid/service/textclassifier/TextClassifierService$Callback;->onSuccess(Ljava/lang/Object;)V | 77 | ····invoke-interface·{p0,·p1},·Landroid/service/textclassifier/TextClassifierService$Callback;->onSuccess(Ljava/lang/Object;)V |
78 | ····return-void | 78 | ····return-void |
79 | .end·method | 79 | .end·method |
Offset 9, 28 lines modified | Offset 9, 20 lines modified | ||
9 | .end·annotation | 9 | .end·annotation |
10 | .annotation·system·Ldalvik/annotation/InnerClass; | 10 | .annotation·system·Ldalvik/annotation/InnerClass; |
11 | ····accessFlags·=·0x19 | 11 | ····accessFlags·=·0x19 |
12 | ····name·=·"ModelFile" | 12 | ····name·=·"ModelFile" |
13 | .end·annotation | 13 | .end·annotation |
14 | .annotation·system·Ldalvik/annotation/MemberClasses; | ||
15 | ····value·=·{ | ||
16 | ········Lcom/android/textclassifier/ModelFileManager$ModelFile$ModelType; | ||
17 | ····} | ||
18 | .end·annotation | ||
19 | #·instance·fields | 14 | #·instance·fields |
20 | .field·private·final·file:Ljava/io/File; | 15 | .field·private·final·file:Ljava/io/File; |
21 | .field·private·final·languageIndependent:Z | 16 | .field·private·final·languageIndependent:Z |
22 | .field·private·final·modelType:Ljava/lang/String; | ||
23 | .field·private·final·supportedLocales:Ljava/util/List; | 17 | .field·private·final·supportedLocales:Ljava/util/List; |
24 | ····.annotation·system·Ldalvik/annotation/Signature; | 18 | ····.annotation·system·Ldalvik/annotation/Signature; |
25 | ········value·=·{ | 19 | ········value·=·{ |
26 | ············"Ljava/util/List<", | 20 | ············"Ljava/util/List<", |
27 | ············"Ljava/util/Locale;", | 21 | ············"Ljava/util/Locale;", |
28 | ············">;" | 22 | ············">;" |
29 | ········} | 23 | ········} |
Offset 39, 74 lines modified | Offset 31, 66 lines modified | ||
39 | .field·private·final·supportedLocalesStr:Ljava/lang/String; | 31 | .field·private·final·supportedLocalesStr:Ljava/lang/String; |
40 | .field·private·final·version:I | 32 | .field·private·final·version:I |
41 | #·direct·methods | 33 | #·direct·methods |
42 | .method·public·constructor·<init>(Ljava/ | 34 | .method·public·constructor·<init>(Ljava/io/File;ILjava/util/List;Ljava/lang/String;Z)V |
43 | ····.locals·0 | 35 | ····.locals·0 |
44 | ····.annotation·system·Ldalvik/annotation/Signature; | 36 | ····.annotation·system·Ldalvik/annotation/Signature; |
45 | ········value·=·{ | 37 | ········value·=·{ |
46 | ············"(", | 38 | ············"(", |
47 | ············"Ljava/lang/String;", | ||
48 | ············"Ljava/io/File;", | 39 | ············"Ljava/io/File;", |
49 | ············"I", | 40 | ············"I", |
50 | ············"Ljava/util/List<", | 41 | ············"Ljava/util/List<", |
51 | ············"Ljava/util/Locale;", | 42 | ············"Ljava/util/Locale;", |
52 | ············">;", | 43 | ············">;", |
53 | ············"Ljava/lang/String;", | 44 | ············"Ljava/lang/String;", |
54 | ············"Z)V" | 45 | ············"Z)V" |
55 | ········} | 46 | ········} |
56 | ····.end·annotation | 47 | ····.end·annotation |
57 | ····.line· | 48 | ····.line·210 |
58 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 49 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
59 | ····.line· | 50 | ····.line·211 |
60 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 51 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
61 | ····check-cast·p1,·Ljava/ | 52 | ····check-cast·p1,·Ljava/io/File; |
62 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;-> | 53 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->file:Ljava/io/File; |
63 | ····.line· | 54 | ····.line·212 |
64 | ····i | 55 | ····iput·p2,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I |
65 | ···· | 56 | ····.line·213 |
57 | ····invoke-static·{p3},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | ||
66 | ···· | 58 | ····check-cast·p3,·Ljava/util/List; |
67 | ····.line·389 | ||
68 | ····iput·p3,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;-> | 59 | ····iput-object·p3,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocales:Ljava/util/List; |
69 | ····.line· | 60 | ····.line·214 |
70 | ····invoke-static·{p4},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 61 | ····invoke-static·{p4},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
71 | ····check-cast·p4,·Ljava/ | 62 | ····check-cast·p4,·Ljava/lang/String; |
72 | ····iput-object·p4,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocales:Ljava/util/List; | ||
63 | ····iput-object·p4,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; | ||
73 | ····.line·391 | ||
74 | ····invoke-static·{p5},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | ||
75 | ····check-cast·p5,·Ljava/lang/String; | ||
76 | ····iput-object·p5,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; | ||
77 | ····.line· | 64 | ····.line·215 |
78 | ····iput-boolean·p | 65 | ····iput-boolean·p5,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z |
79 | ····return-void | 66 | ····return-void |
80 | .end·method | 67 | .end·method |
81 | .method·static·synthetic·lambda$toModelInfos$0(Lcom/google/common/base/Optional;)Lcom/google/common/base/Optional; | 68 | .method·static·synthetic·lambda$toModelInfos$0(Lcom/google/common/base/Optional;)Lcom/google/common/base/Optional; |
82 | ····.locals·1 | 69 | ····.locals·1 |
83 | ····.line· | 70 | ····.line·307 |
84 | ····sget-object·v0,·Lcom/android/textclassifier/-$$Lambda$2YrDcjRKLOb8HwDLV5g9t6JgsSg;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$2YrDcjRKLOb8HwDLV5g9t6JgsSg; | 71 | ····sget-object·v0,·Lcom/android/textclassifier/-$$Lambda$2YrDcjRKLOb8HwDLV5g9t6JgsSg;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$2YrDcjRKLOb8HwDLV5g9t6JgsSg; |
85 | ····invoke-virtual·{p0,·v0},·Lcom/google/common/base/Optional;->transform(Lcom/google/common/base/Function;)Lcom/google/common/base/Optional; | 72 | ····invoke-virtual·{p0,·v0},·Lcom/google/common/base/Optional;->transform(Lcom/google/common/base/Function;)Lcom/google/common/base/Optional; |
86 | ····move-result-object·p0 | 73 | ····move-result-object·p0 |
87 | ····return-object·p0 | 74 | ····return-object·p0 |
Offset 123, 27 lines modified | Offset 107, 27 lines modified | ||
123 | ············"Lcom/google/common/collect/ImmutableList<", | 107 | ············"Lcom/google/common/collect/ImmutableList<", |
124 | ············"Lcom/google/common/base/Optional<", | 108 | ············"Lcom/google/common/base/Optional<", |
125 | ············"Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo;", | 109 | ············"Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo;", |
126 | ············">;>;" | 110 | ············">;>;" |
127 | ········} | 111 | ········} |
128 | ····.end·annotation | 112 | ····.end·annotation |
129 | ····.line· | 113 | ····.line·306 |
130 | ····invoke-static·{p0},·Ljava/util/Arrays;->stream([Ljava/lang/Object;)Ljava/util/stream/Stream; | 114 | ····invoke-static·{p0},·Ljava/util/Arrays;->stream([Ljava/lang/Object;)Ljava/util/stream/Stream; |
131 | ····move-result-object·p0 | 115 | ····move-result-object·p0 |
132 | ····sget-object·v0,·Lcom/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk; | 116 | ····sget-object·v0,·Lcom/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk; |
133 | ····.line· | 117 | ····.line·307 |
134 | ····invoke-interface·{p0,·v0},·Ljava/util/stream/Stream;->map(Ljava/util/function/Function;)Ljava/util/stream/Stream; | 118 | ····invoke-interface·{p0,·v0},·Ljava/util/stream/Stream;->map(Ljava/util/function/Function;)Ljava/util/stream/Stream; |
135 | ····move-result-object·p0 | 119 | ····move-result-object·p0 |
136 | ····.line· | 120 | ····.line·308 |
137 | ····invoke-static·{},·Ljava/util/stream/Collectors;->toList()Ljava/util/stream/Collector; | 121 | ····invoke-static·{},·Ljava/util/stream/Collectors;->toList()Ljava/util/stream/Collector; |
... Open expanded diff ... |
Offset 86, 37 lines modified | Offset 86, 37 lines modified | ||
86 | ····return-void | 86 | ····return-void |
87 | .end·method | 87 | .end·method |
88 | .method·private·handleEvent(Ljava/lang/Runnable;)V | 88 | .method·private·handleEvent(Ljava/lang/Runnable;)V |
89 | ····.locals·2 | 89 | ····.locals·2 |
90 | ····.line·1 | 90 | ····.line·159 |
91 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->lowPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService; | 91 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->lowPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService; |
92 | ····new-instance·v1,·Lcom/android/textclassifier/-$$Lambda$DefaultTextClassifierService$yNSEFy3JVW1IOjoC_clSd0dxJhU; | 92 | ····new-instance·v1,·Lcom/android/textclassifier/-$$Lambda$DefaultTextClassifierService$yNSEFy3JVW1IOjoC_clSd0dxJhU; |
93 | ····invoke-direct·{v1,·p1},·Lcom/android/textclassifier/-$$Lambda$DefaultTextClassifierService$yNSEFy3JVW1IOjoC_clSd0dxJhU;-><init>(Ljava/lang/Runnable;)V | 93 | ····invoke-direct·{v1,·p1},·Lcom/android/textclassifier/-$$Lambda$DefaultTextClassifierService$yNSEFy3JVW1IOjoC_clSd0dxJhU;-><init>(Ljava/lang/Runnable;)V |
94 | ····.line·16 | 94 | ····.line·160 |
95 | ····invoke-interface·{v0,·v1},·Lcom/google/common/util/concurrent/ListeningExecutorService;->submit(Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/ListenableFuture; | 95 | ····invoke-interface·{v0,·v1},·Lcom/google/common/util/concurrent/ListeningExecutorService;->submit(Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/ListenableFuture; |
96 | ····move-result-object·p1 | 96 | ····move-result-object·p1 |
97 | ····.line·1 | 97 | ····.line·165 |
98 | ····new-instance·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$2; | 98 | ····new-instance·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$2; |
99 | ····invoke-direct·{v0,·p0},·Lcom/android/textclassifier/DefaultTextClassifierService$2;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;)V | 99 | ····invoke-direct·{v0,·p0},·Lcom/android/textclassifier/DefaultTextClassifierService$2;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;)V |
100 | ····.line·1 | 100 | ····.line·176 |
101 | ····invoke-static·{},·Lcom/google/common/util/concurrent/MoreExecutors;->directExecutor()Ljava/util/concurrent/Executor; | 101 | ····invoke-static·{},·Lcom/google/common/util/concurrent/MoreExecutors;->directExecutor()Ljava/util/concurrent/Executor; |
102 | ····move-result-object·p0 | 102 | ····move-result-object·p0 |
103 | ····.line·1 | 103 | ····.line·165 |
104 | ····invoke-static·{p1,·v0,·p0},·Lcom/google/common/util/concurrent/Futures;->addCallback(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback;Ljava/util/concurrent/Executor;)V | 104 | ····invoke-static·{p1,·v0,·p0},·Lcom/google/common/util/concurrent/Futures;->addCallback(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback;Ljava/util/concurrent/Executor;)V |
105 | ····return-void | 105 | ····return-void |
106 | .end·method | 106 | .end·method |
107 | .method·private·handleRequestAsync(Ljava/util/concurrent/Callable;Landroid/service/textclassifier/TextClassifierService$Callback;Landroid/os/CancellationSignal;)V | 107 | .method·private·handleRequestAsync(Ljava/util/concurrent/Callable;Landroid/service/textclassifier/TextClassifierService$Callback;Landroid/os/CancellationSignal;)V |
108 | ····.locals·1 | 108 | ····.locals·1 |
Offset 130, 35 lines modified | Offset 130, 35 lines modified | ||
130 | ············"Landroid/service/textclassifier/TextClassifierService$Callback<", | 130 | ············"Landroid/service/textclassifier/TextClassifierService$Callback<", |
131 | ············"TT;>;", | 131 | ············"TT;>;", |
132 | ············"Landroid/os/CancellationSignal;", | 132 | ············"Landroid/os/CancellationSignal;", |
133 | ············")V" | 133 | ············")V" |
134 | ········} | 134 | ········} |
135 | ····.end·annotation | 135 | ····.end·annotation |
136 | ····.line·1 | 136 | ····.line·139 |
137 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->normPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService; | 137 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->normPriorityExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService; |
138 | ····invoke-interface·{v0,·p1},·Lcom/google/common/util/concurrent/ListeningExecutorService;->submit(Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/ListenableFuture; | 138 | ····invoke-interface·{v0,·p1},·Lcom/google/common/util/concurrent/ListeningExecutorService;->submit(Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/ListenableFuture; |
139 | ····move-result-object·p1 | 139 | ····move-result-object·p1 |
140 | ····.line·14 | 140 | ····.line·140 |
141 | ····new-instance·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$1; | 141 | ····new-instance·v0,·Lcom/android/textclassifier/DefaultTextClassifierService$1; |
142 | ····invoke-direct·{v0,·p0,·p2},·Lcom/android/textclassifier/DefaultTextClassifierService$1;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/service/textclassifier/TextClassifierService$Callback;)V | 142 | ····invoke-direct·{v0,·p0,·p2},·Lcom/android/textclassifier/DefaultTextClassifierService$1;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/service/textclassifier/TextClassifierService$Callback;)V |
143 | ····.line·1 | 143 | ····.line·154 |
144 | ····invoke-static·{},·Lcom/google/common/util/concurrent/MoreExecutors;->directExecutor()Ljava/util/concurrent/Executor; | 144 | ····invoke-static·{},·Lcom/google/common/util/concurrent/MoreExecutors;->directExecutor()Ljava/util/concurrent/Executor; |
145 | ····move-result-object·p0 | 145 | ····move-result-object·p0 |
146 | ····.line·14 | 146 | ····.line·140 |
147 | ····invoke-static·{p1,·v0,·p0},·Lcom/google/common/util/concurrent/Futures;->addCallback(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback;Ljava/util/concurrent/Executor;)V | 147 | ····invoke-static·{p1,·v0,·p0},·Lcom/google/common/util/concurrent/Futures;->addCallback(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback;Ljava/util/concurrent/Executor;)V |
148 | ····.line·1 | 148 | ····.line·155 |
149 | ····new-instance·p0,·Lcom/android/textclassifier/-$$Lambda$DefaultTextClassifierService$uayK-PvjyPV4tI4hMS5w5SeT0rA; | 149 | ····new-instance·p0,·Lcom/android/textclassifier/-$$Lambda$DefaultTextClassifierService$uayK-PvjyPV4tI4hMS5w5SeT0rA; |
150 | ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/-$$Lambda$DefaultTextClassifierService$uayK-PvjyPV4tI4hMS5w5SeT0rA;-><init>(Lcom/google/common/util/concurrent/ListenableFuture;)V | 150 | ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/-$$Lambda$DefaultTextClassifierService$uayK-PvjyPV4tI4hMS5w5SeT0rA;-><init>(Lcom/google/common/util/concurrent/ListenableFuture;)V |
151 | ····invoke-virtual·{p3,·p0},·Landroid/os/CancellationSignal;->setOnCancelListener(Landroid/os/CancellationSignal$OnCancelListener;)V | 151 | ····invoke-virtual·{p3,·p0},·Landroid/os/CancellationSignal;->setOnCancelListener(Landroid/os/CancellationSignal$OnCancelListener;)V |
152 | ····return-void | 152 | ····return-void |
Offset 168, 42 lines modified | Offset 168, 42 lines modified | ||
168 | ····.locals·0 | 168 | ····.locals·0 |
169 | ····.annotation·system·Ldalvik/annotation/Throws; | 169 | ····.annotation·system·Ldalvik/annotation/Throws; |
170 | ········value·=·{ | 170 | ········value·=·{ |
171 | ············Ljava/lang/Exception; | 171 | ············Ljava/lang/Exception; |
172 | ········} | 172 | ········} |
173 | ····.end·annotation | 173 | ····.end·annotation |
174 | ····.line·1 | 174 | ····.line·162 |
175 | ····invoke-interface·{p0},·Ljava/lang/Runnable;->run()V | 175 | ····invoke-interface·{p0},·Ljava/lang/Runnable;->run()V |
176 | ····const/4·p0,·0x0 | 176 | ····const/4·p0,·0x0 |
177 | ····return-object·p0 | 177 | ····return-object·p0 |
178 | .end·method | 178 | .end·method |
179 | .method·static·synthetic·lambda$handleRequestAsync$7(Lcom/google/common/util/concurrent/ListenableFuture;)V | 179 | .method·static·synthetic·lambda$handleRequestAsync$7(Lcom/google/common/util/concurrent/ListenableFuture;)V |
180 | ····.locals·1 | 180 | ····.locals·1 |
181 | ····const/4·v0,·0x1 | 181 | ····const/4·v0,·0x1 |
182 | ····.line·1 | 182 | ····.line·155 |
183 | ····invoke-interface·{p0,·v0},·Ljava/util/concurrent/Future;->cancel(Z)Z | 183 | ····invoke-interface·{p0,·v0},·Ljava/util/concurrent/Future;->cancel(Z)Z |
184 | ····return-void | 184 | ····return-void |
185 | .end·method | 185 | .end·method |
186 | .method·private·synthetic·lambda$onClassifyText$1(Landroid/view/textclassifier/TextClassification$Request;)Landroid/view/textclassifier/TextClassification; | 186 | .method·private·synthetic·lambda$onClassifyText$1(Landroid/view/textclassifier/TextClassification$Request;)Landroid/view/textclassifier/TextClassification; |
187 | ····.locals·0 | 187 | ····.locals·0 |
188 | ····.annotation·system·Ldalvik/annotation/Throws; | 188 | ····.annotation·system·Ldalvik/annotation/Throws; |
189 | ········value·=·{ | 189 | ········value·=·{ |
190 | ············Ljava/lang/Exception; | 190 | ············Ljava/lang/Exception; |
191 | ········} | 191 | ········} |
192 | ····.end·annotation | 192 | ····.end·annotation |
193 | ····.line· | 193 | ····.line·88 |
194 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifier:Lcom/android/textclassifier/TextClassifierImpl; | 194 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifier:Lcom/android/textclassifier/TextClassifierImpl; |
195 | ····invoke-virtual·{p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->classifyText(Landroid/view/textclassifier/TextClassification$Request;)Landroid/view/textclassifier/TextClassification; | 195 | ····invoke-virtual·{p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->classifyText(Landroid/view/textclassifier/TextClassification$Request;)Landroid/view/textclassifier/TextClassification; |
196 | ····move-result-object·p0 | 196 | ····move-result-object·p0 |
197 | ····return-object·p0 | 197 | ····return-object·p0 |
Offset 213, 15 lines modified | Offset 213, 15 lines modified | ||
213 | ····.locals·0 | 213 | ····.locals·0 |
214 | ····.annotation·system·Ldalvik/annotation/Throws; | 214 | ····.annotation·system·Ldalvik/annotation/Throws; |
215 | ········value·=·{ | 215 | ········value·=·{ |
216 | ············Ljava/lang/Exception; | 216 | ············Ljava/lang/Exception; |
217 | ········} | 217 | ········} |
218 | ····.end·annotation | 218 | ····.end·annotation |
219 | ····.line·1 | 219 | ····.line·116 |
220 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifier:Lcom/android/textclassifier/TextClassifierImpl; | 220 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/DefaultTextClassifierService;->textClassifier:Lcom/android/textclassifier/TextClassifierImpl; |
... Open expanded diff ... |
Offset 59, 138 lines modified | Offset 59, 138 lines modified | ||
59 | .end·field | 59 | .end·field |
60 | #·direct·methods | 60 | #·direct·methods |
61 | .method·static·constructor·<clinit>()V | 61 | .method·static·constructor·<clinit>()V |
62 | ····.locals·2 | 62 | ····.locals·2 |
63 | ····.line·20 | 63 | ····.line·204 |
64 | ····new-instance·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence; | 64 | ····new-instance·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence; |
65 | ····const/4·v1,·0x0 | 65 | ····const/4·v1,·0x0 |
66 | ····invoke-direct·{v0,·v1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V | 66 | ····invoke-direct·{v0,·v1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V |
67 | ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence; | 67 | ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence; |
68 | ····.line·20 | 68 | ····.line·205 |
69 | ····sget-object·v1,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person; | 69 | ····sget-object·v1,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person; |
70 | ····.line·20 | 70 | ····.line·206 |
71 | ····invoke-virtual·{v0,·v1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper; | 71 | ····invoke-virtual·{v0,·v1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper; |
72 | ····move-result-object·v0 | 72 | ····move-result-object·v0 |
73 | ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper; | 73 | ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper; |
74 | ····return-void | 74 | ····return-void |
75 | .end·method | 75 | .end·method |
76 | .method·private·constructor·<init>()V | 76 | .method·private·constructor·<init>()V |
77 | ····.locals·1 | 77 | ····.locals·1 |
78 | ····.line·20 | 78 | ····.line·203 |
79 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 79 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
80 | ····.line·2 | 80 | ····.line·208 |
81 | ····new-instance·v0,·Landroid/util/ArrayMap; | 81 | ····new-instance·v0,·Landroid/util/ArrayMap; |
82 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V | 82 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V |
83 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; | 83 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; |
84 | ····const/4·v0,·0x1 | 84 | ····const/4·v0,·0x1 |
85 | ····.line·2 | 85 | ····.line·209 |
86 | ····iput·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I | 86 | ····iput·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I |
87 | ····return-void | 87 | ····return-void |
88 | .end·method | 88 | .end·method |
89 | .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V | 89 | .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V |
90 | ····.locals·0 | 90 | ····.locals·0 |
91 | ····.line·20 | 91 | ····.line·203 |
92 | ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;-><init>()V | 92 | ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;-><init>()V |
93 | ····return-void | 93 | ····return-void |
94 | .end·method | 94 | .end·method |
95 | .method·static·synthetic·access$100(Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;Landroid/app/Person;)I | 95 | .method·static·synthetic·access$100(Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;Landroid/app/Person;)I |
96 | ····.locals·0 | 96 | ····.locals·0 |
97 | ····.line·20 | 97 | ····.line·203 |
98 | ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->encode(Landroid/app/Person;)I | 98 | ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->encode(Landroid/app/Person;)I |
99 | ····move-result·p0 | 99 | ····move-result·p0 |
100 | ····return·p0 | 100 | ····return·p0 |
101 | .end·method | 101 | .end·method |
102 | .method·private·encode(Landroid/app/Person;)I | 102 | .method·private·encode(Landroid/app/Person;)I |
103 | ····.locals·2 | 103 | ····.locals·2 |
104 | ····.line·21 | 104 | ····.line·212 |
105 | ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence; | 105 | ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence; |
106 | ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper; | 106 | ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper; |
107 | ····move-result-object·p1 | 107 | ····move-result-object·p1 |
108 | ····.line·21 | 108 | ····.line·213 |
109 | ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper; | 109 | ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper; |
110 | ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence$Wrapper;->equals(Ljava/lang/Object;)Z | 110 | ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence$Wrapper;->equals(Ljava/lang/Object;)Z |
111 | ····move-result·v0 | 111 | ····move-result·v0 |
112 | ····if-eqz·v0,·:cond_0 | 112 | ····if-eqz·v0,·:cond_0 |
113 | ····const/4·p0,·0x0 | 113 | ····const/4·p0,·0x0 |
114 | ····return·p0 | 114 | ····return·p0 |
115 | ····.line·21 | 115 | ····.line·216 |
116 | ····:cond_0 | 116 | ····:cond_0 |
117 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; | 117 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; |
118 | ····invoke-interface·{v0,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; | 118 | ····invoke-interface·{v0,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
119 | ····move-result-object·v0 | 119 | ····move-result-object·v0 |
120 | ····check-cast·v0,·Ljava/lang/Integer; | 120 | ····check-cast·v0,·Ljava/lang/Integer; |
121 | ····if-nez·v0,·:cond_1 | 121 | ····if-nez·v0,·:cond_1 |
122 | ····.line·2 | 122 | ····.line·218 |
123 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; | 123 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map; |
124 | ····iget·v1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I | 124 | ····iget·v1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I |
125 | ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 125 | ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
126 | ····move-result-object·v1 | 126 | ····move-result-object·v1 |
127 | ····invoke-interface·{v0,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 127 | ····invoke-interface·{v0,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
128 | ····.line·2 | 128 | ····.line·219 |
129 | ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I | 129 | ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I |
130 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 130 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
131 | ····move-result-object·v0 | 131 | ····move-result-object·v0 |
132 | ····.line·22 | 132 | ····.line·220 |
133 | ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I | 133 | ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I |
134 | ····add-int/lit8·p1,·p1,·0x1 | 134 | ····add-int/lit8·p1,·p1,·0x1 |
... Open expanded diff ... |
Offset 1, 60 lines modified | Offset 1, 37 lines modified | ||
1 | .class·final·Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl; | 1 | .class·public·final·Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"ModelFileManager.java" | 3 | .source·"ModelFileManager.java" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Ljava/util/function/Supplier; | 5 | .implements·Ljava/util/function/Supplier; |
6 | #·annotations | 6 | #·annotations |
7 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 7 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
8 | ····value·=·Lcom/android/textclassifier/ModelFileManager; | 8 | ····value·=·Lcom/android/textclassifier/ModelFileManager; |
9 | .end·annotation | 9 | .end·annotation |
10 | .annotation·system·Ldalvik/annotation/InnerClass; | 10 | .annotation·system·Ldalvik/annotation/InnerClass; |
11 | ····accessFlags·=·0x1 | 11 | ····accessFlags·=·0x19 |
12 | ····name·=·"ModelFileSupplierImpl" | 12 | ····name·=·"ModelFileSupplierImpl" |
13 | .end·annotation | 13 | .end·annotation |
14 | .annotation·system·Ldalvik/annotation/MemberClasses; | ||
15 | ····value·=·{ | ||
16 | ········Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl$ModelFileInfo; | ||
17 | ····} | ||
18 | .end·annotation | ||
19 | .annotation·system·Ldalvik/annotation/Signature; | 14 | .annotation·system·Ldalvik/annotation/Signature; |
20 | ····value·=·{ | 15 | ····value·=·{ |
21 | ········"Ljava/lang/Object;", | 16 | ········"Ljava/lang/Object;", |
22 | ········"Ljava/util/function/Supplier<", | 17 | ········"Ljava/util/function/Supplier<", |
23 | ········"Lcom/google/common/collect/ImmutableList<", | 18 | ········"Lcom/google/common/collect/ImmutableList<", |
24 | ········"Lcom/android/textclassifier/ModelFileManager$ModelFile;", | 19 | ········"Lcom/android/textclassifier/ModelFileManager$ModelFile;", |
25 | ········">;>;" | 20 | ········">;>;" |
26 | ····} | 21 | ····} |
27 | .end·annotation | 22 | .end·annotation |
28 | #·static·fields | ||
29 | .field·private·static·final·MODEL_FILE_INFO_MAP:Lcom/google/common/collect/ImmutableMap; | ||
30 | ····.annotation·system·Ldalvik/annotation/Signature; | ||
31 | ········value·=·{ | ||
32 | ············"Lcom/google/common/collect/ImmutableMap<", | ||
33 | ············"Ljava/lang/String;", | ||
34 | ············"Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl$ModelFileInfo;", | ||
35 | ············">;" | ||
36 | ········} | ||
37 | ····.end·annotation | ||
38 | .end·field | ||
39 | #·instance·fields | 23 | #·instance·fields |
40 | .field·private·final·configUpdaterModelFile:Ljava/io/File; | ||
41 | .field·private·final·downloaderModelDir:Ljava/io/File; | ||
42 | .field·private·final·factoryModelDir:Ljava/io/File; | 24 | .field·private·final·factoryModelDir:Ljava/io/File; |
43 | .field·private·factoryModels:Lcom/google/common/collect/ImmutableList; | 25 | .field·private·factoryModels:Lcom/google/common/collect/ImmutableList; |
44 | ····.annotation·system·Ldalvik/annotation/Signature; | 26 | ····.annotation·system·Ldalvik/annotation/Signature; |
45 | ········value·=·{ | 27 | ········value·=·{ |
46 | ············"Lcom/google/common/collect/ImmutableList<", | 28 | ············"Lcom/google/common/collect/ImmutableList<", |
47 | ············"Lcom/android/textclassifier/ModelFileManager$ModelFile;", | 29 | ············"Lcom/android/textclassifier/ModelFileManager$ModelFile;", |
Offset 63, 374 lines modified | Offset 40, 193 lines modified | ||
63 | ····.end·annotation | 40 | ····.end·annotation |
64 | .end·field | 41 | .end·field |
65 | .field·private·final·lock:Ljava/lang/Object; | 42 | .field·private·final·lock:Ljava/lang/Object; |
66 | .field·private·final·modelFilenamePattern:Ljava/util/regex/Pattern; | 43 | .field·private·final·modelFilenamePattern:Ljava/util/regex/Pattern; |
67 | .field·private·final·modelType:Ljava/lang/String; | ||
68 | .field·private·final·settings:Lcom/android/textclassifier/TextClassifierSettings; | ||
69 | .field·private·final·supportedLocalesSupplier:Ljava/util/function/Function; | 44 | .field·private·final·supportedLocalesSupplier:Ljava/util/function/Function; |
70 | ····.annotation·system·Ldalvik/annotation/Signature; | 45 | ····.annotation·system·Ldalvik/annotation/Signature; |
71 | ········value·=·{ | 46 | ········value·=·{ |
72 | ············"Ljava/util/function/Function<", | 47 | ············"Ljava/util/function/Function<", |
73 | ············"Ljava/lang/Integer;", | 48 | ············"Ljava/lang/Integer;", |
74 | ············"Ljava/lang/String;", | 49 | ············"Ljava/lang/String;", |
75 | ············">;" | 50 | ············">;" |
76 | ········} | 51 | ········} |
77 | ····.end·annotation | 52 | ····.end·annotation |
78 | .end·field | 53 | .end·field |
54 | .field·private·final·updatedModelFile:Ljava/io/File; | ||
79 | .field·private·final·versionSupplier:Ljava/util/function/Function; | 55 | .field·private·final·versionSupplier:Ljava/util/function/Function; |
80 | ····.annotation·system·Ldalvik/annotation/Signature; | 56 | ····.annotation·system·Ldalvik/annotation/Signature; |
81 | ········value·=·{ | 57 | ········value·=·{ |
82 | ············"Ljava/util/function/Function<", | 58 | ············"Ljava/util/function/Function<", |
83 | ············"Ljava/lang/Integer;", | 59 | ············"Ljava/lang/Integer;", |
84 | ············"Ljava/lang/Integer;", | 60 | ············"Ljava/lang/Integer;", |
85 | ············">;" | 61 | ············">;" |
86 | ········} | 62 | ········} |
87 | ····.end·annotation | 63 | ····.end·annotation |
88 | .end·field | 64 | .end·field |
89 | #·direct·methods | 65 | #·direct·methods |
66 | .method·public·constructor·<init>(Ljava/io/File;Ljava/lang/String;Ljava/io/File;Ljava/util/function/Function;Ljava/util/function/Function;)V | ||
90 | .method·static·constructor·<clinit>()V | ||
91 | ····.locals·6 | ||
92 | ····.line·206 | ||
93 | ····invoke-static·{},·Lcom/google/common/collect/ImmutableMap;->builder()Lcom/google/common/collect/ImmutableMap$Builder; | ||
94 | ····move-result-object·v0 | ||
95 | ····new-instance·v1,·Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl$ModelFileInfo; | ||
96 | ····sget-object·v2,·Lcom/android/textclassifier/-$$Lambda$jJq8RXuVdjYF3lPq-77PEw1NJLM;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$jJq8RXuVdjYF3lPq-77PEw1NJLM; | ||
97 | ····sget-object·v3,·Lcom/android/textclassifier/-$$Lambda$NxwbyZSxofZ4Z5SQhfXmtLQ1nxk;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$NxwbyZSxofZ4Z5SQhfXmtLQ1nxk; | ||
98 | ····const-string·v4,·"(annotator|textclassifier)\\.(.*)\\.model" | ||
99 | ····const-string·v5,·"/data/misc/textclassifier/textclassifier.model" | ||
100 | ····invoke-direct·{v1,·v4,·v5,·v2,·v3},·Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl$ModelFileInfo;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;)V | ||
101 | ····const-string·v2,·"annotator" | ||
102 | ····.line·207 | ||
103 | ····invoke-virtual·{v0,·v2,·v1},·Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder; | ||
104 | ····move-result-object·v0 | ||
105 | ····new-instance·v1,·Lcom/android/textclassifier/ModelFileManager$ModelFileSupplierImpl$ModelFileInfo; | ||
... Open expanded diff ... |
Offset 22, 65 lines modified | Offset 22, 65 lines modified | ||
22 | .end·annotation | 22 | .end·annotation |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·private·constructor·<init>()V | 24 | .method·private·constructor·<init>()V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.line·22 | 26 | ····.line·225 |
27 | ····invoke-direct·{p0},·Lcom/google/common/base/Equivalence;-><init>()V | 27 | ····invoke-direct·{p0},·Lcom/google/common/base/Equivalence;-><init>()V |
28 | ····return-void | 28 | ····return-void |
29 | .end·method | 29 | .end·method |
30 | .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V | 30 | .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V |
31 | ····.locals·0 | 31 | ····.locals·0 |
32 | ····.line·22 | 32 | ····.line·225 |
33 | ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>()V | 33 | ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>()V |
34 | ····return-void | 34 | ····return-void |
35 | .end·method | 35 | .end·method |
36 | #·virtual·methods | 36 | #·virtual·methods |
37 | .method·protected·doEquivalent(Landroid/app/Person;Landroid/app/Person;)Z | 37 | .method·protected·doEquivalent(Landroid/app/Person;Landroid/app/Person;)Z |
38 | ····.locals·1 | 38 | ····.locals·1 |
39 | ····.line·2 | 39 | ····.line·229 |
40 | ····invoke-virtual·{p1},·Landroid/app/Person;->getKey()Ljava/lang/String; | 40 | ····invoke-virtual·{p1},·Landroid/app/Person;->getKey()Ljava/lang/String; |
41 | ····move-result-object·p0 | 41 | ····move-result-object·p0 |
42 | ····invoke-virtual·{p2},·Landroid/app/Person;->getKey()Ljava/lang/String; | 42 | ····invoke-virtual·{p2},·Landroid/app/Person;->getKey()Ljava/lang/String; |
43 | ····move-result-object·v0 | 43 | ····move-result-object·v0 |
44 | ····invoke-static·{p0,·v0},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z | 44 | ····invoke-static·{p0,·v0},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z |
45 | ····move-result·p0 | 45 | ····move-result·p0 |
46 | ····if-eqz·p0,·:cond_0 | 46 | ····if-eqz·p0,·:cond_0 |
47 | ····.line·23 | 47 | ····.line·230 |
48 | ····invoke-virtual·{p1},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; | 48 | ····invoke-virtual·{p1},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; |
49 | ····move-result-object·p0 | 49 | ····move-result-object·p0 |
50 | ····invoke-virtual·{p2},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; | 50 | ····invoke-virtual·{p2},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; |
51 | ····move-result-object·v0 | 51 | ····move-result-object·v0 |
52 | ····invoke-static·{p0,·v0},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z | 52 | ····invoke-static·{p0,·v0},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z |
53 | ····move-result·p0 | 53 | ····move-result·p0 |
54 | ····if-eqz·p0,·:cond_0 | 54 | ····if-eqz·p0,·:cond_0 |
55 | ····.line·23 | 55 | ····.line·231 |
56 | ····invoke-virtual·{p1},·Landroid/app/Person;->getUri()Ljava/lang/String; | 56 | ····invoke-virtual·{p1},·Landroid/app/Person;->getUri()Ljava/lang/String; |
57 | ····move-result-object·p0 | 57 | ····move-result-object·p0 |
58 | ····invoke-virtual·{p2},·Landroid/app/Person;->getUri()Ljava/lang/String; | 58 | ····invoke-virtual·{p2},·Landroid/app/Person;->getUri()Ljava/lang/String; |
59 | ····move-result-object·p1 | 59 | ····move-result-object·p1 |
Offset 101, 15 lines modified | Offset 101, 15 lines modified | ||
101 | ····:goto_0 | 101 | ····:goto_0 |
102 | ····return·p0 | 102 | ····return·p0 |
103 | .end·method | 103 | .end·method |
104 | .method·protected·bridge·synthetic·doEquivalent(Ljava/lang/Object;Ljava/lang/Object;)Z | 104 | .method·protected·bridge·synthetic·doEquivalent(Ljava/lang/Object;Ljava/lang/Object;)Z |
105 | ····.locals·0 | 105 | ····.locals·0 |
106 | ····.line·22 | 106 | ····.line·225 |
107 | ····check-cast·p1,·Landroid/app/Person; | 107 | ····check-cast·p1,·Landroid/app/Person; |
108 | ····check-cast·p2,·Landroid/app/Person; | 108 | ····check-cast·p2,·Landroid/app/Person; |
109 | ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;->doEquivalent(Landroid/app/Person;Landroid/app/Person;)Z | 109 | ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;->doEquivalent(Landroid/app/Person;Landroid/app/Person;)Z |
110 | ····move-result·p0 | 110 | ····move-result·p0 |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | .method·protected·doHash(Landroid/app/Person;)I | 120 | .method·protected·doHash(Landroid/app/Person;)I |
121 | ····.locals·2 | 121 | ····.locals·2 |
122 | ····const/4·p0,·0x3 | 122 | ····const/4·p0,·0x3 |
123 | ····new-array·p0,·p0,·[Ljava/lang/Object; | 123 | ····new-array·p0,·p0,·[Ljava/lang/Object; |
124 | ····.line·23 | 124 | ····.line·236 |
125 | ····invoke-virtual·{p1},·Landroid/app/Person;->getKey()Ljava/lang/String; | 125 | ····invoke-virtual·{p1},·Landroid/app/Person;->getKey()Ljava/lang/String; |
126 | ····move-result-object·v0 | 126 | ····move-result-object·v0 |
127 | ····const/4·v1,·0x0 | 127 | ····const/4·v1,·0x0 |
128 | ····aput-object·v0,·p0,·v1 | 128 | ····aput-object·v0,·p0,·v1 |
Offset 155, 15 lines modified | Offset 155, 15 lines modified | ||
155 | ····return·p0 | 155 | ····return·p0 |
156 | .end·method | 156 | .end·method |
157 | .method·protected·bridge·synthetic·doHash(Ljava/lang/Object;)I | 157 | .method·protected·bridge·synthetic·doHash(Ljava/lang/Object;)I |
158 | ····.locals·0 | 158 | ····.locals·0 |
159 | ····.line·22 | 159 | ····.line·225 |
160 | ····check-cast·p1,·Landroid/app/Person; | 160 | ····check-cast·p1,·Landroid/app/Person; |
161 | ····invoke-virtual·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;->doHash(Landroid/app/Person;)I | 161 | ····invoke-virtual·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;->doHash(Landroid/app/Person;)I |
162 | ····move-result·p0 | 162 | ····move-result·p0 |
163 | ····return·p0 | 163 | ····return·p0 |
Offset 30, 96 lines modified | Offset 30, 96 lines modified | ||
30 | .field·public·final·titleWithoutEntity:Ljava/lang/String; | 30 | .field·public·final·titleWithoutEntity:Ljava/lang/String; |
31 | #·direct·methods | 31 | #·direct·methods |
32 | .method·static·constructor·<clinit>()V | 32 | .method·static·constructor·<clinit>()V |
33 | ····.locals·1 | 33 | ····.locals·1 |
34 | ····.line· | 34 | ····.line·39 |
35 | ····sget-object·v0,·Lcom/android/textclassifier/common/intent/-$$Lambda$LabeledIntent$Ef5QLBfEhrkX4H2Of8KdcPhmr-g;->INSTANCE:Lcom/android/textclassifier/common/intent/-$$Lambda$LabeledIntent$Ef5QLBfEhrkX4H2Of8KdcPhmr-g; | 35 | ····sget-object·v0,·Lcom/android/textclassifier/common/intent/-$$Lambda$LabeledIntent$Ef5QLBfEhrkX4H2Of8KdcPhmr-g;->INSTANCE:Lcom/android/textclassifier/common/intent/-$$Lambda$LabeledIntent$Ef5QLBfEhrkX4H2Of8KdcPhmr-g; |
36 | ····sput-object·v0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->DEFAULT_TITLE_CHOOSER:Lcom/android/textclassifier/common/intent/LabeledIntent$TitleChooser; | 36 | ····sput-object·v0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->DEFAULT_TITLE_CHOOSER:Lcom/android/textclassifier/common/intent/LabeledIntent$TitleChooser; |
37 | ····return-void | 37 | ····return-void |
38 | .end·method | 38 | .end·method |
39 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;I)V | 39 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;I)V |
40 | ····.locals·1 | 40 | ····.locals·1 |
41 | ····.line·7 | 41 | ····.line·72 |
42 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 42 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
43 | ····.line·7 | 43 | ····.line·73 |
44 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 44 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
45 | ····move-result·v0 | 45 | ····move-result·v0 |
46 | ····if-eqz·v0,·:cond_1 | 46 | ····if-eqz·v0,·:cond_1 |
47 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 47 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
48 | ····move-result·v0 | 48 | ····move-result·v0 |
49 | ····if-nez·v0,·:cond_0 | 49 | ····if-nez·v0,·:cond_0 |
50 | ····goto·:goto_0 | 50 | ····goto·:goto_0 |
51 | ····.line·7 | 51 | ····.line·74 |
52 | ····:cond_0 | 52 | ····:cond_0 |
53 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 53 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
54 | ····const-string·p1,·"titleWithEntity·and·titleWithoutEntity·should·not·be·both·null" | 54 | ····const-string·p1,·"titleWithEntity·and·titleWithoutEntity·should·not·be·both·null" |
55 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 55 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
56 | ····throw·p0 | 56 | ····throw·p0 |
57 | ····.line·7 | 57 | ····.line·77 |
58 | ····:cond_1 | 58 | ····:cond_1 |
59 | ····:goto_0 | 59 | ····:goto_0 |
60 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithoutEntity:Ljava/lang/String; | 60 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithoutEntity:Ljava/lang/String; |
61 | ····.line·7 | 61 | ····.line·78 |
62 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; | 62 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; |
63 | ····.line· | 63 | ····.line·79 |
64 | ····invoke-static·{p3},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 64 | ····invoke-static·{p3},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
65 | ····check-cast·p3,·Ljava/lang/String; | 65 | ····check-cast·p3,·Ljava/lang/String; |
66 | ····iput-object·p3,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->description:Ljava/lang/String; | 66 | ····iput-object·p3,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->description:Ljava/lang/String; |
67 | ····.line·8 | 67 | ····.line·80 |
68 | ····iput-object·p4,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->descriptionWithAppName:Ljava/lang/String; | 68 | ····iput-object·p4,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->descriptionWithAppName:Ljava/lang/String; |
69 | ····.line·8 | 69 | ····.line·81 |
70 | ····invoke-static·{p5},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 70 | ····invoke-static·{p5},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
71 | ····check-cast·p5,·Landroid/content/Intent; | 71 | ····check-cast·p5,·Landroid/content/Intent; |
72 | ····iput-object·p5,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->intent:Landroid/content/Intent; | 72 | ····iput-object·p5,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->intent:Landroid/content/Intent; |
73 | ····.line·8 | 73 | ····.line·82 |
74 | ····iput·p6,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->requestCode:I | 74 | ····iput·p6,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->requestCode:I |
75 | ····return-void | 75 | ····return-void |
76 | .end·method | 76 | .end·method |
77 | .method·private·static·createIconFromPackage(Landroid/content/Context;Ljava/lang/String;I)Landroidx/core/graphics/drawable/IconCompat; | 77 | .method·private·static·createIconFromPackage(Landroid/content/Context;Ljava/lang/String;I)Landroidx/core/graphics/drawable/IconCompat; |
78 | ····.locals·1 | 78 | ····.locals·1 |
79 | ····const/4·v0,·0x0 | 79 | ····const/4·v0,·0x0 |
80 | ····.line· | 80 | ····.line·157 |
81 | ····:try_start_0 | 81 | ····:try_start_0 |
82 | ····invoke-virtual·{p0,·p1,·v0},·Landroid/content/Context;->createPackageContext(Ljava/lang/String;I)Landroid/content/Context; | 82 | ····invoke-virtual·{p0,·p1,·v0},·Landroid/content/Context;->createPackageContext(Ljava/lang/String;I)Landroid/content/Context; |
83 | ····move-result-object·p0 | 83 | ····move-result-object·p0 |
84 | ····.line· | 84 | ····.line·158 |
85 | ····invoke-static·{p0,·p2},·Landroidx/core/graphics/drawable/IconCompat;->createWithResource(Landroid/content/Context;I)Landroidx/core/graphics/drawable/IconCompat; | 85 | ····invoke-static·{p0,·p2},·Landroidx/core/graphics/drawable/IconCompat;->createWithResource(Landroid/content/Context;I)Landroidx/core/graphics/drawable/IconCompat; |
86 | ····move-result-object·p0 | 86 | ····move-result-object·p0 |
87 | ····:try_end_0 | 87 | ····:try_end_0 |
88 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 88 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
89 | ····return-object·p0 | 89 | ····return-object·p0 |
Offset 127, 292 lines modified | Offset 127, 169 lines modified | ||
127 | ····:catch_0 | 127 | ····:catch_0 |
128 | ····move-exception·p0 | 128 | ····move-exception·p0 |
129 | ····const-string·p1,·"LabeledIntent" | 129 | ····const-string·p1,·"LabeledIntent" |
130 | ····const-string·p2,·"createIconFromPackage:·failed·to·create·package·context" | 130 | ····const-string·p2,·"createIconFromPackage:·failed·to·create·package·context" |
131 | ····.line· | 131 | ····.line·160 |
132 | ····invoke-static·{p1,·p2,·p0},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V | 132 | ····invoke-static·{p1,·p2,·p0},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V |
133 | ····const/4·p0,·0x0 | 133 | ····const/4·p0,·0x0 |
134 | ····return-object·p0 | 134 | ····return-object·p0 |
135 | .end·method | 135 | .end·method |
136 | .method·private·static·createPendingIntent(Landroid/content/Context;Landroid/content/Intent;I)Landroid/app/PendingIntent; | 136 | .method·private·static·createPendingIntent(Landroid/content/Context;Landroid/content/Intent;I)Landroid/app/PendingIntent; |
137 | ····.locals·1 | 137 | ····.locals·1 |
138 | ····const/high16·v0,·0x8000000 | 138 | ····const/high16·v0,·0x8000000 |
139 | ····.line· | 139 | ····.line·167 |
140 | ····invoke-static·{p0,·p2,·p1,·v0},·Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; | 140 | ····invoke-static·{p0,·p2,·p1,·v0},·Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; |
141 | ····move-result-object·p0 | 141 | ····move-result-object·p0 |
142 | ····return-object·p0 | 142 | ····return-object·p0 |
143 | .end·method | 143 | .end·method |
144 | .method·private·createRemoteAction(Landroid/content/Context;Landroid/content/Intent;Landroidx/core/graphics/drawable/IconCompat;ZLandroid/content/pm/ResolveInfo;Lcom/android/textclassifier/common/intent/LabeledIntent$TitleChooser;)Landroidx/core/app/RemoteActionCompat; | ||
145 | ····.locals·1 | ||
... Open expanded diff ... |
Offset 20, 25 lines modified | Offset 20, 25 lines modified | ||
20 | .field·public·final·resolvedIntent:Landroid/content/Intent; | 20 | .field·public·final·resolvedIntent:Landroid/content/Intent; |
21 | #·direct·methods | 21 | #·direct·methods |
22 | .method·public·constructor·<init>(Landroid/content/Intent;Landroidx/core/app/RemoteActionCompat;)V | 22 | .method·public·constructor·<init>(Landroid/content/Intent;Landroidx/core/app/RemoteActionCompat;)V |
23 | ····.locals·0 | 23 | ····.locals·0 |
24 | ····.line·2 | 24 | ····.line·201 |
25 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 25 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
26 | ····.line·2 | 26 | ····.line·202 |
27 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 27 | ····invoke-static·{p1},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
28 | ····check-cast·p1,·Landroid/content/Intent; | 28 | ····check-cast·p1,·Landroid/content/Intent; |
29 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent$Result;->resolvedIntent:Landroid/content/Intent; | 29 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent$Result;->resolvedIntent:Landroid/content/Intent; |
30 | ····.line·2 | 30 | ····.line·203 |
31 | ····invoke-static·{p2},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 31 | ····invoke-static·{p2},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
32 | ····check-cast·p2,·Landroidx/core/app/RemoteActionCompat; | 32 | ····check-cast·p2,·Landroidx/core/app/RemoteActionCompat; |
33 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent$Result;->remoteAction:Landroidx/core/app/RemoteActionCompat; | 33 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent$Result;->remoteAction:Landroidx/core/app/RemoteActionCompat; |
34 | ····return-void | 34 | ····return-void |
Offset 27, 15 lines modified | Offset 27, 15 lines modified | ||
27 | .field·private·final·sampleRate:I | 27 | .field·private·final·sampleRate:I |
28 | #·direct·methods | 28 | #·direct·methods |
29 | .method·public·constructor·<init>(I)V | 29 | .method·public·constructor·<init>(I)V |
30 | ····.locals·1 | 30 | ····.locals·1 |
31 | ····.line·5 | 31 | ····.line·53 |
32 | ····sget-object·v0,·Lcom/android/textclassifier/common/statsd/-$$Lambda$GenerateLinksLogger$Pc3PlDwg4TEgsFqlhikIPj1R5GA;->INSTANCE:Lcom/android/textclassifier/common/statsd/-$$Lambda$GenerateLinksLogger$Pc3PlDwg4TEgsFqlhikIPj1R5GA; | 32 | ····sget-object·v0,·Lcom/android/textclassifier/common/statsd/-$$Lambda$GenerateLinksLogger$Pc3PlDwg4TEgsFqlhikIPj1R5GA;->INSTANCE:Lcom/android/textclassifier/common/statsd/-$$Lambda$GenerateLinksLogger$Pc3PlDwg4TEgsFqlhikIPj1R5GA; |
33 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;-><init>(ILjava/util/function/Supplier;)V | 33 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;-><init>(ILjava/util/function/Supplier;)V |
34 | ····return-void | 34 | ····return-void |
35 | .end·method | 35 | .end·method |
Offset 46, 78 lines modified | Offset 46, 78 lines modified | ||
46 | ············"(I", | 46 | ············"(I", |
47 | ············"Ljava/util/function/Supplier<", | 47 | ············"Ljava/util/function/Supplier<", |
48 | ············"Ljava/lang/String;", | 48 | ············"Ljava/lang/String;", |
49 | ············">;)V" | 49 | ············">;)V" |
50 | ········} | 50 | ········} |
51 | ····.end·annotation | 51 | ····.end·annotation |
52 | ····.line·6 | 52 | ····.line·63 |
53 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 53 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
54 | ····.line·6 | 54 | ····.line·64 |
55 | ····iput·p1,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->sampleRate:I | 55 | ····iput·p1,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->sampleRate:I |
56 | ····.line·6 | 56 | ····.line·65 |
57 | ····new-instance·p1,·Ljava/util/Random; | 57 | ····new-instance·p1,·Ljava/util/Random; |
58 | ····invoke-direct·{p1},·Ljava/util/Random;-><init>()V | 58 | ····invoke-direct·{p1},·Ljava/util/Random;-><init>()V |
59 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->random:Ljava/util/Random; | 59 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->random:Ljava/util/Random; |
60 | ····.line·6 | 60 | ····.line·66 |
61 | ····invoke-static·{p2},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | 61 | ····invoke-static·{p2},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
62 | ····check-cast·p2,·Ljava/util/function/Supplier; | 62 | ····check-cast·p2,·Ljava/util/function/Supplier; |
63 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->randomUuidSupplier:Ljava/util/function/Supplier; | 63 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->randomUuidSupplier:Ljava/util/function/Supplier; |
64 | ····return-void | 64 | ····return-void |
65 | .end·method | 65 | .end·method |
66 | .method·static·synthetic·lambda$logGenerateLinks$1(Ljava/lang/String;)Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats; | 66 | .method·static·synthetic·lambda$logGenerateLinks$1(Ljava/lang/String;)Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats; |
67 | ····.locals·1 | 67 | ····.locals·1 |
68 | ····.line·9 | 68 | ····.line·98 |
69 | ····new-instance·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats; | 69 | ····new-instance·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats; |
70 | ····const/4·v0,·0x0 | 70 | ····const/4·v0,·0x0 |
71 | ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;-><init>(Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$1;)V | 71 | ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;-><init>(Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$1;)V |
72 | ····return-object·p0 | 72 | ····return-object·p0 |
73 | .end·method | 73 | .end·method |
74 | .method·static·synthetic·lambda$new$0()Ljava/lang/String; | 74 | .method·static·synthetic·lambda$new$0()Ljava/lang/String; |
75 | ····.locals·1 | 75 | ····.locals·1 |
76 | ····.line·5 | 76 | ····.line·53 |
77 | ····invoke-static·{},·Ljava/util/UUID;->randomUUID()Ljava/util/UUID; | 77 | ····invoke-static·{},·Ljava/util/UUID;->randomUUID()Ljava/util/UUID; |
78 | ····move-result-object·v0 | 78 | ····move-result-object·v0 |
79 | ····invoke-virtual·{v0},·Ljava/util/UUID;->toString()Ljava/lang/String; | 79 | ····invoke-virtual·{v0},·Ljava/util/UUID;->toString()Ljava/lang/String; |
80 | ····move-result-object·v0 | 80 | ····move-result-object·v0 |
81 | ····return-object·v0 | 81 | ····return-object·v0 |
82 | .end·method | 82 | .end·method |
83 | .method·private·shouldLog()Z | 83 | .method·private·shouldLog()Z |
84 | ····.locals·2 | 84 | ····.locals·2 |
85 | ····.line·12 | 85 | ····.line·126 |
86 | ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->sampleRate:I | 86 | ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->sampleRate:I |
87 | ····const/4·v1,·0x1 | 87 | ····const/4·v1,·0x1 |
88 | ····if-gt·v0,·v1,·:cond_0 | 88 | ····if-gt·v0,·v1,·:cond_0 |
89 | ····return·v1 | 89 | ····return·v1 |
90 | ····.line·12 | 90 | ····.line·129 |
91 | ····:cond_0 | 91 | ····:cond_0 |
92 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->random:Ljava/util/Random; | 92 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->random:Ljava/util/Random; |
93 | ····invoke-virtual·{p0,·v0},·Ljava/util/Random;->nextInt(I)I | 93 | ····invoke-virtual·{p0,·v0},·Ljava/util/Random;->nextInt(I)I |
94 | ····move-result·p0 | 94 | ····move-result·p0 |
Offset 129, 15 lines modified | Offset 129, 15 lines modified | ||
129 | ····const/4·v1,·0x0 | 129 | ····const/4·v1,·0x0 |
130 | ····:goto_0 | 130 | ····:goto_0 |
131 | ····return·v1 | 131 | ····return·v1 |
132 | .end·method | 132 | .end·method |
133 | .method·private·static·writeStats(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;Ljava/lang/CharSequence;JLcom/google/common/base/Optional;Lcom/google/common/base/Optional;)V | 133 | .method·private·static·writeStats(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;Ljava/lang/CharSequence;JLcom/google/common/base/Optional;Lcom/google/common/base/Optional;)V |
134 | ····.locals· | 134 | ····.locals·3 |
135 | ····.annotation·system·Ldalvik/annotation/Signature; | 135 | ····.annotation·system·Ldalvik/annotation/Signature; |
136 | ········value·=·{ | 136 | ········value·=·{ |
137 | ············"(", | 137 | ············"(", |
138 | ············"Ljava/lang/String;", | 138 | ············"Ljava/lang/String;", |
139 | ············"Ljava/lang/String;", | 139 | ············"Ljava/lang/String;", |
140 | ············"Ljava/lang/String;", | 140 | ············"Ljava/lang/String;", |
141 | ············"Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;", | 141 | ············"Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;", |
Offset 148, 168 lines modified | Offset 148, 224 lines modified | ||
148 | ············">;", | 148 | ············">;", |
149 | ············"Lcom/google/common/base/Optional<", | 149 | ············"Lcom/google/common/base/Optional<", |
150 | ············"Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo;", | 150 | ············"Lcom/android/textclassifier/common/logging/ResultIdUtils$ModelInfo;", |
151 | ············">;)V" | 151 | ············">;)V" |
152 | ········} | 152 | ········} |
153 | ····.end·annotation | 153 | ····.end·annotation |
154 | ···· | 154 | ····.line·143 |
155 | ····sget-object·v0,·Lcom/android/textclassifier/common/statsd/-$$Lambda$oDz1qPSnjjDY1RvRhoswzP9Xa8s;->INSTANCE:Lcom/android/textclassifier/common/statsd/-$$Lambda$oDz1qPSnjjDY1RvRhoswzP9Xa8s; | ||
156 | ····invoke-virtual·{p7,·v0},·Lcom/google/common/base/Optional;->transform(Lcom/google/common/base/Function;)Lcom/google/common/base/Optional; | ||
157 | ····move-result-object·p7 | ||
158 | ····const-string·v0,·"" | ||
... Open expanded diff ... |
Offset 3, 44 lines modified | Offset 3, 44 lines modified | ||
3 | .source·"TextClassifierEventLogger.java" | 3 | .source·"TextClassifierEventLogger.java" |
4 | #·direct·methods | 4 | #·direct·methods |
5 | .method·public·constructor·<init>()V | 5 | .method·public·constructor·<init>()V |
6 | ····.locals·0 | 6 | ····.locals·0 |
7 | ····.line·3 | 7 | ····.line·37 |
8 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 8 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
9 | ····return-void | 9 | ····return-void |
10 | .end·method | 10 | .end·method |
11 | .method·private·static·getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I | 11 | .method·private·static·getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I |
12 | ····.locals·2 | 12 | ····.locals·2 |
13 | ····.line· | 13 | ····.line·93 |
14 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I | 14 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I |
15 | ····move-result·v0 | 15 | ····move-result·v0 |
16 | ····const/4·v1,·0x5 | 16 | ····const/4·v1,·0x5 |
17 | ····if-ne·v0,·v1,·:cond_1 | 17 | ····if-ne·v0,·v1,·:cond_1 |
18 | ····.line· | 18 | ····.line·94 |
19 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getResultId()Ljava/lang/String; | 19 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getResultId()Ljava/lang/String; |
20 | ····move-result-object·v0 | 20 | ····move-result-object·v0 |
21 | ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->isFromDefaultTextClassifier(Ljava/lang/String;)Z | 21 | ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->isFromDefaultTextClassifier(Ljava/lang/String;)Z |
22 | ····move-result·v0 | 22 | ····move-result·v0 |
23 | ····if-eqz·v0,·:cond_1 | 23 | ····if-eqz·v0,·:cond_1 |
24 | ····.line· | 24 | ····.line·95 |
25 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I | 25 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I |
26 | ····move-result·v0 | 26 | ····move-result·v0 |
27 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I | 27 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I |
28 | ····move-result·p0 | 28 | ····move-result·p0 |
Offset 57, 15 lines modified | Offset 57, 15 lines modified | ||
57 | ····:cond_0 | 57 | ····:cond_0 |
58 | ····const/4·p0,·0x3 | 58 | ····const/4·p0,·0x3 |
59 | ····:goto_0 | 59 | ····:goto_0 |
60 | ····return·p0 | 60 | ····return·p0 |
61 | ····.line· | 61 | ····.line·100 |
62 | ····:cond_1 | 62 | ····:cond_1 |
63 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I | 63 | ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I |
64 | ····move-result·p0 | 64 | ····move-result·p0 |
65 | ····return·p0 | 65 | ····return·p0 |
66 | .end·method | 66 | .end·method |
Offset 75, 23 lines modified | Offset 75, 23 lines modified | ||
75 | ····const/4·v0,·0x0 | 75 | ····const/4·v0,·0x0 |
76 | ····if-nez·p0,·:cond_0 | 76 | ····if-nez·p0,·:cond_0 |
77 | ····return·v0 | 77 | ····return·v0 |
78 | ····.line·1 | 78 | ····.line·199 |
79 | ····:cond_0 | 79 | ····:cond_0 |
80 | ····array-length·v1,·p0 | 80 | ····array-length·v1,·p0 |
81 | ····if-lt·p1,·v1,·:cond_1 | 81 | ····if-lt·p1,·v1,·:cond_1 |
82 | ····return·v0 | 82 | ····return·v0 |
83 | ····.line· | 83 | ····.line·202 |
84 | ····:cond_1 | 84 | ····:cond_1 |
85 | ····aget·p0,·p0,·p1 | 85 | ····aget·p0,·p0,·p1 |
86 | ····return·p0 | 86 | ····return·p0 |
87 | .end·method | 87 | .end·method |
88 | .method·private·static·getIntAt([II)I | 88 | .method·private·static·getIntAt([II)I |
Offset 99, 23 lines modified | Offset 99, 23 lines modified | ||
99 | ····const/4·v0,·0x0 | 99 | ····const/4·v0,·0x0 |
100 | ····if-nez·p0,·:cond_0 | 100 | ····if-nez·p0,·:cond_0 |
101 | ····return·v0 | 101 | ····return·v0 |
102 | ····.line· | 102 | ····.line·209 |
103 | ····:cond_0 | 103 | ····:cond_0 |
104 | ····array-length·v1,·p0 | 104 | ····array-length·v1,·p0 |
105 | ····if-lt·p1,·v1,·:cond_1 | 105 | ····if-lt·p1,·v1,·:cond_1 |
106 | ····return·v0 | 106 | ····return·v0 |
107 | ····.line· | 107 | ····.line·212 |
108 | ····:cond_1 | 108 | ····:cond_1 |
109 | ····aget·p0,·p0,·p1 | 109 | ····aget·p0,·p0,·p1 |
110 | ····return·p0 | 110 | ····return·p0 |
111 | .end·method | 111 | .end·method |
112 | .method·private·static·getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; | 112 | .method·private·static·getItemAt(Ljava/util/List;ILjava/lang/Object;)Ljava/lang/Object; |
Offset 130, 25 lines modified | Offset 130, 25 lines modified | ||
130 | ········} | 130 | ········} |
131 | ····.end·annotation | 131 | ····.end·annotation |
132 | ····if-nez·p0,·:cond_0 | 132 | ····if-nez·p0,·:cond_0 |
133 | ····return-object·p2 | 133 | ····return-object·p2 |
134 | ····.line·1 | 134 | ····.line·178 |
135 | ····:cond_0 | 135 | ····:cond_0 |
136 | ····invoke-interface·{p0},·Ljava/util/List;->size()I | 136 | ····invoke-interface·{p0},·Ljava/util/List;->size()I |
137 | ····move-result·v0 | 137 | ····move-result·v0 |
138 | ····if-lt·p1,·v0,·:cond_1 | 138 | ····if-lt·p1,·v0,·:cond_1 |
139 | ····return-object·p2 | 139 | ····return-object·p2 |
140 | ····.line·1 | 140 | ····.line·181 |
... Open expanded diff (truncated) ... |
Offset 20, 42 lines modified | Offset 20, 42 lines modified | ||
20 | .field·numLinksTextLength:I | 20 | .field·numLinksTextLength:I |
21 | #·direct·methods | 21 | #·direct·methods |
22 | .method·private·constructor·<init>()V | 22 | .method·private·constructor·<init>()V |
23 | ····.locals·0 | 23 | ····.locals·0 |
24 | ····.line·1 | 24 | ····.line·183 |
25 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 25 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
26 | ····return-void | 26 | ····return-void |
27 | .end·method | 27 | .end·method |
28 | .method·synthetic·constructor·<init>(Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$1;)V | 28 | .method·synthetic·constructor·<init>(Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$1;)V |
29 | ····.locals·0 | 29 | ····.locals·0 |
30 | ····.line·1 | 30 | ····.line·183 |
31 | ····invoke-direct·{p0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;-><init>()V | 31 | ····invoke-direct·{p0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;-><init>()V |
32 | ····return-void | 32 | ····return-void |
33 | .end·method | 33 | .end·method |
34 | #·virtual·methods | 34 | #·virtual·methods |
35 | .method·countLink(Landroid/view/textclassifier/TextLinks$TextLink;)V | 35 | .method·countLink(Landroid/view/textclassifier/TextLinks$TextLink;)V |
36 | ····.locals·2 | 36 | ····.locals·2 |
37 | ····.line·18 | 37 | ····.line·188 |
38 | ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinks:I | 38 | ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinks:I |
39 | ····add-int/lit8·v0,·v0,·0x1 | 39 | ····add-int/lit8·v0,·v0,·0x1 |
40 | ····iput·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinks:I | 40 | ····iput·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinks:I |
41 | ····.line·18 | 41 | ····.line·189 |
42 | ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinksTextLength:I | 42 | ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinksTextLength:I |
43 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/TextLinks$TextLink;->getEnd()I | 43 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/TextLinks$TextLink;->getEnd()I |
44 | ····move-result·v1 | 44 | ····move-result·v1 |
45 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/TextLinks$TextLink;->getStart()I | 45 | ····invoke-virtual·{p1},·Landroid/view/textclassifier/TextLinks$TextLink;->getStart()I |
Offset 38, 18 lines modified | Offset 38, 18 lines modified | ||
38 | ············"Landroid/view/textclassifier/TextClassifier;", | 38 | ············"Landroid/view/textclassifier/TextClassifier;", |
39 | ············">;", | 39 | ············">;", |
40 | ············"Landroid/view/textclassifier/ConversationActions;", | 40 | ············"Landroid/view/textclassifier/ConversationActions;", |
41 | ············")V" | 41 | ············")V" |
42 | ········} | 42 | ········} |
43 | ····.end·annotation | 43 | ····.end·annotation |
44 | ····.line·4 | 44 | ····.line·494 |
45 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 45 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
46 | ····.line·49 | 46 | ····.line·495 |
47 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;->textClassifier:Ljava/util/Optional; | 47 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;->textClassifier:Ljava/util/Optional; |
48 | ····.line·49 | 48 | ····.line·496 |
49 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;->conversationActions:Landroid/view/textclassifier/ConversationActions; | 49 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;->conversationActions:Landroid/view/textclassifier/ConversationActions; |
50 | ····return-void | 50 | ····return-void |
51 | .end·method | 51 | .end·method |
Offset 48, 25 lines modified | Offset 48, 25 lines modified | ||
48 | #·direct·methods | 48 | #·direct·methods |
49 | .method·static·constructor·<clinit>()V | 49 | .method·static·constructor·<clinit>()V |
50 | ····.locals·5 | 50 | ····.locals·5 |
51 | ····const-string·v0,·"notification" | 51 | ····const-string·v0,·"notification" |
52 | ····.line·8 | 52 | ····.line·82 |
53 | ····invoke-static·{v0},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 53 | ····invoke-static·{v0},·Lcom/google/common/collect/ImmutableList;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
54 | ····move-result-object·v0 | 54 | ····move-result-object·v0 |
55 | ····sput-object·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->HINTS:Lcom/google/common/collect/ImmutableList; | 55 | ····sput-object·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->HINTS:Lcom/google/common/collect/ImmutableList; |
56 | ····.line·8 | 56 | ····.line·83 |
57 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; | 57 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult; |
58 | ····.line·8 | 58 | ····.line·85 |
59 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; | 59 | ····invoke-static·{},·Ljava/util/Optional;->empty()Ljava/util/Optional; |
60 | ····move-result-object·v1 | 60 | ····move-result-object·v1 |
61 | ····new-instance·v2,·Landroid/view/textclassifier/ConversationActions; | 61 | ····new-instance·v2,·Landroid/view/textclassifier/ConversationActions; |
62 | ····invoke-static·{},·Lcom/google/common/collect/ImmutableList;->of()Lcom/google/common/collect/ImmutableList; | 62 | ····invoke-static·{},·Lcom/google/common/collect/ImmutableList;->of()Lcom/google/common/collect/ImmutableList; |
Offset 83, 99 lines modified | Offset 83, 99 lines modified | ||
83 | ····return-void | 83 | ····return-void |
84 | .end·method | 84 | .end·method |
85 | .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/notification/SmartSuggestionsConfig;)V | 85 | .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/notification/SmartSuggestionsConfig;)V |
86 | ····.locals·2 | 86 | ····.locals·2 |
87 | ····.line·10 | 87 | ····.line·103 |
88 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 88 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
89 | ····.line· | 89 | ····.line·90 |
90 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1; | 90 | ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1; |
91 | ····const/16·v1,·0x14 | 91 | ····const/16·v1,·0x14 |
92 | ····invoke-direct·{v0,·p0,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1;-><init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V | 92 | ····invoke-direct·{v0,·p0,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1;-><init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V |
93 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->sessionCache:Landroid/util/LruCache; | 93 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->sessionCache:Landroid/util/LruCache; |
94 | ····.line·10 | 94 | ····.line·104 |
95 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; | 95 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->context:Landroid/content/Context; |
96 | ····.line·10 | 96 | ····.line·105 |
97 | ····const-class·v0,·Landroid/view/textclassifier/TextClassificationManager; | 97 | ····const-class·v0,·Landroid/view/textclassifier/TextClassificationManager; |
98 | ····invoke-virtual·{p1,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; | 98 | ····invoke-virtual·{p1,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object; |
99 | ····move-result-object·v0 | 99 | ····move-result-object·v0 |
100 | ····check-cast·v0,·Landroid/view/textclassifier/TextClassificationManager; | 100 | ····check-cast·v0,·Landroid/view/textclassifier/TextClassificationManager; |
101 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationManager:Landroid/view/textclassifier/TextClassificationManager; | 101 | ····iput-object·v0,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationManager:Landroid/view/textclassifier/TextClassificationManager; |
102 | ····.line·10 | 102 | ····.line·106 |
103 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->config:Lcom/android/textclassifier/notification/SmartSuggestionsConfig; | 103 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->config:Lcom/android/textclassifier/notification/SmartSuggestionsConfig; |
104 | ····.line·10 | 104 | ····.line·107 |
105 | ····new-instance·p2,·Landroid/view/textclassifier/TextClassificationContext$Builder; | 105 | ····new-instance·p2,·Landroid/view/textclassifier/TextClassificationContext$Builder; |
106 | ····.line·10 | 106 | ····.line·109 |
107 | ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageName()Ljava/lang/String; | 107 | ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageName()Ljava/lang/String; |
108 | ····move-result-object·p1 | 108 | ····move-result-object·p1 |
109 | ····const-string·v0,·"notification" | 109 | ····const-string·v0,·"notification" |
110 | ····invoke-direct·{p2,·p1,·v0},·Landroid/view/textclassifier/TextClassificationContext$Builder;-><init>(Ljava/lang/String;Ljava/lang/String;)V | 110 | ····invoke-direct·{p2,·p1,·v0},·Landroid/view/textclassifier/TextClassificationContext$Builder;-><init>(Ljava/lang/String;Ljava/lang/String;)V |
111 | ····.line·1 | 111 | ····.line·110 |
112 | ····invoke-virtual·{p2},·Landroid/view/textclassifier/TextClassificationContext$Builder;->build()Landroid/view/textclassifier/TextClassificationContext; | 112 | ····invoke-virtual·{p2},·Landroid/view/textclassifier/TextClassificationContext$Builder;->build()Landroid/view/textclassifier/TextClassificationContext; |
113 | ····move-result-object·p1 | 113 | ····move-result-object·p1 |
114 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationContext:Landroid/view/textclassifier/TextClassificationContext; | 114 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper;->textClassificationContext:Landroid/view/textclassifier/TextClassificationContext; |
115 | ····return-void | 115 | ····return-void |
116 | .end·method | 116 | .end·method |
117 | .method·private·static·arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z | 117 | .method·private·static·arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z |
118 | ····.locals·2 | 118 | ····.locals·2 |
119 | ····.line·47 | 119 | ····.line·479 |
120 | ····invoke-virtual·{p0},·Landroid/app/Person;->getKey()Ljava/lang/String; | 120 | ····invoke-virtual·{p0},·Landroid/app/Person;->getKey()Ljava/lang/String; |
121 | ····move-result-object·v0 | 121 | ····move-result-object·v0 |
122 | ····invoke-virtual·{p1},·Landroid/app/Person;->getKey()Ljava/lang/String; | 122 | ····invoke-virtual·{p1},·Landroid/app/Person;->getKey()Ljava/lang/String; |
123 | ····move-result-object·v1 | 123 | ····move-result-object·v1 |
124 | ····invoke-static·{v0,·v1},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z | 124 | ····invoke-static·{v0,·v1},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z |
125 | ····move-result·v0 | 125 | ····move-result·v0 |
126 | ····if-eqz·v0,·:cond_0 | 126 | ····if-eqz·v0,·:cond_0 |
127 | ····.line·4 | 127 | ····.line·480 |
128 | ····invoke-virtual·{p0},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; | 128 | ····invoke-virtual·{p0},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; |
129 | ····move-result-object·v0 | 129 | ····move-result-object·v0 |
130 | ····invoke-virtual·{p1},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; | 130 | ····invoke-virtual·{p1},·Landroid/app/Person;->getName()Ljava/lang/CharSequence; |
131 | ····move-result-object·v1 | 131 | ····move-result-object·v1 |
132 | ····invoke-static·{v0,·v1},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z | 132 | ····invoke-static·{v0,·v1},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z |
133 | ····move-result·v0 | 133 | ····move-result·v0 |
134 | ····if-eqz·v0,·:cond_0 | 134 | ····if-eqz·v0,·:cond_0 |
135 | ····.line·4 | 135 | ····.line·481 |
136 | ····invoke-virtual·{p0},·Landroid/app/Person;->getUri()Ljava/lang/String; | 136 | ····invoke-virtual·{p0},·Landroid/app/Person;->getUri()Ljava/lang/String; |
137 | ····move-result-object·p0 | 137 | ····move-result-object·p0 |
138 | ····invoke-virtual·{p1},·Landroid/app/Person;->getUri()Ljava/lang/String; | 138 | ····invoke-virtual·{p1},·Landroid/app/Person;->getUri()Ljava/lang/String; |
139 | ····move-result-object·p1 | 139 | ····move-result-object·p1 |
Offset 196, 22 lines modified | Offset 196, 22 lines modified | ||
196 | ····:goto_0 | 196 | ····:goto_0 |
... Open expanded diff (truncated) ... |
Offset 23, 38 lines modified | Offset 23, 38 lines modified | ||
23 | .end·annotation | 23 | .end·annotation |
24 | #·direct·methods | 24 | #·direct·methods |
25 | .method·constructor·<init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V | 25 | .method·constructor·<init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V |
26 | ····.locals·0 | 26 | ····.locals·0 |
27 | ····.line· | 27 | ····.line·91 |
28 | ····invoke-direct·{p0,·p2},·Landroid/util/LruCache;-><init>(I)V | 28 | ····invoke-direct·{p0,·p2},·Landroid/util/LruCache;-><init>(I)V |
29 | ····return-void | 29 | ····return-void |
30 | .end·method | 30 | .end·method |
31 | #·virtual·methods | 31 | #·virtual·methods |
32 | .method·protected·bridge·synthetic·entryRemoved(ZLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V | 32 | .method·protected·bridge·synthetic·entryRemoved(ZLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V |
33 | ····.locals·0 | 33 | ····.locals·0 |
34 | ····.line· | 34 | ····.line·91 |
35 | ····check-cast·p2,·Ljava/lang/String; | 35 | ····check-cast·p2,·Ljava/lang/String; |
36 | ····check-cast·p3,·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession; | 36 | ····check-cast·p3,·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession; |
37 | ····check-cast·p4,·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession; | 37 | ····check-cast·p4,·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession; |
38 | ····invoke-virtual·{p0,·p1,·p2,·p3,·p4},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1;->entryRemoved(ZLjava/lang/String;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;)V | 38 | ····invoke-virtual·{p0,·p1,·p2,·p3,·p4},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1;->entryRemoved(ZLjava/lang/String;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;)V |
39 | ····return-void | 39 | ····return-void |
40 | .end·method | 40 | .end·method |
41 | .method·protected·entryRemoved(ZLjava/lang/String;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;)V | 41 | .method·protected·entryRemoved(ZLjava/lang/String;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;)V |
42 | ····.locals·0 | 42 | ····.locals·0 |
43 | ····.line·9 | 43 | ····.line·98 |
44 | ····invoke-virtual·{p3},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->destroy()V | 44 | ····invoke-virtual·{p3},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->destroy()V |
45 | ····return-void | 45 | ····return-void |
46 | .end·method | 46 | .end·method |
Offset 14, 12 lines modified | Offset 14, 12 lines modified | ||
14 | .end·annotation | 14 | .end·annotation |
15 | #·direct·methods | 15 | #·direct·methods |
16 | .method·public·constructor·<init>()V | 16 | .method·public·constructor·<init>()V |
17 | ····.locals·0 | 17 | ····.locals·0 |
18 | ····.line·2 | 18 | ····.line·241 |
19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
20 | ····return-void | 20 | ····return-void |
21 | .end·method | 21 | .end·method |
Offset 22, 50 lines modified | Offset 22, 50 lines modified | ||
22 | .field·private·final·startIndex:I | 22 | .field·private·final·startIndex:I |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(II[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;)V | 24 | .method·constructor·<init>(II[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.line·4 | 26 | ····.line·408 |
27 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 27 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
28 | ····.line·4 | 28 | ····.line·409 |
29 | ····iput·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->startIndex:I | 29 | ····iput·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->startIndex:I |
30 | ····.line·4 | 30 | ····.line·410 |
31 | ····iput·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->endIndex:I | 31 | ····iput·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->endIndex:I |
32 | ····.line·4 | 32 | ····.line·411 |
33 | ····iput-object·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->classification:[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult; | 33 | ····iput-object·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->classification:[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult; |
34 | ····return-void | 34 | ····return-void |
35 | .end·method | 35 | .end·method |
36 | #·virtual·methods | 36 | #·virtual·methods |
37 | .method·public·getClassification()[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult; | 37 | .method·public·getClassification()[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult; |
38 | ····.locals·0 | 38 | ····.locals·0 |
39 | ····.line· | 39 | ····.line·423 |
40 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->classification:[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult; | 40 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->classification:[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult; |
41 | ····return-object·p0 | 41 | ····return-object·p0 |
42 | .end·method | 42 | .end·method |
43 | .method·public·getEndIndex()I | 43 | .method·public·getEndIndex()I |
44 | ····.locals·0 | 44 | ····.locals·0 |
45 | ····.line· | 45 | ····.line·419 |
46 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->endIndex:I | 46 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->endIndex:I |
47 | ····return·p0 | 47 | ····return·p0 |
48 | .end·method | 48 | .end·method |
49 | .method·public·getStartIndex()I | 49 | .method·public·getStartIndex()I |
50 | ····.locals·0 | 50 | ····.locals·0 |
51 | ····.line· | 51 | ····.line·415 |
52 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->startIndex:I | 52 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->startIndex:I |
53 | ····return·p0 | 53 | ····return·p0 |
54 | .end·method | 54 | .end·method |
Offset 34, 41 lines modified | Offset 34, 41 lines modified | ||
34 | .field·private·final·value:I | 34 | .field·private·final·value:I |
35 | #·direct·methods | 35 | #·direct·methods |
36 | .method·static·constructor·<clinit>()V | 36 | .method·static·constructor·<clinit>()V |
37 | ····.locals·5 | 37 | ····.locals·5 |
38 | ····.line·5 | 38 | ····.line·57 |
39 | ····new-instance·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 39 | ····new-instance·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
40 | ····const-string·v1,·"SMART" | 40 | ····const-string·v1,·"SMART" |
41 | ····const/4·v2,·0x0 | 41 | ····const/4·v2,·0x0 |
42 | ····invoke-direct·{v0,·v1,·v2,·v2},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;-><init>(Ljava/lang/String;II)V | 42 | ····invoke-direct·{v0,·v1,·v2,·v2},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;-><init>(Ljava/lang/String;II)V |
43 | ····sput-object·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->SMART:Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 43 | ····sput-object·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->SMART:Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
44 | ····.line·6 | 44 | ····.line·63 |
45 | ····new-instance·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 45 | ····new-instance·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
46 | ····const-string·v1,·"RAW" | 46 | ····const-string·v1,·"RAW" |
47 | ····const/4·v3,·0x1 | 47 | ····const/4·v3,·0x1 |
48 | ····invoke-direct·{v0,·v1,·v3,·v3},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;-><init>(Ljava/lang/String;II)V | 48 | ····invoke-direct·{v0,·v1,·v3,·v3},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;-><init>(Ljava/lang/String;II)V |
49 | ····sput-object·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->RAW:Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 49 | ····sput-object·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->RAW:Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
50 | ····const/4·v1,·0x2 | 50 | ····const/4·v1,·0x2 |
51 | ····new-array·v1,·v1,·[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 51 | ····new-array·v1,·v1,·[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
52 | ····.line·5 | 52 | ····.line·55 |
53 | ····sget-object·v4,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->SMART:Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 53 | ····sget-object·v4,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->SMART:Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
54 | ····aput-object·v4,·v1,·v2 | 54 | ····aput-object·v4,·v1,·v2 |
55 | ····aput-object·v0,·v1,·v3 | 55 | ····aput-object·v0,·v1,·v3 |
56 | ····sput-object·v1,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->$VALUES:[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 56 | ····sput-object·v1,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->$VALUES:[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
Offset 80, 42 lines modified | Offset 80, 42 lines modified | ||
80 | ····.locals·0 | 80 | ····.locals·0 |
81 | ····.annotation·system·Ldalvik/annotation/Signature; | 81 | ····.annotation·system·Ldalvik/annotation/Signature; |
82 | ········value·=·{ | 82 | ········value·=·{ |
83 | ············"(I)V" | 83 | ············"(I)V" |
84 | ········} | 84 | ········} |
85 | ····.end·annotation | 85 | ····.end·annotation |
86 | ····.line·6 | 86 | ····.line·67 |
87 | ····invoke-direct·{p0,·p1,·p2},·Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V | 87 | ····invoke-direct·{p0,·p1,·p2},·Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V |
88 | ····.line· | 88 | ····.line·68 |
89 | ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->value:I | 89 | ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->value:I |
90 | ····return-void | 90 | ····return-void |
91 | .end·method | 91 | .end·method |
92 | .method·public·static·valueOf(Ljava/lang/String;)Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 92 | .method·public·static·valueOf(Ljava/lang/String;)Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
93 | ····.locals·1 | 93 | ····.locals·1 |
94 | ····.line·5 | 94 | ····.line·55 |
95 | ····const-class·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 95 | ····const-class·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
96 | ····invoke-static·{v0,·p0},·Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; | 96 | ····invoke-static·{v0,·p0},·Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; |
97 | ····move-result-object·p0 | 97 | ····move-result-object·p0 |
98 | ····check-cast·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 98 | ····check-cast·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
99 | ····return-object·p0 | 99 | ····return-object·p0 |
100 | .end·method | 100 | .end·method |
101 | .method·public·static·values()[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 101 | .method·public·static·values()[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
102 | ····.locals·1 | 102 | ····.locals·1 |
103 | ····.line·5 | 103 | ····.line·55 |
104 | ····sget-object·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->$VALUES:[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 104 | ····sget-object·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->$VALUES:[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
105 | ····invoke-virtual·{v0},·[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->clone()Ljava/lang/Object; | 105 | ····invoke-virtual·{v0},·[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->clone()Ljava/lang/Object; |
106 | ····move-result-object·v0 | 106 | ····move-result-object·v0 |
107 | ····check-cast·v0,·[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 107 | ····check-cast·v0,·[Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
Offset 124, 12 lines modified | Offset 124, 12 lines modified | ||
124 | .end·method | 124 | .end·method |
125 | #·virtual·methods | 125 | #·virtual·methods |
126 | .method·public·getValue()I | 126 | .method·public·getValue()I |
127 | ····.locals·0 | 127 | ····.locals·0 |
128 | ····.line·7 | 128 | ····.line·72 |
129 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->value:I | 129 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->value:I |
130 | ····return·p0 | 130 | ····return·p0 |
131 | .end·method | 131 | .end·method |
Offset 28, 86 lines modified | Offset 28, 86 lines modified | ||
28 | .field·private·final·serializedEntityData:[B | 28 | .field·private·final·serializedEntityData:[B |
29 | #·direct·methods | 29 | #·direct·methods |
30 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;F[Lcom/google/android/textclassifier/NamedVariant;[B[Lcom/google/android/textclassifier/RemoteActionTemplate;)V | 30 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;F[Lcom/google/android/textclassifier/NamedVariant;[B[Lcom/google/android/textclassifier/RemoteActionTemplate;)V |
31 | ····.locals·0 | 31 | ····.locals·0 |
32 | ····.line·1 | 32 | ····.line·143 |
33 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 33 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
34 | ····.line·1 | 34 | ····.line·144 |
35 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->responseText:Ljava/lang/String; | 35 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->responseText:Ljava/lang/String; |
36 | ····.line·1 | 36 | ····.line·145 |
37 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->actionType:Ljava/lang/String; | 37 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->actionType:Ljava/lang/String; |
38 | ····.line·1 | 38 | ····.line·146 |
39 | ····iput·p3,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->score:F | 39 | ····iput·p3,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->score:F |
40 | ····.line·1 | 40 | ····.line·147 |
41 | ····iput-object·p4,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->entityData:[Lcom/google/android/textclassifier/NamedVariant; | 41 | ····iput-object·p4,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->entityData:[Lcom/google/android/textclassifier/NamedVariant; |
42 | ····.line·1 | 42 | ····.line·148 |
43 | ····iput-object·p5,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->serializedEntityData:[B | 43 | ····iput-object·p5,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->serializedEntityData:[B |
44 | ····.line·1 | 44 | ····.line·149 |
45 | ····iput-object·p6,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->remoteActionTemplates:[Lcom/google/android/textclassifier/RemoteActionTemplate; | 45 | ····iput-object·p6,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->remoteActionTemplates:[Lcom/google/android/textclassifier/RemoteActionTemplate; |
46 | ····return-void | 46 | ····return-void |
47 | .end·method | 47 | .end·method |
48 | #·virtual·methods | 48 | #·virtual·methods |
49 | .method·public·getActionType()Ljava/lang/String; | 49 | .method·public·getActionType()Ljava/lang/String; |
50 | ····.locals·0 | 50 | ····.locals·0 |
51 | ····.line· | 51 | ····.line·157 |
52 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->actionType:Ljava/lang/String; | 52 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->actionType:Ljava/lang/String; |
53 | ····return-object·p0 | 53 | ····return-object·p0 |
54 | .end·method | 54 | .end·method |
55 | .method·public·getEntityData()[Lcom/google/android/textclassifier/NamedVariant; | 55 | .method·public·getEntityData()[Lcom/google/android/textclassifier/NamedVariant; |
56 | ····.locals·0 | 56 | ····.locals·0 |
57 | ····.line· | 57 | ····.line·166 |
58 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->entityData:[Lcom/google/android/textclassifier/NamedVariant; | 58 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->entityData:[Lcom/google/android/textclassifier/NamedVariant; |
59 | ····return-object·p0 | 59 | ····return-object·p0 |
60 | .end·method | 60 | .end·method |
61 | .method·public·getRemoteActionTemplates()[Lcom/google/android/textclassifier/RemoteActionTemplate; | 61 | .method·public·getRemoteActionTemplates()[Lcom/google/android/textclassifier/RemoteActionTemplate; |
62 | ····.locals·0 | 62 | ····.locals·0 |
63 | ····.line· | 63 | ····.line·174 |
64 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->remoteActionTemplates:[Lcom/google/android/textclassifier/RemoteActionTemplate; | 64 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->remoteActionTemplates:[Lcom/google/android/textclassifier/RemoteActionTemplate; |
65 | ····return-object·p0 | 65 | ····return-object·p0 |
66 | .end·method | 66 | .end·method |
67 | .method·public·getResponseText()Ljava/lang/String; | 67 | .method·public·getResponseText()Ljava/lang/String; |
68 | ····.locals·0 | 68 | ····.locals·0 |
69 | ····.line· | 69 | ····.line·153 |
70 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->responseText:Ljava/lang/String; | 70 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->responseText:Ljava/lang/String; |
71 | ····return-object·p0 | 71 | ····return-object·p0 |
72 | .end·method | 72 | .end·method |
73 | .method·public·getScore()F | 73 | .method·public·getScore()F |
74 | ····.locals·0 | 74 | ····.locals·0 |
75 | ····.line· | 75 | ····.line·162 |
76 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->score:F | 76 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->score:F |
77 | ····return·p0 | 77 | ····return·p0 |
78 | .end·method | 78 | .end·method |
79 | .method·public·getSerializedEntityData()[B | 79 | .method·public·getSerializedEntityData()[B |
80 | ····.locals·0 | 80 | ····.locals·0 |
81 | ····.line· | 81 | ····.line·170 |
82 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->serializedEntityData:[B | 82 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->serializedEntityData:[B |
83 | ····return-object·p0 | 83 | ····return-object·p0 |
84 | .end·method | 84 | .end·method |
Offset 9, 201 lines modified | Offset 9, 182 lines modified | ||
9 | .end·annotation | 9 | .end·annotation |
10 | .annotation·system·Ldalvik/annotation/InnerClass; | 10 | .annotation·system·Ldalvik/annotation/InnerClass; |
11 | ····accessFlags·=·0x19 | 11 | ····accessFlags·=·0x19 |
12 | ····name·=·"ClassificationOptions" | 12 | ····name·=·"ClassificationOptions" |
13 | .end·annotation | 13 | .end·annotation |
14 | .annotation·system·Ldalvik/annotation/MemberClasses; | ||
15 | ····value·=·{ | ||
16 | ········Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions$Builder; | ||
17 | ····} | ||
18 | .end·annotation | ||
19 | #·instance·fields | 14 | #·instance·fields |
20 | .field·private·final·annotationUsecase:I | 15 | .field·private·final·annotationUsecase:I |
21 | .field·private·final·detectedTextLanguageTags:Ljava/lang/String; | 16 | .field·private·final·detectedTextLanguageTags:Ljava/lang/String; |
22 | .field·private·final·locales:Ljava/lang/String; | 17 | .field·private·final·locales:Ljava/lang/String; |
23 | .field·private·final·referenceTimeMsUtc:J | 18 | .field·private·final·referenceTimeMsUtc:J |
24 | .field·private·final·referenceTimezone:Ljava/lang/String; | 19 | .field·private·final·referenceTimezone:Ljava/lang/String; |
25 | .field·private·final·triggerDictionaryOnBeginnerWords:Z | ||
26 | .field·private·final·usePodNer:Z | ||
27 | .field·private·final·userFamiliarLanguageTags:Ljava/lang/String; | 20 | .field·private·final·userFamiliarLanguageTags:Ljava/lang/String; |
28 | .field·private·final·userLocationAccuracyMeters:F | 21 | .field·private·final·userLocationAccuracyMeters:F |
29 | .field·private·final·userLocationLat:D | 22 | .field·private·final·userLocationLat:D |
30 | .field·private·final·userLocationLng:D | 23 | .field·private·final·userLocationLng:D |
31 | #·direct·methods | 24 | #·direct·methods |
25 | .method·public·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V | ||
26 | ····.locals·9 | ||
27 | ····.line·563 | ||
28 | ····sget-object·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->SMART:Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | ||
29 | ····.line·568 | ||
30 | ····invoke-virtual·{v0},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->getValue()I | ||
31 | ····move-result·v7 | ||
32 | ····const-string·v8,·"" | ||
33 | ····move-object·v1,·p0 | ||
34 | ····move-wide·v2,·p1 | ||
35 | ····move-object·v4,·p3 | ||
36 | ····move-object·v5,·p4 | ||
37 | ····move-object·v6,·p5 | ||
38 | ····.line·563 | ||
39 | ····invoke-direct/range·{v1·..·v8},·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;-><init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V | ||
40 | ····return-void | ||
41 | .end·method | ||
32 | .method·p | 42 | .method·public·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V |
33 | ····.locals·0 | 43 | ····.locals·0 |
34 | ····.line· | 44 | ····.line·546 |
35 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 45 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
36 | ····.line· | 46 | ····.line·547 |
37 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->referenceTimeMsUtc:J | 47 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->referenceTimeMsUtc:J |
38 | ····.line· | 48 | ····.line·548 |
39 | ····iput-object·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->referenceTimezone:Ljava/lang/String; | 49 | ····iput-object·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->referenceTimezone:Ljava/lang/String; |
40 | ····.line· | 50 | ····.line·549 |
41 | ····iput-object·p4,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->locales:Ljava/lang/String; | 51 | ····iput-object·p4,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->locales:Ljava/lang/String; |
42 | ····.line· | 52 | ····.line·550 |
43 | ····iput-object·p5,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->detectedTextLanguageTags:Ljava/lang/String; | 53 | ····iput-object·p5,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->detectedTextLanguageTags:Ljava/lang/String; |
44 | ····.line· | 54 | ····.line·551 |
45 | ····iput·p6,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->annotationUsecase:I | 55 | ····iput·p6,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->annotationUsecase:I |
56 | ····const-wide·p1,·0x4066800000000000L····#·180.0 | ||
46 | ····.line·733 | ||
47 | ····iput-wide·p7,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userLocationLat:D | ||
48 | ····.line·734 | ||
49 | ····iput-wide·p9,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userLocationLng:D | ||
50 | ····.line·735 | ||
51 | ····iput·p11,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userLocationAccuracyMeters:F | ||
52 | ····.line· | 57 | ····.line·552 |
53 | ····iput- | 58 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userLocationLat:D |
59 | ····const-wide·p1,·0x4076800000000000L····#·360.0 | ||
54 | ····.line·737 | ||
55 | ····iput-boolean·p13,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->usePodNer:Z | ||
56 | ····.line· | 60 | ····.line·553 |
57 | ····iput- | 61 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userLocationLng:D |
62 | ····const/4·p1,·0x0 | ||
58 | ····return-void | ||
59 | .end·method | ||
60 | .method·synthetic·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IDDFLjava/lang/String;ZZLcom/google/android/textclassifier/AnnotatorModel$1;)V | ||
61 | ····.l | 63 | ····.line·554 |
64 | ····iput·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userLocationAccuracyMeters:F | ||
62 | ····.line· | 65 | ····.line·555 |
63 | ····i | 66 | ····iput-object·p7,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userFamiliarLanguageTags:Ljava/lang/String; |
64 | ····return-void | 67 | ····return-void |
65 | .end·method | 68 | .end·method |
66 | .method·public·static·builder()Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions$Builder; | ||
67 | ····.locals·1 | ||
68 | ····.line·828 | ||
... Open expanded diff ... |
Offset 20, 36 lines modified | Offset 20, 36 lines modified | ||
20 | .field·private·final·referenceTimezone:Ljava/lang/String; | 20 | .field·private·final·referenceTimezone:Ljava/lang/String; |
21 | #·direct·methods | 21 | #·direct·methods |
22 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/Long;)V | 22 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/Long;)V |
23 | ····.locals·0 | 23 | ····.locals·0 |
24 | ····.line· | 24 | ····.line·435 |
25 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 25 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
26 | ····.line· | 26 | ····.line·436 |
27 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->referenceTimeMsUtc:Ljava/lang/Long; | 27 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->referenceTimeMsUtc:Ljava/lang/Long; |
28 | ····.line· | 28 | ····.line·437 |
29 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->referenceTimezone:Ljava/lang/String; | 29 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->referenceTimezone:Ljava/lang/String; |
30 | ····return-void | 30 | ····return-void |
31 | .end·method | 31 | .end·method |
32 | .method·static·synthetic·access$000(Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)Ljava/lang/Long; | 32 | .method·static·synthetic·access$000(Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)Ljava/lang/Long; |
33 | ····.locals·0 | 33 | ····.locals·0 |
34 | ····.line· | 34 | ····.line·431 |
35 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->referenceTimeMsUtc:Ljava/lang/Long; | 35 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->referenceTimeMsUtc:Ljava/lang/Long; |
36 | ····return-object·p0 | 36 | ····return-object·p0 |
37 | .end·method | 37 | .end·method |
38 | .method·static·synthetic·access$100(Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)Ljava/lang/String; | 38 | .method·static·synthetic·access$100(Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)Ljava/lang/String; |
39 | ····.locals·0 | 39 | ····.locals·0 |
40 | ····.line· | 40 | ····.line·431 |
41 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->referenceTimezone:Ljava/lang/String; | 41 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->referenceTimezone:Ljava/lang/String; |
42 | ····return-object·p0 | 42 | ····return-object·p0 |
43 | .end·method | 43 | .end·method |
Offset 36, 38 lines modified | Offset 36, 38 lines modified | ||
36 | .field·private·final·timeMsUtc:J | 36 | .field·private·final·timeMsUtc:J |
37 | #·direct·methods | 37 | #·direct·methods |
38 | .method·public·constructor·<init>(JI)V | 38 | .method·public·constructor·<init>(JI)V |
39 | ····.locals·0 | 39 | ····.locals·0 |
40 | ····.line· | 40 | ····.line·246 |
41 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 41 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
42 | ····.line· | 42 | ····.line·247 |
43 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->timeMsUtc:J | 43 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->timeMsUtc:J |
44 | ····.line· | 44 | ····.line·248 |
45 | ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->granularity:I | 45 | ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->granularity:I |
46 | ····return-void | 46 | ····return-void |
47 | .end·method | 47 | .end·method |
48 | #·virtual·methods | 48 | #·virtual·methods |
49 | .method·public·getGranularity()I | 49 | .method·public·getGranularity()I |
50 | ····.locals·0 | 50 | ····.locals·0 |
51 | ····.line· | 51 | ····.line·256 |
52 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->granularity:I | 52 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->granularity:I |
53 | ····return·p0 | 53 | ····return·p0 |
54 | .end·method | 54 | .end·method |
55 | .method·public·getTimeMsUtc()J | 55 | .method·public·getTimeMsUtc()J |
56 | ····.locals·2 | 56 | ····.locals·2 |
57 | ····.line· | 57 | ····.line·252 |
58 | ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->timeMsUtc:J | 58 | ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->timeMsUtc:J |
59 | ····return-wide·v0 | 59 | ····return-wide·v0 |
60 | .end·method | 60 | .end·method |
Offset 25, 135 lines modified | Offset 25, 62 lines modified | ||
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·static·constructor·<clinit>()V | 26 | .method·static·constructor·<clinit>()V |
27 | ····.locals·1 | 27 | ····.locals·1 |
28 | ····const-string·v0,·"textclassifier" | 28 | ····const-string·v0,·"textclassifier" |
29 | ····.line·3 | 29 | ····.line·31 |
30 | ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V | 30 | ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V |
31 | ····return-void | 31 | ····return-void |
32 | .end·method | 32 | .end·method |
33 | .method·public·constructor·<init>(I)V | 33 | .method·public·constructor·<init>(I)V |
34 | ····.locals·1 | 34 | ····.locals·1 |
35 | ····const/4·v0,·0x0 | 35 | ····const/4·v0,·0x0 |
36 | ····.line· | 36 | ····.line·48 |
37 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(I[B)V | 37 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(I[B)V |
38 | ····return-void | 38 | ····return-void |
39 | .end·method | 39 | .end·method |
40 | .method·public·constructor·<init>(I[B)V | 40 | .method·public·constructor·<init>(I[B)V |
41 | ····.locals·2 | 41 | ····.locals·2 |
42 | ····.line·4 | 42 | ····.line·40 |
43 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 43 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
44 | ····.line· | 44 | ····.line·28 |
45 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; | 45 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; |
46 | ····const/4·v1,·0x0 | 46 | ····const/4·v1,·0x0 |
47 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V | 47 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V |
48 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; | 48 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; |
49 | ····.line·4 | 49 | ····.line·41 |
50 | ····invoke-static·{p1,·p2},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModel(I[B)J | 50 | ····invoke-static·{p1,·p2},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModel(I[B)J |
51 | ····move-result-wide·p1 | 51 | ····move-result-wide·p1 |
52 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | 52 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J |
53 | ····const-wide/16·v0,·0x0 | 53 | ····const-wide/16·v0,·0x0 |
54 | ····cmp-long·p0,·p1,·v0 | 54 | ····cmp-long·p0,·p1,·v0 |
55 | ····if-eqz·p0,·:cond_0 | 55 | ····if-eqz·p0,·:cond_0 |
56 | ····return-void | 56 | ····return-void |
57 | ····.line·4 | 57 | ····.line·43 |
58 | ····:cond_0 | ||
59 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | ||
60 | ····const-string·p1,·"Couldn\'t·initialize·actions·model·from·file·descriptor." | ||
61 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | ||
62 | ····throw·p0 | ||
63 | .end·method | ||
64 | .method·public·constructor·<init>(Landroid/content/res/AssetFileDescriptor;)V | ||
65 | ····.locals·1 | ||
66 | ····const/4·v0,·0x0 | ||
67 | ····.line·86 | ||
68 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(Landroid/content/res/AssetFileDescriptor;[B)V | ||
69 | ····return-void | ||
70 | .end·method | ||
71 | .method·public·constructor·<init>(Landroid/content/res/AssetFileDescriptor;[B)V | ||
72 | ····.locals·7 | ||
73 | ····.line·73 | ||
74 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | ||
75 | ····.line·30 | ||
76 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; | ||
77 | ····const/4·v1,·0x0 | ||
78 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V | ||
79 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; | ||
80 | ····.line·76 | ||
81 | ····invoke-virtual·{p1},·Landroid/content/res/AssetFileDescriptor;->getParcelFileDescriptor()Landroid/os/ParcelFileDescriptor; | ||
82 | ····move-result-object·v0 | ||
83 | ····invoke-virtual·{v0},·Landroid/os/ParcelFileDescriptor;->getFd()I | ||
84 | ····move-result·v1 | ||
85 | ····.line·77 | ||
86 | ····invoke-virtual·{p1},·Landroid/content/res/AssetFileDescriptor;->getStartOffset()J | ||
87 | ····move-result-wide·v2 | ||
88 | ····.line·78 | ||
89 | ····invoke-virtual·{p1},·Landroid/content/res/AssetFileDescriptor;->getLength()J | ||
90 | ····move-result-wide·v4 | ||
91 | ····move-object·v6,·p2 | ||
92 | ····.line·75 | ||
93 | ····invoke-static/range·{v1·..·v6},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModelWithOffset(IJJ[B)J | ||
94 | ····move-result-wide·p1 | ||
95 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J | ||
96 | ····const-wide/16·v0,·0x0 | ||
97 | ····cmp-long·p0,·p1,·v0 | ||
98 | ····if-eqz·p0,·:cond_0 | ||
99 | ····return-void | ||
... Open expanded diff ... |
Offset 9, 24 lines modified | Offset 9, 16 lines modified | ||
9 | .end·annotation | 9 | .end·annotation |
10 | .annotation·system·Ldalvik/annotation/InnerClass; | 10 | .annotation·system·Ldalvik/annotation/InnerClass; |
11 | ····accessFlags·=·0x19 | 11 | ····accessFlags·=·0x19 |
12 | ····name·=·"AnnotationOptions" | 12 | ····name·=·"AnnotationOptions" |
13 | .end·annotation | 13 | .end·annotation |
14 | .annotation·system·Ldalvik/annotation/MemberClasses; | ||
15 | ····value·=·{ | ||
16 | ········Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions$Builder; | ||
17 | ····} | ||
18 | .end·annotation | ||
19 | #·instance·fields | 14 | #·instance·fields |
20 | .field·private·final·annotateMode:I | ||
21 | .field·private·final·annotationUsecase:I | 15 | .field·private·final·annotationUsecase:I |
22 | .field·private·final·detectedTextLanguageTags:Ljava/lang/String; | 16 | .field·private·final·detectedTextLanguageTags:Ljava/lang/String; |
23 | .field·private·final·entityTypes:[Ljava/lang/String; | 17 | .field·private·final·entityTypes:[Ljava/lang/String; |
24 | .field·private·final·hasLocationPermission:Z | 18 | .field·private·final·hasLocationPermission:Z |
Offset 37, 290 lines modified | Offset 29, 315 lines modified | ||
37 | .field·private·final·locales:Ljava/lang/String; | 29 | .field·private·final·locales:Ljava/lang/String; |
38 | .field·private·final·referenceTimeMsUtc:J | 30 | .field·private·final·referenceTimeMsUtc:J |
39 | .field·private·final·referenceTimezone:Ljava/lang/String; | 31 | .field·private·final·referenceTimezone:Ljava/lang/String; |
40 | .field·private·final·triggerDictionaryOnBeginnerWords:Z | ||
41 | .field·private·final·usePodNer:Z | ||
42 | .field·private·final·userLocationAccuracyMeters:F | 32 | .field·private·final·userLocationAccuracyMeters:F |
43 | .field·private·final·userLocationLat:D | 33 | .field·private·final·userLocationLat:D |
44 | .field·private·final·userLocationLng:D | 34 | .field·private·final·userLocationLng:D |
45 | #·direct·methods | 35 | #·direct·methods |
36 | .method·public·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V | ||
37 | ····.locals·10 | ||
38 | ····.line·704 | ||
39 | ····sget-object·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->SMART:Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | ||
40 | ····.line·710 | ||
41 | ····invoke-virtual·{v0},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->getValue()I | ||
42 | ····move-result·v8 | ||
43 | ····const/4·v7,·0x0 | ||
44 | ····const/4·v9,·0x0 | ||
45 | ····move-object·v1,·p0 | ||
46 | ····move-wide·v2,·p1 | ||
47 | ····move-object·v4,·p3 | ||
48 | ····move-object·v5,·p4 | ||
49 | ····move-object·v6,·p5 | ||
50 | ····.line·704 | ||
51 | ····invoke-direct/range·{v1·..·v9},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;-><init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;IZ)V | ||
52 | ····return-void | ||
53 | .end·method | ||
46 | .method·p | 54 | .method·public·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;IZ)V |
47 | ····.locals·4 | 55 | ····.locals·14 |
48 | ····.annotation·system·Ldalvik/annotation/Signature; | 56 | ····.annotation·system·Ldalvik/annotation/Signature; |
49 | ········value·=·{ | 57 | ········value·=·{ |
50 | ············"(J", | 58 | ············"(J", |
51 | ············"Ljava/lang/String;", | 59 | ············"Ljava/lang/String;", |
52 | ············"Ljava/lang/String;", | 60 | ············"Ljava/lang/String;", |
53 | ············"Ljava/lang/String;", | 61 | ············"Ljava/lang/String;", |
54 | ············"Ljava/util/Collection<", | 62 | ············"Ljava/util/Collection<", |
55 | ············"Ljava/lang/String;", | 63 | ············"Ljava/lang/String;", |
56 | ············">;I | 64 | ············">;IZ)V" |
57 | ········} | 65 | ········} |
58 | ····.end·annotation | 66 | ····.end·annotation |
59 | ···· | 67 | ····const-wide·v9,·0x4066800000000000L····#·180.0 |
60 | ···· | 68 | ····const-wide·v11,·0x4076800000000000L····#·360.0 |
69 | ····const/4·v13,·0x0 | ||
61 | ····.line·912 | ||
62 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | ||
70 | ····move-object·v0,·p0 | ||
63 | ····move-wide·v2,·p1 | ||
64 | ····.line·913 | ||
65 | ····iput-wide·v2,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;->referenceTimeMsUtc:J | ||
66 | ····move- | 71 | ····move-wide·v1,·p1 |
72 | ····move-object/from16·v3,·p3 | ||
67 | ····.line·914 | ||
68 | ····iput-object·v2,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;->referenceTimezone:Ljava/lang/String; | ||
69 | ····move-object·v | 73 | ····move-object/from16·v4,·p4 |
74 | ····move-object/from16·v5,·p5 | ||
70 | ····.line·915 | ||
71 | ····iput-object·v2,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;->locales:Ljava/lang/String; | ||
72 | ····move-object·v | 75 | ····move-object/from16·v6,·p6 |
76 | ····move/from16·v7,·p7 | ||
73 | ····.line·916 | ||
74 | ····iput-object·v2,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;->detectedTextLanguageTags:Ljava/lang/String; | ||
75 | ···· | 77 | ····move/from16·v8,·p8 |
76 | ···· | 78 | ····.line·686 |
79 | ····invoke-direct/range·{v0·..·v13},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;-><init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;IZDDF)V | ||
77 | ···· | 80 | ····return-void |
... Open expanded diff ... |
Offset 18, 26 lines modified | Offset 18, 26 lines modified | ||
18 | .field·public·final·conversationMessages:[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage; | 18 | .field·public·final·conversationMessages:[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·public·constructor·<init>([Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;)V | 20 | .method·public·constructor·<init>([Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.line·2 | 22 | ····.line·230 |
23 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 23 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
24 | ····.line·2 | 24 | ····.line·231 |
25 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;->conversationMessages:[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage; | 25 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;->conversationMessages:[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage; |
26 | ····return-void | 26 | ····return-void |
27 | .end·method | 27 | .end·method |
28 | #·virtual·methods | 28 | #·virtual·methods |
29 | .method·public·getConversationMessages()[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage; | 29 | .method·public·getConversationMessages()[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage; |
30 | ····.locals·0 | 30 | ····.locals·0 |
31 | ····.line·2 | 31 | ····.line·235 |
32 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;->conversationMessages:[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage; | 32 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$Conversation;->conversationMessages:[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage; |
33 | ····return-object·p0 | 33 | ····return-object·p0 |
34 | .end·method | 34 | .end·method |
Offset 9, 19 lines modified | Offset 9, 17 lines modified | ||
9 | #·annotations | 9 | #·annotations |
10 | .annotation·system·Ldalvik/annotation/MemberClasses; | 10 | .annotation·system·Ldalvik/annotation/MemberClasses; |
11 | ····value·=·{ | 11 | ····value·=·{ |
12 | ········Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;, | 12 | ········Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;, |
13 | ········Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;, | 13 | ········Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;, |
14 | ········Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;, | 14 | ········Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;, |
15 | ········Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;, | 15 | ········Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;, |
16 | ········Lcom/google/android/textclassifier/AnnotatorModel$Annotations;, | ||
17 | ········Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;, | 16 | ········Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;, |
18 | ········Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;, | 17 | ········Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;, |
19 | ········Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;, | 18 | ········Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;, |
20 | ········Lcom/google/android/textclassifier/AnnotatorModel$AnnotateMode;, | ||
21 | ········Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | 19 | ········Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; |
22 | ····} | 20 | ····} |
23 | .end·annotation | 21 | .end·annotation |
24 | #·static·fields | 22 | #·static·fields |
25 | .field·public·static·final·INVALID_LATITUDE:D·=·180.0 | 23 | .field·public·static·final·INVALID_LATITUDE:D·=·180.0 |
Offset 59, 289 lines modified | Offset 57, 139 lines modified | ||
59 | #·direct·methods | 57 | #·direct·methods |
60 | .method·static·constructor·<clinit>()V | 58 | .method·static·constructor·<clinit>()V |
61 | ····.locals·1 | 59 | ····.locals·1 |
62 | ····const-string·v0,·"textclassifier" | 60 | ····const-string·v0,·"textclassifier" |
63 | ····.line·3 | 61 | ····.line·32 |
64 | ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V | 62 | ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V |
65 | ····return-void | 63 | ····return-void |
66 | .end·method | 64 | .end·method |
67 | .method·public·constructor·<init>(I)V | 65 | .method·public·constructor·<init>(I)V |
68 | ····.locals·2 | 66 | ····.locals·2 |
69 | ····.line· | 67 | ····.line·80 |
70 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 68 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
71 | ····.line· | 69 | ····.line·29 |
72 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; | 70 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; |
73 | ····const/4·v1,·0x0 | 71 | ····const/4·v1,·0x0 |
74 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V | 72 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V |
75 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; | 73 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; |
76 | ····.line· | 74 | ····.line·81 |
77 | ····invoke-static·{p1},·Lcom/google/android/textclassifier/AnnotatorModel;->nativeNewAnnotator(I)J | 75 | ····invoke-static·{p1},·Lcom/google/android/textclassifier/AnnotatorModel;->nativeNewAnnotator(I)J |
78 | ····move-result-wide·v0 | 76 | ····move-result-wide·v0 |
79 | ····iput-wide·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel;->annotatorPtr:J | 77 | ····iput-wide·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel;->annotatorPtr:J |
80 | ····const-wide/16·p0,·0x0 | 78 | ····const-wide/16·p0,·0x0 |
81 | ····cmp-long·p0,·v0,·p0 | 79 | ····cmp-long·p0,·v0,·p0 |
82 | ····if-eqz·p0,·:cond_0 | 80 | ····if-eqz·p0,·:cond_0 |
83 | ····return-void | 81 | ····return-void |
84 | ····.line· | 82 | ····.line·83 |
85 | ····:cond_0 | 83 | ····:cond_0 |
86 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 84 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
87 | ····const-string·p1,·"Couldn\'t·initialize·TC·from·file·descriptor." | 85 | ····const-string·p1,·"Couldn\'t·initialize·TC·from·file·descriptor." |
88 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 86 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
89 | ····throw·p0 | 87 | ····throw·p0 |
90 | .end·method | 88 | .end·method |
91 | .method·public·constructor·<init>(Landroid/content/res/AssetFileDescriptor;)V | ||
92 | ····.locals·5 | ||
93 | ····.line·123 | ||
94 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | ||
95 | ····.line·31 | ||
96 | ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean; | ||
97 | ····const/4·v1,·0x0 | ||
98 | ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V | ||
99 | ····iput-object·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel;->isClosed:Ljava/util/concurrent/atomic/AtomicBoolean; | ||
100 | ····.line·126 | ||
101 | ····invoke-virtual·{p1},·Landroid/content/res/AssetFileDescriptor;->getParcelFileDescriptor()Landroid/os/ParcelFileDescriptor; | ||
102 | ····move-result-object·v0 | ||
103 | ····invoke-virtual·{v0},·Landroid/os/ParcelFileDescriptor;->getFd()I | ||
104 | ····move-result·v0 | ||
105 | ····.line·127 | ||
106 | ····invoke-virtual·{p1},·Landroid/content/res/AssetFileDescriptor;->getStartOffset()J | ||
107 | ····move-result-wide·v1 | ||
108 | ····.line·128 | ||
109 | ····invoke-virtual·{p1},·Landroid/content/res/AssetFileDescriptor;->getLength()J | ||
110 | ····move-result-wide·v3 | ||
111 | ····.line·125 | ||
112 | ····invoke-static·{v0,·v1,·v2,·v3,·v4},·Lcom/google/android/textclassifier/AnnotatorModel;->nativeNewAnnotatorWithOffset(IJJ)J | ||
113 | ····move-result-wide·v0 | ||
114 | ····iput-wide·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel;->annotatorPtr:J | ||
115 | ····const-wide/16·p0,·0x0 | ||
116 | ····cmp-long·p0,·v0,·p0 | ||
117 | ····if-eqz·p0,·:cond_0 | ||
118 | ····return-void | ||
119 | ····.line·130 | ||
120 | ····:cond_0 | ||
121 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | ||
... Open expanded diff ... |
Offset 56, 280 lines modified | Offset 56, 280 lines modified | ||
56 | #·direct·methods | 56 | #·direct·methods |
57 | .method·public·constructor·<init>(Ljava/lang/String;FLcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;[BLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Lcom/google/android/textclassifier/NamedVariant;[B[Lcom/google/android/textclassifier/RemoteActionTemplate;JJD)V | 57 | .method·public·constructor·<init>(Ljava/lang/String;FLcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;[BLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Lcom/google/android/textclassifier/NamedVariant;[B[Lcom/google/android/textclassifier/RemoteActionTemplate;JJD)V |
58 | ····.locals·3 | 58 | ····.locals·3 |
59 | ····move-object·v0,·p0 | 59 | ····move-object·v0,·p0 |
60 | ····.line·3 | 60 | ····.line·301 |
61 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 61 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
62 | ····move-object·v1,·p1 | 62 | ····move-object·v1,·p1 |
63 | ····.line·3 | 63 | ····.line·302 |
64 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->collection:Ljava/lang/String; | 64 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->collection:Ljava/lang/String; |
65 | ····move·v1,·p2 | 65 | ····move·v1,·p2 |
66 | ····.line·3 | 66 | ····.line·303 |
67 | ····iput·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->score:F | 67 | ····iput·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->score:F |
68 | ····move-object·v1,·p3 | 68 | ····move-object·v1,·p3 |
69 | ····.line·3 | 69 | ····.line·304 |
70 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->datetimeResult:Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult; | 70 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->datetimeResult:Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult; |
71 | ····move-object·v1,·p4 | 71 | ····move-object·v1,·p4 |
72 | ····.line·3 | 72 | ····.line·305 |
73 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->serializedKnowledgeResult:[B | 73 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->serializedKnowledgeResult:[B |
74 | ····move-object·v1,·p5 | 74 | ····move-object·v1,·p5 |
75 | ····.line·3 | 75 | ····.line·306 |
76 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactName:Ljava/lang/String; | 76 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactName:Ljava/lang/String; |
77 | ····move-object·v1,·p6 | 77 | ····move-object·v1,·p6 |
78 | ····.line·3 | 78 | ····.line·307 |
79 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactGivenName:Ljava/lang/String; | 79 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactGivenName:Ljava/lang/String; |
80 | ····move-object·v1,·p7 | 80 | ····move-object·v1,·p7 |
81 | ····.line·3 | 81 | ····.line·308 |
82 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactFamilyName:Ljava/lang/String; | 82 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactFamilyName:Ljava/lang/String; |
83 | ····move-object·v1,·p8 | 83 | ····move-object·v1,·p8 |
84 | ····.line·3 | 84 | ····.line·309 |
85 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactNickname:Ljava/lang/String; | 85 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactNickname:Ljava/lang/String; |
86 | ····move-object·v1,·p9 | 86 | ····move-object·v1,·p9 |
87 | ····.line·3 | 87 | ····.line·310 |
88 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactEmailAddress:Ljava/lang/String; | 88 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactEmailAddress:Ljava/lang/String; |
89 | ····move-object·v1,·p10 | 89 | ····move-object·v1,·p10 |
90 | ····.line·3 | 90 | ····.line·311 |
91 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactPhoneNumber:Ljava/lang/String; | 91 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactPhoneNumber:Ljava/lang/String; |
92 | ····move-object·v1,·p11 | 92 | ····move-object·v1,·p11 |
93 | ····.line·3 | 93 | ····.line·312 |
94 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactId:Ljava/lang/String; | 94 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->contactId:Ljava/lang/String; |
95 | ····move-object·v1,·p12 | 95 | ····move-object·v1,·p12 |
96 | ····.line·3 | 96 | ····.line·313 |
97 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->appName:Ljava/lang/String; | 97 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->appName:Ljava/lang/String; |
98 | ····move-object/from16·v1,·p13 | 98 | ····move-object/from16·v1,·p13 |
99 | ····.line·3 | 99 | ····.line·314 |
100 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->appPackageName:Ljava/lang/String; | 100 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->appPackageName:Ljava/lang/String; |
101 | ····move-object/from16·v1,·p14 | 101 | ····move-object/from16·v1,·p14 |
102 | ····.line·3 | 102 | ····.line·315 |
103 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->entityData:[Lcom/google/android/textclassifier/NamedVariant; | 103 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->entityData:[Lcom/google/android/textclassifier/NamedVariant; |
104 | ····move-object/from16·v1,·p15 | 104 | ····move-object/from16·v1,·p15 |
105 | ····.line·3 | 105 | ····.line·316 |
106 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->serializedEntityData:[B | 106 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->serializedEntityData:[B |
107 | ····move-object/from16·v1,·p16 | 107 | ····move-object/from16·v1,·p16 |
108 | ····.line·3 | 108 | ····.line·317 |
109 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->remoteActionTemplates:[Lcom/google/android/textclassifier/RemoteActionTemplate; | 109 | ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->remoteActionTemplates:[Lcom/google/android/textclassifier/RemoteActionTemplate; |
110 | ····move-wide/from16·v1,·p17 | 110 | ····move-wide/from16·v1,·p17 |
111 | ····.line·3 | 111 | ····.line·318 |
112 | ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->durationMs:J | 112 | ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->durationMs:J |
113 | ····move-wide/from16·v1,·p19 | 113 | ····move-wide/from16·v1,·p19 |
114 | ····.line·3 | 114 | ····.line·319 |
115 | ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->numericValue:J | 115 | ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->numericValue:J |
116 | ····move-wide/from16·v1,·p21 | 116 | ····move-wide/from16·v1,·p21 |
117 | ····.line·3 | 117 | ····.line·320 |
118 | ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->numericDoubleValue:D | 118 | ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->numericDoubleValue:D |
119 | ····return-void | 119 | ····return-void |
120 | .end·method | 120 | .end·method |
121 | #·virtual·methods | 121 | #·virtual·methods |
122 | .method·public·getAppName()Ljava/lang/String; | 122 | .method·public·getAppName()Ljava/lang/String; |
123 | ····.locals·0 | 123 | ····.locals·0 |
124 | ····.line· | 124 | ····.line·370 |
125 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->appName:Ljava/lang/String; | 125 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->appName:Ljava/lang/String; |
126 | ····return-object·p0 | 126 | ····return-object·p0 |
127 | .end·method | 127 | .end·method |
128 | .method·public·getAppPackageName()Ljava/lang/String; | 128 | .method·public·getAppPackageName()Ljava/lang/String; |
129 | ····.locals·0 | 129 | ····.locals·0 |
130 | ····.line· | 130 | ····.line·374 |
131 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->appPackageName:Ljava/lang/String; | 131 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->appPackageName:Ljava/lang/String; |
132 | ····return-object·p0 | 132 | ····return-object·p0 |
133 | .end·method | 133 | .end·method |
... Open expanded diff ... |
Offset 26, 49 lines modified | Offset 26, 49 lines modified | ||
26 | .field·private·final·text:Ljava/lang/String; | 26 | .field·private·final·text:Ljava/lang/String; |
27 | #·direct·methods | 27 | #·direct·methods |
28 | .method·public·constructor·<init>(Ljava/lang/String;)V | 28 | .method·public·constructor·<init>(Ljava/lang/String;)V |
29 | ····.locals·0 | 29 | ····.locals·0 |
30 | ····.line· | 30 | ····.line·441 |
31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
32 | ····.line· | 32 | ····.line·442 |
33 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->text:Ljava/lang/String; | 33 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->text:Ljava/lang/String; |
34 | ····const/4·p1,·0x0 | 34 | ····const/4·p1,·0x0 |
35 | ····.line· | 35 | ····.line·443 |
36 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; | 36 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; |
37 | ····return-void | 37 | ····return-void |
38 | .end·method | 38 | .end·method |
39 | .method·public·constructor·<init>(Ljava/lang/String;Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)V | 39 | .method·public·constructor·<init>(Ljava/lang/String;Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)V |
40 | ····.locals·0 | 40 | ····.locals·0 |
41 | ····.line· | 41 | ····.line·446 |
42 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 42 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
43 | ····.line· | 43 | ····.line·447 |
44 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->text:Ljava/lang/String; | 44 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->text:Ljava/lang/String; |
45 | ····.line· | 45 | ····.line·448 |
46 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; | 46 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; |
47 | ····return-void | 47 | ····return-void |
48 | .end·method | 48 | .end·method |
49 | #·virtual·methods | 49 | #·virtual·methods |
50 | .method·public·getReferenceTimeMsUtc()J | 50 | .method·public·getReferenceTimeMsUtc()J |
51 | ····.locals·2 | 51 | ····.locals·2 |
52 | ····.line· | 52 | ····.line·465 |
53 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; | 53 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; |
54 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->access$000(Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)Ljava/lang/Long; | 54 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->access$000(Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)Ljava/lang/Long; |
55 | ····move-result-object·p0 | 55 | ····move-result-object·p0 |
56 | ····invoke-virtual·{p0},·Ljava/lang/Long;->longValue()J | 56 | ····invoke-virtual·{p0},·Ljava/lang/Long;->longValue()J |
Offset 77, 37 lines modified | Offset 77, 37 lines modified | ||
77 | ····return-wide·v0 | 77 | ····return-wide·v0 |
78 | .end·method | 78 | .end·method |
79 | .method·public·getReferenceTimezone()Ljava/lang/String; | 79 | .method·public·getReferenceTimezone()Ljava/lang/String; |
80 | ····.locals·0 | 80 | ····.locals·0 |
81 | ····.line· | 81 | ····.line·469 |
82 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; | 82 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; |
83 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->access$100(Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)Ljava/lang/String; | 83 | ····invoke-static·{p0},·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;->access$100(Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)Ljava/lang/String; |
84 | ····move-result-object·p0 | 84 | ····move-result-object·p0 |
85 | ····return-object·p0 | 85 | ····return-object·p0 |
86 | .end·method | 86 | .end·method |
87 | .method·public·getText()Ljava/lang/String; | 87 | .method·public·getText()Ljava/lang/String; |
88 | ····.locals·0 | 88 | ····.locals·0 |
89 | ····.line· | 89 | ····.line·457 |
90 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->text:Ljava/lang/String; | 90 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->text:Ljava/lang/String; |
91 | ····return-object·p0 | 91 | ····return-object·p0 |
92 | .end·method | 92 | .end·method |
93 | .method·public·hasDatetimeOptions()Z | 93 | .method·public·hasDatetimeOptions()Z |
94 | ····.locals·0 | 94 | ····.locals·0 |
95 | ····.line· | 95 | ····.line·461 |
96 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; | 96 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$InputFragment;->datetimeOptionsNullable:Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions; |
97 | ····if-eqz·p0,·:cond_0 | 97 | ····if-eqz·p0,·:cond_0 |
98 | ····const/4·p0,·0x1 | 98 | ····const/4·p0,·0x1 |
99 | ····goto·:goto_0 | 99 | ····goto·:goto_0 |
Offset 26, 74 lines modified | Offset 26, 74 lines modified | ||
26 | .field·private·final·userId:I | 26 | .field·private·final·userId:I |
27 | #·direct·methods | 27 | #·direct·methods |
28 | .method·public·constructor·<init>(ILjava/lang/String;JLjava/lang/String;Ljava/lang/String;)V | 28 | .method·public·constructor·<init>(ILjava/lang/String;JLjava/lang/String;Ljava/lang/String;)V |
29 | ····.locals·0 | 29 | ····.locals·0 |
30 | ····.line· | 30 | ····.line·191 |
31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
32 | ····.line· | 32 | ····.line·192 |
33 | ····iput·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->userId:I | 33 | ····iput·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->userId:I |
34 | ····.line· | 34 | ····.line·193 |
35 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->text:Ljava/lang/String; | 35 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->text:Ljava/lang/String; |
36 | ····.line· | 36 | ····.line·194 |
37 | ····iput-wide·p3,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimeMsUtc:J | 37 | ····iput-wide·p3,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimeMsUtc:J |
38 | ····.line· | 38 | ····.line·195 |
39 | ····iput-object·p5,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimezone:Ljava/lang/String; | 39 | ····iput-object·p5,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimezone:Ljava/lang/String; |
40 | ····.line· | 40 | ····.line·196 |
41 | ····iput-object·p6,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->detectedTextLanguageTags:Ljava/lang/String; | 41 | ····iput-object·p6,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->detectedTextLanguageTags:Ljava/lang/String; |
42 | ····return-void | 42 | ····return-void |
43 | .end·method | 43 | .end·method |
44 | #·virtual·methods | 44 | #·virtual·methods |
45 | .method·public·getDetectedTextLanguageTags()Ljava/lang/String; | 45 | .method·public·getDetectedTextLanguageTags()Ljava/lang/String; |
46 | ····.locals·0 | 46 | ····.locals·0 |
47 | ····.line·2 | 47 | ····.line·222 |
48 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->detectedTextLanguageTags:Ljava/lang/String; | 48 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->detectedTextLanguageTags:Ljava/lang/String; |
49 | ····return-object·p0 | 49 | ····return-object·p0 |
50 | .end·method | 50 | .end·method |
51 | .method·public·getReferenceTimeMsUtc()J | 51 | .method·public·getReferenceTimeMsUtc()J |
52 | ····.locals·2 | 52 | ····.locals·2 |
53 | ····.line·2 | 53 | ····.line·213 |
54 | ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimeMsUtc:J | 54 | ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimeMsUtc:J |
55 | ····return-wide·v0 | 55 | ····return-wide·v0 |
56 | .end·method | 56 | .end·method |
57 | .method·public·getReferenceTimezone()Ljava/lang/String; | 57 | .method·public·getReferenceTimezone()Ljava/lang/String; |
58 | ····.locals·0 | 58 | ····.locals·0 |
59 | ····.line·2 | 59 | ····.line·217 |
60 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimezone:Ljava/lang/String; | 60 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimezone:Ljava/lang/String; |
61 | ····return-object·p0 | 61 | ····return-object·p0 |
62 | .end·method | 62 | .end·method |
63 | .method·public·getText()Ljava/lang/String; | 63 | .method·public·getText()Ljava/lang/String; |
64 | ····.locals·0 | 64 | ····.locals·0 |
65 | ····.line·2 | 65 | ····.line·205 |
66 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->text:Ljava/lang/String; | 66 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->text:Ljava/lang/String; |
67 | ····return-object·p0 | 67 | ····return-object·p0 |
68 | .end·method | 68 | .end·method |
69 | .method·public·getUserId()I | 69 | .method·public·getUserId()I |
70 | ····.locals·0 | 70 | ····.locals·0 |
71 | ····.line·2 | 71 | ····.line·201 |
72 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->userId:I | 72 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->userId:I |
73 | ····return·p0 | 73 | ····return·p0 |
74 | .end·method | 74 | .end·method |
Offset 9, 145 lines modified | Offset 9, 126 lines modified | ||
9 | .end·annotation | 9 | .end·annotation |
10 | .annotation·system·Ldalvik/annotation/InnerClass; | 10 | .annotation·system·Ldalvik/annotation/InnerClass; |
11 | ····accessFlags·=·0x19 | 11 | ····accessFlags·=·0x19 |
12 | ····name·=·"SelectionOptions" | 12 | ····name·=·"SelectionOptions" |
13 | .end·annotation | 13 | .end·annotation |
14 | .annotation·system·Ldalvik/annotation/MemberClasses; | ||
15 | ····value·=·{ | ||
16 | ········Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions$Builder; | ||
17 | ····} | ||
18 | .end·annotation | ||
19 | #·instance·fields | 14 | #·instance·fields |
20 | .field·private·final·annotationUsecase:I | 15 | .field·private·final·annotationUsecase:I |
21 | .field·private·final·detectedTextLanguageTags:Ljava/lang/String; | 16 | .field·private·final·detectedTextLanguageTags:Ljava/lang/String; |
22 | .field·private·final·locales:Ljava/lang/String; | 17 | .field·private·final·locales:Ljava/lang/String; |
23 | .field·private·final·usePodNer:Z | ||
24 | .field·private·final·userLocationAccuracyMeters:F | 18 | .field·private·final·userLocationAccuracyMeters:F |
25 | .field·private·final·userLocationLat:D | 19 | .field·private·final·userLocationLat:D |
26 | .field·private·final·userLocationLng:D | 20 | .field·private·final·userLocationLng:D |
27 | #·direct·methods | 21 | #·direct·methods |
22 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V | ||
23 | ····.locals·1 | ||
24 | ····.line·496 | ||
25 | ····sget-object·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->SMART:Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase; | ||
26 | ····invoke-virtual·{v0},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->getValue()I | ||
27 | ····move-result·v0 | ||
28 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;-><init>(Ljava/lang/String;Ljava/lang/String;I)V | ||
29 | ····return-void | ||
30 | .end·method | ||
28 | .method·p | 31 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;I)V |
29 | ····.locals·0 | 32 | ····.locals·0 |
30 | ····.line· | 33 | ····.line·486 |
31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 34 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
32 | ····.line· | 35 | ····.line·487 |
33 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->locales:Ljava/lang/String; | 36 | ····iput-object·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->locales:Ljava/lang/String; |
34 | ····.line· | 37 | ····.line·488 |
35 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->detectedTextLanguageTags:Ljava/lang/String; | 38 | ····iput-object·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->detectedTextLanguageTags:Ljava/lang/String; |
36 | ····.line· | 39 | ····.line·489 |
37 | ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->annotationUsecase:I | 40 | ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->annotationUsecase:I |
41 | ····const-wide·p1,·0x4066800000000000L····#·180.0 | ||
38 | ····.line·603 | ||
39 | ····iput-wide·p4,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationLat:D | ||
40 | ····.line·604 | ||
41 | ····iput-wide·p6,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationLng:D | ||
42 | ····.line· | 42 | ····.line·490 |
43 | ····iput·p | 43 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationLat:D |
44 | ····const-wide·p1,·0x4076800000000000L····#·360.0 | ||
44 | ····.line·606 | ||
45 | ····iput-boolean·p9,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->usePodNer:Z | ||
46 | ····return-void | ||
47 | 45 | ····.line·491 | |
46 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationLng:D | ||
47 | ····const/4·p1,·0x0 | ||
48 | .method·synthetic·constructor·<init>(Ljava/lang/String;Ljava/lang/String;IDDFZLcom/google/android/textclassifier/AnnotatorModel$1;)V | ||
49 | ····.locals·0 | ||
50 | ····.line· | 48 | ····.line·492 |
51 | ····i | 49 | ····iput·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationAccuracyMeters:F |
52 | ····return-void | 50 | ····return-void |
53 | .end·method | 51 | .end·method |
54 | .method·public·static·builder()Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions$Builder; | ||
55 | ····.locals·1 | ||
56 | ····.line·667 | ||
57 | ····new-instance·v0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions$Builder; | ||
58 | ····invoke-direct·{v0},·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions$Builder;-><init>()V | ||
59 | ····return-object·v0 | ||
60 | .end·method | ||
61 | #·virtual·methods | 52 | #·virtual·methods |
62 | .method·public·getAnnotationUsecase()I | 53 | .method·public·getAnnotationUsecase()I |
63 | ····.locals·0 | 54 | ····.locals·0 |
64 | ····.line· | 55 | ····.line·509 |
65 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->annotationUsecase:I | 56 | ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->annotationUsecase:I |
66 | ····return·p0 | 57 | ····return·p0 |
67 | .end·method | 58 | .end·method |
68 | .method·public·getDetectedTextLanguageTags()Ljava/lang/String; | 59 | .method·public·getDetectedTextLanguageTags()Ljava/lang/String; |
69 | ····.locals·0 | 60 | ····.locals·0 |
70 | ····.line· | 61 | ····.line·505 |
71 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->detectedTextLanguageTags:Ljava/lang/String; | 62 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->detectedTextLanguageTags:Ljava/lang/String; |
72 | ····return-object·p0 | 63 | ····return-object·p0 |
73 | .end·method | 64 | .end·method |
74 | .method·public·getLocales()Ljava/lang/String; | 65 | .method·public·getLocales()Ljava/lang/String; |
75 | ····.locals·0 | 66 | ····.locals·0 |
76 | ····.line· | 67 | ····.line·500 |
77 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->locales:Ljava/lang/String; | 68 | ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->locales:Ljava/lang/String; |
78 | ····return-object·p0 | 69 | ····return-object·p0 |
... Open expanded diff ... |
Offset 310, 50 lines modified | Offset 310, 14 lines modified | ||
310 | ····invoke-static·{v0},·Lcom/google/common/collect/ImmutableList;->construct([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 310 | ····invoke-static·{v0},·Lcom/google/common/collect/ImmutableList;->construct([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
311 | ····move-result-object·p0 | 311 | ····move-result-object·p0 |
312 | ····return-object·p0 | 312 | ····return-object·p0 |
313 | .end·method | 313 | .end·method |
314 | .method·public·static·of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | ||
315 | ····.locals·2 | ||
316 | ····.annotation·system·Ldalvik/annotation/Signature; | ||
317 | ········value·=·{ | ||
318 | ············"<E:", | ||
319 | ············"Ljava/lang/Object;", | ||
320 | ············">(TE;TE;TE;)", | ||
321 | ············"Lcom/google/common/collect/ImmutableList<", | ||
322 | ············"TE;>;" | ||
323 | ········} | ||
324 | ····.end·annotation | ||
325 | ····const/4·v0,·0x3 | ||
326 | ····new-array·v0,·v0,·[Ljava/lang/Object; | ||
327 | ····const/4·v1,·0x0 | ||
328 | ····aput-object·p0,·v0,·v1 | ||
329 | ····const/4·p0,·0x1 | ||
330 | ····aput-object·p1,·v0,·p0 | ||
331 | ····const/4·p0,·0x2 | ||
332 | ····aput-object·p2,·v0,·p0 | ||
333 | ····.line·96 | ||
334 | ····invoke-static·{v0},·Lcom/google/common/collect/ImmutableList;->construct([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | ||
335 | ····move-result-object·p0 | ||
336 | ····return-object·p0 | ||
337 | .end·method | ||
338 | .method·public·static·of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; | 314 | .method·public·static·of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; |
339 | ····.locals·2 | 315 | ····.locals·2 |
340 | ····.annotation·system·Ldalvik/annotation/Signature; | 316 | ····.annotation·system·Ldalvik/annotation/Signature; |
341 | ········value·=·{ | 317 | ········value·=·{ |
342 | ············"<E:", | 318 | ············"<E:", |
343 | ············"Ljava/lang/Object;", | 319 | ············"Ljava/lang/Object;", |
344 | ············">(TE;TE;TE;TE;TE;TE;TE;)", | 320 | ············">(TE;TE;TE;TE;TE;TE;TE;)", |
Offset 72, 36 lines modified | Offset 72, 14 lines modified | ||
72 | ····.line·439 | 72 | ····.line·439 |
73 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 73 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
74 | ····return-void | 74 | ····return-void |
75 | .end·method | 75 | .end·method |
76 | .method·public·static·builder()Lcom/google/common/collect/ImmutableMap$Builder; | ||
77 | ····.locals·1 | ||
78 | ····.annotation·system·Ldalvik/annotation/Signature; | ||
79 | ········value·=·{ | ||
80 | ············"<K:", | ||
81 | ············"Ljava/lang/Object;", | ||
82 | ············"V:", | ||
83 | ············"Ljava/lang/Object;", | ||
84 | ············">()", | ||
85 | ············"Lcom/google/common/collect/ImmutableMap$Builder<", | ||
86 | ············"TK;TV;>;" | ||
87 | ········} | ||
88 | ····.end·annotation | ||
89 | ····.line·148 | ||
90 | ····new-instance·v0,·Lcom/google/common/collect/ImmutableMap$Builder; | ||
91 | ····invoke-direct·{v0},·Lcom/google/common/collect/ImmutableMap$Builder;-><init>()V | ||
92 | ····return-object·v0 | ||
93 | .end·method | ||
94 | .method·public·static·copyOf(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableMap; | 76 | .method·public·static·copyOf(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableMap; |
95 | ····.locals·2 | 77 | ····.locals·2 |
96 | ····.annotation·system·Ldalvik/annotation/Signature; | 78 | ····.annotation·system·Ldalvik/annotation/Signature; |
97 | ········value·=·{ | 79 | ········value·=·{ |
98 | ············"<K:", | 80 | ············"<K:", |
99 | ············"Ljava/lang/Object;", | 81 | ············"Ljava/lang/Object;", |
100 | ············"V:", | 82 | ············"V:", |
Offset 93, 28 lines modified | Offset 93, 14 lines modified | ||
93 | ····invoke-static·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi;->getAttributionIntent(Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;)Landroid/app/PendingIntent; | 93 | ····invoke-static·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi;->getAttributionIntent(Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;)Landroid/app/PendingIntent; |
94 | ····move-result-object·p0 | 94 | ····move-result-object·p0 |
95 | ····return-object·p0 | 95 | ····return-object·p0 |
96 | .end·method | 96 | .end·method |
97 | .method·public·static·getSupportedInlineUiVersionsAsBundle()Landroid/os/Bundle; | ||
98 | ····.locals·1 | ||
99 | ····.line·46 | ||
100 | ····new-instance·v0,·Landroid/os/Bundle; | ||
101 | ····invoke-direct·{v0},·Landroid/os/Bundle;-><init>()V | ||
102 | ····.line·47 | ||
103 | ····invoke-static·{v0},·Landroidx/autofill/inline/VersionUtils;->writeSupportedVersions(Landroid/os/Bundle;)V | ||
104 | ····return-object·v0 | ||
105 | .end·method | ||
106 | .method·public·static·render(Landroid/content/Context;Landroid/app/slice/Slice;Landroid/os/Bundle;)Landroid/view/View; | 97 | .method·public·static·render(Landroid/content/Context;Landroid/app/slice/Slice;Landroid/os/Bundle;)Landroid/view/View; |
107 | ····.locals·6 | 98 | ····.locals·6 |
108 | ····.line·62 | 99 | ····.line·62 |
109 | ····invoke-static·{p1},·Landroidx/autofill/inline/common/SlicedContent;->getVersion(Landroid/app/slice/Slice;)Ljava/lang/String; | 100 | ····invoke-static·{p1},·Landroidx/autofill/inline/common/SlicedContent;->getVersion(Landroid/app/slice/Slice;)Ljava/lang/String; |
110 | ····move-result-object·v0 | 101 | ····move-result-object·v0 |
Offset 25, 28 lines modified | Offset 25, 7 lines modified | ||
25 | ····.line·113 | 25 | ····.line·113 |
26 | ····invoke-virtual·{p0,·p1},·Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle; | 26 | ····invoke-virtual·{p0,·p1},·Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle; |
27 | ····move-result-object·p0 | 27 | ····move-result-object·p0 |
28 | ····return-object·p0 | 28 | ····return-object·p0 |
29 | .end·method | 29 | .end·method |
30 | .method·public·static·writeSupportedVersions(Landroid/os/Bundle;)V | ||
31 | ····.locals·2 | ||
32 | ····.line·84 | ||
33 | ····new-instance·v0,·Ljava/util/ArrayList; | ||
34 | ····.line·85 | ||
35 | ····invoke-static·{},·Landroidx/autofill/inline/UiVersions;->getUiVersions()Ljava/util/Set; | ||
36 | ····move-result-object·v1 | ||
37 | ····invoke-direct·{v0,·v1},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V | ||
38 | ····const-string·v1,·"androidx.autofill.inline.ui.version:key" | ||
39 | ····.line·84 | ||
40 | ····invoke-virtual·{p0,·v1,·v0},·Landroid/os/Bundle;->putStringArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V | ||
41 | ····return-void | ||
42 | .end·method |
Offset 28, 18 lines modified | Offset 28, 18 lines modified | ||
28 | .field·private·mTitle:Ljava/lang/CharSequence; | 28 | .field·private·mTitle:Ljava/lang/CharSequence; |
29 | #·direct·methods | 29 | #·direct·methods |
30 | .method·constructor·<init>(Landroid/app/slice/Slice;)V | 30 | .method·constructor·<init>(Landroid/app/slice/Slice;)V |
31 | ····.locals·9 | 31 | ····.locals·9 |
32 | ····.line· | 32 | ····.line·548 |
33 | ····invoke-direct·{p0,·p1},·Landroidx/autofill/inline/common/SlicedContent;-><init>(Landroid/app/slice/Slice;)V | 33 | ····invoke-direct·{p0,·p1},·Landroidx/autofill/inline/common/SlicedContent;-><init>(Landroid/app/slice/Slice;)V |
34 | ····.line· | 34 | ····.line·549 |
35 | ····invoke-virtual·{p1},·Landroid/app/slice/Slice;->getItems()Ljava/util/List; | 35 | ····invoke-virtual·{p1},·Landroid/app/slice/Slice;->getItems()Ljava/util/List; |
36 | ····move-result-object·p1 | 36 | ····move-result-object·p1 |
37 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 37 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
38 | ····move-result-object·p1 | 38 | ····move-result-object·p1 |
Offset 53, 27 lines modified | Offset 53, 27 lines modified | ||
53 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 53 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
54 | ····move-result-object·v0 | 54 | ····move-result-object·v0 |
55 | ····check-cast·v0,·Landroid/app/slice/SliceItem; | 55 | ····check-cast·v0,·Landroid/app/slice/SliceItem; |
56 | ····.line· | 56 | ····.line·550 |
57 | ····invoke-static·{v0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->itemType(Landroid/app/slice/SliceItem;)Ljava/lang/String; | 57 | ····invoke-static·{v0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->itemType(Landroid/app/slice/SliceItem;)Ljava/lang/String; |
58 | ····move-result-object·v1 | 58 | ····move-result-object·v1 |
59 | ····if-nez·v1,·:cond_0 | 59 | ····if-nez·v1,·:cond_0 |
60 | ····goto·:goto_0 | 60 | ····goto·:goto_0 |
61 | ····:cond_0 | 61 | ····:cond_0 |
62 | ····const/4·v2,·-0x1 | 62 | ····const/4·v2,·-0x1 |
63 | ····.line· | 63 | ····.line·554 |
64 | ····invoke-virtual·{v1},·Ljava/lang/String;->hashCode()I | 64 | ····invoke-virtual·{v1},·Ljava/lang/String;->hashCode()I |
65 | ····move-result·v3 | 65 | ····move-result·v3 |
66 | ····const/4·v4,·0x5 | 66 | ····const/4·v4,·0x5 |
67 | ····const/4·v5,·0x4 | 67 | ····const/4·v5,·0x4 |
Offset 176, 69 lines modified | Offset 176, 69 lines modified | ||
176 | ····if-eq·v2,·v5,·:cond_3 | 176 | ····if-eq·v2,·v5,·:cond_3 |
177 | ····if-eq·v2,·v4,·:cond_2 | 177 | ····if-eq·v2,·v4,·:cond_2 |
178 | ····goto·:goto_0 | 178 | ····goto·:goto_0 |
179 | ····.line· | 179 | ····.line·571 |
180 | ····:cond_2 | 180 | ····:cond_2 |
181 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getText()Ljava/lang/CharSequence; | 181 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getText()Ljava/lang/CharSequence; |
182 | ····move-result-object·v0 | 182 | ····move-result-object·v0 |
183 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mContentDescription:Ljava/lang/CharSequence; | 183 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mContentDescription:Ljava/lang/CharSequence; |
184 | ····goto·:goto_0 | 184 | ····goto·:goto_0 |
185 | ····.line· | 185 | ····.line·568 |
186 | ····:cond_3 | 186 | ····:cond_3 |
187 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getAction()Landroid/app/PendingIntent; | 187 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getAction()Landroid/app/PendingIntent; |
188 | ····move-result-object·v0 | 188 | ····move-result-object·v0 |
189 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mAttributionIntent:Landroid/app/PendingIntent; | 189 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mAttributionIntent:Landroid/app/PendingIntent; |
190 | ····goto·:goto_0 | 190 | ····goto·:goto_0 |
191 | ····.line· | 191 | ····.line·565 |
192 | ····:cond_4 | 192 | ····:cond_4 |
193 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getIcon()Landroid/graphics/drawable/Icon; | 193 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getIcon()Landroid/graphics/drawable/Icon; |
194 | ····move-result-object·v0 | 194 | ····move-result-object·v0 |
195 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mEndIcon:Landroid/graphics/drawable/Icon; | 195 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mEndIcon:Landroid/graphics/drawable/Icon; |
196 | ····goto·:goto_0 | 196 | ····goto·:goto_0 |
197 | ····.line· | 197 | ····.line·562 |
198 | ····:cond_5 | 198 | ····:cond_5 |
199 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getIcon()Landroid/graphics/drawable/Icon; | 199 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getIcon()Landroid/graphics/drawable/Icon; |
200 | ····move-result-object·v0 | 200 | ····move-result-object·v0 |
201 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mStartIcon:Landroid/graphics/drawable/Icon; | 201 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mStartIcon:Landroid/graphics/drawable/Icon; |
202 | ····goto/16·:goto_0 | 202 | ····goto/16·:goto_0 |
203 | ····.line· | 203 | ····.line·559 |
204 | ····:cond_6 | 204 | ····:cond_6 |
205 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getText()Ljava/lang/CharSequence; | 205 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getText()Ljava/lang/CharSequence; |
206 | ····move-result-object·v0 | 206 | ····move-result-object·v0 |
207 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 207 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
208 | ····move-result-object·v0 | 208 | ····move-result-object·v0 |
209 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mSubtitle:Ljava/lang/CharSequence; | 209 | ····iput-object·v0,·p0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->mSubtitle:Ljava/lang/CharSequence; |
210 | ····goto/16·:goto_0 | 210 | ····goto/16·:goto_0 |
211 | ····.line· | 211 | ····.line·556 |
212 | ····:cond_7 | 212 | ····:cond_7 |
213 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getText()Ljava/lang/CharSequence; | 213 | ····invoke-virtual·{v0},·Landroid/app/slice/SliceItem;->getText()Ljava/lang/CharSequence; |
214 | ····move-result-object·v0 | 214 | ····move-result-object·v0 |
215 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 215 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
Offset 261, 15 lines modified | Offset 261, 15 lines modified | ||
261 | ········0x76e72843·->·:sswitch_0 | 261 | ········0x76e72843·->·:sswitch_0 |
262 | ····.end·sparse-switch | 262 | ····.end·sparse-switch |
263 | .end·method | 263 | .end·method |
264 | .method·private·static·itemType(Landroid/app/slice/SliceItem;)Ljava/lang/String; | 264 | .method·private·static·itemType(Landroid/app/slice/SliceItem;)Ljava/lang/String; |
265 | ····.locals·5 | 265 | ····.locals·5 |
266 | ····.line· | 266 | ····.line·643 |
267 | ····invoke-virtual·{p0},·Landroid/app/slice/SliceItem;->getFormat()Ljava/lang/String; | 267 | ····invoke-virtual·{p0},·Landroid/app/slice/SliceItem;->getFormat()Ljava/lang/String; |
... Open expanded diff ... |
Offset 14, 264 lines modified | Offset 14, 264 lines modified | ||
14 | .end·annotation | 14 | .end·annotation |
15 | #·direct·methods | 15 | #·direct·methods |
16 | .method·constructor·<init>(Landroid/os/Bundle;)V | 16 | .method·constructor·<init>(Landroid/os/Bundle;)V |
17 | ····.locals·0 | 17 | ····.locals·0 |
18 | ····.line· | 18 | ····.line·220 |
19 | ····invoke-direct·{p0,·p1},·Landroidx/autofill/inline/common/BundledStyle;-><init>(Landroid/os/Bundle;)V | 19 | ····invoke-direct·{p0,·p1},·Landroidx/autofill/inline/common/BundledStyle;-><init>(Landroid/os/Bundle;)V |
20 | ····return-void | 20 | ····return-void |
21 | .end·method | 21 | .end·method |
22 | #·virtual·methods | 22 | #·virtual·methods |
23 | .method·public·applyStyle(Landroid/view/View;Landroid/widget/ImageView;)V | 23 | .method·public·applyStyle(Landroid/view/View;Landroid/widget/ImageView;)V |
24 | ····.locals·2 | 24 | ····.locals·2 |
25 | ····.line· | 25 | ····.line·239 |
26 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z | 26 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z |
27 | ····move-result·v0 | 27 | ····move-result·v0 |
28 | ····if-nez·v0,·:cond_0 | 28 | ····if-nez·v0,·:cond_0 |
29 | ····return-void | 29 | ····return-void |
30 | ····.line· | 30 | ····.line·244 |
31 | ····:cond_0 | 31 | ····:cond_0 |
32 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getLayoutDirection()I | 32 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getLayoutDirection()I |
33 | ····move-result·v0 | 33 | ····move-result·v0 |
34 | ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setLayoutDirection(I)V | 34 | ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setLayoutDirection(I)V |
35 | ····.line· | 35 | ····.line·247 |
36 | ····invoke-virtual·{p2},·Landroid/widget/ImageView;->getVisibility()I | 36 | ····invoke-virtual·{p2},·Landroid/widget/ImageView;->getVisibility()I |
37 | ····move-result·v0 | 37 | ····move-result·v0 |
38 | ····const/16·v1,·0x8 | 38 | ····const/16·v1,·0x8 |
39 | ····if-eq·v0,·v1,·:cond_2 | 39 | ····if-eq·v0,·v1,·:cond_2 |
40 | ····.line· | 40 | ····.line·248 |
41 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getSingleIconChipIconStyle()Landroidx/autofill/inline/common/ImageViewStyle; | 41 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getSingleIconChipIconStyle()Landroidx/autofill/inline/common/ImageViewStyle; |
42 | ····move-result-object·v0 | 42 | ····move-result-object·v0 |
43 | ····if-nez·v0,·:cond_1 | 43 | ····if-nez·v0,·:cond_1 |
44 | ····.line· | 44 | ····.line·250 |
45 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getStartIconStyle()Landroidx/autofill/inline/common/ImageViewStyle; | 45 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getStartIconStyle()Landroidx/autofill/inline/common/ImageViewStyle; |
46 | ····move-result-object·v0 | 46 | ····move-result-object·v0 |
47 | ····:cond_1 | 47 | ····:cond_1 |
48 | ····if-eqz·v0,·:cond_2 | 48 | ····if-eqz·v0,·:cond_2 |
49 | ····.line· | 49 | ····.line·253 |
50 | ····invoke-virtual·{v0,·p2},·Landroidx/autofill/inline/common/ImageViewStyle;->applyStyleOnImageViewIfValid(Landroid/widget/ImageView;)V | 50 | ····invoke-virtual·{v0,·p2},·Landroidx/autofill/inline/common/ImageViewStyle;->applyStyleOnImageViewIfValid(Landroid/widget/ImageView;)V |
51 | ····.line· | 51 | ····.line·257 |
52 | ····:cond_2 | 52 | ····:cond_2 |
53 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getSingleIconChipStyle()Landroidx/autofill/inline/common/ViewStyle; | 53 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getSingleIconChipStyle()Landroidx/autofill/inline/common/ViewStyle; |
54 | ····move-result-object·p2 | 54 | ····move-result-object·p2 |
55 | ····if-nez·p2,·:cond_3 | 55 | ····if-nez·p2,·:cond_3 |
56 | ····.line· | 56 | ····.line·259 |
57 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getChipStyle()Landroidx/autofill/inline/common/ViewStyle; | 57 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getChipStyle()Landroidx/autofill/inline/common/ViewStyle; |
58 | ····move-result-object·p2 | 58 | ····move-result-object·p2 |
59 | ····:cond_3 | 59 | ····:cond_3 |
60 | ····if-eqz·p2,·:cond_4 | 60 | ····if-eqz·p2,·:cond_4 |
61 | ····.line· | 61 | ····.line·262 |
62 | ····invoke-virtual·{p2,·p1},·Landroidx/autofill/inline/common/ViewStyle;->applyStyleOnViewIfValid(Landroid/view/View;)V | 62 | ····invoke-virtual·{p2,·p1},·Landroidx/autofill/inline/common/ViewStyle;->applyStyleOnViewIfValid(Landroid/view/View;)V |
63 | ····:cond_4 | 63 | ····:cond_4 |
64 | ····return-void | 64 | ····return-void |
65 | .end·method | 65 | .end·method |
66 | .method·public·applyStyle(Landroid/view/View;Landroid/widget/ImageView;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;)V | 66 | .method·public·applyStyle(Landroid/view/View;Landroid/widget/ImageView;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;)V |
67 | ····.locals·2 | 67 | ····.locals·2 |
68 | ····.line· | 68 | ····.line·273 |
69 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z | 69 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z |
70 | ····move-result·v0 | 70 | ····move-result·v0 |
71 | ····if-nez·v0,·:cond_0 | 71 | ····if-nez·v0,·:cond_0 |
72 | ····return-void | 72 | ····return-void |
73 | ····.line· | 73 | ····.line·278 |
74 | ····:cond_0 | 74 | ····:cond_0 |
75 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getLayoutDirection()I | 75 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getLayoutDirection()I |
76 | ····move-result·v0 | 76 | ····move-result·v0 |
77 | ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setLayoutDirection(I)V | 77 | ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setLayoutDirection(I)V |
78 | ····.line· | 78 | ····.line·281 |
79 | ····invoke-virtual·{p2},·Landroid/widget/ImageView;->getVisibility()I | 79 | ····invoke-virtual·{p2},·Landroid/widget/ImageView;->getVisibility()I |
80 | ····move-result·v0 | 80 | ····move-result·v0 |
81 | ····const/16·v1,·0x8 | 81 | ····const/16·v1,·0x8 |
82 | ····if-eq·v0,·v1,·:cond_1 | 82 | ····if-eq·v0,·v1,·:cond_1 |
83 | ····.line· | 83 | ····.line·282 |
84 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getStartIconStyle()Landroidx/autofill/inline/common/ImageViewStyle; | 84 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getStartIconStyle()Landroidx/autofill/inline/common/ImageViewStyle; |
85 | ····move-result-object·v0 | 85 | ····move-result-object·v0 |
86 | ····if-eqz·v0,·:cond_1 | 86 | ····if-eqz·v0,·:cond_1 |
87 | ····.line· | 87 | ····.line·284 |
88 | ····invoke-virtual·{v0,·p2},·Landroidx/autofill/inline/common/ImageViewStyle;->applyStyleOnImageViewIfValid(Landroid/widget/ImageView;)V | 88 | ····invoke-virtual·{v0,·p2},·Landroidx/autofill/inline/common/ImageViewStyle;->applyStyleOnImageViewIfValid(Landroid/widget/ImageView;)V |
89 | ····.line· | 89 | ····.line·288 |
90 | ····:cond_1 | 90 | ····:cond_1 |
91 | ····invoke-virtual·{p3},·Landroid/widget/TextView;->getVisibility()I | 91 | ····invoke-virtual·{p3},·Landroid/widget/TextView;->getVisibility()I |
... Open expanded diff ... |
Offset 12, 280 lines modified | Offset 12, 280 lines modified | ||
12 | .end·annotation | 12 | .end·annotation |
13 | #·direct·methods | 13 | #·direct·methods |
14 | .method·public·static·fromBundle(Landroid/os/Bundle;)Landroidx/autofill/inline/v1/InlineSuggestionUi$Style; | 14 | .method·public·static·fromBundle(Landroid/os/Bundle;)Landroidx/autofill/inline/v1/InlineSuggestionUi$Style; |
15 | ····.locals·1 | 15 | ····.locals·1 |
16 | ····.line· | 16 | ····.line·114 |
17 | ····new-instance·v0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style; | 17 | ····new-instance·v0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style; |
18 | ····invoke-direct·{v0,·p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;-><init>(Landroid/os/Bundle;)V | 18 | ····invoke-direct·{v0,·p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;-><init>(Landroid/os/Bundle;)V |
19 | ····.line· | 19 | ····.line·115 |
20 | ····invoke-virtual·{v0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z | 20 | ····invoke-virtual·{v0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z |
21 | ····move-result·p0 | 21 | ····move-result·p0 |
22 | ····if-nez·p0,·:cond_0 | 22 | ····if-nez·p0,·:cond_0 |
23 | ····const-string·p0,·"InlineSuggestionUi" | 23 | ····const-string·p0,·"InlineSuggestionUi" |
24 | ····const-string·v0,·"Invalid·style·for·androidx.autofill.inline.ui.version:v1" | 24 | ····const-string·v0,·"Invalid·style·for·androidx.autofill.inline.ui.version:v1" |
25 | ····.line· | 25 | ····.line·116 |
26 | ····invoke-static·{p0,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 26 | ····invoke-static·{p0,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
27 | ····const/4·p0,·0x0 | 27 | ····const/4·p0,·0x0 |
28 | ····return-object·p0 | 28 | ····return-object·p0 |
29 | ····:cond_0 | 29 | ····:cond_0 |
30 | ····return-object·v0 | 30 | ····return-object·v0 |
31 | .end·method | 31 | .end·method |
32 | .method·public·static·fromSlice(Landroid/app/slice/Slice;)Landroidx/autofill/inline/v1/InlineSuggestionUi$Content; | 32 | .method·public·static·fromSlice(Landroid/app/slice/Slice;)Landroidx/autofill/inline/v1/InlineSuggestionUi$Content; |
33 | ····.locals·1 | 33 | ····.locals·1 |
34 | ····.line· | 34 | ····.line·98 |
35 | ····new-instance·v0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content; | 35 | ····new-instance·v0,·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content; |
36 | ····invoke-direct·{v0,·p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;-><init>(Landroid/app/slice/Slice;)V | 36 | ····invoke-direct·{v0,·p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;-><init>(Landroid/app/slice/Slice;)V |
37 | ····.line· | 37 | ····.line·99 |
38 | ····invoke-virtual·{v0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->isValid()Z | 38 | ····invoke-virtual·{v0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->isValid()Z |
39 | ····move-result·p0 | 39 | ····move-result·p0 |
40 | ····if-nez·p0,·:cond_0 | 40 | ····if-nez·p0,·:cond_0 |
41 | ····const-string·p0,·"InlineSuggestionUi" | 41 | ····const-string·p0,·"InlineSuggestionUi" |
42 | ····const-string·v0,·"Invalid·content·for·androidx.autofill.inline.ui.version:v1" | 42 | ····const-string·v0,·"Invalid·content·for·androidx.autofill.inline.ui.version:v1" |
43 | ····.line· | 43 | ····.line·100 |
44 | ····invoke-static·{p0,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 44 | ····invoke-static·{p0,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
45 | ····const/4·p0,·0x0 | 45 | ····const/4·p0,·0x0 |
46 | ····return-object·p0 | 46 | ····return-object·p0 |
47 | ····:cond_0 | 47 | ····:cond_0 |
48 | ····return-object·v0 | 48 | ····return-object·v0 |
49 | .end·method | 49 | .end·method |
50 | .method·public·static·getAttributionIntent(Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;)Landroid/app/PendingIntent; | 50 | .method·public·static·getAttributionIntent(Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;)Landroid/app/PendingIntent; |
51 | ····.locals·0 | 51 | ····.locals·0 |
52 | ····.line· | 52 | ····.line·189 |
53 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->getAttributionIntent()Landroid/app/PendingIntent; | 53 | ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->getAttributionIntent()Landroid/app/PendingIntent; |
54 | ····move-result-object·p0 | 54 | ····move-result-object·p0 |
55 | ····return-object·p0 | 55 | ····return-object·p0 |
56 | .end·method | 56 | .end·method |
57 | .method·private·static·getDefaultContextThemeWrapper(Landroid/content/Context;)Landroid/content/Context; | 57 | .method·private·static·getDefaultContextThemeWrapper(Landroid/content/Context;)Landroid/content/Context; |
58 | ····.locals·3 | 58 | ····.locals·3 |
59 | ····.line· | 59 | ····.line·193 |
60 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 60 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
61 | ····move-result-object·v0 | 61 | ····move-result-object·v0 |
62 | ····invoke-virtual·{v0},·Landroid/content/res/Resources;->newTheme()Landroid/content/res/Resources$Theme; | 62 | ····invoke-virtual·{v0},·Landroid/content/res/Resources;->newTheme()Landroid/content/res/Resources$Theme; |
63 | ····move-result-object·v0 | 63 | ····move-result-object·v0 |
64 | ····.line· | 64 | ····.line·194 |
65 | ····sget·v1,·Landroidx/autofill/R$style;->Theme_AutofillInlineSuggestion:I | 65 | ····sget·v1,·Landroidx/autofill/R$style;->Theme_AutofillInlineSuggestion:I |
66 | ····const/4·v2,·0x1 | 66 | ····const/4·v2,·0x1 |
67 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/content/res/Resources$Theme;->applyStyle(IZ)V | 67 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/content/res/Resources$Theme;->applyStyle(IZ)V |
68 | ····.line· | 68 | ····.line·195 |
69 | ····new-instance·v1,·Landroid/view/ContextThemeWrapper; | 69 | ····new-instance·v1,·Landroid/view/ContextThemeWrapper; |
70 | ····invoke-direct·{v1,·p0,·v0},·Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;Landroid/content/res/Resources$Theme;)V | 70 | ····invoke-direct·{v1,·p0,·v0},·Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;Landroid/content/res/Resources$Theme;)V |
71 | ····return-object·v1 | 71 | ····return-object·v1 |
72 | .end·method | 72 | .end·method |
73 | .method·public·static·render(Landroid/content/Context;Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;)Landroid/view/View; | 73 | .method·public·static·render(Landroid/content/Context;Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;)Landroid/view/View; |
74 | ····.locals·6 | 74 | ····.locals·6 |
75 | ····.line· | 75 | ····.line·131 |
76 | ····invoke-static·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi;->getDefaultContextThemeWrapper(Landroid/content/Context;)Landroid/content/Context; | 76 | ····invoke-static·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi;->getDefaultContextThemeWrapper(Landroid/content/Context;)Landroid/content/Context; |
77 | ····move-result-object·p0 | 77 | ····move-result-object·p0 |
78 | ····.line· | 78 | ····.line·132 |
79 | ····invoke-static·{p0},·Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; | 79 | ····invoke-static·{p0},·Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; |
80 | ····move-result-object·p0 | 80 | ····move-result-object·p0 |
81 | ····.line· | 81 | ····.line·133 |
82 | ····sget·v0,·Landroidx/autofill/R$layout;->autofill_inline_suggestion:I | 82 | ····sget·v0,·Landroidx/autofill/R$layout;->autofill_inline_suggestion:I |
83 | ····const/4·v1,·0x0 | 83 | ····const/4·v1,·0x0 |
84 | ····.line· | 84 | ····.line·134 |
85 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View; | 85 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View; |
86 | ····move-result-object·p0 | 86 | ····move-result-object·p0 |
87 | ····check-cast·p0,·Landroid/view/ViewGroup; | 87 | ····check-cast·p0,·Landroid/view/ViewGroup; |
... Open expanded diff ... |
Offset 11, 30 lines modified | Offset 11, 30 lines modified | ||
11 | .end·method | 11 | .end·method |
12 | .method·public·static·checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I | 12 | .method·public·static·checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I |
13 | ····.locals·2 | 13 | ····.locals·2 |
14 | ····if-eqz·p1,·:cond_0 | 14 | ····if-eqz·p1,·:cond_0 |
15 | ····.line·53 | 15 | ····.line·533 |
16 | ····invoke-static·{},·Landroid/os/Process;->myPid()I | 16 | ····invoke-static·{},·Landroid/os/Process;->myPid()I |
17 | ····move-result·v0 | 17 | ····move-result·v0 |
18 | ····invoke-static·{},·Landroid/os/Process;->myUid()I | 18 | ····invoke-static·{},·Landroid/os/Process;->myUid()I |
19 | ····move-result·v1 | 19 | ····move-result·v1 |
20 | ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/Context;->checkPermission(Ljava/lang/String;II)I | 20 | ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/Context;->checkPermission(Ljava/lang/String;II)I |
21 | ····move-result·p0 | 21 | ····move-result·p0 |
22 | ····return·p0 | 22 | ····return·p0 |
23 | ····.line·53 | 23 | ····.line·530 |
24 | ····:cond_0 | 24 | ····:cond_0 |
25 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; | 25 | ····new-instance·p0,·Ljava/lang/IllegalArgumentException; |
26 | ····const-string·p1,·"permission·is·null" | 26 | ····const-string·p1,·"permission·is·null" |
27 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 27 | ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
Offset 4, 17 lines modified | Offset 4, 17 lines modified | ||
4 | ··Data:······························2's·complement,·little·endian | 4 | ··Data:······························2's·complement,·little·endian |
5 | ··Version:···························1·(current) | 5 | ··Version:···························1·(current) |
6 | ··OS/ABI:····························UNIX·-·System·V | 6 | ··OS/ABI:····························UNIX·-·System·V |
7 | ··ABI·Version:·······················0 | 7 | ··ABI·Version:·······················0 |
8 | ··Type:······························DYN·(Shared·object·file) | 8 | ··Type:······························DYN·(Shared·object·file) |
9 | ··Machine:···························AArch64 | 9 | ··Machine:···························AArch64 |
10 | ··Version:···························0x1 | 10 | ··Version:···························0x1 |
11 | ··Entry·point·address:···············0x9 | 11 | ··Entry·point·address:···············0x91000 |
12 | ··Start·of·program·headers:··········64·(bytes·into·file) | 12 | ··Start·of·program·headers:··········64·(bytes·into·file) |
13 | ··Start·of·section·headers:··········3 | 13 | ··Start·of·section·headers:··········3368048·(bytes·into·file) |
14 | ··Flags:·····························0x0 | 14 | ··Flags:·····························0x0 |
15 | ··Size·of·this·header:···············64·(bytes) | 15 | ··Size·of·this·header:···············64·(bytes) |
16 | ··Size·of·program·headers:···········56·(bytes) | 16 | ··Size·of·program·headers:···········56·(bytes) |
17 | ··Number·of·program·headers:·········10 | 17 | ··Number·of·program·headers:·········10 |
18 | ··Size·of·section·headers:···········64·(bytes) | 18 | ··Size·of·section·headers:···········64·(bytes) |
19 | ··Number·of·section·headers:·········29 | 19 | ··Number·of·section·headers:·········29 |
20 | ··Section·header·string·table·index:·27 | 20 | ··Section·header·string·table·index:·27 |
Offset 1, 22 lines modified | Offset 1, 22 lines modified | ||
1 | Elf·file·type·is·DYN·(Shared·object·file) | 1 | Elf·file·type·is·DYN·(Shared·object·file) |
2 | Entry·point·0x9 | 2 | Entry·point·0x91000 |
3 | There·are·10·program·headers,·starting·at·offset·64 | 3 | There·are·10·program·headers,·starting·at·offset·64 |
4 | Program·Headers: | 4 | Program·Headers: |
5 | ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align | 5 | ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align |
6 | ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x000230·0x000230·R···0x8 | 6 | ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x000230·0x000230·R···0x8 |
7 | ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x09 | 7 | ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x090c24·0x090c24·R···0x1000 |
8 | ··LOAD···········0x09 | 8 | ··LOAD···········0x091000·0x0000000000091000·0x0000000000091000·0x27f160·0x27f160·R·E·0x1000 |
9 | ··LOAD···········0x31 | 9 | ··LOAD···········0x311000·0x0000000000311000·0x0000000000311000·0x009148·0x009148·RW··0x1000 |
10 | ··LOAD···········0x3 | 10 | ··LOAD···········0x31a148·0x000000000031b148·0x000000000031b148·0x002010·0x0029d8·RW··0x1000 |
11 | ··DYNAMIC········0x3 | 11 | ··DYNAMIC········0x319390·0x0000000000319390·0x0000000000319390·0x000210·0x000210·RW··0x8 |
12 | ··GNU_RELRO······0x31 | 12 | ··GNU_RELRO······0x311000·0x0000000000311000·0x0000000000311000·0x009148·0x00a000·R···0x1 |
13 | ··GNU_EH_FRAME···0x05 | 13 | ··GNU_EH_FRAME···0x05a520·0x000000000005a520·0x000000000005a520·0x009cd4·0x009cd4·R···0x4 |
14 | ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··0 | 14 | ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··0 |
15 | ··NOTE···········0x000270·0x0000000000000270·0x0000000000000270·0x0000b8·0x0000b8·R···0x4 | 15 | ··NOTE···········0x000270·0x0000000000000270·0x0000000000000270·0x0000b8·0x0000b8·R···0x4 |
16 | ·Section·to·Segment·mapping: | 16 | ·Section·to·Segment·mapping: |
17 | ··Segment·Sections... | 17 | ··Segment·Sections... |
18 | ···00····· | 18 | ···00····· |
19 | ···01·····.note.android.ident·.note.gnu.build-id·.dynsym·.gnu.version·.gnu.version_d·.gnu.version_r·.gnu.hash·.hash·.dynstr·.rela.dyn·.relr.dyn·.rela.plt·.rodata·.gcc_except_table·.eh_frame_hdr·.eh_frame· | 19 | ···01·····.note.android.ident·.note.gnu.build-id·.dynsym·.gnu.version·.gnu.version_d·.gnu.version_r·.gnu.hash·.hash·.dynstr·.rela.dyn·.relr.dyn·.rela.plt·.rodata·.gcc_except_table·.eh_frame_hdr·.eh_frame· |
Offset 1, 38 lines modified | Offset 1, 38 lines modified | ||
1 | There·are·29·section·headers,·starting·at·offset·0x3 | 1 | There·are·29·section·headers,·starting·at·offset·0x336470: |
2 | Section·Headers: | 2 | Section·Headers: |
3 | ··[Nr]·Name··············Type············Address··········Off····Size···ES·Flg·Lk·Inf·Al | 3 | ··[Nr]·Name··············Type············Address··········Off····Size···ES·Flg·Lk·Inf·Al |
4 | ··[·0]···················NULL············0000000000000000·000000·000000·00······0···0··0 | 4 | ··[·0]···················NULL············0000000000000000·000000·000000·00······0···0··0 |
5 | ··[·1]·.note.android.ident·NOTE············0000000000000270·000270·000098·00···A··0···0··4 | 5 | ··[·1]·.note.android.ident·NOTE············0000000000000270·000270·000098·00···A··0···0··4 |
6 | ··[·2]·.note.gnu.build-id·NOTE············0000000000000308·000308·000020·00···A··0···0··4 | 6 | ··[·2]·.note.gnu.build-id·NOTE············0000000000000308·000308·000020·00···A··0···0··4 |
7 | ··[·3]·.dynsym···········DYNSYM··········0000000000000328·000328·0010 | 7 | ··[·3]·.dynsym···········DYNSYM··········0000000000000328·000328·001050·18···A··9···1··8 |
8 | ··[·4]·.gnu.version······VERSYM··········00000000000013 | 8 | ··[·4]·.gnu.version······VERSYM··········0000000000001378·001378·00015c·02···A··3···0··2 |
9 | ··[·5]·.gnu.version_d····VERDEF··········0000000000001 | 9 | ··[·5]·.gnu.version_d····VERDEF··········00000000000014d4·0014d4·000038·00···A··9···2··4 |
10 | ··[·6]·.gnu.version_r····VERNEED·········00000000000015 | 10 | ··[·6]·.gnu.version_r····VERNEED·········000000000000150c·00150c·000080·00···A··9···4··4 |
11 | ··[·7]·.gnu.hash·········GNU_HASH········0000000000001 | 11 | ··[·7]·.gnu.hash·········GNU_HASH········0000000000001590·001590·000120·00···A··3···0··8 |
12 | ··[·8]·.hash·············HASH············0000000000001 | 12 | ··[·8]·.hash·············HASH············00000000000016b0·0016b0·000578·04···A··3···0··4 |
13 | ··[·9]·.dynstr···········STRTAB··········0000000000001 | 13 | ··[·9]·.dynstr···········STRTAB··········0000000000001c28·001c28·001236·00···A··0···0··1 |
14 | ··[10]·.rela.dyn·········LOOS+0x2········0000000000002 | 14 | ··[10]·.rela.dyn·········LOOS+0x2········0000000000002e60·002e60·00003e·01···A··3···0··8 |
15 | ··[11]·.relr.dyn·········LOOS+0xfffff00··000000000000 | 15 | ··[11]·.relr.dyn·········LOOS+0xfffff00··0000000000002ea0·002ea0·0002d8·08···A··0···0··8 |
16 | ··[12]·.rela.plt·········RELA············0000000000003 | 16 | ··[12]·.rela.plt·········RELA············0000000000003178·003178·000be8·18···A··3··24··8 |
17 | ··[13]·.rodata···········PROGBITS········0000000000003 | 17 | ··[13]·.rodata···········PROGBITS········0000000000003d60·003d60·055651·00·AMS··0···0·16 |
18 | ··[14]·.gcc_except_table·PROGBITS········000000000005 | 18 | ··[14]·.gcc_except_table·PROGBITS········00000000000593b4·0593b4·00116c·00···A··0···0··4 |
19 | ··[15]·.eh_frame_hdr·····PROGBITS········000000000005 | 19 | ··[15]·.eh_frame_hdr·····PROGBITS········000000000005a520·05a520·009cd4·00···A··0···0··4 |
20 | ··[16]·.eh_frame·········PROGBITS········000000000006 | 20 | ··[16]·.eh_frame·········PROGBITS········00000000000641f8·0641f8·02ca2c·00···A··0···0··8 |
21 | ··[17]·.text·············PROGBITS········000000000009 | 21 | ··[17]·.text·············PROGBITS········0000000000091000·091000·27e94c·00··AX··0···0··4 |
22 | ··[18]·.plt··············PROGBITS········00000000003 | 22 | ··[18]·.plt··············PROGBITS········000000000030f950·30f950·000810·00··AX··0···0·16 |
23 | ··[19]·.data.rel.ro······PROGBITS········000000000031 | 23 | ··[19]·.data.rel.ro······PROGBITS········0000000000311000·311000·008348·00··WA··0···0··8 |
24 | ··[20]·.fini_array·······FINI_ARRAY······00000000003 | 24 | ··[20]·.fini_array·······FINI_ARRAY······0000000000319348·319348·000010·08··WA··0···0··8 |
25 | ··[21]·.init_array·······INIT_ARRAY······00000000003 | 25 | ··[21]·.init_array·······INIT_ARRAY······0000000000319358·319358·000038·00··WA··0···0··8 |
26 | ··[22]·.dynamic··········DYNAMIC·········00000000003 | 26 | ··[22]·.dynamic··········DYNAMIC·········0000000000319390·319390·000210·10··WA··9···0··8 |
27 | ··[23]·.got··············PROGBITS········00000000003 | 27 | ··[23]·.got··············PROGBITS········00000000003195a0·3195a0·000798·00··WA··0···0··8 |
28 | ··[24]·.got.plt··········PROGBITS········00000000003 | 28 | ··[24]·.got.plt··········PROGBITS········0000000000319d38·319d38·000410·00··WA··0···0··8 |
29 | ··[25]·.data·············PROGBITS········00000000003 | 29 | ··[25]·.data·············PROGBITS········000000000031b148·31a148·002010·00··WA··0···0··8 |
30 | ··[26]·.bss··············NOBITS··········00000000003 | 30 | ··[26]·.bss··············NOBITS··········000000000031d160·31c158·0009c0·00··WA··0···0·16 |
31 | ··[27]·.shstrtab·········STRTAB··········0000000000000000·3 | 31 | ··[27]·.shstrtab·········STRTAB··········0000000000000000·31c158·000123·00······0···0··1 |
32 | ··[28]·.gnu_debugdata····PROGBITS········0000000000000000·3 | 32 | ··[28]·.gnu_debugdata····PROGBITS········0000000000000000·31c27b·01a1f4·00······0···0··1 |
33 | Key·to·Flags: | 33 | Key·to·Flags: |
34 | ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info), | 34 | ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info), |
35 | ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS), | 35 | ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS), |
36 | ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude), | 36 | ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude), |
37 | ··p·(processor·specific) | 37 | ··p·(processor·specific) |
Offset 1, 37 lines modified | Offset 1, 36 lines modified | ||
1 | Dynamic·section·at·offset·0x3 | 1 | Dynamic·section·at·offset·0x319390·contains·33·entries: |
2 | ··Tag········Type·························Name/Value | 2 | ··Tag········Type·························Name/Value |
3 | ·0x0000000000000001·(NEEDED)·············Shared·library:·[liblog.so] | 3 | ·0x0000000000000001·(NEEDED)·············Shared·library:·[liblog.so] |
4 | ·0x0000000000000001·(NEEDED)·············Shared·library:·[libz.so] | ||
5 | ·0x0000000000000001·(NEEDED)·············Shared·library:·[libc.so] | 4 | ·0x0000000000000001·(NEEDED)·············Shared·library:·[libc.so] |
6 | ·0x0000000000000001·(NEEDED)·············Shared·library:·[libm.so] | 5 | ·0x0000000000000001·(NEEDED)·············Shared·library:·[libm.so] |
7 | ·0x0000000000000001·(NEEDED)·············Shared·library:·[libdl.so] | 6 | ·0x0000000000000001·(NEEDED)·············Shared·library:·[libdl.so] |
8 | ·0x000000000000000e·(SONAME)·············Library·soname:·[libtextclassifier.so] | 7 | ·0x000000000000000e·(SONAME)·············Library·soname:·[libtextclassifier.so] |
9 | ·0x000000000000001e·(FLAGS)··············BIND_NOW | 8 | ·0x000000000000001e·(FLAGS)··············BIND_NOW |
10 | ·0x000000006ffffffb·(FLAGS_1)············Flags:·NOW | 9 | ·0x000000006ffffffb·(FLAGS_1)············Flags:·NOW |
11 | ·0x0000000060000011·(Operating·System·specific:·60000011)················0x2 | 10 | ·0x0000000060000011·(Operating·System·specific:·60000011)················0x2e60 |
12 | ·0x0000000060000012·(Operating·System·specific:·60000012)················0x3e | 11 | ·0x0000000060000012·(Operating·System·specific:·60000012)················0x3e |
13 | ·0x0000000000000009·(RELAENT)············24·(bytes) | 12 | ·0x0000000000000009·(RELAENT)············24·(bytes) |
14 | ·0x000000006fffe000·(Operating·System·specific:·6fffe000)················0x | 13 | ·0x000000006fffe000·(Operating·System·specific:·6fffe000)················0x2ea0 |
15 | ·0x000000006fffe001·(Operating·System·specific:·6fffe001)················0x2 | 14 | ·0x000000006fffe001·(Operating·System·specific:·6fffe001)················0x2d8 |
16 | ·0x000000006fffe003·(Operating·System·specific:·6fffe003)················0x8 | 15 | ·0x000000006fffe003·(Operating·System·specific:·6fffe003)················0x8 |
17 | ·0x0000000000000017·(JMPREL)·············0x3 | 16 | ·0x0000000000000017·(JMPREL)·············0x3178 |
18 | ·0x0000000000000002·(PLTRELSZ)···········3 | 17 | ·0x0000000000000002·(PLTRELSZ)···········3048·(bytes) |
19 | ·0x0000000000000003·(PLTGOT)·············0x3 | 18 | ·0x0000000000000003·(PLTGOT)·············0x319d38 |
20 | ·0x0000000000000014·(PLTREL)·············RELA | 19 | ·0x0000000000000014·(PLTREL)·············RELA |
21 | ·0x0000000000000006·(SYMTAB)·············0x328 | 20 | ·0x0000000000000006·(SYMTAB)·············0x328 |
22 | ·0x000000000000000b·(SYMENT)·············24·(bytes) | 21 | ·0x000000000000000b·(SYMENT)·············24·(bytes) |
23 | ·0x0000000000000005·(STRTAB)·············0x1 | 22 | ·0x0000000000000005·(STRTAB)·············0x1c28 |
24 | ·0x000000000000000a·(STRSZ)··············4 | 23 | ·0x000000000000000a·(STRSZ)··············4662·(bytes) |
25 | ·0x000000006ffffef5·(GNU_HASH)···········0x1 | 24 | ·0x000000006ffffef5·(GNU_HASH)···········0x1590 |
26 | ·0x0000000000000004·(HASH)···············0x1 | 25 | ·0x0000000000000004·(HASH)···············0x16b0 |
27 | ·0x0000000000000019·(INIT_ARRAY)·········0x3 | 26 | ·0x0000000000000019·(INIT_ARRAY)·········0x319358 |
28 | ·0x000000000000001b·(INIT_ARRAYSZ)·······56·(bytes) | 27 | ·0x000000000000001b·(INIT_ARRAYSZ)·······56·(bytes) |
29 | ·0x000000000000001a·(FINI_ARRAY)·········0x3 | 28 | ·0x000000000000001a·(FINI_ARRAY)·········0x319348 |
30 | ·0x000000000000001c·(FINI_ARRAYSZ)·······16·(bytes) | 29 | ·0x000000000000001c·(FINI_ARRAYSZ)·······16·(bytes) |
31 | ·0x000000006ffffff0·(VERSYM)·············0x13 | 30 | ·0x000000006ffffff0·(VERSYM)·············0x1378 |
32 | ·0x000000006ffffffc·(VERDEF)·············0x1 | 31 | ·0x000000006ffffffc·(VERDEF)·············0x14d4 |
33 | ·0x000000006ffffffd·(VERDEFNUM)··········2 | 32 | ·0x000000006ffffffd·(VERDEFNUM)··········2 |
34 | ·0x000000006ffffffe·(VERNEED)············0x15 | 33 | ·0x000000006ffffffe·(VERNEED)············0x150c |
35 | ·0x000000006fffffff·(VERNEEDNUM)········· | 34 | ·0x000000006fffffff·(VERNEEDNUM)·········4 |
36 | ·0x0000000000000000·(NULL)···············0x0 | 35 | ·0x0000000000000000·(NULL)···············0x0 |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | Displaying·notes·found·in:·.note.android.ident | 1 | Displaying·notes·found·in:·.note.android.ident |
2 | ··Owner················Data·size·» Description | 2 | ··Owner················Data·size·» Description |
3 | ··Android··············0x00000084» NT_VERSION·(version)» ···description·data:·1b·00·00·00·72·32·31·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·36·31·31·33·36·36·39·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00· | 3 | ··Android··············0x00000084» NT_VERSION·(version)» ···description·data:·1b·00·00·00·72·32·31·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·36·31·31·33·36·36·39·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00·00· |
4 | Displaying·notes·found·in:·.note.gnu.build-id | 4 | Displaying·notes·found·in:·.note.gnu.build-id |
5 | ··Owner················Data·size·» Description | 5 | ··Owner················Data·size·» Description |
6 | ··GNU··················0x00000010» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:· | 6 | ··GNU··················0x00000010» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:·eb02dbd04a53df1517aa2635f7e58b29 |
Offset 1, 66 lines modified | Offset 1, 63 lines modified | ||
1 | Version·symbols·section·'.gnu.version'·contains·17 | 1 | Version·symbols·section·'.gnu.version'·contains·174·entries: |
2 | ·Addr:·0x00000000000013 | 2 | ·Addr:·0x0000000000001378··Offset:·0x001378··Link:·3·(.dynsym) |
3 | ··000:···0·(*local*)·······3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 3 | ··000:···0·(*local*)·······3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
4 | ··004:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 4 | ··004:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
5 | ··008:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 5 | ··008:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
6 | ··00c:···3·(LIBC)··········3·(LIBC)·········· | 6 | ··00c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
7 | ··010:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 7 | ··010:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
8 | ··014:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 8 | ··014:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
9 | ··018:··· | 9 | ··018:···4·(LIBLOG)········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
10 | ··01c:··· | 10 | ··01c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
11 | ··020:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)·········· | 11 | ··020:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
12 | ··024:··· | 12 | ··024:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
13 | ··028:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 13 | ··028:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
14 | ··02c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 14 | ··02c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
15 | ··030:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 15 | ··030:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
16 | ··034:···3·(LIBC)··········5·(LIBC)··········5·(LIBC)··········5·(LIBC)······· | ||
17 | ··038:···5·(LIBC)··········5·(LIBC)··········5·(LIBC)··········5·(LIBC)······· | ||
18 | ··03c:···5·(LIBC)··········3·(LIBC)··········5·(LIBC)··········5·(LIBC)······· | ||
19 | ··040:···5·(LIBC)··········5·(LIBC)··········3·(LIBC)··········5·(LIBC)······· | ||
20 | ··044:···5·(LIBC)··········3·(LIBC)··········5·(LIBC)··········5·(LIBC)······· | ||
16 | ··0 | 21 | ··048:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
17 | ··038:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········4·(LIBC)······· | ||
18 | ··03c:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········4·(LIBC)······· | ||
19 | ··040:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········3·(LIBC)······· | ||
20 | ··044:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········4·(LIBC)······· | ||
21 | ··048:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········3·(LIBC)······· | ||
22 | ··04c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 22 | ··04c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
23 | ··050:···3·(LIBC)··········3·(LIBC)··········4·(LIBLOG)········3·(LIBC)······· | ||
24 | ··054:···5·(LIBC)··········5·(LIBC)··········5·(LIBC)··········5·(LIBC)······· | ||
23 | ··05 | 25 | ··058:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
24 | ··054:···3·(LIBC)··········5·(LIBLOG)········3·(LIBC)··········4·(LIBC)······· | ||
25 | ··058:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········3·(LIBC)······· | ||
26 | ··05c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)·········· | 26 | ··05c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········5·(LIBC)······· |
27 | ··060:···3·(LIBC)··········3·(LIBC)·········· | 27 | ··060:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
28 | ··064:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 28 | ··064:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
29 | ··068:··· | 29 | ··068:···5·(LIBC)··········5·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
30 | ··06c:··· | 30 | ··06c:···6·(LIBC)··········6·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
31 | ··070:··· | 31 | ··070:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
32 | ··074:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 32 | ··074:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
33 | ··078:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 33 | ··078:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
34 | ··07c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· | 34 | ··07c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)······· |
35 | ··080:···3·(LIBC)··········3·(LIBC)·········· | 35 | ··080:···3·(LIBC)··········3·(LIBC)··········6·(LIBC)··········3·(LIBC)······· |
36 | ··084:··· | 36 | ··084:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
37 | ··088:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | 37 | ··088:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
38 | ··08c:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | 38 | ··08c:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
39 | ··090:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | 39 | ··090:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
40 | ··094:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | 40 | ··094:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
41 | ··098:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | 41 | ··098:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
42 | ··09c:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | 42 | ··09c:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
43 | ··0a0:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | 43 | ··0a0:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
44 | ··0a4:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | 44 | ··0a4:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
45 | ··0a8:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | 45 | ··0a8:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· |
46 | ··0ac:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)··· | ||
47 | ··0 | 46 | ··0ac:···2·(VERS_1.0)······2·(VERS_1.0)··· |
48 | Version·definition·section·'.gnu.version_d'·contains·2·entries: | 47 | Version·definition·section·'.gnu.version_d'·contains·2·entries: |
49 | ·Addr:·0x0000000000001 | 48 | ·Addr:·0x00000000000014d4··Offset:·0x0014d4··Link:·9·(.dynstr) |
50 | ··000000:·Rev:·1··Flags:·BASE··Index:·1··Cnt:·1··Name:·libtextclassifier.so | 49 | ··000000:·Rev:·1··Flags:·BASE··Index:·1··Cnt:·1··Name:·libtextclassifier.so |
51 | ··0x001c:·Rev:·1··Flags:·none··Index:·2··Cnt:·1··Name:·VERS_1.0 | 50 | ··0x001c:·Rev:·1··Flags:·none··Index:·2··Cnt:·1··Name:·VERS_1.0 |
52 | Version·needs·section·'.gnu.version_r'·contains· | 51 | Version·needs·section·'.gnu.version_r'·contains·4·entries: |
53 | ·Addr:·0x00000000000015 | 52 | ·Addr:·0x000000000000150c··Offset:·0x00150c··Link:·9·(.dynstr) |
54 | ··000000:·Version:·1··File:·liblog.so··Cnt:·1 | 53 | ··000000:·Version:·1··File:·liblog.so··Cnt:·1 |
55 | ··0x00 | 54 | ··0x0040:···Name:·LIBLOG··Flags:·none··Version:·4 |
56 | ··0x0010:·Version:·1··File:·lib | 55 | ··0x0010:·Version:·1··File:·libc.so··Cnt:·1 |
57 | ··0x0060:···Name:·ZLIB_NDK··Flags:·none··Version:·6 | ||
58 | ··0x0020:·Version:·1··File:·libc.so··Cnt:·1 | ||
59 | ··0x00 | 56 | ··0x0050:···Name:·LIBC··Flags:·none··Version:·3 |
60 | ··0x00 | 57 | ··0x0020:·Version:·1··File:·libm.so··Cnt:·1 |
61 | ··0x00 | 58 | ··0x0060:···Name:·LIBC··Flags:·none··Version:·5 |
62 | ··0x00 | 59 | ··0x0030:·Version:·1··File:·libdl.so··Cnt:·1 |
63 | ··0x00 | 60 | ··0x0070:···Name:·LIBC··Flags:·none··Version:·6 |
Offset 1, 24 lines modified | Offset 1, 21 lines modified | ||
1 | Manifest-Version:·1.0\xd | 1 | Manifest-Version:·1.0\xd |
2 | Created-By:·soong_zip\xd | 2 | Created-By:·soong_zip\xd |
3 | \xd | 3 | \xd |
4 | Name:·AndroidManifest.xml\xd | 4 | Name:·AndroidManifest.xml\xd |
5 | SHA-256-Digest:·1esPuNk0W7q0fT6/j4byySfJGUjjk2Mumtk/1E3Vri4=\xd | ||
5 | SHA-256-Digest:·gI0xAGergSV88Xc4k0rd+SqblIq91jKa57VpdwHBaJ0=\xd | ||
6 | \xd | ||
7 | Name:·META-INF/androidx.arch.core_core-runtime.version\xd | ||
8 | SHA-256-Digest:·WGhAFSfUNZxPdHzBoS8USnnSOWmxlIzVAhsq/Qc8d3Y=\xd | ||
9 | \xd | 6 | \xd |
10 | Name:·META-INF/androidx.autofill_autofill.version\xd | 7 | Name:·META-INF/androidx.autofill_autofill.version\xd |
11 | SHA-256-Digest:·Ua5RxiDB4TdUci9QAk3UBejMqS9NqnpqdjW2scAbY8A=\xd | 8 | SHA-256-Digest:·Ua5RxiDB4TdUci9QAk3UBejMqS9NqnpqdjW2scAbY8A=\xd |
12 | \xd | 9 | \xd |
13 | Name:·META-INF/androidx.core_core.version\xd | 10 | Name:·META-INF/androidx.core_core.version\xd |
14 | SHA-256-Digest:· | 11 | SHA-256-Digest:·oS8gEFIRzubDgKeSkOHGU86NdE7hg6W7vKGJGQvTtA4=\xd |
15 | \xd | 12 | \xd |
16 | Name:·META-INF/androidx.lifecycle_lifecycle-runtime.version\xd | 13 | Name:·META-INF/androidx.lifecycle_lifecycle-runtime.version\xd |
17 | SHA-256-Digest:· | 14 | SHA-256-Digest:·kEdwhIvdTBaMQfRzaE4dCUFFlZHfilME/u/9/Ol0/oo=\xd |
18 | \xd | 15 | \xd |
19 | Name:·META-INF/androidx.versionedparcelable_versionedparcelable.versio\xd | 16 | Name:·META-INF/androidx.versionedparcelable_versionedparcelable.versio\xd |
20 | ·n\xd | 17 | ·n\xd |
21 | SHA-256-Digest:·aJlh2UWnR9mF5VrFLvT9RD0XE8NHATPXftk/CscN5/o=\xd | 18 | SHA-256-Digest:·aJlh2UWnR9mF5VrFLvT9RD0XE8NHATPXftk/CscN5/o=\xd |
22 | \xd | 19 | \xd |
23 | Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd | 20 | Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd |
24 | ·.properties\xd | 21 | ·.properties\xd |
Offset 27, 22 lines modified | Offset 24, 19 lines modified | ||
27 | Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd | 24 | Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd |
28 | ·.xml\xd | 25 | ·.xml\xd |
29 | SHA-256-Digest:·jRdVYWGSiaUnVzz73Phy61wSFs+atpKg7z26bXk/Y7Q=\xd | 26 | SHA-256-Digest:·jRdVYWGSiaUnVzz73Phy61wSFs+atpKg7z26bXk/Y7Q=\xd |
30 | \xd | 27 | \xd |
31 | Name:·META-INF/proguard/androidx-annotations.pro\xd | 28 | Name:·META-INF/proguard/androidx-annotations.pro\xd |
32 | SHA-256-Digest:·M/eLd9AzF+l12cP2AYORDIyrIrDy2h+TQrjFnXW8IP8=\xd | 29 | SHA-256-Digest:·M/eLd9AzF+l12cP2AYORDIyrIrDy2h+TQrjFnXW8IP8=\xd |
33 | \xd | 30 | \xd |
34 | Name:·assets/NOTICE.html.gz\xd | ||
35 | SHA-256-Digest:·jEGQv11KhRPS6/4AClf89vxtRZ6wbANWN6xdzcZe0wI=\xd | ||
36 | \xd | ||
37 | Name:·classes.dex\xd | 31 | Name:·classes.dex\xd |
38 | SHA-256-Digest:· | 32 | SHA-256-Digest:·qvrg9aZZmsVg1R4NjWOvFtnaxngOrFFLPWbTee3RwUI=\xd |
39 | \xd | 33 | \xd |
40 | Name:·lib/arm64-v8a/libtextclassifier.so\xd | 34 | Name:·lib/arm64-v8a/libtextclassifier.so\xd |
41 | SHA-256-Digest:· | 35 | SHA-256-Digest:·iY3tQsOIXQbu8ZYPQJNhcVnTgSdOpVOeeJSYzcJJ2HU=\xd |
42 | \xd | 36 | \xd |
43 | Name:·res/drawable-hdpi-v4/notification_bg_low_normal.9.png\xd | 37 | Name:·res/drawable-hdpi-v4/notification_bg_low_normal.9.png\xd |
44 | SHA-256-Digest:·IfC1UoC+ELGHzv+O3vSlpwR2g+bp/PR95BCqODn0EJQ=\xd | 38 | SHA-256-Digest:·IfC1UoC+ELGHzv+O3vSlpwR2g+bp/PR95BCqODn0EJQ=\xd |
45 | \xd | 39 | \xd |
46 | Name:·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png\xd | 40 | Name:·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png\xd |
47 | SHA-256-Digest:·Qq7gsDiD6U315UM0ijl9EwLBuCIYlYcag7gYmfWpZHs=\xd | 41 | SHA-256-Digest:·Qq7gsDiD6U315UM0ijl9EwLBuCIYlYcag7gYmfWpZHs=\xd |
48 | \xd | 42 | \xd |
Offset 133, 12 lines modified | Offset 127, 9 lines modified | ||
133 | Name:·res/layout/notification_template_part_chronometer.xml\xd | 127 | Name:·res/layout/notification_template_part_chronometer.xml\xd |
134 | SHA-256-Digest:·grep/WldZkCSevAv2w7CVoZcR8FbaF50GV0QeuVXvnM=\xd | 128 | SHA-256-Digest:·grep/WldZkCSevAv2w7CVoZcR8FbaF50GV0QeuVXvnM=\xd |
135 | \xd | 129 | \xd |
136 | Name:·res/layout/notification_template_part_time.xml\xd | 130 | Name:·res/layout/notification_template_part_time.xml\xd |
137 | SHA-256-Digest:·oRSMGSXIKWdg3e3QixchkUjunivI2dku6Lla+yY7MpA=\xd | 131 | SHA-256-Digest:·oRSMGSXIKWdg3e3QixchkUjunivI2dku6Lla+yY7MpA=\xd |
138 | \xd | 132 | \xd |
139 | Name:·resources.arsc\xd | 133 | Name:·resources.arsc\xd |
134 | SHA-256-Digest:·pBEd07HT+t7WVnofwSTHbK7aZ/5pS7CZtq+Q/i3OnYk=\xd | ||
140 | SHA-256-Digest:·yRTEsRFCXkm1rrql6Ih/0HcIUBTYpBBx/ZptRanGVPc=\xd | ||
141 | \xd | ||
142 | Name:·stamp-cert-sha256\xd | ||
143 | SHA-256-Digest:·HZwqAqk4Fv9ceuZPmq0Cwj3kncUUYg2xp61iTSqDZ5w=\xd | ||
144 | \xd | 135 | \xd |
Offset 1, 26 lines modified | Offset 1, 23 lines modified | ||
1 | Signature-Version:·1.0\xd | 1 | Signature-Version:·1.0\xd |
2 | Created-By:·1.0·(Android·SignApk)\xd | 2 | Created-By:·1.0·(Android·SignApk)\xd |
3 | SHA-256-Digest-Manifest:· | 3 | SHA-256-Digest-Manifest:·NcjkrAk1BcjcMKKrXPitZEQ/x9PG90I+6uTVCWSeIGA=\xd |
4 | X-Android-APK-Signed:·2,·3\xd | 4 | X-Android-APK-Signed:·2,·3\xd |
5 | \xd | 5 | \xd |
6 | Name:·AndroidManifest.xml\xd | 6 | Name:·AndroidManifest.xml\xd |
7 | SHA-256-Digest:·7ngwsMU+pBK2ZOVNKIOKDrxSCmRnYWLnaBU//QvpCxg=\xd | ||
7 | SHA-256-Digest:·tOFIQA1VM0xshZbgvKYpJ2AKk8M7WHHSJ8cKjkpGXMM=\xd | ||
8 | \xd | ||
9 | Name:·META-INF/androidx.arch.core_core-runtime.version\xd | ||
10 | SHA-256-Digest:·tYyn5dB58gBNXy2LVbjREtp2J39iyiJ1CCjJ/3hfnvc=\xd | ||
11 | \xd | 8 | \xd |
12 | Name:·META-INF/androidx.autofill_autofill.version\xd | 9 | Name:·META-INF/androidx.autofill_autofill.version\xd |
13 | SHA-256-Digest:·D1mXeDZn3UpDVrKV4EQofN/z98G4DgylpXSp/nIExWM=\xd | 10 | SHA-256-Digest:·D1mXeDZn3UpDVrKV4EQofN/z98G4DgylpXSp/nIExWM=\xd |
14 | \xd | 11 | \xd |
15 | Name:·META-INF/androidx.core_core.version\xd | 12 | Name:·META-INF/androidx.core_core.version\xd |
16 | SHA-256-Digest:·e | 13 | SHA-256-Digest:·eZYy2V9c1pJlOBf633V/82V7u9iZ7JWx/rDpL/L/4Zg=\xd |
17 | \xd | 14 | \xd |
18 | Name:·META-INF/androidx.lifecycle_lifecycle-runtime.version\xd | 15 | Name:·META-INF/androidx.lifecycle_lifecycle-runtime.version\xd |
19 | SHA-256-Digest:·H | 16 | SHA-256-Digest:·iHtCN8bKZxv73Bc6ZCnXKSjaSXHufVLEQW42EPxkzZ8=\xd |
20 | \xd | 17 | \xd |
21 | Name:·META-INF/androidx.versionedparcelable_versionedparcelable.versio\xd | 18 | Name:·META-INF/androidx.versionedparcelable_versionedparcelable.versio\xd |
22 | ·n\xd | 19 | ·n\xd |
23 | SHA-256-Digest:·T5Z0gTL2PbLukt/Dq7cCVO3DkUfGObE2MTNlPc3T8UQ=\xd | 20 | SHA-256-Digest:·T5Z0gTL2PbLukt/Dq7cCVO3DkUfGObE2MTNlPc3T8UQ=\xd |
24 | \xd | 21 | \xd |
25 | Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd | 22 | Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd |
26 | ·.properties\xd | 23 | ·.properties\xd |
Offset 29, 22 lines modified | Offset 26, 19 lines modified | ||
29 | Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd | 26 | Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd |
30 | ·.xml\xd | 27 | ·.xml\xd |
31 | SHA-256-Digest:·l3iUgwO0eqO7qL+9LCT0+WuVK2uQldEcbFSg9fjv21o=\xd | 28 | SHA-256-Digest:·l3iUgwO0eqO7qL+9LCT0+WuVK2uQldEcbFSg9fjv21o=\xd |
32 | \xd | 29 | \xd |
33 | Name:·META-INF/proguard/androidx-annotations.pro\xd | 30 | Name:·META-INF/proguard/androidx-annotations.pro\xd |
34 | SHA-256-Digest:·z4VPeB3xyX+1oqubmSAZIacjNrmoTsLyFuu+ubl7+m4=\xd | 31 | SHA-256-Digest:·z4VPeB3xyX+1oqubmSAZIacjNrmoTsLyFuu+ubl7+m4=\xd |
35 | \xd | 32 | \xd |
36 | Name:·assets/NOTICE.html.gz\xd | ||
37 | SHA-256-Digest:·sV7Ur+mlu68WPPAGt+IjKJGC2omjdT64Nu60Y6UtSZ8=\xd | ||
38 | \xd | ||
39 | Name:·classes.dex\xd | 33 | Name:·classes.dex\xd |
40 | SHA-256-Digest:· | 34 | SHA-256-Digest:·lPCy07wMno0jF8tWUKsSdVdL/9DuPihAGihJy1Du9hg=\xd |
41 | \xd | 35 | \xd |
42 | Name:·lib/arm64-v8a/libtextclassifier.so\xd | 36 | Name:·lib/arm64-v8a/libtextclassifier.so\xd |
43 | SHA-256-Digest:· | 37 | SHA-256-Digest:·d3AA8SMQlVyCXyiblzR+LkdnwOHdrJNFOQ9xqwYOPmQ=\xd |
44 | \xd | 38 | \xd |
45 | Name:·res/drawable-hdpi-v4/notification_bg_low_normal.9.png\xd | 39 | Name:·res/drawable-hdpi-v4/notification_bg_low_normal.9.png\xd |
46 | SHA-256-Digest:·fdgyJ61bkVHESSHzWiTHQ5LVNwIge6pbEao7ySrGIjw=\xd | 40 | SHA-256-Digest:·fdgyJ61bkVHESSHzWiTHQ5LVNwIge6pbEao7ySrGIjw=\xd |
47 | \xd | 41 | \xd |
48 | Name:·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png\xd | 42 | Name:·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png\xd |
49 | SHA-256-Digest:·4RlHlyDIzTYG5Klg5AKe0Fi4c3z+iVWMOHgAh9ZL7Aw=\xd | 43 | SHA-256-Digest:·4RlHlyDIzTYG5Klg5AKe0Fi4c3z+iVWMOHgAh9ZL7Aw=\xd |
50 | \xd | 44 | \xd |
Offset 135, 12 lines modified | Offset 129, 9 lines modified | ||
135 | Name:·res/layout/notification_template_part_chronometer.xml\xd | 129 | Name:·res/layout/notification_template_part_chronometer.xml\xd |
136 | SHA-256-Digest:·Ok+e3FcMPaw4MRIzeXVfZDi0B8cV6RjHrQFXurAYSqc=\xd | 130 | SHA-256-Digest:·Ok+e3FcMPaw4MRIzeXVfZDi0B8cV6RjHrQFXurAYSqc=\xd |
137 | \xd | 131 | \xd |
138 | Name:·res/layout/notification_template_part_time.xml\xd | 132 | Name:·res/layout/notification_template_part_time.xml\xd |
139 | SHA-256-Digest:·4Bx12CJXMYaubxgyVlPGPfFAMmYnVLy/L1Nm/L5PCtE=\xd | 133 | SHA-256-Digest:·4Bx12CJXMYaubxgyVlPGPfFAMmYnVLy/L1Nm/L5PCtE=\xd |
140 | \xd | 134 | \xd |
141 | Name:·resources.arsc\xd | 135 | Name:·resources.arsc\xd |
136 | SHA-256-Digest:·l1X1X2pc3khZ0WQhtiwhp3Sw2C4Vq1bMS2tWxbGY9UY=\xd | ||
142 | SHA-256-Digest:·P5NfkZQlopxlrR1npN0x30vEOL4ywo0zgNcDM8qT9Z4=\xd | ||
143 | \xd | ||
144 | Name:·stamp-cert-sha256\xd | ||
145 | SHA-256-Digest:·L0p4Bm/NGffFWX26fUKi8jlq3aKsfwyEBtSavY6F0c0=\xd | ||
146 | \xd | 137 | \xd |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | 2.3.0-alpha0 | 1 | 2.3.0-alpha05 |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | 1.5.0-alpha0 | 1 | 1.5.0-alpha01 |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$AY5eoUbVCLXhR9opqmynv0zcSU0; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"lambda" | 3 | .source·"lambda" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Lcom/google/common/base/Function; | 5 | .implements·Lcom/google/common/base/Function; |
Offset 14, 31 lines modified | Offset 14, 31 lines modified | ||
14 | #·direct·methods | 14 | #·direct·methods |
15 | .method·public·synthetic·constructor·<init>(Lcom/android/textclassifier/TextClassifierImpl;Ljava/lang/CharSequence;)V | 15 | .method·public·synthetic·constructor·<init>(Lcom/android/textclassifier/TextClassifierImpl;Ljava/lang/CharSequence;)V |
16 | ····.locals·0 | 16 | ····.locals·0 |
17 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 17 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
18 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 18 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$AY5eoUbVCLXhR9opqmynv0zcSU0;->f$0:Lcom/android/textclassifier/TextClassifierImpl; |
19 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 19 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$AY5eoUbVCLXhR9opqmynv0zcSU0;->f$1:Ljava/lang/CharSequence; |
20 | ····return-void | 20 | ····return-void |
21 | .end·method | 21 | .end·method |
22 | #·virtual·methods | 22 | #·virtual·methods |
23 | .method·public·final·apply(Ljava/lang/Object;)Ljava/lang/Object; | 23 | .method·public·final·apply(Ljava/lang/Object;)Ljava/lang/Object; |
24 | ····.locals·1 | 24 | ····.locals·1 |
25 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 25 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$AY5eoUbVCLXhR9opqmynv0zcSU0;->f$0:Lcom/android/textclassifier/TextClassifierImpl; |
26 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 26 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$AY5eoUbVCLXhR9opqmynv0zcSU0;->f$1:Ljava/lang/CharSequence; |
27 | ····check-cast·p1,·Lcom/google/android/textclassifier/LangIdModel; | 27 | ····check-cast·p1,·Lcom/google/android/textclassifier/LangIdModel; |
28 | ····invoke-virtual·{v0,·p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->lambda$detectLanguageTags$ | 28 | ····invoke-virtual·{v0,·p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->lambda$detectLanguageTags$6$TextClassifierImpl(Ljava/lang/CharSequence;Lcom/google/android/textclassifier/LangIdModel;)Lcom/google/common/collect/ImmutableList; |
29 | ····move-result-object·p0 | 29 | ····move-result-object·p0 |
30 | ····return-object·p0 | 30 | ····return-object·p0 |
31 | .end·method | 31 | .end·method |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$wlF5Lmygug2HifzLlH779V8jReI; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"lambda" | 3 | .source·"lambda" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Landroid/view/View$OnClickListener; | 5 | .implements·Landroid/view/View$OnClickListener; |
Offset 12, 23 lines modified | Offset 12, 23 lines modified | ||
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method·public·synthetic·constructor·<init>(Landroid/app/PendingIntent;)V | 13 | .method·public·synthetic·constructor·<init>(Landroid/app/PendingIntent;)V |
14 | ····.locals·0 | 14 | ····.locals·0 |
15 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 15 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
16 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 16 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$wlF5Lmygug2HifzLlH779V8jReI;->f$0:Landroid/app/PendingIntent; |
17 | ····return-void | 17 | ····return-void |
18 | .end·method | 18 | .end·method |
19 | #·virtual·methods | 19 | #·virtual·methods |
20 | .method·public·final·onClick(Landroid/view/View;)V | 20 | .method·public·final·onClick(Landroid/view/View;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 22 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$wlF5Lmygug2HifzLlH779V8jReI;->f$0:Landroid/app/PendingIntent; |
23 | ····invoke-static·{p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->lambda$createIntentOnClickListener$ | 23 | ····invoke-static·{p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->lambda$createIntentOnClickListener$4(Landroid/app/PendingIntent;Landroid/view/View;)V |
24 | ····return-void | 24 | ····return-void |
25 | .end·method | 25 | .end·method |
Offset 1, 44 lines modified | Offset 1, 46 lines modified | ||
1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$_9AKIndHE_v2Sz1V8d6jhA82Gc4; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"lambda" | 3 | .source·"lambda" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Lcom/ | 5 | .implements·Lcom/google/common/base/Predicate; |
6 | #·static·fields | 6 | #·static·fields |
7 | .field·public·static·final·synthetic·INSTANCE:Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 7 | .field·public·static·final·synthetic·INSTANCE:Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$_9AKIndHE_v2Sz1V8d6jhA82Gc4; |
8 | #·direct·methods | 8 | #·direct·methods |
9 | .method·static·synthetic·constructor·<clinit>()V | 9 | .method·static·synthetic·constructor·<clinit>()V |
10 | ····.locals·1 | 10 | ····.locals·1 |
11 | ····new-instance·v0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 11 | ····new-instance·v0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$_9AKIndHE_v2Sz1V8d6jhA82Gc4; |
12 | ····invoke-direct·{v0},·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 12 | ····invoke-direct·{v0},·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$_9AKIndHE_v2Sz1V8d6jhA82Gc4;-><init>()V |
13 | ····sput-object·v0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 13 | ····sput-object·v0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$_9AKIndHE_v2Sz1V8d6jhA82Gc4;->INSTANCE:Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$_9AKIndHE_v2Sz1V8d6jhA82Gc4; |
14 | ····return-void | 14 | ····return-void |
15 | .end·method | 15 | .end·method |
16 | .method·private·synthetic·constructor·<init>()V | 16 | .method·private·synthetic·constructor·<init>()V |
17 | ····.locals·0 | 17 | ····.locals·0 |
18 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 18 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
19 | ····return-void | 19 | ····return-void |
20 | .end·method | 20 | .end·method |
21 | #·virtual·methods | 21 | #·virtual·methods |
22 | .method·public·final· | 22 | .method·public·final·apply(Ljava/lang/Object;)Z |
23 | ····.locals·0 | 23 | ····.locals·0 |
24 | ···· | 24 | ····check-cast·p1,·Landroid/content/Intent; |
25 | ····mo | 25 | ····invoke-static·{p1},·Lcom/android/textclassifier/TextClassifierImpl;->lambda$maybeCreateExtrasForTranslate$5(Landroid/content/Intent;)Z |
26 | ····move-result·p0 | ||
26 | ····return | 27 | ····return·p0 |
27 | .end·method | 28 | .end·method |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$Qwks3xU-K0S5rmi-r5zY7rcmhrA; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"lambda" | 3 | .source·"lambda" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Lcom/google/common/base/Function; | 5 | .implements·Lcom/google/common/base/Function; |
Offset 12, 27 lines modified | Offset 12, 27 lines modified | ||
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method·public·synthetic·constructor·<init>(Ljava/util/ArrayList;)V | 13 | .method·public·synthetic·constructor·<init>(Ljava/util/ArrayList;)V |
14 | ····.locals·0 | 14 | ····.locals·0 |
15 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 15 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
16 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 16 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$Qwks3xU-K0S5rmi-r5zY7rcmhrA;->f$0:Ljava/util/ArrayList; |
17 | ····return-void | 17 | ····return-void |
18 | .end·method | 18 | .end·method |
19 | #·virtual·methods | 19 | #·virtual·methods |
20 | .method·public·final·apply(Ljava/lang/Object;)Ljava/lang/Object; | 20 | .method·public·final·apply(Ljava/lang/Object;)Ljava/lang/Object; |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 22 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$Qwks3xU-K0S5rmi-r5zY7rcmhrA;->f$0:Ljava/util/ArrayList; |
23 | ····check-cast·p1,·Lcom/google/android/textclassifier/LangIdModel; | 23 | ····check-cast·p1,·Lcom/google/android/textclassifier/LangIdModel; |
24 | ····invoke-static·{p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->lambda$createClassificationResult$ | 24 | ····invoke-static·{p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->lambda$createClassificationResult$3(Ljava/util/ArrayList;Lcom/google/android/textclassifier/LangIdModel;)Lcom/google/common/base/Optional; |
25 | ····move-result-object·p0 | 25 | ····move-result-object·p0 |
26 | ····return-object·p0 | 26 | ····return-object·p0 |
27 | .end·method | 27 | .end·method |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 1 | .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"lambda" | 3 | .source·"lambda" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Ljava/util/function/Function; | 5 | .implements·Ljava/util/function/Function; |
Offset 14, 31 lines modified | Offset 14, 31 lines modified | ||
14 | #·direct·methods | 14 | #·direct·methods |
15 | .method·public·synthetic·constructor·<init>(Lcom/android/textclassifier/TextClassifierImpl;Lcom/google/common/base/Optional;)V | 15 | .method·public·synthetic·constructor·<init>(Lcom/android/textclassifier/TextClassifierImpl;Lcom/google/common/base/Optional;)V |
16 | ····.locals·0 | 16 | ····.locals·0 |
17 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 17 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
18 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 18 | ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws;->f$0:Lcom/android/textclassifier/TextClassifierImpl; |
19 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 19 | ····iput-object·p2,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws;->f$1:Lcom/google/common/base/Optional; |
20 | ····return-void | 20 | ····return-void |
21 | .end·method | 21 | .end·method |
22 | #·virtual·methods | 22 | #·virtual·methods |
23 | .method·public·final·apply(Ljava/lang/Object;)Ljava/lang/Object; | 23 | .method·public·final·apply(Ljava/lang/Object;)Ljava/lang/Object; |
24 | ····.locals·1 | 24 | ····.locals·1 |
25 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 25 | ····iget-object·v0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws;->f$0:Lcom/android/textclassifier/TextClassifierImpl; |
26 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 26 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws;->f$1:Lcom/google/common/base/Optional; |
27 | ····check-cast·p1,·Ljava/lang/CharSequence; | 27 | ····check-cast·p1,·Ljava/lang/CharSequence; |
28 | ····invoke-virtual·{v0,·p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->lambda$suggestConversationActions$ | 28 | ····invoke-virtual·{v0,·p0,·p1},·Lcom/android/textclassifier/TextClassifierImpl;->lambda$suggestConversationActions$1$TextClassifierImpl(Lcom/google/common/base/Optional;Ljava/lang/CharSequence;)Ljava/util/List; |
29 | ····move-result-object·p0 | 29 | ····move-result-object·p0 |
30 | ····return-object·p0 | 30 | ····return-object·p0 |
31 | .end·method | 31 | .end·method |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | ··Size:· | 1 | ··Size:·3959977···» Blocks:·7736·······IO·Block:·4096···regular·file |
2 | Links:·1 | 2 | Links:·1 |
3 | Access:·(0644/-rw-r--r--)··Uid:·(·1001/·····dev)···Gid:·(·1001/·····dev) | 3 | Access:·(0644/-rw-r--r--)··Uid:·(·1001/·····dev)···Gid:·(·1001/·····dev) |
4 | Modify:·1970-01-01·00:00:00.000000000·+0000 | 4 | Modify:·1970-01-01·00:00:00.000000000·+0000 |