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, 16 lines modified | Offset 1, 14 lines modified | ||
1 | Zip·file·size:· | 1 | Zip·file·size:·3955881·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··· | 6 | -rw----·····1.0·fat···512604·bx·stor·09-Jan-01·00:00·classes.dex |
8 | -rw----·····1.0·fat·· | 7 | -rw----·····1.0·fat··3365888·bx·stor·09-Jan-01·00:00·lib/arm64-v8a/libtextclassifier.so |
9 | -rw----·····1.0·fat··3421744·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····· | 45 | -rw----·····2.0·fat·····5278·bl·defN·09-Jan-01·00:00·META-INF/CERT.SF |
48 | -rw----·····2.0·fat····· | 46 | -rw----·····2.0·fat·····1722·bl·defN·09-Jan-01·00:00·META-INF/CERT.RSA |
49 | -rw----·····2.0·fat····· | 47 | -rw----·····2.0·fat·····5166·bl·defN·09-Jan-01·00:00·META-INF/MANIFEST.MF |
50 | 48 | 46·files,·3957556·bytes·uncompressed,·3935256·bytes·compressed:··0.6% | |
51 | 49·files,·4067054·bytes·uncompressed,·4044397·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·android:compileSdkVersion="30"·android:compileSdkVersionCodename="11"·android:versionCode="30 | 2 | <manifest·android:compileSdkVersion="30"·android:compileSdkVersionCodename="11"·android:versionCode="300000000"·android:versionName="2019-09"·coreApp="true"·package="android.ext.services"·platformBuildVersionCode="30"·platformBuildVersionName="11"·xmlns:android="http://schemas.android.com/apk/res/android"·xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"> |
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:appComponentFactory="androidx.core.app.CoreComponentFactory"·android:defaultToDeviceProtectedStorage="true"·android:directBootAware="true"·android:extractNativeLibs="false"·android:forceQueryable="true"·android:label="@string/app_name"·android:supportsRtl="true"> | 12 | ··<application·android:appComponentFactory="androidx.core.app.CoreComponentFactory"·android:defaultToDeviceProtectedStorage="true"·android:directBootAware="true"·android:extractNativeLibs="false"·android:forceQueryable="true"·android:label="@string/app_name"·android:supportsRtl="true"> |
13 | ····<service·android: | 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: | 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:exported="true"·android:label="@string/notification_assistant"·android:name="android.ext.services.notification.Assistant"·android:permission="android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"> | 23 | ····<service·android:exported="true"·android:label="@string/notification_assistant"·android:name="android.ext.services.notification.Assistant"·android:permission="android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"> |
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: | 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: | 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:exported="false"·android:name="com.android.textclassifier.notification.CopyCodeActivity"·android:theme="@android:style/Theme.NoDisplay"/> | 40 | ····<activity·android:exported="false"·android:name="com.android.textclassifier.notification.CopyCodeActivity"·android:theme="@android:style/Theme.NoDisplay"/> |
41 | ····<service·android:exported="true"·android:name="com.android.textclassifier.DefaultTextClassifierService"·android:permission="android.permission.BIND_TEXTCLASSIFIER_SERVICE"> | 41 | ····<service·android:exported="true"·android:name="com.android.textclassifier.DefaultTextClassifierService"·android:permission="android.permission.BIND_TEXTCLASSIFIER_SERVICE"> |
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: | 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.3.4-dirty | 36 | version:·2.3.4-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······ | 91 | ?rwxrwxr-x··2.0·unx······629·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$TextClassifierImpl$GgWuU910BaKzzHu6MQGYGCHOgkg.class |
93 | ?rwxrwxr-x··2.0·unx······784·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$TextClassifierImpl$8TEt_aVD6KfKHt3Yd93I5TAKLlc.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····· | 104 | ?rwxrwxr-x··2.0·unx·····3676·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager$ModelFile.class |
105 | ?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 |
106 | ?rwxrwxr-x··2.0·unx·····1 | 106 | ?rwxrwxr-x··2.0·unx·····1435·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager.class |
107 | ?rwxrwxr-x··2.0·unx···· | 107 | ?rwxrwxr-x··2.0·unx····35123·b-·defN·80-Jan-01·00:00·com/android/textclassifier/TextClassifierImpl.class |
108 | ?rwxrwxr-x··2.0·unx····· | 108 | ?rwxrwxr-x··2.0·unx·····5889·b-·stor·80-Jan-01·00:00·com/android/textclassifier/TextClassifierSettings.class |
109 | ?rwxrwxr-x··2.0·unx····34576·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·····8000·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·····3 | 152 | ?rwxrwxr-x··2.0·unx·····2315·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotationOptions.class |
159 | ?rwxrwxr-x··2.0·unx·····2443·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····· | 154 | ?rwxrwxr-x··2.0·unx·····1593·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$ClassificationOptions.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·····1891·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·····1 | 159 | ?rwxrwxr-x··2.0·unx·····1198·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$SelectionOptions.class |
169 | ?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 |
170 | ?rwxrwxr-x··2.0·unx·····6261·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:· |
269 | Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$ | 267 | Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws.class |
268 | Comment:· | ||
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·n,·int·n2)·{ | 15 | ····public·View·onRenderSuggestion(final·InlinePresentation·inlinePresentation,·final·int·n,·int·n2)·{ |
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(n); | 19 | ········sb.append(n); |
24 | ········sb.append(",·height="); | 20 | ········sb.append(",·height="); |
25 | ········sb.append(n2); | 21 | ········sb.append(n2); |
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 183, 37 lines modified | Offset 183, 37 lines modified | ||
183 | ··#178·=·Utf8···············getText | 183 | ··#178·=·Utf8···············getText |
184 | ··#179·=·NameAndType········#178:#163·····//·getText:()Ljava/lang/CharSequence; | 184 | ··#179·=·NameAndType········#178:#163·····//·getText:()Ljava/lang/CharSequence; |
185 | ··#180·=·Methodref··········#173.#179·····//·android/view/textclassifier/ConversationActions$Message.getText:()Ljava/lang/CharSequence; | 185 | ··#180·=·Methodref··········#173.#179·····//·android/view/textclassifier/ConversationActions$Message.getText:()Ljava/lang/CharSequence; |
186 | ··#181·=·Utf8···············getReferenceTime | 186 | ··#181·=·Utf8···············getReferenceTime |
187 | ··#182·=·Utf8···············()Ljava/time/ZonedDateTime; | 187 | ··#182·=·Utf8···············()Ljava/time/ZonedDateTime; |
188 | ··#183·=·NameAndType········#181:#182·····//·getReferenceTime:()Ljava/time/ZonedDateTime; | 188 | ··#183·=·NameAndType········#181:#182·····//·getReferenceTime:()Ljava/time/ZonedDateTime; |
189 | ··#184·=·Methodref··········#173.#183·····//·android/view/textclassifier/ConversationActions$Message.getReferenceTime:()Ljava/time/ZonedDateTime; | 189 | ··#184·=·Methodref··········#173.#183·····//·android/view/textclassifier/ConversationActions$Message.getReferenceTime:()Ljava/time/ZonedDateTime; |
190 | ··#185·=·Utf8··············· | 190 | ··#185·=·Utf8···············android/content/pm/ResolveInfo |
191 | ··#186·=· | 191 | ··#186·=·Class··············#185··········//·android/content/pm/ResolveInfo |
192 | ··#187·=· | 192 | ··#187·=·Utf8···············handleAllWebDataURI |
193 | ··#188·=· | 193 | ··#188·=·Utf8···············Z |
194 | ··#189·=· | 194 | ··#189·=·NameAndType········#187:#188·····//·handleAllWebDataURI:Z |
195 | ··#190·=· | 195 | ··#190·=·Fieldref···········#186.#189·····//·android/content/pm/ResolveInfo.handleAllWebDataURI:Z |
196 | ··#191·=·Utf8··············· | 196 | ··#191·=·Utf8···············titleWithEntity |
197 | ··#192·=·Utf8··············· | 197 | ··#192·=·Utf8···············Ljava/lang/String; |
198 | ··#193·=·NameAndType········#191:#192·····//·h | 198 | ··#193·=·NameAndType········#191:#192·····//·titleWithEntity:Ljava/lang/String; |
199 | ··#194·=·Fieldref···········# | 199 | ··#194·=·Fieldref···········#59.#193······//·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String; |
200 | ··#195·=·Utf8···············activityInfo | 200 | ··#195·=·Utf8···············activityInfo |
201 | ··#196·=·Utf8···············Landroid/content/pm/ActivityInfo; | 201 | ··#196·=·Utf8···············Landroid/content/pm/ActivityInfo; |
202 | ··#197·=·NameAndType········#195:#196·····//·activityInfo:Landroid/content/pm/ActivityInfo; | 202 | ··#197·=·NameAndType········#195:#196·····//·activityInfo:Landroid/content/pm/ActivityInfo; |
203 | ··#198·=·Fieldref···········#1 | 203 | ··#198·=·Fieldref···········#186.#197·····//·android/content/pm/ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo; |
204 | ··#199·=·Utf8···············android/content/pm/ActivityInfo | 204 | ··#199·=·Utf8···············android/content/pm/ActivityInfo |
205 | ··#200·=·Class··············#199··········//·android/content/pm/ActivityInfo | 205 | ··#200·=·Class··············#199··········//·android/content/pm/ActivityInfo |
206 | ··#201·=·Utf8···············packageName | 206 | ··#201·=·Utf8···············packageName |
207 | ··#202·=·NameAndType········#201:#1 | 207 | ··#202·=·NameAndType········#201:#192·····//·packageName:Ljava/lang/String; |
208 | ··#203·=·Fieldref···········#200.#202·····//·android/content/pm/ActivityInfo.packageName:Ljava/lang/String; | 208 | ··#203·=·Fieldref···········#200.#202·····//·android/content/pm/ActivityInfo.packageName:Ljava/lang/String; |
209 | ··#204·=·Utf8···············android | 209 | ··#204·=·Utf8···············android |
210 | ··#205·=·String·············#204··········//·android | 210 | ··#205·=·String·············#204··········//·android |
211 | ··#206·=·Utf8···············titleWithoutEntity | 211 | ··#206·=·Utf8···············titleWithoutEntity |
212 | ··#207·=·NameAndType········#206:#1 | 212 | ··#207·=·NameAndType········#206:#192·····//·titleWithoutEntity:Ljava/lang/String; |
213 | ··#208·=·Fieldref···········#59.#207······//·com/android/textclassifier/common/intent/LabeledIntent.titleWithoutEntity:Ljava/lang/String; | 213 | ··#208·=·Fieldref···········#59.#207······//·com/android/textclassifier/common/intent/LabeledIntent.titleWithoutEntity:Ljava/lang/String; |
214 | ··#209·=·Utf8···············android/text/TextUtils | 214 | ··#209·=·Utf8···············android/text/TextUtils |
215 | ··#210·=·Class··············#209··········//·android/text/TextUtils | 215 | ··#210·=·Class··············#209··········//·android/text/TextUtils |
216 | ··#211·=·Utf8···············(Ljava/lang/CharSequence;)Z | 216 | ··#211·=·Utf8···············(Ljava/lang/CharSequence;)Z |
217 | ··#212·=·NameAndType········#46:#211······//·isEmpty:(Ljava/lang/CharSequence;)Z | 217 | ··#212·=·NameAndType········#46:#211······//·isEmpty:(Ljava/lang/CharSequence;)Z |
218 | ··#213·=·Methodref··········#210.#212·····//·android/text/TextUtils.isEmpty:(Ljava/lang/CharSequence;)Z | 218 | ··#213·=·Methodref··········#210.#212·····//·android/text/TextUtils.isEmpty:(Ljava/lang/CharSequence;)Z |
219 | ··#214·=·Utf8···············hashMessage | 219 | ··#214·=·Utf8···············hashMessage |
Offset 586, 44 lines modified | Offset 586, 39 lines modified | ||
586 | ··static·java.lang.CharSequence·lambda$createTitleChooser$1(com.android.textclassifier.common.intent.LabeledIntent,·android.content.pm.ResolveInfo); | 586 | ··static·java.lang.CharSequence·lambda$createTitleChooser$1(com.android.textclassifier.common.intent.LabeledIntent,·android.content.pm.ResolveInfo); |
587 | ····descriptor:·(Lcom/android/textclassifier/common/intent/LabeledIntent;Landroid/content/pm/ResolveInfo;)Ljava/lang/CharSequence; | 587 | ····descriptor:·(Lcom/android/textclassifier/common/intent/LabeledIntent;Landroid/content/pm/ResolveInfo;)Ljava/lang/CharSequence; |
588 | ····flags:·ACC_STATIC,·ACC_SYNTHETIC | 588 | ····flags:·ACC_STATIC,·ACC_SYNTHETIC |
589 | ····Code: | 589 | ····Code: |
590 | ······stack=300,·locals=5,·args_size=2 | 590 | ······stack=300,·locals=5,·args_size=2 |
591 | ·········0:·aload_1 | 591 | ·········0:·aload_1 |
592 | ·········1:·i | 592 | ·········1:·getfield······#190················//·Field·android/content/pm/ResolveInfo.handleAllWebDataURI:Z |
593 | ·········4:· | 593 | ·········4:·istore_2 |
594 | ·········5:· | 594 | ·········5:·iload_2 |
595 | ········· | 595 | ·········6:·ifeq··········14 |
596 | ·········9:·aload_ | 596 | ·········9:·aload_0 |
597 | ········10:·getfield······#194················//·Field·android/content/ | 597 | ········10:·getfield······#194················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String; |
598 | ········13:· | 598 | ········13:·areturn |
599 | ········14:· | 599 | ········14:·aload_1 |
600 | ········15:· | 600 | ········15:·getfield······#198················//·Field·android/content/pm/ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo; |
601 | ········18:·a | 601 | ········18:·getfield······#203················//·Field·android/content/pm/ActivityInfo.packageName:Ljava/lang/String; |
602 | ········ | 602 | ········21:·astore_1 |
603 | ········22:· | 603 | ········22:·ldc···········#205················//·String·android |
604 | ········2 | 604 | ········24:·astore_3 |
605 | ········2 | 605 | ········25:·aload_3 |
606 | ········2 | 606 | ········26:·aload_1 |
607 | ········ | 607 | ········27:·invokevirtual·#127················//·Method·java/lang/String.equals:(Ljava/lang/Object;)Z |
608 | ········3 | 608 | ········30:·istore········4 |
609 | ········3 | 609 | ········32:·iload·········4 |
610 | ········34:· | 610 | ········34:·ifeq··········42 |
611 | ········3 | 611 | ········37:·aload_0 |
612 | ········3 | 612 | ········38:·getfield······#194················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String; |
613 | ········ | 613 | ········41:·areturn |
614 | ········4 | 614 | ········42:·aload_0 |
615 | ········43:· | 615 | ········43:·getfield······#208················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithoutEntity:Ljava/lang/String; |
616 | ········46:·a | 616 | ········46:·areturn |
617 | ········47:·getfield······#188················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String; | ||
618 | ········50:·areturn | ||
619 | ········51:·aload_0 | ||
620 | ········52:·getfield······#208················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithoutEntity:Ljava/lang/String; | ||
621 | ········55:·areturn | ||
622 | ··static·boolean·lambda$toNativeMessages$0(android.view.textclassifier.ConversationActions$Message); | 617 | ··static·boolean·lambda$toNativeMessages$0(android.view.textclassifier.ConversationActions$Message); |
623 | ····descriptor:·(Landroid/view/textclassifier/ConversationActions$Message;)Z | 618 | ····descriptor:·(Landroid/view/textclassifier/ConversationActions$Message;)Z |
624 | ····flags:·ACC_STATIC,·ACC_SYNTHETIC | 619 | ····flags:·ACC_STATIC,·ACC_SYNTHETIC |
625 | ····Code: | 620 | ····Code: |
626 | ······stack=300,·locals=1,·args_size=1 | 621 | ······stack=300,·locals=1,·args_size=1 |
627 | ·········0:·aload_0 | 622 | ·········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 | ········ | 74 | ········this.textClassifier·=·new·TextClassifierImpl((Context)this,·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 16, 23 lines modified | Offset 16, 19 lines modified | ||
16 | import·java.util.List; | 16 | import·java.util.List; |
17 | import·java.io.File; | 17 | import·java.io.File; |
18 | public·final·class·ModelFileManager$ModelFile | 18 | public·final·class·ModelFileManager$ModelFile |
19 | { | 19 | { |
20 | ····private·final·File·file; | 20 | ····private·final·File·file; |
21 | ····private·final·boolean·languageIndependent; | 21 | ····private·final·boolean·languageIndependent; |
22 | ····private·final·String·modelType; | ||
23 | ····private·final·List·supportedLocales; | 22 | ····private·final·List·supportedLocales; |
24 | ····private·final·String·supportedLocalesStr; | 23 | ····private·final·String·supportedLocalesStr; |
25 | ····private·final·int·version; | 24 | ····private·final·int·version; |
26 | ···· | 25 | ···· |
27 | ····public·ModelFileManager$ModelFile( | 26 | ····public·ModelFileManager$ModelFile(File·file,·final·int·version,·List·supportedLocales,·String·supportedLocalesStr,·final·boolean·languageIndependent)·{ |
28 | ········Preconditions.checkNotNull((Object)modelType); | ||
29 | ········modelType·=·modelType; | ||
30 | ········this.modelType·=·modelType; | ||
31 | ········Preconditions.checkNotNull((Object)file); | 27 | ········Preconditions.checkNotNull((Object)file); |
32 | ········file·=·file; | 28 | ········file·=·file; |
33 | ········this.file·=·file; | 29 | ········this.file·=·file; |
34 | ········this.version·=·version; | 30 | ········this.version·=·version; |
35 | ········Preconditions.checkNotNull((Object)supportedLocales); | 31 | ········Preconditions.checkNotNull((Object)supportedLocales); |
36 | ········supportedLocales·=·supportedLocales; | 32 | ········supportedLocales·=·supportedLocales; |
37 | ········this.supportedLocales·=·supportedLocales; | 33 | ········this.supportedLocales·=·supportedLocales; |
Offset 83, 10 lines modified | Offset 79, 10 lines modified | ||
83 | ····} | 79 | ····} |
84 | ···· | 80 | ···· |
85 | ····public·ResultIdUtils$ModelInfo·toModelInfo()·{ | 81 | ····public·ResultIdUtils$ModelInfo·toModelInfo()·{ |
86 | ········return·new·ResultIdUtils$ModelInfo(this.getVersion(),·this.supportedLocalesStr); | 82 | ········return·new·ResultIdUtils$ModelInfo(this.getVersion(),·this.supportedLocalesStr); |
87 | ····} | 83 | ····} |
88 | ···· | 84 | ···· |
89 | ····public·String·toString()·{ | 85 | ····public·String·toString()·{ |
90 | ········return·String.format(Locale.US,·"ModelFile·{· | 86 | ········return·String.format(Locale.US,·"ModelFile·{·path=%s·name=%s·version=%d·locales=%s·}",·this.getPath(),·this.getName(),·this.version,·this.supportedLocalesStr); |
91 | ····} | 87 | ····} |
92 | } | 88 | } |
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 | ····st | 23 | ····public·ModelFileManager$ModelFileSupplierImpl(File·factoryModelDir,·final·String·s,·File·updatedModelFile,·Function·versionSupplier,·Function·supportedLocalesSupplier)·{ |
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(TextClassifierSettings·settings,·String·modelType,·File·factoryModelDir,·final·String·s,·File·configUpdaterModelFile,·File·downloaderModelDir,·Function·versionSupplier,·Function·supportedLocalesSupplier)·{ | ||
43 | ········this.lock·=·new·Object(); | 24 | ········this.lock·=·new·Object(); |
44 | ········Preconditions.checkNotNull((Object) | 25 | ········Preconditions.checkNotNull((Object)updatedModelFile); |
45 | ········ | 26 | ········updatedModelFile·=·updatedModelFile; |
46 | ········this. | 27 | ········this.updatedModelFile·=·updatedModelFile; |
47 | ········Preconditions.checkNotNull((Object)modelType); | ||
48 | ········modelType·=·modelType; | ||
49 | ········this.modelType·=·modelType; | ||
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 | ········ | 42 | ········//· |
71 | ········ | 43 | ········//·This·method·could·not·be·decompiled. |
72 | ········ | 44 | ········//· |
73 | ········ | 45 | ········//·Original·Bytecode: |
74 | ········ | 46 | ········//· |
75 | ········ | 47 | ········//·····2:·astore_2······· |
76 | ········ | 48 | ········//·····3:·aload_1········ |
77 | ········ | 49 | ········//·····4:·invokevirtual···java/io/File.exists:()Z |
78 | ········ | 50 | ········//·····7:·istore_3······· |
79 | ············t | 51 | ········//·····8:·aconst_null···· |
80 | ········ | 52 | ········//·····9:·astore··········4 |
81 | ········ | 53 | ········//····11:·iload_3········ |
82 | ········ | 54 | ········//····12:·ifne············17 |
83 | ········ | 55 | ········//····15:·aconst_null···· |
84 | ················ | 56 | ········//····16:·areturn········ |
85 | ················ | 57 | ········//····17:·ldc·············268435456 |
86 | ············ | 58 | ········//····19:·istore_3······· |
87 | ········ | 59 | ········//····20:·aload_1········ |
88 | ········ | 60 | ········//····21:·iload_3········ |
89 | ················tr | 61 | ········//····22:·invokestatic····android/os/ParcelFileDescriptor.open:(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor; |
90 | ········ | 62 | ········//····25:·astore··········5 |
91 | ···················· | 63 | ········//····27:·aload···········5 |
92 | ········ | 64 | ········//····29:·ifnonnull·······39 |
93 | ············· | 65 | ········//····32:·aload···········5 |
94 | ············· | 66 | ········//····34:·invokestatic····com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.maybeCloseAndLogError:(Landroid/os/ParcelFileDescriptor;)V |
95 | ········ | 67 | ········//····37:·aconst_null···· |
96 | ········ | 68 | ········//····38:·areturn········ |
97 | ········ | 69 | ········//····39:·aload···········5 |
98 | ············ | 70 | ········//····41:·invokevirtual···android/os/ParcelFileDescriptor.getFd:()I |
99 | ········ | 71 | ········//····44:·istore··········6 |
100 | ········ | 72 | ········//····46:·aload_0········ |
101 | ············· | 73 | ········//····47:·getfield········com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.versionSupplier:Ljava/util/function/Function; |
102 | ········ | 74 | ········//····50:·astore··········7 |
103 | ········ | 75 | ········//····52:·iload···········6 |
104 | ············· | 76 | ········//····54:·invokestatic····java/lang/Integer.valueOf:(I)Ljava/lang/Integer; |
105 | ········ | 77 | ········//····57:·astore··········8 |
106 | ········ | 78 | ········//····59:·aload···········7 |
107 | ········ | 79 | ········//····61:·aload···········8 |
108 | ············· | 80 | ········//····63:·invokeinterface·java/util/function/Function.apply:(Ljava/lang/Object;)Ljava/lang/Object; |
109 | ········ | 81 | ········//····68:·astore··········7 |
110 | ········ | 82 | ········//····70:·aload···········7 |
111 | ········ | 83 | ········//····72:·checkcast·······Ljava/lang/Integer; |
112 | ········ | 84 | ········//····75:·astore··········7 |
113 | ········ | 85 | ········//····77:·aload···········7 |
114 | ········ | 86 | ········//····79:·invokevirtual···java/lang/Integer.intValue:()I |
115 | ········ | 87 | ········//····82:·istore··········9 |
116 | ········ | 88 | ········//····84:·aload_0········ |
117 | ············· | 89 | ········//····85:·getfield········com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.supportedLocalesSupplier:Ljava/util/function/Function; |
118 | ········ | 90 | ········//····88:·astore_0······· |
119 | ········ | 91 | ········//····89:·iload···········6 |
120 | ············· | 92 | ········//····91:·invokestatic····java/lang/Integer.valueOf:(I)Ljava/lang/Integer; |
121 | ········ | 93 | ········//····94:·astore··········10 |
... 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; |
12 | import·a | 8 | import·java.util.function.Supplier; |
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· | 11 | ····private·final·Supplier·modelFileSupplier; |
18 | ····private·final·ImmutableMap·modelFileSuppliers; | ||
19 | ···· | 12 | ···· |
20 | ····public·ModelFileManager( | 13 | ····public·ModelFileManager(Supplier·modelFileSupplier)·{ |
21 | ········Preconditions.checkNotNull((Object) | 14 | ········Preconditions.checkNotNull((Object)modelFileSupplier); |
22 | ········ | 15 | ········modelFileSupplier·=·modelFileSupplier; |
23 | ········ | 16 | ········this.modelFileSupplier·=·modelFileSupplier; |
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.modelFileSuppliers·=·builder.build(); | ||
33 | ····} | 17 | ····} |
34 | ···· | 18 | ···· |
35 | ····ModelFileManager | 19 | ····public·ModelFileManager$ModelFile·findBestModelFile(final·LocaleList·list)·{ |
36 | ········ | 20 | ········String·s; |
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·s·:·ModelFileManager$ModelFile$ModelType.values())·{ | ||
48 | ············final·StringBuilder·sb·=·new·StringBuilder(); | ||
49 | ············sb.append(s); | ||
50 | ············sb.append("·model·file(s):"); | ||
51 | ············indentingPrintWriter.println(sb.toString()); | ||
52 | ············indentingPrintWriter.increaseIndent(); | ||
53 | ············final·UnmodifiableIterator·iterator2·=·this.listModelFiles(s).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·String·s,·final·LocaleList·list)·{ | ||
63 | ········String·s2; | ||
64 | ········if·(list·!=·null·&&·!list.isEmpty())·{ | 21 | ········if·(list·!=·null·&&·!list.isEmpty())·{ |
65 | ············s | 22 | ············s·=·list.toLanguageTags(); |
66 | ········} | 23 | ········} |
67 | ········else·{ | 24 | ········else·{ |
68 | ············s | 25 | ············s·=·LocaleList.getDefault().toLanguageTags(); |
69 | ········} | 26 | ········} |
70 | ········final·List<Locale.LanguageRange>·parse·=·Locale.LanguageRange.parse(s | 27 | ········final·List<Locale.LanguageRange>·parse·=·Locale.LanguageRange.parse(s); |
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()·{ |
81 | ········ | 38 | ········return·this.modelFileSupplier.get(); |
82 | ············return·((Supplier)this.modelFileSuppliers.get((Object)s)).get(); | ||
83 | ········} | ||
84 | ········return·ImmutableList.of(); | ||
85 | ····} | 39 | ····} |
86 | } | 40 | } |
Offset 37, 15 lines modified | Offset 37, 14 lines modified | ||
37 | import·android.app.PendingIntent$CanceledException; | 37 | import·android.app.PendingIntent$CanceledException; |
38 | import·android.view.View; | 38 | import·android.view.View; |
39 | import·android.content.pm.ResolveInfo; | 39 | import·android.content.pm.ResolveInfo; |
40 | import·android.content.res.Configuration; | 40 | import·android.content.res.Configuration; |
41 | import·android.content.res.Resources; | 41 | import·android.content.res.Resources; |
42 | import·java.io.FileNotFoundException; | 42 | import·java.io.FileNotFoundException; |
43 | import·android.os.ParcelFileDescriptor; | 43 | import·android.os.ParcelFileDescriptor; |
44 | import·java.io.File; | ||
45 | import·java.util.Objects; | 44 | import·java.util.Objects; |
46 | import·com.google.android.textclassifier.LangIdModel$LanguageResult; | 45 | import·com.google.android.textclassifier.LangIdModel$LanguageResult; |
47 | import·java.util.Map; | 46 | import·java.util.Map; |
48 | import·android.util.ArrayMap; | 47 | import·android.util.ArrayMap; |
49 | import·android.view.View$OnClickListener; | 48 | import·android.view.View$OnClickListener; |
50 | import·android.app.PendingIntent; | 49 | import·android.app.PendingIntent; |
51 | import·java.util.Collection; | 50 | import·java.util.Collection; |
Offset 55, 79 lines modified | Offset 54, 93 lines modified | ||
55 | import·com.google.android.textclassifier.ActionsSuggestionsModel$ActionSuggestion; | 54 | import·com.google.android.textclassifier.ActionsSuggestionsModel$ActionSuggestion; |
56 | import·android.view.textclassifier.ConversationActions$Request; | 55 | import·android.view.textclassifier.ConversationActions$Request; |
57 | import·android.app.RemoteAction; | 56 | import·android.app.RemoteAction; |
58 | import·android.content.Intent; | 57 | import·android.content.Intent; |
59 | import·com.android.textclassifier.common.intent.LabeledIntent$Result; | 58 | import·com.android.textclassifier.common.intent.LabeledIntent$Result; |
60 | import·com.google.common.collect.UnmodifiableIterator; | 59 | import·com.google.common.collect.UnmodifiableIterator; |
61 | import·java.util.stream.Collector; | 60 | import·java.util.stream.Collector; |
62 | import·java.util.function.Supplier; | ||
63 | import·java.util.stream.Collectors; | 61 | import·java.util.stream.Collectors; |
64 | import·java.util.function.Predicate; | 62 | import·java.util.function.Predicate; |
65 | import·com.google.common.base.Function; | ||
66 | import·android.os.Bundle; | 63 | import·android.os.Bundle; |
67 | import·com.android.textclassifier.common.intent.LabeledIntent$TitleChooser; | 64 | import·com.android.textclassifier.common.intent.LabeledIntent$TitleChooser; |
68 | import·com.android.textclassifier.common.intent.LabeledIntent; | 65 | import·com.android.textclassifier.common.intent.LabeledIntent; |
69 | import·java.util.ArrayList; | 66 | import·java.util.ArrayList; |
70 | import·com.google.common.collect.ImmutableList; | 67 | import·com.google.common.collect.ImmutableList; |
71 | import·android.view.textclassifier.TextClassification$Builder; | 68 | import·android.view.textclassifier.TextClassification$Builder; |
72 | import·android.view.textclassifier.TextClassification; | 69 | import·android.view.textclassifier.TextClassification; |
73 | import·com.google.android.textclassifier.AnnotatorModel$ClassificationResult; | 70 | import·com.google.android.textclassifier.AnnotatorModel$ClassificationResult; |
74 | import·java.util.List; | 71 | import·java.util.List; |
75 | import·com.android.textclassifier.common.logging.ResultIdUtils; | 72 | import·com.android.textclassifier.common.logging.ResultIdUtils; |
76 | import·com.google.common.base.Optional; | 73 | import·com.google.common.base.Optional; |
77 | import·android.os.LocaleList; | 74 | import·android.os.LocaleList; |
78 | import·com.android.textclassifier.common.base.TcLog; | 75 | import·com.android.textclassifier.common.base.TcLog; |
79 | import·android.os.Looper; | 76 | import·android.os.Looper; |
77 | import·java.util.function.Supplier; | ||
78 | import·java.util.function.Function; | ||
80 | import·com.google.common.base.Preconditions; | 79 | import·com.google.common.base.Preconditions; |
81 | import·com.android.textclassifier.common.statsd.TextClassifierEventLogger; | 80 | import·com.android.textclassifier.common.statsd.TextClassifierEventLogger; |
82 | import·com.android.textclassifier.common.intent.TemplateIntentFactory; | 81 | import·com.android.textclassifier.common.intent.TemplateIntentFactory; |
83 | import·com.google.android.textclassifier.LangIdModel; | 82 | import·com.google.android.textclassifier.LangIdModel; |
84 | import·com.android.textclassifier.common.statsd.GenerateLinksLogger; | 83 | import·com.android.textclassifier.common.statsd.GenerateLinksLogger; |
85 | import·android.view.textclassifier.TextClassifier; | 84 | import·android.view.textclassifier.TextClassifier; |
86 | import·android.content.Context; | 85 | import·android.content.Context; |
87 | import·com.google.android.textclassifier.AnnotatorModel; | 86 | import·com.google.android.textclassifier.AnnotatorModel; |
88 | import·com.google.android.textclassifier.ActionsSuggestionsModel; | 87 | import·com.google.android.textclassifier.ActionsSuggestionsModel; |
88 | import·java.io.File; | ||
89 | final·class·TextClassifierImpl | 89 | final·class·TextClassifierImpl |
90 | { | 90 | { |
91 | ····private·static·final·File·ANNOTATOR_UPDATED_MODEL_FILE; | ||
92 | ····private·static·final·File·FACTORY_MODEL_DIR; | ||
93 | ····private·static·final·File·UPDATED_ACTIONS_MODEL; | ||
94 | ····private·static·final·File·UPDATED_LANG_ID_MODEL_FILE; | ||
91 | ····private·ModelFileManager$ModelFile·actionModelInUse; | 95 | ····private·ModelFileManager$ModelFile·actionModelInUse; |
92 | ····private·ActionsSuggestionsModel·actionsImpl; | 96 | ····private·ActionsSuggestionsModel·actionsImpl; |
97 | ····private·final·ModelFileManager·actionsModelFileManager; | ||
93 | ····private·AnnotatorModel·annotatorImpl; | 98 | ····private·AnnotatorModel·annotatorImpl; |
99 | ····private·final·ModelFileManager·annotatorModelFileManager; | ||
94 | ····private·ModelFileManager$ModelFile·annotatorModelInUse; | 100 | ····private·ModelFileManager$ModelFile·annotatorModelInUse; |
95 | ····private·final·Context·context; | 101 | ····private·final·Context·context; |
96 | ····private·final·TextClassifier·fallback; | 102 | ····private·final·TextClassifier·fallback; |
97 | ····private·final·GenerateLinksLogger·generateLinksLogger; | 103 | ····private·final·GenerateLinksLogger·generateLinksLogger; |
98 | ····private·LangIdModel·langIdImpl; | 104 | ····private·LangIdModel·langIdImpl; |
105 | ····private·final·ModelFileManager·langIdModelFileManager; | ||
99 | ····private·ModelFileManager$ModelFile·langIdModelInUse; | 106 | ····private·ModelFileManager$ModelFile·langIdModelInUse; |
100 | ····private·final·Object·lock; | 107 | ····private·final·Object·lock; |
101 | ····private·final·ModelFileManager·modelFileManager; | ||
102 | ····private·final·TextClassifierSettings·settings; | 108 | ····private·final·TextClassifierSettings·settings; |
103 | ····private·final·TemplateIntentFactory·templateIntentFactory; | 109 | ····private·final·TemplateIntentFactory·templateIntentFactory; |
104 | ····private·final·TextClassifierEventLogger·textClassifierEventLogger; | 110 | ····private·final·TextClassifierEventLogger·textClassifierEventLogger; |
105 | ···· | 111 | ···· |
106 | ···· | 112 | ····static·{ |
107 | ········ | 113 | ········FACTORY_MODEL_DIR·=·new·File("/etc/textclassifier/"); |
114 | ········ANNOTATOR_UPDATED_MODEL_FILE·=·new·File("/data/misc/textclassifier/textclassifier.model"); | ||
115 | ········UPDATED_LANG_ID_MODEL_FILE·=·new·File("/data/misc/textclassifier/lang_id.model"); | ||
116 | ········UPDATED_ACTIONS_MODEL·=·new·File("/data/misc/textclassifier/actions_suggestions.model"); | ||
108 | ····} | 117 | ····} |
109 | ···· | 118 | ···· |
110 | ····TextClassifierImpl(Context·context,·TextClassifierSettings· | 119 | ····TextClassifierImpl(final·Context·context,·final·TextClassifierSettings·textClassifierSettings)·{ |
120 | ········this(context,·textClassifierSettings,·TextClassifier.NO_OP); | ||
121 | ····} | ||
122 | ···· | ||
123 | ····TextClassifierImpl(Context·context,·TextClassifierSettings·settings,·TextClassifier·fallback)·{ | ||
111 | ········this.lock·=·new·Object(); | 124 | ········this.lock·=·new·Object(); |
112 | ········this.textClassifierEventLogger·=·new·TextClassifierEventLogger(); | 125 | ········this.textClassifierEventLogger·=·new·TextClassifierEventLogger(); |
113 | ········Preconditions.checkNotNull((Object)context); | 126 | ········Preconditions.checkNotNull((Object)context); |
114 | ········context·=·context; | 127 | ········context·=·context; |
115 | ········this.context·=·context; | 128 | ········this.context·=·context; |
116 | ········Preconditions.checkNotNull((Object)settings); | ||
117 | ········settings·=·settings; | ||
118 | ········this.settings·=·settings; | ||
119 | ········Preconditions.checkNotNull((Object)modelFileManager); | ||
120 | ········modelFileManager·=·modelFileManager; | ||
121 | ········this.modelFileManager·=·modelFileManager; | ||
122 | ········Preconditions.checkNotNull((Object)fallback); | 129 | ········Preconditions.checkNotNull((Object)fallback); |
123 | ········fallback·=·fallback; | 130 | ········fallback·=·fallback; |
124 | ········this.fallback·=·fallback; | 131 | ········this.fallback·=·fallback; |
125 | ········ | 132 | ········Preconditions.checkNotNull((Object)settings); |
133 | ········settings·=·settings; | ||
134 | ········this.settings·=·settings; | ||
135 | ········this.generateLinksLogger·=·new·GenerateLinksLogger(settings.getGenerateLinksLogSampleRate()); | ||
136 | ········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)); | ||
137 | ········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)); | ||
138 | ········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)); | ||
126 | ········this.templateIntentFactory·=·new·TemplateIntentFactory(); | 139 | ········this.templateIntentFactory·=·new·TemplateIntentFactory(); |
127 | ····} | 140 | ····} |
128 | ···· | 141 | ···· |
129 | ····private·static·void·checkMainThread()·{ | 142 | ····private·static·void·checkMainThread()·{ |
130 | ········if·(Looper.myLooper()·==·Looper.getMainLooper())·{ | 143 | ········if·(Looper.myLooper()·==·Looper.getMainLooper())·{ |
131 | ············TcLog.e("TextClassifierImpl",·"TextClassifier·called·on·main·thread",·(Throwable)new·Exception()); | 144 | ············TcLog.e("TextClassifierImpl",·"TextClassifier·called·on·main·thread",·(Throwable)new·Exception()); |
132 | ········} | 145 | ········} |
Offset 169, 15 lines modified | Offset 182, 15 lines modified | ||
169 | ········ImmutableList·list; | 182 | ········ImmutableList·list; |
170 | ········if·(annotatorModel$ClassificationResult·==·null)·{ | 183 | ········if·(annotatorModel$ClassificationResult·==·null)·{ |
171 | ············list·=·ImmutableList.of(); | 184 | ············list·=·ImmutableList.of(); |
172 | ········} | 185 | ········} |
173 | ········else·{ | 186 | ········else·{ |
174 | ············list·=·this.templateIntentFactory.create(annotatorModel$ClassificationResult.getRemoteActionTemplates()); | 187 | ············list·=·this.templateIntentFactory.create(annotatorModel$ClassificationResult.getRemoteActionTemplates()); |
175 | ········} | 188 | ········} |
176 | ········final·-$$Lambda$TextClassifierImpl$ | 189 | ········final·-$$Lambda$TextClassifierImpl$JRO8dEkAfMFOqu4-iyLbagDQA_o·instance·=·-$$Lambda$TextClassifierImpl$JRO8dEkAfMFOqu4-iyLbagDQA_o.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 | ····p | 32 | ····private·static·float[]·getDeviceConfigFloatArray(final·String·s,·final·float[]·array)·{ |
42 | ········t | 33 | ········return·parse(DeviceConfig.getString("textclassifier",·s,·(String)null),·array); |
43 | ····} | 34 | ····} |
44 | ···· | 35 | ···· |
45 | ···· | 36 | ····private·static·List·getDeviceConfigStringList(final·String·s,·final·List·list)·{ |
46 | ········t | 37 | ········return·parse(DeviceConfig.getString("textclassifier",·s,·(String)null),·list); |
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)·{ | ||
54 | ········return·parse(this.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; | ||
172 | ········int·n3·=·0; | ||
... 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· | 67 | ········final·ActivityInfo·activityInfo·=·resolveInfo.activityInfo; |
84 | ········ | 68 | ········if·(activityInfo·==·null)·{ |
85 | ············ | 69 | ············return·null; |
86 | ················if·("android".equals(activityInfo.packageName))·{ | ||
87 | ····················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 | ········} |
96 | ········ret | 71 | ········if·("android".equals(activityInfo.packageName))·{ |
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·n,·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(n).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(),·n,·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 | ········} |
224 | ········final·int | 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)); |
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 | ···· |
21 | ····p | 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 | ···· | ||
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·=· | 37 | ············entityTypes·=·collection.toArray(entityTypes); |
29 | ········} | ||
30 | ········else·{ | ||
31 | ············entityTypes·=·collection.toArray(new·String[0]); | ||
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; |
19 | ········this.userLocationAccuracyMeters·=· | 22 | ········this.userLocationAccuracyMeters·=·0.0f; |
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, 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·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·6 | 00002c70:·7f00·0000·6100·6e00·6400·7200·6f00·6900··....a.n.d.r.o.i. | ||
00002c80:·6 | 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 |
20 | .method· | 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 | ||
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· | 14 | .field·private·final·modelFileSupplier:Ljava/util/function/Supplier; |
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 |
28 | .method·public·constructor·<init>(L | 25 | .method·public·constructor·<init>(Ljava/util/function/Supplier;)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 |
93 | ····.line· | 36 | ····.line·51 |
... 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 | ···· | 317 | ····.line·150 |
318 | ····iget-boolean·v0,·p1,·Landroid/content/pm/ResolveInfo;->handleAllWebDataURI:Z | ||
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 | ···· | 59 | ····iput-object·p3,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocales:Ljava/util/List; |
68 | ····iput·p3,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I | ||
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; | ||
73 | ···· | 63 | ····iput-object·p4,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; |
74 | ····invoke-static·{p5},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | ||
75 | ···· | 64 | ····.line·215 |
65 | ····iput-boolean·p5,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->languageIndependent:Z | ||
76 | ····iput-object·p5,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocalesStr:Ljava/lang/String; | ||
77 | ····.line·392 | ||
78 | ····iput-boolean·p6,·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 |
90 | .method· | 66 | .method·public·constructor·<init>(Ljava/io/File;Ljava/lang/String;Ljava/io/File;Ljava/util/function/Function;Ljava/util/function/Function;)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 |
32 | .method·p | 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 | ||
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 |
46 | ···· | 56 | ····const-wide·p1,·0x4066800000000000L····#·180.0 |
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 |
54 | ···· | 59 | ····const-wide·p1,·0x4076800000000000L····#·360.0 |
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 |
58 | ···· | 62 | ····const/4·p1,·0x0 |
59 | .end·method | ||
60 | 63 | ····.line·554 | |
61 | ···· | 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 | ||
69 | ····new-instance·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions$Builder; | ||
70 | ····invoke-direct·{v0},·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions$Builder;-><init>()V | ||
... 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 |
46 | .method·p | 36 | .method·public·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
47 | ····.locals· | 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 | ||
54 | .method·public·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;IZ)V | ||
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 |
61 | ···· | 69 | ····const/4·v13,·0x0 |
62 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | ||
63 | ····move- | 70 | ····move-object·v0,·p0 |
64 | ····.line·913 | ||
65 | ····iput-wide·v2,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;->referenceTimeMsUtc:J | ||
66 | ····move- | 71 | ····move-wide·v1,·p1 |
67 | ···· | 72 | ····move-object/from16·v3,·p3 |
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 |
70 | ···· | 74 | ····move-object/from16·v5,·p5 |
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 |
73 | ···· | 76 | ····move/from16·v7,·p7 |
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 |
81 | .end·method | ||
78 | · | 82 | .method·public·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;IZDDF)V |
83 | ····.locals·16 | ||
84 | ····.annotation·system·Ldalvik/annotation/Signature; | ||
... 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 |
28 | .method·p | 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 | ||
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 |
38 | ···· | 41 | ····const-wide·p1,·0x4066800000000000L····#·180.0 |
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 | ···· | 44 | ····const-wide·p1,·0x4076800000000000L····#·360.0 |
45 | ····iput-boolean·p9,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->usePodNer:Z | ||
46 | ···· | 45 | ····.line·491 |
47 | 46 | ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationLng:D | |
48 | 47 | ····const/4·p1,·0x0 | |
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 |
79 | .end·method | 70 | .end·method |
80 | .method·public·getUsePodNer()Z | ||
81 | ····.locals·0 | ||
... 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:··········3364032·(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·0x090c8c·0x090c8c·R···0x1000 |
8 | ··LOAD···········0x09 | 8 | ··LOAD···········0x091000·0x0000000000091000·0x0000000000091000·0x27ebb0·0x27ebb0·R·E·0x1000 |
9 | ··LOAD···········0x31 | 9 | ··LOAD···········0x310000·0x0000000000310000·0x0000000000310000·0x009148·0x009148·RW··0x1000 |
10 | ··LOAD···········0x3 | 10 | ··LOAD···········0x319148·0x000000000031a148·0x000000000031a148·0x002010·0x0029d8·RW··0x1000 |
11 | ··DYNAMIC········0x3 | 11 | ··DYNAMIC········0x318390·0x0000000000318390·0x0000000000318390·0x000210·0x000210·RW··0x8 |
12 | ··GNU_RELRO······0x31 | 12 | ··GNU_RELRO······0x310000·0x0000000000310000·0x0000000000310000·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·0x3354c0: |
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·02ca94·00···A··0···0··8 |
21 | ··[17]·.text·············PROGBITS········000000000009 | 21 | ··[17]·.text·············PROGBITS········0000000000091000·091000·27e39c·00··AX··0···0··4 |
22 | ··[18]·.plt··············PROGBITS········00000000003 | 22 | ··[18]·.plt··············PROGBITS········000000000030f3a0·30f3a0·000810·00··AX··0···0·16 |
23 | ··[19]·.data.rel.ro······PROGBITS········000000000031 | 23 | ··[19]·.data.rel.ro······PROGBITS········0000000000310000·310000·008348·00··WA··0···0··8 |
24 | ··[20]·.fini_array·······FINI_ARRAY······00000000003 | 24 | ··[20]·.fini_array·······FINI_ARRAY······0000000000318348·318348·000010·08··WA··0···0··8 |
25 | ··[21]·.init_array·······INIT_ARRAY······00000000003 | 25 | ··[21]·.init_array·······INIT_ARRAY······0000000000318358·318358·000038·00··WA··0···0··8 |
26 | ··[22]·.dynamic··········DYNAMIC·········00000000003 | 26 | ··[22]·.dynamic··········DYNAMIC·········0000000000318390·318390·000210·10··WA··9···0··8 |
27 | ··[23]·.got··············PROGBITS········00000000003 | 27 | ··[23]·.got··············PROGBITS········00000000003185a0·3185a0·000798·00··WA··0···0··8 |
28 | ··[24]·.got.plt··········PROGBITS········00000000003 | 28 | ··[24]·.got.plt··········PROGBITS········0000000000318d38·318d38·000410·00··WA··0···0··8 |
29 | ··[25]·.data·············PROGBITS········00000000003 | 29 | ··[25]·.data·············PROGBITS········000000000031a148·319148·002010·00··WA··0···0··8 |
30 | ··[26]·.bss··············NOBITS··········00000000003 | 30 | ··[26]·.bss··············NOBITS··········000000000031c160·31b158·0009c0·00··WA··0···0·16 |
31 | ··[27]·.shstrtab·········STRTAB··········0000000000000000·3 | 31 | ··[27]·.shstrtab·········STRTAB··········0000000000000000·31b158·000123·00······0···0··1 |
32 | ··[28]·.gnu_debugdata····PROGBITS········0000000000000000·3 | 32 | ··[28]·.gnu_debugdata····PROGBITS········0000000000000000·31b27b·01a240·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·0x318390·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)·············0x318d38 |
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)·········0x318358 |
28 | ·0x000000000000001b·(INIT_ARRAYSZ)·······56·(bytes) | 27 | ·0x000000000000001b·(INIT_ARRAYSZ)·······56·(bytes) |
29 | ·0x000000000000001a·(FINI_ARRAY)·········0x3 | 28 | ·0x000000000000001a·(FINI_ARRAY)·········0x318348 |
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 | 6 | ··GNU··················0x00000010» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:·67c0a15acf8cd102bd01217c5e419103 |
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:·00000000000013 | 2 | ·Addr:·0000000000001378··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)·········· | 16 | ··034:···3·(LIBC)··········5·(LIBC)··········5·(LIBC)··········5·(LIBC)······· |
17 | ··038:··· | 17 | ··038:···5·(LIBC)··········5·(LIBC)··········5·(LIBC)··········5·(LIBC)······· |
18 | ··03c:··· | 18 | ··03c:···5·(LIBC)··········3·(LIBC)··········5·(LIBC)··········5·(LIBC)······· |
19 | ··040:··· | 19 | ··040:···5·(LIBC)··········5·(LIBC)··········3·(LIBC)··········5·(LIBC)······· |
20 | ··044:··· | 20 | ··044:···5·(LIBC)··········3·(LIBC)··········5·(LIBC)··········5·(LIBC)······· |
21 | ··048:··· | 21 | ··048:···3·(LIBC)··········3·(LIBC)··········3·(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)·········· | 23 | ··050:···3·(LIBC)··········3·(LIBC)··········4·(LIBLOG)········3·(LIBC)······· |
24 | ··054:··· | 24 | ··054:···5·(LIBC)··········5·(LIBC)··········5·(LIBC)··········5·(LIBC)······· |
25 | ··058:··· | 25 | ··058:···3·(LIBC)··········3·(LIBC)··········3·(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)··· | 46 | ··0ac:···2·(VERS_1.0)······2·(VERS_1.0)··· |
47 | ··0b0:···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 | ··0x00 | 56 | ··0x0050:···Name:·LIBC··Flags:·none··Version:·3 |
58 | ··0x0020:·Version:·1··File:·lib | 57 | ··0x0020:·Version:·1··File:·libm.so··Cnt:·1 |
59 | ··0x00 | 58 | ··0x0060:···Name:·LIBC··Flags:·none··Version:·5 |
60 | ··0x0030:·Version:·1··File:·lib | 59 | ··0x0030:·Version:·1··File:·libdl.so··Cnt:·1 |
61 | ··0x00 | 60 | ··0x0070:···Name:·LIBC··Flags:·none··Version:·6 |
62 | ··0x0040:·Version:·1··File:·libdl.so··Cnt:·1 | ||
63 | ··0x0090:···Name:·LIBC··Flags:·none··Version:·7 |
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:· | 5 | SHA-256-Digest:·1esPuNk0W7q0fT6/j4byySfJGUjjk2Mumtk/1E3Vri4=\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:·L7F8ihx9a+fBKJG54RsoEKlKOGqRu/db8neG8iSObgY=\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 |
140 | SHA-256-Digest:· | 134 | SHA-256-Digest:·pBEd07HT+t7WVnofwSTHbK7aZ/5pS7CZtq+Q/i3OnYk=\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:·JrAgLqg2kr4FIhGXEsaSF3VRmSixkNsHF5xiHyVpZw8=\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:· | 7 | SHA-256-Digest:·7ngwsMU+pBK2ZOVNKIOKDrxSCmRnYWLnaBU//QvpCxg=\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:·DOdjXZFhc3WSodaior6mmPqB2joDqXkuYrNdPBsNGko=\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 |
142 | SHA-256-Digest:· | 136 | SHA-256-Digest:·l1X1X2pc3khZ0WQhtiwhp3Sw2C4Vq1bMS2tWxbGY9UY=\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$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:·3955881···» Blocks:·7728·······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 |