775 KB
/home/dev/aosp/build/android-11.0.0_r32/crosshatch-user/Google/system.img.apexes/com.google.android.extservices.apex-apex_payload.img.mount vs.
/home/dev/aosp/build/android-11.0.0_r32/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.extservices.apex-apex_payload.img.mount
212 B
file list
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
1 apex_manifest.pb1 apex_manifest.pb
2 lost+found2 lost+found
3 priv-app3 priv-app
4 priv-app/GoogleExtServices4 priv-app/ExtServices
5 priv-app/GoogleExtServices/GoogleExtServices.apk5 priv-app/ExtServices/ExtServices.apk
536 B
/home/dev/aosp/build/android-11.0.0_r32/crosshatch-user/Google/system.img.apexes/com.google.android.extservices.apex-apex_payload.img.mount/apex_manifest.pb vs.
/home/dev/aosp/build/android-11.0.0_r32/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.extservices.apex-apex_payload.img.mount/apex_manifest.pb
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
00000000:·0a17·636f·6d2e·616e·6472·6f69·642e·6578··..com.android.ex00000000:·0a17·636f·6d2e·616e·6472·6f69·642e·6578··..com.android.ex
00000010:·7473·6572·7669·6365·7310·9c92·e28f·01····tservices......00000010:·7473·6572·7669·6365·7310·80c6·868f·01····tservices......
774 KB
/home/dev/aosp/build/android-11.0.0_r32/crosshatch-user/Google/system.img.apexes/com.google.android.extservices.apex-apex_payload.img.mount/priv-app vs.
/home/dev/aosp/build/android-11.0.0_r32/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.extservices.apex-apex_payload.img.mount/priv-app
136 B
file list
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
1 GoogleExtServices1 ExtServices
2 GoogleExtServices/GoogleExtServices.apk2 ExtServices/ExtServices.apk
774 KB
/home/dev/aosp/build/android-11.0.0_r32/crosshatch-user/Google/system.img.apexes/com.google.android.extservices.apex-apex_payload.img.mount/priv-app/GoogleExtServices vs.
/home/dev/aosp/build/android-11.0.0_r32/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.extservices.apex-apex_payload.img.mount/priv-app/ExtServices
70.0 B
file list
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 GoogleExtServices.apk1 ExtServices.apk
774 KB
/home/dev/aosp/build/android-11.0.0_r32/crosshatch-user/Google/system.img.apexes/com.google.android.extservices.apex-apex_payload.img.mount/priv-app/GoogleExtServices/GoogleExtServices.apk vs.
/home/dev/aosp/build/android-11.0.0_r32/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.extservices.apex-apex_payload.img.mount/priv-app/ExtServices/ExtServices.apk
4.72 KB
zipinfo {}
    
Offset 1, 16 lines modifiedOffset 1, 14 lines modified
1 Zip·file·size:·4075932·bytes,·number·of·entries:·491 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.version2 -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.version3 -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.version4 -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.version5 -rw----·····1.0·fat·······14·bx·stor·09-Jan-01·00:00·META-INF/androidx.versionedparcelable_versionedparcelable.version
7 -rw----·····1.0·fat····39078·bx·stor·09-Jan-01·00:00·assets/NOTICE.html.gz6 -rw----·····1.0·fat···512604·bx·stor·09-Jan-01·00:00·classes.dex
8 -rw----·····1.0·fat···525588·bx·stor·09-Jan-01·00:00·classes.dex7 -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.png8 -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.png9 -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.png10 -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.png11 -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.png12 -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.png13 -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.png14 -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 modifiedOffset 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.png17 -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.png18 -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.png19 -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.png20 -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.png21 -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.png22 -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.arsc23 -rw----·····1.0·fat····38712·bx·stor·09-Jan-01·00:00·resources.arsc
26 -rw----·····2.0·fat·····8820·bl·defN·09-Jan-01·00:00·AndroidManifest.xml24 -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.properties25 -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.xml26 -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.pro27 -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.xml28 -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.xml29 -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.xml30 -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.xml31 -rw----·····2.0·fat······532·bl·defN·09-Jan-01·00:00·res/drawable/notification_bg_low.xml
Offset 40, 12 lines modifiedOffset 38, 11 lines modified
40 -rw----·····2.0·fat·····1228·bl·defN·09-Jan-01·00:00·res/layout-v21/notification_action_tombstone.xml38 -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.xml39 -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.xml40 -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.xml41 -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.xml42 -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.xml43 -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.xml44 -rw----·····2.0·fat······440·bl·defN·09-Jan-01·00:00·res/layout/notification_template_part_time.xml
47 -rw----·····2.0·fat·······32·bl·defN·09-Jan-01·00:00·stamp-cert-sha25645 -rw----·····2.0·fat·····5278·bl·defN·09-Jan-01·00:00·META-INF/CERT.SF
48 -rw----·····2.0·fat·····5580·bl·defN·09-Jan-01·00:00·META-INF/CERT.SF46 -rw----·····2.0·fat·····1722·bl·defN·09-Jan-01·00:00·META-INF/CERT.RSA
49 -rw----·····2.0·fat·····2244·bl·defN·09-Jan-01·00:00·META-INF/CERT.RSA47 -rw----·····2.0·fat·····5166·bl·defN·09-Jan-01·00:00·META-INF/MANIFEST.MF
50 -rw----·····2.0·fat·····5468·bl·defN·09-Jan-01·00:00·META-INF/MANIFEST.MF48 46·files,·3957556·bytes·uncompressed,·3935256·bytes·compressed:··0.6%
51 49·files,·4067054·bytes·uncompressed,·4044397·bytes·compressed:··0.6% 
5.66 KB
AndroidManifest.xml (decoded)
5.61 KB
AndroidManifest.xml
    
Offset 1, 53 lines modifiedOffset 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="301500700"·android:versionName="r_aml_301500700"·coreApp="true"·package="com.google.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">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:exported="true"·android:name="android.ext.services.storage.CacheQuotaServiceImpl"·android:permission="android.permission.BIND_CACHE_QUOTA_SERVICE">13 ····<service·android:name="android.ext.services.storage.CacheQuotaServiceImpl"·android:permission="android.permission.BIND_CACHE_QUOTA_SERVICE">
14 ······<intent-filter>14 ······<intent-filter>
15 ········<action·android:name="android.app.usage.CacheQuotaService"/>15 ········<action·android:name="android.app.usage.CacheQuotaService"/>
16 ······</intent-filter>16 ······</intent-filter>
17 ····</service>17 ····</service>
18 ····<service·android:exported="true"·android:name="android.ext.services.resolver.LRResolverRankerService"·android:permission="android.permission.BIND_RESOLVER_RANKER_SERVICE">18 ····<service·android:name="android.ext.services.resolver.LRResolverRankerService"·android:permission="android.permission.BIND_RESOLVER_RANKER_SERVICE">
19 ······<intent-filter·android:priority="-1">19 ······<intent-filter·android:priority="-1">
20 ········<action·android:name="android.service.resolver.ResolverRankerService"/>20 ········<action·android:name="android.service.resolver.ResolverRankerService"/>
21 ······</intent-filter>21 ······</intent-filter>
22 ····</service>22 ····</service>
23 ····<service·android: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:exported="true"·android:name="android.ext.services.autofill.AutofillFieldClassificationServiceImpl"·android:permission="android.permission.BIND_AUTOFILL_FIELD_CLASSIFICATION_SERVICE">28 ····<service·android:name="android.ext.services.autofill.AutofillFieldClassificationServiceImpl"·android:permission="android.permission.BIND_AUTOFILL_FIELD_CLASSIFICATION_SERVICE">
29 ······<intent-filter>29 ······<intent-filter>
30 ········<action·android:name="android.service.autofill.AutofillFieldClassificationService"/>30 ········<action·android:name="android.service.autofill.AutofillFieldClassificationService"/>
31 ······</intent-filter>31 ······</intent-filter>
32 ······<meta-data·android:name="android.autofill.field_classification.default_algorithm"·android:resource="@string/autofill_field_classification_default_algorithm"/>32 ······<meta-data·android:name="android.autofill.field_classification.default_algorithm"·android:resource="@string/autofill_field_classification_default_algorithm"/>
33 ······<meta-data·android:name="android.autofill.field_classification.available_algorithms"·android:resource="@array/autofill_field_classification_available_algorithms"/>33 ······<meta-data·android:name="android.autofill.field_classification.available_algorithms"·android:resource="@array/autofill_field_classification_available_algorithms"/>
34 ····</service>34 ····</service>
35 ····<service·android:exported="true"·android:name="android.ext.services.watchdog.ExplicitHealthCheckServiceImpl"·android:permission="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE">35 ····<service·android:name="android.ext.services.watchdog.ExplicitHealthCheckServiceImpl"·android:permission="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE">
36 ······<intent-filter>36 ······<intent-filter>
37 ········<action·android:name="android.service.watchdog.ExplicitHealthCheckService"/>37 ········<action·android:name="android.service.watchdog.ExplicitHealthCheckService"/>
38 ······</intent-filter>38 ······</intent-filter>
39 ····</service>39 ····</service>
40 ····<activity·android: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:exported="true"·android:name="android.ext.services.autofill.InlineSuggestionRenderServiceImpl"·android:permission="android.permission.BIND_INLINE_SUGGESTION_RENDER_SERVICE">46 ····<service·android:name="android.ext.services.autofill.InlineSuggestionRenderServiceImpl"·android:permission="android.permission.BIND_INLINE_SUGGESTION_RENDER_SERVICE">
47 ······<intent-filter>47 ······<intent-filter>
48 ········<action·android:name="android.service.autofill.InlineSuggestionRenderService"/>48 ········<action·android:name="android.service.autofill.InlineSuggestionRenderService"/>
49 ······</intent-filter>49 ······</intent-filter>
50 ····</service>50 ····</service>
51 ····<meta-data·android:name="android.content.pm.LOGGING_PARENT"·android:value="com.google.android.modulemetadata"/> 
52 ··</application>51 ··</application>
53 </manifest>52 </manifest>
1.11 KB
APK metadata
    
Offset 1, 18 lines modifiedOffset 1, 16 lines modified
1 !!brut.androlib.meta.MetaInfo1 !!brut.androlib.meta.MetaInfo
2 compressionType:·false2 compressionType:·false
3 doNotCompress:3 doNotCompress:
4 -·dex4 -·dex
5 -·arsc5 -·arsc
6 -·META-INF/androidx.arch.core_core-runtime.version 
7 -·META-INF/androidx.autofill_autofill.version6 -·META-INF/androidx.autofill_autofill.version
8 -·META-INF/androidx.core_core.version7 -·META-INF/androidx.core_core.version
9 -·META-INF/androidx.lifecycle_lifecycle-runtime.version8 -·META-INF/androidx.lifecycle_lifecycle-runtime.version
10 -·META-INF/androidx.versionedparcelable_versionedparcelable.version9 -·META-INF/androidx.versionedparcelable_versionedparcelable.version
11 -·assets/NOTICE.html.gz 
12 -·so10 -·so
13 -·res/drawable-hdpi-v4/notification_bg_low_normal.9.png11 -·res/drawable-hdpi-v4/notification_bg_low_normal.9.png
14 -·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png12 -·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png
15 -·res/drawable-hdpi-v4/notification_bg_normal.9.png13 -·res/drawable-hdpi-v4/notification_bg_normal.9.png
16 -·res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png14 -·res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png
17 -·png15 -·png
18 -·res/drawable-mdpi-v4/notification_bg_low_normal.9.png16 -·res/drawable-mdpi-v4/notification_bg_low_normal.9.png
Offset 26, 17 lines modifiedOffset 24, 16 lines modified
26 isFrameworkApk:·false24 isFrameworkApk:·false
27 packageInfo:·null25 packageInfo:·null
28 sdkInfo:26 sdkInfo:
29 ··minSdkVersion:·'30'27 ··minSdkVersion:·'30'
30 ··targetSdkVersion:·'30'28 ··targetSdkVersion:·'30'
31 sharedLibrary:·false29 sharedLibrary:·false
32 sparseResources:·false30 sparseResources:·false
33 unknownFiles:31 unknownFiles:·{}
34 ··stamp-cert-sha256:·'8' 
35 usesFramework:32 usesFramework:
36 ··ids:33 ··ids:
37 ··-·134 ··-·1
38 ··tag:·null35 ··tag:·null
39 version:·2.3.4-dirty36 version:·2.3.4-dirty
40 versionInfo:37 versionInfo:
41 ··versionCode:·'301500700'38 ··versionCode:·'300000000'
42 ··versionName:·r_aml_30150070039 ··versionName:·2019-09
183 KB
classes.dex
183 KB
classes.jar
25.0 KB
zipinfo {}
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Zip·file·size:·939685·bytes,·number·of·entries:·5801 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.class2 ?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.class3 ?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.class4 ?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·····2455·b-·stor·80-Jan-01·00:00·android/ext/services/autofill/InlineSuggestionRenderServiceImpl.class5 ?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.class6 ?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.class7 ?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.class8 ?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.class9 ?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.class10 ?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.class11 ?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.class12 ?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 modifiedOffset 34, 17 lines modified
34 ?rwxrwxr-x··2.0·unx······623·b-·stor·80-Jan-01·00:00·android/support/v4/os/ResultReceiver$1.class34 ?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.class35 ?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.class36 ?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.class37 ?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.class38 ?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.class39 ?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.class40 ?rwxrwxr-x··2.0·unx······151·b-·stor·80-Jan-01·00:00·androidx/autofill/R$style.class
41 ?rwxrwxr-x··2.0·unx·····2251·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/Renderer.class41 ?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.class42 ?rwxrwxr-x··2.0·unx······497·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/UiVersions.class
43 ?rwxrwxr-x··2.0·unx······819·b-·stor·80-Jan-01·00:00·androidx/autofill/inline/VersionUtils.class43 ?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.class44 ?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.class45 ?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.class46 ?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.class47 ?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.class48 ?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.class49 ?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.class50 ?rwxrwxr-x··2.0·unx·····1828·b-·stor·80-Jan-01·00:00·androidx/collection/ArrayMap$ValueCollection.class
Offset 82, 61 lines modifiedOffset 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.class82 ?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.class83 ?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.class84 ?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.class85 ?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.class86 ?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.class87 ?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.class88 ?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.class89 ?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.class90 ?rwxrwxr-x··2.0·unx······462·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$OGSS2qx6njxlnp0dnKb4lA3jnw8.class
92 ?rwxrwxr-x··2.0·unx······553·b-·stor·80-Jan-01·00:00·com/android/textclassifier/-$$Lambda$TextClassifierImpl$2dNQE4N9CXjJ-oio8KtmeiaIZ_M.class91 ?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.class92 ?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.class95 ?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.class96 ?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.class97 ?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.class98 ?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.class99 ?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·····8060·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ActionsSuggestionsHelper.class100 ?rwxrwxr-x··2.0·unx·····8051·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ActionsSuggestionsHelper.class
101 ?rwxrwxr-x··2.0·unx·····9212·b-·stor·80-Jan-01·00:00·com/android/textclassifier/DefaultTextClassifierService.class101 ?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.class102 ?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.class103 ?rwxrwxr-x··2.0·unx·····4837·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ExtrasUtils.class
104 ?rwxrwxr-x··2.0·unx······547·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager$ModelFile$ModelType.class104 ?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·····3765·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager$ModelFile.class105 ?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·····1013·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl$ModelFileInfo.class106 ?rwxrwxr-x··2.0·unx·····1435·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager.class
107 ?rwxrwxr-x··2.0·unx·····8045·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.class107 ?rwxrwxr-x··2.0·unx····35123·b-·defN·80-Jan-01·00:00·com/android/textclassifier/TextClassifierImpl.class
108 ?rwxrwxr-x··2.0·unx·····3491·b-·stor·80-Jan-01·00:00·com/android/textclassifier/ModelFileManager.class108 ?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.class109 ?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.class110 ?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.class111 ?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·····6398·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/intent/LabeledIntent.class112 ?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.class113 ?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.class114 ?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.class115 ?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.class116 ?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.class117 ?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.class118 ?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.class119 ?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.class120 ?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.class121 ?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.class122 ?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.class123 ?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.class124 ?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.class125 ?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.class126 ?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·····4893·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/GenerateLinksLogger.class127 ?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.class128 ?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.class129 ?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.class130 ?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·····7122·b-·stor·80-Jan-01·00:00·com/android/textclassifier/common/statsd/TextClassifierEventLogger.class131 ?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.class132 ?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.class133 ?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.class134 ?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.class135 ?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.class136 ?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.class137 ?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.class138 ?rwxrwxr-x··2.0·unx······224·b-·stor·80-Jan-01·00:00·com/android/textclassifier/notification/R$string.class
Offset 147, 31 lines modifiedOffset 143, 25 lines modified
147 ?rwxrwxr-x··2.0·unx····14805·b-·defN·80-Jan-01·00:00·com/android/textclassifier/notification/SmartSuggestionsHelper.class143 ?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.class144 ?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.class145 ?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.class146 ?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.class147 ?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.class148 ?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.class149 ?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·····3885·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/ActionsSuggestionsModel.class150 ?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.class151 ?rwxrwxr-x··2.0·unx······672·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotatedSpan.class
158 ?rwxrwxr-x··2.0·unx·····3259·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotationOptions$Builder.class152 ?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.class153 ?rwxrwxr-x··2.0·unx·····1021·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$AnnotationUsecase.class
161 ?rwxrwxr-x··2.0·unx······799·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$Annotations.class154 ?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.class155 ?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.class156 ?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.class157 ?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.class158 ?rwxrwxr-x··2.0·unx·····1171·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$InputFragment.class
168 ?rwxrwxr-x··2.0·unx·····1907·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$SelectionOptions$Builder.class159 ?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·····1343·b-·stor·80-Jan-01·00:00·com/google/android/textclassifier/AnnotatorModel$SelectionOptions.class160 ?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.class161 ?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.class162 ?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.class163 ?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.class164 ?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.class165 ?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.class166 ?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.class167 ?rwxrwxr-x··2.0·unx·····1226·b-·stor·80-Jan-01·00:00·com/google/common/base/AbstractIterator.class
Offset 227, 15 lines modifiedOffset 217, 15 lines modified
... Open expanded diff ...
6.91 KB
zipnote «TEMP»/diffoscope_zrgq83df/tmpda_q5grc.zip
    
Offset 255, 30 lines modifiedOffset 255, 30 lines modified
  
255 Filename:·com/android/textclassifier/-$$Lambda$L_UQMPjXwBN0ch4zL2dD82nf9RI.class255 Filename:·com/android/textclassifier/-$$Lambda$L_UQMPjXwBN0ch4zL2dD82nf9RI.class
256 Comment:·256 Comment:·
  
257 Filename:·com/android/textclassifier/-$$Lambda$ModelFileManager$ModelFile$4IreSFYJfbt_zxltbOb9rbCXkRk.class257 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.class259 Filename:·com/android/textclassifier/-$$Lambda$NxwbyZSxofZ4Z5SQhfXmtLQ1nxk.class
262 Comment:·260 Comment:·
  
263 Filename:·com/android/textclassifier/-$$Lambda$OGSS2qx6njxlnp0dnKb4lA3jnw8.class261 Filename:·com/android/textclassifier/-$$Lambda$OGSS2qx6njxlnp0dnKb4lA3jnw8.class
264 Comment:·262 Comment:·
  
265 Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$2dNQE4N9CXjJ-oio8KtmeiaIZ_M.class263 Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$GgWuU910BaKzzHu6MQGYGCHOgkg.class
266 Comment:·264 Comment:·
  
267 Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$8TEt_aVD6KfKHt3Yd93I5TAKLlc.class265 Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$Lko6ClGZ6OU9F7efqKl9WVqP3kc.class
268 Comment:·266 Comment:·
  
269 Filename:·com/android/textclassifier/-$$Lambda$TextClassifierImpl$Lko6ClGZ6OU9F7efqKl9WVqP3kc.class267 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.class271 Filename:·com/android/textclassifier/-$$Lambda$XeE_KI7QgMKzF9vYRSoFWAolyuA.class
272 Comment:·272 Comment:·
  
273 Filename:·com/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k.class273 Filename:·com/android/textclassifier/-$$Lambda$YbiVpFDG9z1kfIe3loPZGRwmp-k.class
274 Comment:·274 Comment:·
Offset 300, 35 lines modifiedOffset 300, 26 lines modified
  
300 Filename:·com/android/textclassifier/EntityConfidence.class300 Filename:·com/android/textclassifier/EntityConfidence.class
301 Comment:·301 Comment:·
  
302 Filename:·com/android/textclassifier/ExtrasUtils.class302 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.class304 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.class306 Filename:·com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.class
311 Comment:·307 Comment:·
  
312 Filename:·com/android/textclassifier/ModelFileManager.class308 Filename:·com/android/textclassifier/ModelFileManager.class
313 Comment:·309 Comment:·
  
314 Filename:·com/android/textclassifier/TextClassifierImpl.class310 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.class312 Filename:·com/android/textclassifier/TextClassifierSettings.class
319 Comment:·313 Comment:·
  
320 Filename:·com/android/textclassifier/common/base/TcLog.class314 Filename:·com/android/textclassifier/common/base/TcLog.class
321 Comment:·315 Comment:·
  
322 Filename:·com/android/textclassifier/common/intent/LabeledIntent$Result.class316 Filename:·com/android/textclassifier/common/intent/LabeledIntent$Result.class
Offset 393, 17 lines modifiedOffset 384, 14 lines modified
  
393 Filename:·com/android/textclassifier/common/statsd/TextClassifierEventConverter.class384 Filename:·com/android/textclassifier/common/statsd/TextClassifierEventConverter.class
394 Comment:·385 Comment:·
  
395 Filename:·com/android/textclassifier/common/statsd/TextClassifierEventLogger.class386 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.class388 Filename:·com/android/textclassifier/notification/-$$Lambda$GAGfzMbcczN3XjrMYlSN9rpKxHs.class
400 Comment:·389 Comment:·
  
401 Filename:·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsHelper$nqAehbuWudtq1R0SqQHGETrZ0XQ.class390 Filename:·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsHelper$nqAehbuWudtq1R0SqQHGETrZ0XQ.class
402 Comment:·391 Comment:·
  
403 Filename:·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsLogSession$Nme9AGABTW6ttsuf-I1x1v3RdM8.class392 Filename:·com/android/textclassifier/notification/-$$Lambda$SmartSuggestionsLogSession$Nme9AGABTW6ttsuf-I1x1v3RdM8.class
Offset 453, 38 lines modifiedOffset 441, 23 lines modified
  
453 Filename:·com/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage.class441 Filename:·com/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage.class
454 Comment:·442 Comment:·
  
455 Filename:·com/google/android/textclassifier/ActionsSuggestionsModel.class443 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.class445 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.class447 Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotationOptions.class
466 Comment:·448 Comment:·
  
467 Filename:·com/google/android/textclassifier/AnnotatorModel$AnnotationUsecase.class449 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.class451 Filename:·com/google/android/textclassifier/AnnotatorModel$ClassificationOptions.class
474 Comment:·452 Comment:·
  
475 Filename:·com/google/android/textclassifier/AnnotatorModel$ClassificationResult.class453 Filename:·com/google/android/textclassifier/AnnotatorModel$ClassificationResult.class
476 Comment:·454 Comment:·
  
477 Filename:·com/google/android/textclassifier/AnnotatorModel$DatetimeResult.class455 Filename:·com/google/android/textclassifier/AnnotatorModel$DatetimeResult.class
Offset 492, 17 lines modifiedOffset 465, 14 lines modified
... Open expanded diff ...
1.37 KB
android/ext/services/autofill/InlineSuggestionRenderServiceImpl.class
1.23 KB
procyon -ec {}
    
Offset 1, 28 lines modifiedOffset 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·InlineSuggestionRenderService13 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);
1.45 KB
androidx/autofill/inline/Renderer.class
1.37 KB
procyon -ec {}
    
Offset 1, 14 lines modifiedOffset 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 modifiedOffset 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;
789 B
androidx/autofill/inline/VersionUtils.class
703 B
procyon -ec {}
    
Offset 1, 21 lines modifiedOffset 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·VersionUtils3 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 }
7.44 KB
com/android/textclassifier/ActionsSuggestionsHelper.class
7.33 KB
javap -verbose -constants -s -l -private {}
    
Offset 183, 37 lines modifiedOffset 183, 37 lines modified
183 ··#178·=·Utf8···············getText183 ··#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···············getReferenceTime186 ··#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···············titleWithEntity190 ··#185·=·Utf8···············android/content/pm/ResolveInfo
191 ··#186·=·Utf8···············Ljava/lang/String;191 ··#186·=·Class··············#185··········//·android/content/pm/ResolveInfo
192 ··#187·=·NameAndType········#185:#186·····//·titleWithEntity:Ljava/lang/String;192 ··#187·=·Utf8···············handleAllWebDataURI
193 ··#188·=·Fieldref···········#59.#187······//·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String;193 ··#188·=·Utf8···············Z
194 ··#189·=·Utf8···············android/content/pm/ResolveInfo194 ··#189·=·NameAndType········#187:#188·····//·handleAllWebDataURI:Z
195 ··#190·=·Class··············#189··········//·android/content/pm/ResolveInfo195 ··#190·=·Fieldref···········#186.#189·····//·android/content/pm/ResolveInfo.handleAllWebDataURI:Z
196 ··#191·=·Utf8···············handleAllWebDataURI196 ··#191·=·Utf8···············titleWithEntity
197 ··#192·=·Utf8···············Z197 ··#192·=·Utf8···············Ljava/lang/String;
198 ··#193·=·NameAndType········#191:#192·····//·handleAllWebDataURI:Z198 ··#193·=·NameAndType········#191:#192·····//·titleWithEntity:Ljava/lang/String;
199 ··#194·=·Fieldref···········#190.#193·····//·android/content/pm/ResolveInfo.handleAllWebDataURI:Z199 ··#194·=·Fieldref···········#59.#193······//·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String;
200 ··#195·=·Utf8···············activityInfo200 ··#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···········#190.#197·····//·android/content/pm/ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo;203 ··#198·=·Fieldref···········#186.#197·····//·android/content/pm/ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo;
204 ··#199·=·Utf8···············android/content/pm/ActivityInfo204 ··#199·=·Utf8···············android/content/pm/ActivityInfo
205 ··#200·=·Class··············#199··········//·android/content/pm/ActivityInfo205 ··#200·=·Class··············#199··········//·android/content/pm/ActivityInfo
206 ··#201·=·Utf8···············packageName206 ··#201·=·Utf8···············packageName
207 ··#202·=·NameAndType········#201:#186·····//·packageName:Ljava/lang/String;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···············android209 ··#204·=·Utf8···············android
210 ··#205·=·String·············#204··········//·android210 ··#205·=·String·············#204··········//·android
211 ··#206·=·Utf8···············titleWithoutEntity211 ··#206·=·Utf8···············titleWithoutEntity
212 ··#207·=·NameAndType········#206:#186·····//·titleWithoutEntity:Ljava/lang/String;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/TextUtils214 ··#209·=·Utf8···············android/text/TextUtils
215 ··#210·=·Class··············#209··········//·android/text/TextUtils215 ··#210·=·Class··············#209··········//·android/text/TextUtils
216 ··#211·=·Utf8···············(Ljava/lang/CharSequence;)Z216 ··#211·=·Utf8···············(Ljava/lang/CharSequence;)Z
217 ··#212·=·NameAndType········#46:#211······//·isEmpty:(Ljava/lang/CharSequence;)Z217 ··#212·=·NameAndType········#46:#211······//·isEmpty:(Ljava/lang/CharSequence;)Z
218 ··#213·=·Methodref··········#210.#212·····//·android/text/TextUtils.isEmpty:(Ljava/lang/CharSequence;)Z218 ··#213·=·Methodref··········#210.#212·····//·android/text/TextUtils.isEmpty:(Ljava/lang/CharSequence;)Z
219 ··#214·=·Utf8···············hashMessage219 ··#214·=·Utf8···············hashMessage
Offset 586, 44 lines modifiedOffset 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_SYNTHETIC588 ····flags:·ACC_STATIC,·ACC_SYNTHETIC
589 ····Code:589 ····Code:
590 ······stack=300,·locals=5,·args_size=2590 ······stack=300,·locals=5,·args_size=2
591 ·········0:·aload_1591 ·········0:·aload_1
592 ·········1:·ifnonnull·····9592 ·········1:·getfield······#190················//·Field·android/content/pm/ResolveInfo.handleAllWebDataURI:Z
593 ·········4:·aload_0593 ·········4:·istore_2
594 ·········5:·getfield······#188················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String;594 ·········5:·iload_2
595 ·········8:·areturn595 ·········6:·ifeq··········14
596 ·········9:·aload_1596 ·········9:·aload_0
597 ········10:·getfield······#194················//·Field·android/content/pm/ResolveInfo.handleAllWebDataURI:Z597 ········10:·getfield······#194················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String;
598 ········13:·istore_2598 ········13:·areturn
599 ········14:·iload_2599 ········14:·aload_1
600 ········15:·ifeq··········23600 ········15:·getfield······#198················//·Field·android/content/pm/ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo;
601 ········18:·aload_0601 ········18:·getfield······#203················//·Field·android/content/pm/ActivityInfo.packageName:Ljava/lang/String;
602 ········19:·getfield······#188················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String;602 ········21:·astore_1
603 ········22:·areturn603 ········22:·ldc···········#205················//·String·android
604 ········23:·aload_1604 ········24:·astore_3
605 ········24:·getfield······#198················//·Field·android/content/pm/ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo;605 ········25:·aload_3
606 ········27:·getfield······#203················//·Field·android/content/pm/ActivityInfo.packageName:Ljava/lang/String;606 ········26:·aload_1
607 ········30:·astore_1607 ········27:·invokevirtual·#127················//·Method·java/lang/String.equals:(Ljava/lang/Object;)Z
608 ········31:·ldc···········#205················//·String·android608 ········30:·istore········4
609 ········33:·astore_3609 ········32:·iload·········4
610 ········34:·aload_3610 ········34:·ifeq··········42
611 ········35:·aload_1611 ········37:·aload_0
612 ········36:·invokevirtual·#127················//·Method·java/lang/String.equals:(Ljava/lang/Object;)Z612 ········38:·getfield······#194················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithEntity:Ljava/lang/String;
613 ········39:·istore········4613 ········41:·areturn
614 ········41:·iload·········4614 ········42:·aload_0
615 ········43:·ifeq··········51615 ········43:·getfield······#208················//·Field·com/android/textclassifier/common/intent/LabeledIntent.titleWithoutEntity:Ljava/lang/String;
616 ········46:·aload_0616 ········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;)Z618 ····descriptor:·(Landroid/view/textclassifier/ConversationActions$Message;)Z
624 ····flags:·ACC_STATIC,·ACC_SYNTHETIC619 ····flags:·ACC_STATIC,·ACC_SYNTHETIC
625 ····Code:620 ····Code:
626 ······stack=300,·locals=1,·args_size=1621 ······stack=300,·locals=1,·args_size=1
627 ·········0:·aload_0622 ·········0:·aload_0
1.83 KB
com/android/textclassifier/DefaultTextClassifierService.class
1.72 KB
procyon -ec {}
    
Offset 67, 20 lines modifiedOffset 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 ········final·TextClassifierSettings·textClassifierSettings·=·new·TextClassifierSettings();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)·{
1.8 KB
com/android/textclassifier/ModelFileManager$ModelFile.class
1.69 KB
procyon -ec {}
    
Offset 16, 23 lines modifiedOffset 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$ModelFile18 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(String·modelType,·File·file,·final·int·version,·List·supportedLocales,·String·supportedLocalesStr,·final·boolean·languageIndependent)·{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 modifiedOffset 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·{·type=%s·path=%s·name=%s·version=%d·locales=%s·}",·this.modelType,·this.getPath(),·this.getName(),·this.version,·this.supportedLocalesStr);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 }
34.1 KB
com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.class
33.9 KB
procyon -ec {}
    
Offset 1, 243 lines modifiedOffset 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·Supplier13 public·final·class·ModelFileManager$ModelFileSupplierImpl·implements·Supplier
21 {14 {
22 ····private·static·final·ImmutableMap·MODEL_FILE_INFO_MAP; 
23 ····private·final·File·configUpdaterModelFile; 
24 ····private·final·File·downloaderModelDir; 
25 ····private·final·File·factoryModelDir;15 ····private·final·File·factoryModelDir;
26 ····private·ImmutableList·factoryModels;16 ····private·ImmutableList·factoryModels;
27 ····private·final·Object·lock;17 ····private·final·Object·lock;
28 ····private·final·Pattern·modelFilenamePattern;18 ····private·final·Pattern·modelFilenamePattern;
29 ····private·final·String·modelType; 
30 ····private·final·TextClassifierSettings·settings; 
31 ····private·final·Function·supportedLocalesSupplier;19 ····private·final·Function·supportedLocalesSupplier;
 20 ····private·final·File·updatedModelFile;
32 ····private·final·Function·versionSupplier;21 ····private·final·Function·versionSupplier;
33 ····22 ····
34 ····static·{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)settings);25 ········Preconditions.checkNotNull((Object)updatedModelFile);
45 ········settings·=·settings;26 ········updatedModelFile·=·updatedModelFile;
46 ········this.settings·=·settings;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·file)·{41 ····private·ModelFileManager$ModelFile·createModelFile(final·File·p0)·{
70 ········final·String·s·=·"ModelFileManager";42 ········//·
71 ········final·boolean·exists·=·file.exists();43 ········//·This·method·could·not·be·decompiled.
72 ········final·ParcelFileDescriptor·parcelFileDescriptor·=·null;44 ········//·
73 ········if·(!exists)·{45 ········//·Original·Bytecode:
74 ············return·null;46 ········//·
75 ········}47 ········//·····2:·astore_2·······
76 ········final·int·n·=·268435456;48 ········//·····3:·aload_1········
77 ········Label_0396:·{49 ········//·····4:·invokevirtual···java/io/File.exists:()Z
78 ············ParcelFileDescriptor·open;50 ········//·····7:·istore_3·······
79 ············try·{51 ········//·····8:·aconst_null····
80 ················open·=·ParcelFileDescriptor.open(file,·n);52 ········//·····9:·astore··········4
81 ················if·(open·==·null)·{53 ········//····11:·iload_3········
82 ····················maybeCloseAndLogError(open);54 ········//····12:·ifne············17
83 ····················return·null;55 ········//····15:·aconst_null····
84 ················}56 ········//····16:·areturn········
85 ················int·intValue·=·0;57 ········//····17:·ldc·············268435456
86 ················String·s2·=·null;58 ········//····19:·istore_3·······
87 ················ArrayList<Locale>·list·=·null;59 ········//····20:·aload_1········
88 ················ModelFileManager$ModelFile·modelFileManager$ModelFile·=·null;60 ········//····21:·iload_3········
89 ················try·{61 ········//····22:·invokestatic····android/os/ParcelFileDescriptor.open:(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor;
90 ····················final·int·fd·=·open.getFd();62 ········//····25:·astore··········5
91 ····················try·{63 ········//····27:·aload···········5
92 ························final·Function·versionSupplier·=·this.versionSupplier;64 ········//····29:·ifnonnull·······39
93 ························try·{65 ········//····32:·aload···········5
94 ····························final·Integer·apply·=·versionSupplier.apply(fd);66 ········//····34:·invokestatic····com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.maybeCloseAndLogError:(Landroid/os/ParcelFileDescriptor;)V
95 ····························try·{67 ········//····37:·aconst_null····
96 ································final·Integer·n2·=·(Integer)apply;68 ········//····38:·areturn········
97 ································try·{69 ········//····39:·aload···········5
98 ····································intValue·=·n2;70 ········//····41:·invokevirtual···android/os/ParcelFileDescriptor.getFd:()I
99 ····································try·{71 ········//····44:·istore··········6
100 ········································final·Function·supportedLocalesSupplier·=·this.supportedLocalesSupplier;72 ········//····46:·aload_0········
101 ········································try·{73 ········//····47:·getfield········com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.versionSupplier:Ljava/util/function/Function;
102 ············································s2·=·supportedLocalesSupplier.apply(fd);74 ········//····50:·astore··········7
103 ············································try·{75 ········//····52:·iload···········6
104 ················································Label_0180:·{76 ········//····54:·invokestatic····java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
105 ····················································if·(!s2.isEmpty())·{77 ········//····57:·astore··········8
106 ························································break·Label_0180;78 ········//····59:·aload···········7
107 ····················································}79 ········//····61:·aload···········8
108 ····················································try·{80 ········//····63:·invokeinterface·java/util/function/Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
109 ························································final·StringBuilder·sb·=·new·StringBuilder();81 ········//····68:·astore··········7
110 ························································sb.append("Ignoring·");82 ········//····70:·aload···········7
111 ························································sb.append(file.getAbsolutePath());83 ········//····72:·checkcast·······Ljava/lang/Integer;
112 ························································TcLog.d(s,·sb.toString());84 ········//····75:·astore··········7
113 ························································maybeCloseAndLogError(open);85 ········//····77:·aload···········7
114 ························································return·null;86 ········//····79:·invokevirtual···java/lang/Integer.intValue:()I
115 ························································try·{87 ········//····82:·istore··········9
116 ····························································list·=·new·ArrayList<Locale>();88 ········//····84:·aload_0········
117 ····························································final·Iterable·split·=·Splitter.on(',').split((CharSequence)s2);89 ········//····85:·getfield········com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.supportedLocalesSupplier:Ljava/util/function/Function;
118 ····························································try·{90 ········//····88:·astore_0·······
119 ································································final·Iterator<String>·iterator·=·split.iterator();91 ········//····89:·iload···········6
120 ································································try·{92 ········//····91:·invokestatic····java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
121 ····································································while·(true)·{93 ········//····94:·astore··········10
... Open expanded diff ...
4.9 KB
com/android/textclassifier/ModelFileManager.class
4.8 KB
procyon -ec {}
    
Offset 1, 89 lines modifiedOffset 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·android.content.Context;8 import·java.util.function.Supplier;
13 import·com.google.common.collect.ImmutableMap; 
14 import·java.io.File; 
  
15 final·class·ModelFileManager9 final·class·ModelFileManager
16 {10 {
17 ····private·final·File·downloadModelDir;11 ····private·final·Supplier·modelFileSupplier;
18 ····private·final·ImmutableMap·modelFileSuppliers; 
19 ····12 ····
20 ····public·ModelFileManager(final·Context·context,·final·TextClassifierSettings·textClassifierSettings)·{13 ····public·ModelFileManager(Supplier·modelFileSupplier)·{
21 ········Preconditions.checkNotNull((Object)context);14 ········Preconditions.checkNotNull((Object)modelFileSupplier);
22 ········Preconditions.checkNotNull((Object)textClassifierSettings);15 ········modelFileSupplier·=·modelFileSupplier;
23 ········final·File·downloadModelDir·=·new·File(context.getFilesDir(),·"textclassifier/downloads/models/");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(File·downloadModelDir,·ImmutableMap·modelFileSuppliers)·{19 ····public·ModelFileManager$ModelFile·findBestModelFile(final·LocaleList·list)·{
36 ········Preconditions.checkNotNull((Object)downloadModelDir);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 ············s2·=·list.toLanguageTags();22 ············s·=·list.toLanguageTags();
66 ········}23 ········}
67 ········else·{24 ········else·{
68 ············s2·=·LocaleList.getDefault().toLanguageTags();25 ············s·=·LocaleList.getDefault().toLanguageTags();
69 ········}26 ········}
70 ········final·List<Locale.LanguageRange>·parse·=·Locale.LanguageRange.parse(s2);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(s))·{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(final·String·s)·{37 ····public·ImmutableList·listModelFiles()·{
81 ········if·(this.modelFileSuppliers.containsKey((Object)s))·{38 ········return·this.modelFileSupplier.get();
82 ············return·((Supplier)this.modelFileSuppliers.get((Object)s)).get(); 
83 ········} 
84 ········return·ImmutableList.of(); 
85 ····}39 ····}
86 }40 }
35.8 KB
com/android/textclassifier/TextClassifierImpl.class
35.7 KB
procyon -ec {}
    
Offset 37, 15 lines modifiedOffset 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 modifiedOffset 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·TextClassifierImpl89 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 ····TextClassifierImpl(final·Context·context,·final·TextClassifierSettings·textClassifierSettings,·final·ModelFileManager·modelFileManager)·{112 ····static·{
107 ········this(context,·textClassifierSettings,·modelFileManager,·TextClassifier.NO_OP);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·settings,·ModelFileManager·modelFileManager,·TextClassifier·fallback)·{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 ········this.generateLinksLogger·=·new·GenerateLinksLogger(this.settings.getGenerateLinksLogSampleRate());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 modifiedOffset 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$GPO8b-cUZbGymN45fgVNo11JSJ4·instance·=·-$$Lambda$TextClassifierImpl$GPO8b-cUZbGymN45fgVNo11JSJ4.INSTANCE;189 ········final·-$$Lambda$TextClassifierImpl$JRO8dEkAfMFOqu4-iyLbagDQA_o·instance·=·-$$Lambda$TextClassifierImpl$JRO8dEkAfMFOqu4-iyLbagDQA_o.INSTANCE;
... Open expanded diff ...
13.4 KB
com/android/textclassifier/TextClassifierSettings.class
13.3 KB
procyon -ec {}
    
Offset 2, 62 lines modifiedOffset 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·TextClassifierSettings10 public·final·class·TextClassifierSettings
10 {11 {
11 ····static·final·String·ACTIONS_SUGGESTIONS_URL_PREFIX·=·"actions_suggestions_url_prefix"; 
12 ····static·final·String·ANNOTATOR_URL_PREFIX·=·"annotator_url_prefix"; 
13 ····private·static·final·ImmutableList·CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES;12 ····private·static·final·ImmutableList·CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES;
14 ····private·static·final·TextClassifierSettings$IDeviceConfig·DEFAULT_DEVICE_CONFIG; 
15 ····static·final·String·ENTITY_LIST_DEFAULT·=·"entity_list_default";13 ····static·final·String·ENTITY_LIST_DEFAULT·=·"entity_list_default";
16 ····private·static·final·ImmutableList·ENTITY_LIST_DEFAULT_VALUE;14 ····private·static·final·ImmutableList·ENTITY_LIST_DEFAULT_VALUE;
17 ····static·final·String·LANG_ID_CONTEXT_SETTINGS·=·"lang_id_context_settings";15 ····static·final·String·LANG_ID_CONTEXT_SETTINGS·=·"lang_id_context_settings";
18 ····private·static·final·float[]·LANG_ID_CONTEXT_SETTINGS_DEFAULT;16 ····private·static·final·float[]·LANG_ID_CONTEXT_SETTINGS_DEFAULT;
19 ····static·final·String·LANG_ID_THRESHOLD_OVERRIDE·=·"lang_id_threshold_override";17 ····static·final·String·LANG_ID_THRESHOLD_OVERRIDE·=·"lang_id_threshold_override";
20 ····static·final·String·LANG_ID_URL_PREFIX·=·"lang_id_url_prefix"; 
21 ····static·final·String·MODEL_DOWNLOAD_MANAGER_ENABLED·=·"model_download_manager_enabled"; 
22 ····static·final·String·PRIMARY_ACTIONS_SUGGESTIONS_URL_SUFFIX·=·"primary_actions_suggestions_url_suffix"; 
23 ····static·final·String·PRIMARY_ANNOTATOR_URL_SUFFIX·=·"primary_annotator_url_suffix"; 
24 ····static·final·String·PRIMARY_LANG_ID_URL_SUFFIX·=·"primary_lang_id_url_suffix"; 
25 ····static·final·String·SUGGEST_SELECTION_MAX_RANGE_LENGTH·=·"suggest_selection_max_range_length";18 ····static·final·String·SUGGEST_SELECTION_MAX_RANGE_LENGTH·=·"suggest_selection_max_range_length";
26 ····static·final·String·TEMPLATE_INTENT_FACTORY_ENABLED·=·"template_intent_factory_enabled";19 ····static·final·String·TEMPLATE_INTENT_FACTORY_ENABLED·=·"template_intent_factory_enabled";
27 ····private·final·TextClassifierSettings$IDeviceConfig·deviceConfig; 
28 ····20 ····
29 ····static·{21 ····static·{
30 ········ENTITY_LIST_DEFAULT_VALUE·=·ImmutableList.of((Object)"address",·(Object)"email",·(Object)"phone",·(Object)"url",·(Object)"date",·(Object)"datetime",·(Object)"flight");22 ········ENTITY_LIST_DEFAULT_VALUE·=·ImmutableList.of((Object)"address",·(Object)"email",·(Object)"phone",·(Object)"url",·(Object)"date",·(Object)"datetime",·(Object)"flight");
31 ········CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES·=·ImmutableList.of((Object)"text_reply",·(Object)"create_reminder",·(Object)"call_phone",·(Object)"open_url",·(Object)"send_email",·(Object)"send_sms",·(Object)"track_flight",·(Object)"view_calendar",·(Object)"view_map",·(Object)"add_contact",·(Object)"copy");23 ········CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES·=·ImmutableList.of((Object)"text_reply",·(Object)"create_reminder",·(Object)"call_phone",·(Object)"open_url",·(Object)"send_email",·(Object)"send_sms",·(Object)"track_flight",·(Object)"view_calendar",·(Object)"view_map",·(Object)"add_contact",·(Object)"copy");
32 ········final·float[]·array;24 ········final·float[]·array;
33 ········final·float[]·lang_ID_CONTEXT_SETTINGS_DEFAULT·=·array·=·new·float[3];25 ········final·float[]·lang_ID_CONTEXT_SETTINGS_DEFAULT·=·array·=·new·float[3];
34 ········array[0]·=·20.0f;26 ········array[0]·=·20.0f;
35 ········array[1]·=·1.0f;27 ········array[1]·=·1.0f;
36 ········array[2]·=·0.4f;28 ········array[2]·=·0.4f;
37 ········LANG_ID_CONTEXT_SETTINGS_DEFAULT·=·lang_ID_CONTEXT_SETTINGS_DEFAULT;29 ········LANG_ID_CONTEXT_SETTINGS_DEFAULT·=·lang_ID_CONTEXT_SETTINGS_DEFAULT;
38 ········DEFAULT_DEVICE_CONFIG·=·(TextClassifierSettings$IDeviceConfig)new·TextClassifierSettings$1(); 
39 ····}30 ····}
40 ····31 ····
41 ····public·TextClassifierSettings()·{32 ····private·static·float[]·getDeviceConfigFloatArray(final·String·s,·final·float[]·array)·{
42 ········this(TextClassifierSettings.DEFAULT_DEVICE_CONFIG);33 ········return·parse(DeviceConfig.getString("textclassifier",·s,·(String)null),·array);
43 ····}34 ····}
44 ····35 ····
45 ····TextClassifierSettings(final·TextClassifierSettings$IDeviceConfig·deviceConfig)·{36 ····private·static·List·getDeviceConfigStringList(final·String·s,·final·List·list)·{
46 ········this.deviceConfig·=·deviceConfig;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 modifiedOffset 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·this.deviceConfig.getInt("textclassifier",·"classify_text_max_range_length",·10000);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·this.getDeviceConfigStringList("entity_list_default",·(List)TextClassifierSettings.ENTITY_LIST_DEFAULT_VALUE);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·this.getDeviceConfigStringList("entity_list_editable",·(List)TextClassifierSettings.ENTITY_LIST_DEFAULT_VALUE);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·this.getDeviceConfigStringList("entity_list_not_editable",·(List)TextClassifierSettings.ENTITY_LIST_DEFAULT_VALUE);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·this.deviceConfig.getInt("textclassifier",·"generate_links_log_sample_rate",·100);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·this.deviceConfig.getInt("textclassifier",·"generate_links_max_text_length",·100000);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·this.getDeviceConfigStringList("in_app_conversation_action_types_default",·(List)TextClassifierSettings.CONVERSATION_ACTIONS_TYPES_DEFAULT_VALUES);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·this.getDeviceConfigFloatArray("lang_id_context_settings",·TextClassifierSettings.LANG_ID_CONTEXT_SETTINGS_DEFAULT);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·this.deviceConfig.getFloat("textclassifier",·"lang_id_threshold_override",·-1.0f);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 ...
8.84 KB
com/android/textclassifier/common/intent/LabeledIntent.class
8.72 KB
procyon -ec {}
    
Offset 1, 17 lines modifiedOffset 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 modifiedOffset 59, 27 lines modified
60 ········}59 ········}
61 ····}60 ····}
62 ····61 ····
63 ····private·static·PendingIntent·createPendingIntent(final·Context·context,·final·Intent·intent,·final·int·n)·{62 ····private·static·PendingIntent·createPendingIntent(final·Context·context,·final·Intent·intent,·final·int·n)·{
64 ········return·PendingIntent.getActivity(context,·n,·intent,·134217728);63 ········return·PendingIntent.getActivity(context,·n,·intent,·134217728);
65 ····}64 ····}
66 ····65 ····
67 ····private·RemoteActionCompat·createRemoteAction(final·Context·context,·final·Intent·intent,·final·IconCompat·iconCompat,·final·boolean·shouldShowIcon,·final·ResolveInfo·resolveInfo,·LabeledIntent$TitleChooser·default_TITLE_CHOOSER)·{ 
68 ········final·PendingIntent·pendingIntent·=·createPendingIntent(context,·intent,·this.requestCode); 
69 ········if·(default_TITLE_CHOOSER·==·null)·{ 
70 ············default_TITLE_CHOOSER·=·LabeledIntent.DEFAULT_TITLE_CHOOSER; 
71 ········} 
72 ········CharSequence·charSequence·=·default_TITLE_CHOOSER.chooseTitle(this,·resolveInfo); 
73 ········if·(TextUtils.isEmpty(charSequence))·{ 
74 ············TcLog.w("LabeledIntent",·"Custom·titleChooser·return·null,·fallback·to·the·default·titleChooser"); 
75 ············charSequence·=·LabeledIntent.DEFAULT_TITLE_CHOOSER.chooseTitle(this,·resolveInfo); 
76 ········} 
77 ········final·RemoteActionCompat·remoteActionCompat·=·new·RemoteActionCompat(iconCompat,·charSequence,·(CharSequence)this.resolveDescription(resolveInfo,·context.getPackageManager()),·pendingIntent); 
78 ········remoteActionCompat.setShouldShowIcon(shouldShowIcon); 
79 ········return·remoteActionCompat; 
80 ····} 
81 ···· 
82 ····private·static·String·getApplicationName(final·ResolveInfo·resolveInfo,·final·PackageManager·packageManager)·{66 ····private·static·String·getApplicationName(final·ResolveInfo·resolveInfo,·final·PackageManager·packageManager)·{
83 ········if·(resolveInfo·!=·null)·{67 ········final·ActivityInfo·activityInfo·=·resolveInfo.activityInfo;
84 ············final·ActivityInfo·activityInfo·=·resolveInfo.activityInfo;68 ········if·(activityInfo·==·null)·{
85 ············if·(activityInfo·!=·null)·{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 ········return·null;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 modifiedOffset 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,·final·LabeledIntent$TitleChooser·labeledIntent$TitleChooser)·{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·b·=·false;111 ········boolean·shouldShowIcon·=·false;
143 ········final·ResolveInfo·resolveActivity·=·packageManager.resolveActivity(intent,·0);112 ········final·ResolveInfo·resolveActivity·=·packageManager.resolveActivity(intent,·0);
144 ········final·int·n·=·17301573;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 modifiedOffset 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 ····························iconFromPackage·=·createIconFromPackage(context,·packageName,·resolveActivity.activityInfo.getIconResource());133 ····························iconCompat·=·createIconFromPackage(context,·packageName,·resolveActivity.activityInfo.getIconResource());
166 ····························b·=·true;134 ····························shouldShowIcon·=·true;
167 ························}135 ························}
... Open expanded diff ...
3.56 KB
com/android/textclassifier/common/statsd/GenerateLinksLogger.class
3.43 KB
procyon -ec {}
    
Offset 6, 14 lines modifiedOffset 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 modifiedOffset 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(final·String·s,·final·String·s2,·final·String·s3,·final·GenerateLinksLogger$LinkifyStats·generateLinksLogger$LinkifyStats,·final·CharSequence·charSequence,·final·long·n,·final·Optional·optional,·final·Optional·optional2)·{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 ········final·Optional·transform·=·optional.transform((Function)-$$Lambda$oDz1qPSnjjDY1RvRhoswzP9Xa8s.INSTANCE);53 ········transform·=·transform.transform((Function)-$$Lambda$oDz1qPSnjjDY1RvRhoswzP9Xa8s.INSTANCE);
52 ········final·String·s4·=·"";54 ········final·String·s3·=·"";
53 ········final·String·s5·=·(String)transform.or((Object)s4);55 ········final·String·s4·=·(String)transform.or((Object)s3);
54 ········final·String·s6·=·(String)optional2.transform((Function)-$$Lambda$oDz1qPSnjjDY1RvRhoswzP9Xa8s.INSTANCE).or((Object)s4);56 ········final·String·s5·=·(String)optional.transform((Function)-$$Lambda$oDz1qPSnjjDY1RvRhoswzP9Xa8s.INSTANCE).or((Object)s3);
55 ········TextClassifierStatsLog.write(220,·s,·21,·s5,·0,·0,·s3,·generateLinksLogger$LinkifyStats.numLinks,·generateLinksLogger$LinkifyStats.numLinksTextLength,·charSequence.length(),·n,·s2,·s6);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 ············TcLog.v("GenerateLinksLogger",·String.format(Locale.US,·"%s:%s·%d·links·(%d/%d·chars)·%dms·%s·annotator=%s·langid=%s",·s,·s3,·generateLinksLogger$LinkifyStats.numLinks,·generateLinksLogger$LinkifyStats.numLinksTextLength,·charSequence.length(),·n,·s2,·s5,·s6));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);
10.6 KB
com/android/textclassifier/common/statsd/TextClassifierEventLogger.class
10.5 KB
procyon -ec {}
    
Offset 1, 16 lines modifiedOffset 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 modifiedOffset 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·eventType·=·((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getEventType();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·s4·=·(String)getItemAt(entityTypes,·n);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 ········TextClassifierStatsLog.write(221,·s,·eventType,·s2,·widgetType,·s3,·s4,·(String)getItemAt(entityTypes2,·n2),·getFloatAt(((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent).getScores(),·0),·getPackageName((TextClassifierEvent)textClassifierEvent$ConversationActionsEvent),·(String)getItemAt(modelNames,·n,·(Object)null),·(String)getItemAt(modelNames,·n2,·(Object)null));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 ········TextClassifierStatsLog.write(222,·value,·((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent).getEventType(),·(String)getItemAt(getModelNames((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent),·0,·(Object)null),·getWidgetType((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent),·(String)getItemAt(((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent).getEntityTypes(),·0),·getFloatAt(((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent).getScores(),·0),·getIntAt(((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent).getActionIndices(),·0),·getPackageName((TextClassifierEvent)textClassifierEvent$LanguageDetectionEvent));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 ········TextClassifierStatsLog.write(220,·value,·((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent).getEventType(),·(String)getItemAt(modelNames,·0,·(Object)null),·getWidgetType((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent),·((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent).getEventIndex(),·(String)getItemAt(((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent).getEntityTypes(),·0),·0,·0,·0,·0L,·getPackageName((TextClassifierEvent)textClassifierEvent$TextLinkifyEvent),·(String)getItemAt(modelNames,·1,·(Object)null));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 ········TextClassifierStatsLog.write(219,·value,·getEventType(textClassifierEvent$TextSelectionEvent),·(String)getItemAt(modelNames,·0,·(Object)null),·getWidgetType((TextClassifierEvent)textClassifierEvent$TextSelectionEvent),·((TextClassifierEvent)textClassifierEvent$TextSelectionEvent).getEventIndex(),·(String)getItemAt(((TextClassifierEvent)textClassifierEvent$TextSelectionEvent).getEntityTypes(),·0),·textClassifierEvent$TextSelectionEvent.getRelativeWordStartIndex(),·textClassifierEvent$TextSelectionEvent.getRelativeWordEndIndex(),·textClassifierEvent$TextSelectionEvent.getRelativeSuggestedWordStartIndex(),·textClassifierEvent$TextSelectionEvent.getRelativeSuggestedWordEndIndex(),·getPackageName((TextClassifierEvent)textClassifierEvent$TextSelectionEvent),·(String)getItemAt(modelNames,·1,·(Object)null));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)·{
4.62 KB
com/google/android/textclassifier/ActionsSuggestionsModel.class
4.49 KB
procyon -ec {}
    
Offset 1, 11 lines modifiedOffset 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·AutoCloseable3 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 modifiedOffset 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 modifiedOffset 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 modifiedOffset 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·{
4.87 KB
com/google/android/textclassifier/AnnotatorModel$AnnotationOptions.class
4.73 KB
procyon -ec {}
    
Offset 1, 61 lines modifiedOffset 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$AnnotationOptions3 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 ····private·AnnotatorModel$AnnotationOptions(final·long·referenceTimeMsUtc,·final·String·referenceTimezone,·final·String·locales,·final·String·detectedTextLanguageTags,·final·Collection·collection,·final·int·annotateMode,·final·int·annotationUsecase,·final·boolean·hasLocationPermission,·final·boolean·hasPersonalizationPermission,·final·boolean·isSerializedEntityDataEnabled,·final·double·userLocationLat,·final·double·userLocationLng,·final·float·userLocationAccuracyMeters,·final·boolean·usePodNer,·final·boolean·triggerDictionaryOnBeginnerWords)·{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·==·null)·{36 ········if·(collection·!=·null)·{
28 ············entityTypes·=·new·String[0];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 modifiedOffset 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 ····}
3.23 KB
com/google/android/textclassifier/AnnotatorModel$ClassificationOptions.class
3.08 KB
procyon -ec {}
    
Offset 4, 37 lines modifiedOffset 4, 33 lines modified
4 public·final·class·AnnotatorModel$ClassificationOptions4 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 ····private·AnnotatorModel$ClassificationOptions(final·long·referenceTimeMsUtc,·final·String·referenceTimezone,·final·String·locales,·final·String·detectedTextLanguageTags,·final·int·annotationUsecase,·final·double·userLocationLat,·final·double·userLocationLng,·final·float·userLocationAccuracyMeters,·final·String·userFamiliarLanguageTags,·final·boolean·usePodNer,·final·boolean·triggerDictionaryOnBeginnerWords)·{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·=·userLocationLat;26 ········this.userLocationLat·=·180.0;
25 ········this.userLocationLng·=·userLocationLng;27 ········this.userLocationLng·=·360.0;
26 ········this.userLocationAccuracyMeters·=·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 modifiedOffset 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 ····}
2.32 KB
com/google/android/textclassifier/AnnotatorModel$SelectionOptions.class
2.18 KB
procyon -ec {}
    
Offset 2, 49 lines modifiedOffset 2, 43 lines modified
2 package·com.google.android.textclassifier;2 package·com.google.android.textclassifier;
  
3 public·final·class·AnnotatorModel$SelectionOptions3 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 ····private·AnnotatorModel$SelectionOptions(final·String·locales,·final·String·detectedTextLanguageTags,·final·int·annotationUsecase,·final·double·userLocationLat,·final·double·userLocationLng,·final·float·userLocationAccuracyMeters,·final·boolean·usePodNer)·{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·=·userLocationLat;20 ········this.userLocationLat·=·180.0;
18 ········this.userLocationLng·=·userLocationLng;21 ········this.userLocationLng·=·360.0;
19 ········this.userLocationAccuracyMeters·=·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 ····}
5.89 KB
com/google/android/textclassifier/AnnotatorModel.class
5.79 KB
procyon -ec {}
    
Offset 1, 11 lines modifiedOffset 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·AutoCloseable3 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 modifiedOffset 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$Annotations·nativeAnnotateStructuredInput(final·long·p0,·final·AnnotatorModel$InputFragment[]·p1,·final·AnnotatorModel$AnnotationOptions·p2);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 modifiedOffset 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$Annotations·annotateStructuredInput(final·AnnotatorModel$InputFragment[]·array,·final·AnnotatorModel$AnnotationOptions·annotatorModel$AnnotationOptions)·{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 modifiedOffset 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;
693 B
com/google/common/collect/ImmutableMap.class
605 B
procyon -ec {}
    
Offset 9, 18 lines modifiedOffset 9, 14 lines modified
  
9 public·abstract·class·ImmutableMap·implements·Map,·Serializable9 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;
959 B
com/google/common/collect/ImmutableList.class
869 B
procyon -ec {}
    
Offset 66, 18 lines modifiedOffset 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 ····}
889 B
com/android/textclassifier/-$$Lambda$TextClassifierImpl$2dNQE4N9CXjJ-oio8KtmeiaIZ_M.class vs.
com/android/textclassifier/-$$Lambda$TextClassifierImpl$wlF5Lmygug2HifzLlH779V8jReI.class
Files similar despite different names (score: 18, lower is more similar)
639 B
procyon -ec {}
    
Offset 1, 13 lines modifiedOffset 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$2dNQE4N9CXjJ-oio8KtmeiaIZ_M·implements·View$OnClickListener5 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$3(this.f$0,·view);8 ········TextClassifierImpl.lambda$createIntentOnClickListener$4(this.f$0,·view);
9 ····}9 ····}
10 }10 }
844 B
com/android/textclassifier/-$$Lambda$TextClassifierImpl$gY8JATzhlR_76-3FXEFdECxZ_Rg.class vs.
com/android/textclassifier/-$$Lambda$TextClassifierImpl$_9AKIndHE_v2Sz1V8d6jhA82Gc4.class
Files similar despite different names (score: 39, lower is more similar)
594 B
procyon -ec {}
    
Offset 1, 12 lines modifiedOffset 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$gY8JATzhlR_76-3FXEFdECxZ_Rg·implements·Predicate4 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$4((Intent)o);7 ········return·TextClassifierImpl.lambda$maybeCreateExtrasForTranslate$5((Intent)o);
8 ····}8 ····}
9 }9 }
889 B
com/android/textclassifier/-$$Lambda$TextClassifierImpl$rAyJ3L-N3WE5epfPetkTw3MVoy4.class vs.
com/android/textclassifier/-$$Lambda$TextClassifierImpl$AY5eoUbVCLXhR9opqmynv0zcSU0.class
Files similar despite different names (score: 17, lower is more similar)
639 B
procyon -ec {}
    
Offset 1, 12 lines modifiedOffset 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$rAyJ3L-N3WE5epfPetkTw3MVoy4·implements·Function4 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$5$TextClassifierImpl(this.f$1,·(LangIdModel)o);7 ········return·this.f$0.lambda$detectLanguageTags$6$TextClassifierImpl(this.f$1,·(LangIdModel)o);
8 ····}8 ····}
9 }9 }
1.67 KB
resources.arsc
    
Offset 705, 19 lines modifiedOffset 705, 19 lines modified
00002c00:·0f43·c3b3·6469·676f·2063·6f70·6961·646f··.C..digo·copiado00002c00:·0f43·c3b3·6469·676f·2063·6f70·6961·646f··.C..digo·copiado
00002c10:·0024·244e·6f74·6966·6963·6163·696f·6e65··.$$Notificacione00002c10:·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...Androi00002c30:·416e·6472·6f69·6400·0e1a·416e·6472·6f69··Android...Androi
00002c40:·6420·e887·aae5·8b95·e8aa·bfe6·95b4·e980··d·..............00002c40:·6420·e887·aae5·8b95·e8aa·bfe6·95b4·e980··d·..............
00002c50:·9ae7·9fa5·0005·0fe5·b7b2·e8a4·87e8·a3bd··................00002c50:·9ae7·9fa5·0005·0fe5·b7b2·e8a4·87e8·a3bd··................
00002c60:·e5af·86e7·a2bc·0000·0002·2001·d06a·0000··..........·..j..00002c60:·e5af·86e7·a2bc·0000·0002·2001·d06a·0000··..........·..j..
00002c70:·7f00·0000·6300·6f00·6d00·2e00·6700·6f00··....c.o.m...g.o.00002c70:·7f00·0000·6100·6e00·6400·7200·6f00·6900··....a.n.d.r.o.i.
00002c80:·6f00·6700·6c00·6500·2e00·6100·6e00·6400··o.g.l.e...a.n.d.00002c80:·6400·2e00·6500·7800·7400·2e00·7300·6500··d...e.x.t...s.e.
00002c90:·7200·6f00·6900·6400·2e00·6500·7800·7400··r.o.i.d...e.x.t.00002c90:·7200·7600·6900·6300·6500·7300·0000·0000··r.v.i.c.e.s.....
00002ca0:·2e00·7300·6500·7200·7600·6900·6300·6500··..s.e.r.v.i.c.e.00002ca0:·0000·0000·0000·0000·0000·0000·0000·0000··................
00002cb0:·7300·0000·0000·0000·0000·0000·0000·0000··s...............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··................
3.93 KB
smali/android/ext/services/autofill/InlineSuggestionRenderServiceImpl.smali
    
Offset 12, 15 lines modifiedOffset 12, 15 lines modified
  
12 ····return-void12 ····return-void
13 .end·method13 .end·method
  
14 .method·private·synthetic·lambda$onRenderSuggestion$0(Landroid/content/IntentSender;Landroid/view/View;)Z14 .method·private·synthetic·lambda$onRenderSuggestion$0(Landroid/content/IntentSender;Landroid/view/View;)Z
15 ····.locals·015 ····.locals·0
  
16 ····.line·6116 ····.line·55
17 ····invoke-virtual·{p0,·p1},·Landroid/service/autofill/InlineSuggestionRenderService;->startIntentSender(Landroid/content/IntentSender;)V17 ····invoke-virtual·{p0,·p1},·Landroid/service/autofill/InlineSuggestionRenderService;->startIntentSender(Landroid/content/IntentSender;)V
  
18 ····const/4·p0,·0x118 ····const/4·p0,·0x1
  
19 ····return·p019 ····return·p0
20 .end·method20 .end·method
  
Offset 32, 34 lines modifiedOffset 32, 23 lines modified
32 ····invoke-direct·{p0,·p1,·p2},·Landroid/ext/services/autofill/InlineSuggestionRenderServiceImpl;->lambda$onRenderSuggestion$0(Landroid/content/IntentSender;Landroid/view/View;)Z32 ····invoke-direct·{p0,·p1,·p2},·Landroid/ext/services/autofill/InlineSuggestionRenderServiceImpl;->lambda$onRenderSuggestion$0(Landroid/content/IntentSender;Landroid/view/View;)Z
  
33 ····move-result·p033 ····move-result·p0
  
34 ····return·p034 ····return·p0
35 .end·method35 .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·237 ····.locals·2
  
45 ····const-string·v0,·"InlinePresentationRendererServiceImpl:·InlinePresentation·should·not·be·null"38 ····const-string·v0,·"InlinePresentationRendererServiceImpl:·InlinePresentation·should·not·be·null"
  
46 ····.line·4839 ····.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·4941 ····.line·43
49 ····new-instance·v0,·Ljava/lang/StringBuilder;42 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
50 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V43 ····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 modifiedOffset 65, 44 lines modified
  
76 ····move-result-object·p265 ····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;)I67 ····invoke-static·{p3,·p2},·Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
  
79 ····.line·5168 ····.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·p270 ····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·p272 ····move-result-object·p2
  
84 ····const/4·p3,·0x073 ····const/4·p3,·0x0
  
85 ····if-eqz·p2,·:cond_074 ····if-eqz·p2,·:cond_0
  
86 ····.line·5475 ····.line·48
87 ····invoke-virtual·{p2},·Landroid/os/Bundle;->isEmpty()Z76 ····invoke-virtual·{p2},·Landroid/os/Bundle;->isEmpty()Z
  
88 ····move-result·v077 ····move-result·v0
  
89 ····if-nez·v0,·:cond_078 ····if-nez·v0,·:cond_0
  
90 ····.line·5579 ····.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·p381 ····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·p383 ····move-result-object·p3
  
95 ····.line·5684 ····.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·p186 ····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·p188 ····move-result-object·p1
Offset 124, 20 lines modifiedOffset 113, 20 lines modified
124 ····move-object·p1,·p3113 ····move-object·p1,·p3
  
125 ····:goto_0114 ····:goto_0
126 ····if-eqz·p3,·:cond_1115 ····if-eqz·p3,·:cond_1
  
127 ····if-eqz·p1,·:cond_1116 ····if-eqz·p1,·:cond_1
  
128 ····.line·59117 ····.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·p1119 ····move-result-object·p1
  
131 ····.line·60120 ····.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;)V122 ····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;)V123 ····invoke-virtual·{p3,·p2},·Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
  
135 ····:cond_1124 ····:cond_1
148 KB
smali/com/android/textclassifier/TextClassifierImpl.smali
    
Offset 1, 140 lines modifiedOffset 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·fields9 #·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·methods26 #·direct·methods
20 .method·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;Lcom/android/textclassifier/ModelFileManager;)V27 .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·152 ····.locals·1
  
22 ····.line·13653 ····.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,·p3,·v0},·Lcom/android/textclassifier/TextClassifierImpl;-><init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;Lcom/android/textclassifier/ModelFileManager;Landroid/view/textclassifier/TextClassifier;)V55 ····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-void56 ····return-void
26 .end·method57 .end·method
  
27 .method·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;Lcom/android/textclassifier/ModelFileManager;Landroid/view/textclassifier/TextClassifier;)V58 .method·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;Landroid/view/textclassifier/TextClassifier;)V
28 ····.locals·159 ····.locals·6
  
29 ····.line·12460 ····.line·139
30 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V61 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
31 ····.line·9362 ····.line·109
32 ····new-instance·v0,·Ljava/lang/Object;63 ····new-instance·v0,·Ljava/lang/Object;
  
33 ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V64 ····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·11366 ····.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>()V68 ····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·12570 ····.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) ...
13.8 KB
smali/com/android/textclassifier/ModelFileManager.smali
    
Offset 9, 378 lines modifiedOffset 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·annotation12 .end·annotation
  
  
13 #·instance·fields13 #·instance·fields
14 .field·private·final·downloadModelDir:Ljava/io/File;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·annotation22 ····.end·annotation
26 .end·field23 .end·field
  
  
27 #·direct·methods24 #·direct·methods
28 .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/TextClassifierSettings;)V25 .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·026 ····.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 ············">;>;>;)V"33 ············">;>;)V"
91 ········}34 ········}
92 ····.end·annotation35 ····.end·annotation
  
93 ····.line·8836 ····.line·51
... Open expanded diff ...
1.07 KB
smali/com/android/textclassifier/DefaultTextClassifierService$2.smali
    
Offset 26, 39 lines modifiedOffset 26, 39 lines modified
26 .end·annotation26 .end·annotation
  
  
27 #·direct·methods27 #·direct·methods
28 .method·constructor·<init>(Lcom/android/textclassifier/DefaultTextClassifierService;)V28 .method·constructor·<init>(Lcom/android/textclassifier/DefaultTextClassifierService;)V
29 ····.locals·029 ····.locals·0
  
30 ····.line·17530 ····.line·167
31 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V31 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
32 ····return-void32 ····return-void
33 .end·method33 .end·method
  
  
34 #·virtual·methods34 #·virtual·methods
35 .method·public·onFailure(Ljava/lang/Throwable;)V35 .method·public·onFailure(Ljava/lang/Throwable;)V
36 ····.locals·136 ····.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·18139 ····.line·173
40 ····invoke-static·{p0,·v0,·p1},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V40 ····invoke-static·{p0,·v0,·p1},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
  
41 ····return-void41 ····return-void
42 .end·method42 .end·method
  
43 .method·public·bridge·synthetic·onSuccess(Ljava/lang/Object;)V43 .method·public·bridge·synthetic·onSuccess(Ljava/lang/Object;)V
44 ····.locals·044 ····.locals·0
  
45 ····.line·17545 ····.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;)V47 ····invoke-virtual·{p0,·p1},·Lcom/android/textclassifier/DefaultTextClassifierService$2;->onSuccess(Ljava/lang/Void;)V
  
48 ····return-void48 ····return-void
49 .end·method49 .end·method
  
42.7 KB
smali/com/android/textclassifier/TextClassifierSettings.smali
    
Offset 1, 37 lines modifiedOffset 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·fields4 #·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·annotation12 ····.end·annotation
21 .end·field13 .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 modifiedOffset 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:[F29 .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·methods33 #·direct·methods
55 .method·static·constructor·<clinit>()V34 .method·static·constructor·<clinit>()V
56 ····.locals·1235 ····.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 modifiedOffset 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·15854 ····.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·v056 ····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 modifiedOffset 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·16783 ····.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·v085 ····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,·0x387 ····const/4·v0,·0x3
  
116 ····new-array·v0,·v0,·[F88 ····new-array·v0,·v0,·[F
  
117 ····.line·20289 ····.line·167
118 ····fill-array-data·v0,·:array_090 ····fill-array-data·v0,·:array_0
  
119 ····sput-object·v0,·Lcom/android/textclassifier/TextClassifierSettings;->LANG_ID_CONTEXT_SETTINGS_DEFAULT:[F91 ····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-void92 ····return-void
  
 93 ····nop
  
125 ····:array_094 ····:array_0
126 ····.array-data·495 ····.array-data·4
127 ········0x41a00000····#·20.0f96 ········0x41a00000····#·20.0f
128 ········0x3f800000····#·1.0f97 ········0x3f800000····#·1.0f
129 ········0x3ecccccd····#·0.4f98 ········0x3ecccccd····#·0.4f
... Open expanded diff (truncated) ...
6.72 KB
smali/com/android/textclassifier/ActionsSuggestionsHelper.smali
    
Offset 214, 51 lines modifiedOffset 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·annotation219 ····.end·annotation
  
220 ····.line·195220 ····.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·v0222 ····move-result-object·v0
  
223 ····const/4·v1,·0x0223 ····const/4·v1,·0x0
  
224 ····if-nez·v0,·:cond_0224 ····if-nez·v0,·:cond_0
  
225 ····return-object·v1225 ····return-object·v1
  
226 ····.line·199226 ····.line·196
227 ····:cond_0227 ····: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·v0229 ····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·v0231 ····move-result-object·v0
  
232 ····.line·200232 ····.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·v0234 ····move-result-object·v0
  
235 ····if-nez·v0,·:cond_1235 ····if-nez·v0,·:cond_1
  
236 ····goto·:goto_0236 ····goto·:goto_0
  
237 ····.line·202237 ····.line·199
238 ····:cond_1238 ····: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·v1240 ····move-result-object·v1
  
241 ····.line·203241 ····.line·200
242 ····:goto_0242 ····: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·p0245 ····move-result-object·p0
  
Offset 278, 15 lines modifiedOffset 278, 15 lines modified
278 .method·private·static·hashMessage(Landroid/view/textclassifier/ConversationActions$Message;)I278 .method·private·static·hashMessage(Landroid/view/textclassifier/ConversationActions$Message;)I
279 ····.locals·3279 ····.locals·3
  
280 ····const/4·v0,·0x3280 ····const/4·v0,·0x3
  
281 ····new-array·v0,·v0,·[Ljava/lang/Object;281 ····new-array·v0,·v0,·[Ljava/lang/Object;
  
282 ····.line·245282 ····.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·v1284 ····move-result-object·v1
  
285 ····const/4·v2,·0x0285 ····const/4·v2,·0x0
  
286 ····aput-object·v1,·v0,·v2286 ····aput-object·v1,·v0,·v2
Offset 313, 53 lines modifiedOffset 313, 45 lines modified
  
313 ····return·p0313 ····return·p0
314 .end·method314 .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·1316 ····.locals·1
  
317 ····if-nez·p1,·:cond_0317 ····.line·150
 318 ····iget-boolean·v0,·p1,·Landroid/content/pm/ResolveInfo;->handleAllWebDataURI:Z
  
 319 ····if-eqz·v0,·:cond_0
  
318 ····.line·151320 ····.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·p0322 ····return-object·p0
  
321 ····.line·153323 ····.line·153
322 ····:cond_0324 ····: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;)Z328 ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
334 ····move-result·p1329 ····move-result·p1
  
335 ····if-eqz·p1,·:cond_2330 ····if-eqz·p1,·:cond_1
  
336 ····.line·157331 ····.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·p0333 ····return-object·p0
  
339 ····.line·159334 ····.line·156
340 ····:cond_2335 ····: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·p0337 ····return-object·p0
343 .end·method338 .end·method
  
344 .method·static·synthetic·lambda$toNativeMessages$0(Landroid/view/textclassifier/ConversationActions$Message;)Z339 .method·static·synthetic·lambda$toNativeMessages$0(Landroid/view/textclassifier/ConversationActions$Message;)Z
345 ····.locals·0340 ····.locals·0
Offset 398, 20 lines modifiedOffset 390, 20 lines modified
398 ············">;)",390 ············">;)",
399 ············"Ljava/util/List<",391 ············"Ljava/util/List<",
... Open expanded diff ...
1.98 KB
smali/com/android/textclassifier/DefaultTextClassifierService$1.smali
    
Offset 29, 15 lines modifiedOffset 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·methods30 #·direct·methods
31 .method·constructor·<init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/service/textclassifier/TextClassifierService$Callback;)V31 .method·constructor·<init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/service/textclassifier/TextClassifierService$Callback;)V
32 ····.locals·032 ····.locals·0
  
33 ····.line·15033 ····.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>()V35 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
36 ····return-void36 ····return-void
37 .end·method37 .end·method
  
Offset 46, 18 lines modifiedOffset 46, 18 lines modified
46 .method·public·onFailure(Ljava/lang/Throwable;)V46 .method·public·onFailure(Ljava/lang/Throwable;)V
47 ····.locals·247 ····.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·15850 ····.line·150
51 ····invoke-static·{v0,·v1,·p1},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V51 ····invoke-static·{v0,·v1,·p1},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
  
52 ····.line·15952 ····.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·p155 ····move-result-object·p1
  
56 ····invoke-interface·{p0,·p1},·Landroid/service/textclassifier/TextClassifierService$Callback;->onFailure(Ljava/lang/CharSequence;)V56 ····invoke-interface·{p0,·p1},·Landroid/service/textclassifier/TextClassifierService$Callback;->onFailure(Ljava/lang/CharSequence;)V
Offset 69, 14 lines modifiedOffset 69, 14 lines modified
69 ····.locals·069 ····.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·annotation74 ····.end·annotation
  
75 ····.line·15375 ····.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;)V77 ····invoke-interface·{p0,·p1},·Landroid/service/textclassifier/TextClassifierService$Callback;->onSuccess(Ljava/lang/Object;)V
  
78 ····return-void78 ····return-void
79 .end·method79 .end·method
11.5 KB
smali/com/android/textclassifier/ModelFileManager$ModelFile.smali
    
Offset 9, 28 lines modifiedOffset 9, 20 lines modified
9 .end·annotation9 .end·annotation
  
10 .annotation·system·Ldalvik/annotation/InnerClass;10 .annotation·system·Ldalvik/annotation/InnerClass;
11 ····accessFlags·=·0x1911 ····accessFlags·=·0x19
12 ····name·=·"ModelFile"12 ····name·=·"ModelFile"
13 .end·annotation13 .end·annotation
  
14 .annotation·system·Ldalvik/annotation/MemberClasses; 
15 ····value·=·{ 
16 ········Lcom/android/textclassifier/ModelFileManager$ModelFile$ModelType; 
17 ····} 
18 .end·annotation 
  
  
19 #·instance·fields14 #·instance·fields
20 .field·private·final·file:Ljava/io/File;15 .field·private·final·file:Ljava/io/File;
  
21 .field·private·final·languageIndependent:Z16 .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 modifiedOffset 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:I32 .field·private·final·version:I
  
  
41 #·direct·methods33 #·direct·methods
42 .method·public·constructor·<init>(Ljava/lang/String;Ljava/io/File;ILjava/util/List;Ljava/lang/String;Z)V34 .method·public·constructor·<init>(Ljava/io/File;ILjava/util/List;Ljava/lang/String;Z)V
43 ····.locals·035 ····.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·annotation47 ····.end·annotation
  
57 ····.line·38648 ····.line·210
58 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V49 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
59 ····.line·38750 ····.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/lang/String;52 ····check-cast·p1,·Ljava/io/File;
  
62 ····iput-object·p1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->modelType:Ljava/lang/String;53 ····iput-object·p1,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->file:Ljava/io/File;
  
63 ····.line·38854 ····.line·212
64 ····invoke-static·{p2},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;55 ····iput·p2,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->version:I
  
65 ····check-cast·p2,·Ljava/io/File;56 ····.line·213
 57 ····invoke-static·{p3},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
  
66 ····iput-object·p2,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->file:Ljava/io/File;58 ····check-cast·p3,·Ljava/util/List;
  
67 ····.line·38959 ····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·39060 ····.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/util/List;62 ····check-cast·p4,·Ljava/lang/String;
  
72 ····iput-object·p4,·p0,·Lcom/android/textclassifier/ModelFileManager$ModelFile;->supportedLocales:Ljava/util/List; 
  
73 ····.line·39163 ····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 ····check-cast·p5,·Ljava/lang/String;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-void66 ····return-void
80 .end·method67 .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·169 ····.locals·1
  
83 ····.line·48170 ····.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·p073 ····move-result-object·p0
  
87 ····return-object·p074 ····return-object·p0
Offset 123, 27 lines modifiedOffset 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·annotation112 ····.end·annotation
  
129 ····.line·480113 ····.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·p0115 ····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·481117 ····.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·p0119 ····move-result-object·p0
  
136 ····.line·482120 ····.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 ...
17.6 KB
smali/com/android/textclassifier/DefaultTextClassifierService.smali
    
Offset 86, 37 lines modifiedOffset 86, 37 lines modified
  
86 ····return-void86 ····return-void
87 .end·method87 .end·method
  
88 .method·private·handleEvent(Ljava/lang/Runnable;)V88 .method·private·handleEvent(Ljava/lang/Runnable;)V
89 ····.locals·289 ····.locals·2
  
90 ····.line·16790 ····.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;)V93 ····invoke-direct·{v1,·p1},·Lcom/android/textclassifier/-$$Lambda$DefaultTextClassifierService$yNSEFy3JVW1IOjoC_clSd0dxJhU;-><init>(Ljava/lang/Runnable;)V
  
94 ····.line·16894 ····.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·p196 ····move-result-object·p1
  
97 ····.line·17397 ····.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;)V99 ····invoke-direct·{v0,·p0},·Lcom/android/textclassifier/DefaultTextClassifierService$2;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;)V
  
100 ····.line·184100 ····.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·p0102 ····move-result-object·p0
  
103 ····.line·173103 ····.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;)V104 ····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-void105 ····return-void
106 .end·method106 .end·method
  
107 .method·private·handleRequestAsync(Ljava/util/concurrent/Callable;Landroid/service/textclassifier/TextClassifierService$Callback;Landroid/os/CancellationSignal;)V107 .method·private·handleRequestAsync(Ljava/util/concurrent/Callable;Landroid/service/textclassifier/TextClassifierService$Callback;Landroid/os/CancellationSignal;)V
108 ····.locals·1108 ····.locals·1
Offset 130, 35 lines modifiedOffset 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·annotation135 ····.end·annotation
  
136 ····.line·147136 ····.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·p1139 ····move-result-object·p1
  
140 ····.line·148140 ····.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;)V142 ····invoke-direct·{v0,·p0,·p2},·Lcom/android/textclassifier/DefaultTextClassifierService$1;-><init>(Lcom/android/textclassifier/DefaultTextClassifierService;Landroid/service/textclassifier/TextClassifierService$Callback;)V
  
143 ····.line·162143 ····.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·p0145 ····move-result-object·p0
  
146 ····.line·148146 ····.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;)V147 ····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·163148 ····.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;)V150 ····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;)V151 ····invoke-virtual·{p3,·p0},·Landroid/os/CancellationSignal;->setOnCancelListener(Landroid/os/CancellationSignal$OnCancelListener;)V
  
152 ····return-void152 ····return-void
Offset 168, 42 lines modifiedOffset 168, 42 lines modified
168 ····.locals·0168 ····.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·annotation173 ····.end·annotation
  
174 ····.line·170174 ····.line·162
175 ····invoke-interface·{p0},·Ljava/lang/Runnable;->run()V175 ····invoke-interface·{p0},·Ljava/lang/Runnable;->run()V
  
176 ····const/4·p0,·0x0176 ····const/4·p0,·0x0
  
177 ····return-object·p0177 ····return-object·p0
178 .end·method178 .end·method
  
179 .method·static·synthetic·lambda$handleRequestAsync$7(Lcom/google/common/util/concurrent/ListenableFuture;)V179 .method·static·synthetic·lambda$handleRequestAsync$7(Lcom/google/common/util/concurrent/ListenableFuture;)V
180 ····.locals·1180 ····.locals·1
  
181 ····const/4·v0,·0x1181 ····const/4·v0,·0x1
  
182 ····.line·163182 ····.line·155
183 ····invoke-interface·{p0,·v0},·Ljava/util/concurrent/Future;->cancel(Z)Z183 ····invoke-interface·{p0,·v0},·Ljava/util/concurrent/Future;->cancel(Z)Z
  
184 ····return-void184 ····return-void
185 .end·method185 .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·0187 ····.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·annotation192 ····.end·annotation
  
193 ····.line·96193 ····.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·p0196 ····move-result-object·p0
  
197 ····return-object·p0197 ····return-object·p0
Offset 213, 15 lines modifiedOffset 213, 15 lines modified
213 ····.locals·0213 ····.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·annotation218 ····.end·annotation
  
219 ····.line·124219 ····.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 ...
4.7 KB
smali/com/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder.smali
    
Offset 59, 138 lines modifiedOffset 59, 138 lines modified
59 .end·field59 .end·field
  
  
60 #·direct·methods60 #·direct·methods
61 .method·static·constructor·<clinit>()V61 .method·static·constructor·<clinit>()V
62 ····.locals·262 ····.locals·2
  
63 ····.line·20763 ····.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,·0x065 ····const/4·v1,·0x0
  
66 ····invoke-direct·{v0,·v1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V66 ····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·20868 ····.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·20970 ····.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·v072 ····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-void74 ····return-void
75 .end·method75 .end·method
  
76 .method·private·constructor·<init>()V76 .method·private·constructor·<init>()V
77 ····.locals·177 ····.locals·1
  
78 ····.line·20678 ····.line·203
79 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V79 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
80 ····.line·21180 ····.line·208
81 ····new-instance·v0,·Landroid/util/ArrayMap;81 ····new-instance·v0,·Landroid/util/ArrayMap;
  
82 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V82 ····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,·0x184 ····const/4·v0,·0x1
  
85 ····.line·21285 ····.line·209
86 ····iput·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I86 ····iput·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I
  
87 ····return-void87 ····return-void
88 .end·method88 .end·method
  
89 .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V89 .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V
90 ····.locals·090 ····.locals·0
  
91 ····.line·20691 ····.line·203
92 ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;-><init>()V92 ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;-><init>()V
  
93 ····return-void93 ····return-void
94 .end·method94 .end·method
  
95 .method·static·synthetic·access$100(Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;Landroid/app/Person;)I95 .method·static·synthetic·access$100(Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;Landroid/app/Person;)I
96 ····.locals·096 ····.locals·0
  
97 ····.line·20697 ····.line·203
98 ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->encode(Landroid/app/Person;)I98 ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->encode(Landroid/app/Person;)I
  
99 ····move-result·p099 ····move-result·p0
  
100 ····return·p0100 ····return·p0
101 .end·method101 .end·method
  
102 .method·private·encode(Landroid/app/Person;)I102 .method·private·encode(Landroid/app/Person;)I
103 ····.locals·2103 ····.locals·2
  
104 ····.line·215104 ····.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·p1107 ····move-result-object·p1
  
108 ····.line·216108 ····.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;)Z110 ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence$Wrapper;->equals(Ljava/lang/Object;)Z
  
111 ····move-result·v0111 ····move-result·v0
  
112 ····if-eqz·v0,·:cond_0112 ····if-eqz·v0,·:cond_0
  
113 ····const/4·p0,·0x0113 ····const/4·p0,·0x0
  
114 ····return·p0114 ····return·p0
  
115 ····.line·219115 ····.line·216
116 ····:cond_0116 ····: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·v0119 ····move-result-object·v0
  
120 ····check-cast·v0,·Ljava/lang/Integer;120 ····check-cast·v0,·Ljava/lang/Integer;
  
121 ····if-nez·v0,·:cond_1121 ····if-nez·v0,·:cond_1
  
122 ····.line·221122 ····.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:I124 ····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·v1126 ····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·222128 ····.line·219
129 ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I129 ····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·v0131 ····move-result-object·v0
  
132 ····.line·223132 ····.line·220
133 ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I133 ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I
  
134 ····add-int/lit8·p1,·p1,·0x1134 ····add-int/lit8·p1,·p1,·0x1
... Open expanded diff ...
33.5 KB
smali/com/android/textclassifier/ModelFileManager$ModelFileSupplierImpl.smali
    
Offset 1, 60 lines modifiedOffset 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 #·interfaces4 #·interfaces
5 .implements·Ljava/util/function/Supplier;5 .implements·Ljava/util/function/Supplier;
  
  
6 #·annotations6 #·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·annotation9 .end·annotation
  
10 .annotation·system·Ldalvik/annotation/InnerClass;10 .annotation·system·Ldalvik/annotation/InnerClass;
11 ····accessFlags·=·0x1811 ····accessFlags·=·0x19
12 ····name·=·"ModelFileSupplierImpl"12 ····name·=·"ModelFileSupplierImpl"
13 .end·annotation13 .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·annotation22 .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·fields23 #·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 modifiedOffset 40, 193 lines modified
63 ····.end·annotation40 ····.end·annotation
64 .end·field41 .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·annotation52 ····.end·annotation
78 .end·field53 .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·annotation63 ····.end·annotation
88 .end·field64 .end·field
  
  
89 #·direct·methods65 #·direct·methods
90 .method·static·constructor·<clinit>()V66 .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 ...
3.05 KB
smali/com/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence.smali
    
Offset 22, 65 lines modifiedOffset 22, 65 lines modified
22 .end·annotation22 .end·annotation
  
  
23 #·direct·methods23 #·direct·methods
24 .method·private·constructor·<init>()V24 .method·private·constructor·<init>()V
25 ····.locals·025 ····.locals·0
  
26 ····.line·22826 ····.line·225
27 ····invoke-direct·{p0},·Lcom/google/common/base/Equivalence;-><init>()V27 ····invoke-direct·{p0},·Lcom/google/common/base/Equivalence;-><init>()V
  
28 ····return-void28 ····return-void
29 .end·method29 .end·method
  
30 .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V30 .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V
31 ····.locals·031 ····.locals·0
  
32 ····.line·22832 ····.line·225
33 ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>()V33 ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>()V
  
34 ····return-void34 ····return-void
35 .end·method35 .end·method
  
  
36 #·virtual·methods36 #·virtual·methods
37 .method·protected·doEquivalent(Landroid/app/Person;Landroid/app/Person;)Z37 .method·protected·doEquivalent(Landroid/app/Person;Landroid/app/Person;)Z
38 ····.locals·138 ····.locals·1
  
39 ····.line·23239 ····.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·p041 ····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·v043 ····move-result-object·v0
  
44 ····invoke-static·{p0,·v0},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z44 ····invoke-static·{p0,·v0},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
  
45 ····move-result·p045 ····move-result·p0
  
46 ····if-eqz·p0,·:cond_046 ····if-eqz·p0,·:cond_0
  
47 ····.line·23347 ····.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·p049 ····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·v051 ····move-result-object·v0
  
52 ····invoke-static·{p0,·v0},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z52 ····invoke-static·{p0,·v0},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
  
53 ····move-result·p053 ····move-result·p0
  
54 ····if-eqz·p0,·:cond_054 ····if-eqz·p0,·:cond_0
  
55 ····.line·23455 ····.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·p057 ····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·p159 ····move-result-object·p1
Offset 101, 15 lines modifiedOffset 101, 15 lines modified
101 ····:goto_0101 ····:goto_0
102 ····return·p0102 ····return·p0
103 .end·method103 .end·method
  
104 .method·protected·bridge·synthetic·doEquivalent(Ljava/lang/Object;Ljava/lang/Object;)Z104 .method·protected·bridge·synthetic·doEquivalent(Ljava/lang/Object;Ljava/lang/Object;)Z
105 ····.locals·0105 ····.locals·0
  
106 ····.line·228106 ····.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;)Z109 ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;->doEquivalent(Landroid/app/Person;Landroid/app/Person;)Z
  
110 ····move-result·p0110 ····move-result·p0
Offset 120, 15 lines modifiedOffset 120, 15 lines modified
120 .method·protected·doHash(Landroid/app/Person;)I120 .method·protected·doHash(Landroid/app/Person;)I
121 ····.locals·2121 ····.locals·2
  
122 ····const/4·p0,·0x3122 ····const/4·p0,·0x3
  
123 ····new-array·p0,·p0,·[Ljava/lang/Object;123 ····new-array·p0,·p0,·[Ljava/lang/Object;
  
124 ····.line·239124 ····.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·v0126 ····move-result-object·v0
  
127 ····const/4·v1,·0x0127 ····const/4·v1,·0x0
  
128 ····aput-object·v0,·p0,·v1128 ····aput-object·v0,·p0,·v1
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
  
155 ····return·p0155 ····return·p0
156 .end·method156 .end·method
  
157 .method·protected·bridge·synthetic·doHash(Ljava/lang/Object;)I157 .method·protected·bridge·synthetic·doHash(Ljava/lang/Object;)I
158 ····.locals·0158 ····.locals·0
  
159 ····.line·228159 ····.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;)I161 ····invoke-virtual·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;->doHash(Landroid/app/Person;)I
  
162 ····move-result·p0162 ····move-result·p0
  
163 ····return·p0163 ····return·p0
25.7 KB
smali/com/android/textclassifier/common/intent/LabeledIntent.smali
    
Offset 30, 96 lines modifiedOffset 30, 96 lines modified
30 .field·public·final·titleWithoutEntity:Ljava/lang/String;30 .field·public·final·titleWithoutEntity:Ljava/lang/String;
  
  
31 #·direct·methods31 #·direct·methods
32 .method·static·constructor·<clinit>()V32 .method·static·constructor·<clinit>()V
33 ····.locals·133 ····.locals·1
  
34 ····.line·4034 ····.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-void37 ····return-void
38 .end·method38 .end·method
  
39 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;I)V39 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;I)V
40 ····.locals·140 ····.locals·1
  
41 ····.line·7341 ····.line·72
42 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V42 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
43 ····.line·7443 ····.line·73
44 ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z44 ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
45 ····move-result·v045 ····move-result·v0
  
46 ····if-eqz·v0,·:cond_146 ····if-eqz·v0,·:cond_1
  
47 ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z47 ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
48 ····move-result·v048 ····move-result·v0
  
49 ····if-nez·v0,·:cond_049 ····if-nez·v0,·:cond_0
  
50 ····goto·:goto_050 ····goto·:goto_0
  
51 ····.line·7551 ····.line·74
52 ····:cond_052 ····: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;)V55 ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
56 ····throw·p056 ····throw·p0
  
57 ····.line·7857 ····.line·77
58 ····:cond_158 ····:cond_1
59 ····:goto_059 ····: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·7961 ····.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·8063 ····.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·8167 ····.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·8269 ····.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·8373 ····.line·82
74 ····iput·p6,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->requestCode:I74 ····iput·p6,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->requestCode:I
  
75 ····return-void75 ····return-void
76 .end·method76 .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·178 ····.locals·1
  
79 ····const/4·v0,·0x079 ····const/4·v0,·0x0
  
80 ····.line·20280 ····.line·157
81 ····:try_start_081 ····: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·p083 ····move-result-object·p0
  
84 ····.line·20384 ····.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·p086 ····move-result-object·p0
87 ····:try_end_087 ····:try_end_0
88 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_088 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0
  
89 ····return-object·p089 ····return-object·p0
Offset 127, 292 lines modifiedOffset 127, 169 lines modified
127 ····:catch_0127 ····:catch_0
128 ····move-exception·p0128 ····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·205131 ····.line·160
132 ····invoke-static·{p1,·p2,·p0},·Lcom/android/textclassifier/common/base/TcLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V132 ····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,·0x0133 ····const/4·p0,·0x0
  
134 ····return-object·p0134 ····return-object·p0
135 .end·method135 .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·1137 ····.locals·1
  
138 ····const/high16·v0,·0x8000000138 ····const/high16·v0,·0x8000000
  
139 ····.line·212139 ····.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·p0141 ····move-result-object·p0
  
142 ····return-object·p0142 ····return-object·p0
143 .end·method143 .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 ...
1.12 KB
smali/com/android/textclassifier/common/intent/LabeledIntent$Result.smali
    
Offset 20, 25 lines modifiedOffset 20, 25 lines modified
20 .field·public·final·resolvedIntent:Landroid/content/Intent;20 .field·public·final·resolvedIntent:Landroid/content/Intent;
  
  
21 #·direct·methods21 #·direct·methods
22 .method·public·constructor·<init>(Landroid/content/Intent;Landroidx/core/app/RemoteActionCompat;)V22 .method·public·constructor·<init>(Landroid/content/Intent;Landroidx/core/app/RemoteActionCompat;)V
23 ····.locals·023 ····.locals·0
  
24 ····.line·24724 ····.line·201
25 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V25 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
26 ····.line·24826 ····.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·24930 ····.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-void34 ····return-void
19.5 KB
smali/com/android/textclassifier/common/statsd/GenerateLinksLogger.smali
    
Offset 27, 15 lines modifiedOffset 27, 15 lines modified
27 .field·private·final·sampleRate:I27 .field·private·final·sampleRate:I
  
  
28 #·direct·methods28 #·direct·methods
29 .method·public·constructor·<init>(I)V29 .method·public·constructor·<init>(I)V
30 ····.locals·130 ····.locals·1
  
31 ····.line·5131 ····.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;)V33 ····invoke-direct·{p0,·p1,·v0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;-><init>(ILjava/util/function/Supplier;)V
  
34 ····return-void34 ····return-void
35 .end·method35 .end·method
  
Offset 46, 78 lines modifiedOffset 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·annotation51 ····.end·annotation
  
52 ····.line·6152 ····.line·63
53 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V53 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
54 ····.line·6254 ····.line·64
55 ····iput·p1,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->sampleRate:I55 ····iput·p1,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->sampleRate:I
  
56 ····.line·6356 ····.line·65
57 ····new-instance·p1,·Ljava/util/Random;57 ····new-instance·p1,·Ljava/util/Random;
  
58 ····invoke-direct·{p1},·Ljava/util/Random;-><init>()V58 ····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·6460 ····.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-void64 ····return-void
65 .end·method65 .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·167 ····.locals·1
  
68 ····.line·9668 ····.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,·0x070 ····const/4·v0,·0x0
  
71 ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;-><init>(Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$1;)V71 ····invoke-direct·{p0,·v0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;-><init>(Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$1;)V
  
72 ····return-object·p072 ····return-object·p0
73 .end·method73 .end·method
  
74 .method·static·synthetic·lambda$new$0()Ljava/lang/String;74 .method·static·synthetic·lambda$new$0()Ljava/lang/String;
75 ····.locals·175 ····.locals·1
  
76 ····.line·5176 ····.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·v078 ····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·v080 ····move-result-object·v0
  
81 ····return-object·v081 ····return-object·v0
82 .end·method82 .end·method
  
83 .method·private·shouldLog()Z83 .method·private·shouldLog()Z
84 ····.locals·284 ····.locals·2
  
85 ····.line·12485 ····.line·126
86 ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->sampleRate:I86 ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger;->sampleRate:I
  
87 ····const/4·v1,·0x187 ····const/4·v1,·0x1
  
88 ····if-gt·v0,·v1,·:cond_088 ····if-gt·v0,·v1,·:cond_0
  
89 ····return·v189 ····return·v1
  
90 ····.line·12790 ····.line·129
91 ····:cond_091 ····: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)I93 ····invoke-virtual·{p0,·v0},·Ljava/util/Random;->nextInt(I)I
  
94 ····move-result·p094 ····move-result·p0
  
Offset 129, 15 lines modifiedOffset 129, 15 lines modified
129 ····const/4·v1,·0x0129 ····const/4·v1,·0x0
  
130 ····:goto_0130 ····:goto_0
131 ····return·v1131 ····return·v1
132 .end·method132 .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;)V133 .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·17134 ····.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 modifiedOffset 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·annotation153 ····.end·annotation
  
154 ····move-object/from16·v0,·p3154 ····.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 ...
42.0 KB
smali/com/android/textclassifier/common/statsd/TextClassifierEventLogger.smali
    
Offset 3, 44 lines modifiedOffset 3, 44 lines modified
3 .source·"TextClassifierEventLogger.java"3 .source·"TextClassifierEventLogger.java"
  
  
4 #·direct·methods4 #·direct·methods
5 .method·public·constructor·<init>()V5 .method·public·constructor·<init>()V
6 ····.locals·06 ····.locals·0
  
7 ····.line·357 ····.line·37
8 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V8 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
9 ····return-void9 ····return-void
10 .end·method10 .end·method
  
11 .method·private·static·getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I11 .method·private·static·getEventType(Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;)I
12 ····.locals·212 ····.locals·2
  
13 ····.line·8713 ····.line·93
14 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I14 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I
  
15 ····move-result·v015 ····move-result·v0
  
16 ····const/4·v1,·0x516 ····const/4·v1,·0x5
  
17 ····if-ne·v0,·v1,·:cond_117 ····if-ne·v0,·v1,·:cond_1
  
18 ····.line·8818 ····.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·v020 ····move-result-object·v0
  
21 ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->isFromDefaultTextClassifier(Ljava/lang/String;)Z21 ····invoke-static·{v0},·Lcom/android/textclassifier/common/logging/ResultIdUtils;->isFromDefaultTextClassifier(Ljava/lang/String;)Z
  
22 ····move-result·v022 ····move-result·v0
  
23 ····if-eqz·v0,·:cond_123 ····if-eqz·v0,·:cond_1
  
24 ····.line·8924 ····.line·95
25 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I25 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordEndIndex()I
  
26 ····move-result·v026 ····move-result·v0
  
27 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I27 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent$TextSelectionEvent;->getRelativeWordStartIndex()I
  
28 ····move-result·p028 ····move-result·p0
Offset 57, 15 lines modifiedOffset 57, 15 lines modified
  
57 ····:cond_057 ····:cond_0
58 ····const/4·p0,·0x358 ····const/4·p0,·0x3
  
59 ····:goto_059 ····:goto_0
60 ····return·p060 ····return·p0
  
61 ····.line·9461 ····.line·100
62 ····:cond_162 ····:cond_1
63 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I63 ····invoke-virtual·{p0},·Lcom/android/textclassifier/common/logging/TextClassifierEvent;->getEventType()I
  
64 ····move-result·p064 ····move-result·p0
  
65 ····return·p065 ····return·p0
66 .end·method66 .end·method
Offset 75, 23 lines modifiedOffset 75, 23 lines modified
  
75 ····const/4·v0,·0x075 ····const/4·v0,·0x0
  
76 ····if-nez·p0,·:cond_076 ····if-nez·p0,·:cond_0
  
77 ····return·v077 ····return·v0
  
78 ····.line·18078 ····.line·199
79 ····:cond_079 ····:cond_0
80 ····array-length·v1,·p080 ····array-length·v1,·p0
  
81 ····if-lt·p1,·v1,·:cond_181 ····if-lt·p1,·v1,·:cond_1
  
82 ····return·v082 ····return·v0
  
83 ····.line·18383 ····.line·202
84 ····:cond_184 ····:cond_1
85 ····aget·p0,·p0,·p185 ····aget·p0,·p0,·p1
  
86 ····return·p086 ····return·p0
87 .end·method87 .end·method
  
88 .method·private·static·getIntAt([II)I88 .method·private·static·getIntAt([II)I
Offset 99, 23 lines modifiedOffset 99, 23 lines modified
  
99 ····const/4·v0,·0x099 ····const/4·v0,·0x0
  
100 ····if-nez·p0,·:cond_0100 ····if-nez·p0,·:cond_0
  
101 ····return·v0101 ····return·v0
  
102 ····.line·190102 ····.line·209
103 ····:cond_0103 ····:cond_0
104 ····array-length·v1,·p0104 ····array-length·v1,·p0
  
105 ····if-lt·p1,·v1,·:cond_1105 ····if-lt·p1,·v1,·:cond_1
  
106 ····return·v0106 ····return·v0
  
107 ····.line·193107 ····.line·212
108 ····:cond_1108 ····:cond_1
109 ····aget·p0,·p0,·p1109 ····aget·p0,·p0,·p1
  
110 ····return·p0110 ····return·p0
111 .end·method111 .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 modifiedOffset 130, 25 lines modified
130 ········}130 ········}
131 ····.end·annotation131 ····.end·annotation
  
132 ····if-nez·p0,·:cond_0132 ····if-nez·p0,·:cond_0
  
133 ····return-object·p2133 ····return-object·p2
  
134 ····.line·159134 ····.line·178
135 ····:cond_0135 ····:cond_0
136 ····invoke-interface·{p0},·Ljava/util/List;->size()I136 ····invoke-interface·{p0},·Ljava/util/List;->size()I
  
137 ····move-result·v0137 ····move-result·v0
  
138 ····if-lt·p1,·v0,·:cond_1138 ····if-lt·p1,·v0,·:cond_1
  
139 ····return-object·p2139 ····return-object·p2
  
140 ····.line·162140 ····.line·181
... Open expanded diff (truncated) ...
1.41 KB
smali/com/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats.smali
    
Offset 20, 42 lines modifiedOffset 20, 42 lines modified
20 .field·numLinksTextLength:I20 .field·numLinksTextLength:I
  
  
21 #·direct·methods21 #·direct·methods
22 .method·private·constructor·<init>()V22 .method·private·constructor·<init>()V
23 ····.locals·023 ····.locals·0
  
24 ····.line·17724 ····.line·183
25 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V25 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
26 ····return-void26 ····return-void
27 .end·method27 .end·method
  
28 .method·synthetic·constructor·<init>(Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$1;)V28 .method·synthetic·constructor·<init>(Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$1;)V
29 ····.locals·029 ····.locals·0
  
30 ····.line·17730 ····.line·183
31 ····invoke-direct·{p0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;-><init>()V31 ····invoke-direct·{p0},·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;-><init>()V
  
32 ····return-void32 ····return-void
33 .end·method33 .end·method
  
  
34 #·virtual·methods34 #·virtual·methods
35 .method·countLink(Landroid/view/textclassifier/TextLinks$TextLink;)V35 .method·countLink(Landroid/view/textclassifier/TextLinks$TextLink;)V
36 ····.locals·236 ····.locals·2
  
37 ····.line·18237 ····.line·188
38 ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinks:I38 ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinks:I
  
39 ····add-int/lit8·v0,·v0,·0x139 ····add-int/lit8·v0,·v0,·0x1
  
40 ····iput·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinks:I40 ····iput·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinks:I
  
41 ····.line·18341 ····.line·189
42 ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinksTextLength:I42 ····iget·v0,·p0,·Lcom/android/textclassifier/common/statsd/GenerateLinksLogger$LinkifyStats;->numLinksTextLength:I
  
43 ····invoke-virtual·{p1},·Landroid/view/textclassifier/TextLinks$TextLink;->getEnd()I43 ····invoke-virtual·{p1},·Landroid/view/textclassifier/TextLinks$TextLink;->getEnd()I
  
44 ····move-result·v144 ····move-result·v1
  
45 ····invoke-virtual·{p1},·Landroid/view/textclassifier/TextLinks$TextLink;->getStart()I45 ····invoke-virtual·{p1},·Landroid/view/textclassifier/TextLinks$TextLink;->getStart()I
967 B
smali/com/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult.smali
    
Offset 38, 18 lines modifiedOffset 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·annotation43 ····.end·annotation
  
44 ····.line·48944 ····.line·494
45 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V45 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
46 ····.line·49046 ····.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·49148 ····.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-void50 ····return-void
51 .end·method51 .end·method
44.6 KB
smali/com/android/textclassifier/notification/SmartSuggestionsHelper.smali
    
Offset 48, 25 lines modifiedOffset 48, 25 lines modified
  
48 #·direct·methods48 #·direct·methods
49 .method·static·constructor·<clinit>()V49 .method·static·constructor·<clinit>()V
50 ····.locals·550 ····.locals·5
  
51 ····const-string·v0,·"notification"51 ····const-string·v0,·"notification"
  
52 ····.line·8052 ····.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·v054 ····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·8156 ····.line·83
57 ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;57 ····new-instance·v0,·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$SuggestConversationActionsResult;
  
58 ····.line·8358 ····.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·v160 ····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 modifiedOffset 83, 99 lines modified
  
83 ····return-void83 ····return-void
84 .end·method84 .end·method
  
85 .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/notification/SmartSuggestionsConfig;)V85 .method·public·constructor·<init>(Landroid/content/Context;Lcom/android/textclassifier/notification/SmartSuggestionsConfig;)V
86 ····.locals·286 ····.locals·2
  
87 ····.line·10187 ····.line·103
88 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V88 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
89 ····.line·8889 ····.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,·0x1491 ····const/16·v1,·0x14
  
92 ····invoke-direct·{v0,·p0,·v1},·Lcom/android/textclassifier/notification/SmartSuggestionsHelper$1;-><init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V92 ····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·10294 ····.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·10396 ····.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·v099 ····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·104102 ····.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·105104 ····.line·107
105 ····new-instance·p2,·Landroid/view/textclassifier/TextClassificationContext$Builder;105 ····new-instance·p2,·Landroid/view/textclassifier/TextClassificationContext$Builder;
  
106 ····.line·107106 ····.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·p1108 ····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;)V110 ····invoke-direct·{p2,·p1,·v0},·Landroid/view/textclassifier/TextClassificationContext$Builder;-><init>(Ljava/lang/String;Ljava/lang/String;)V
  
111 ····.line·108111 ····.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·p1113 ····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-void115 ····return-void
116 .end·method116 .end·method
  
117 .method·private·static·arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z117 .method·private·static·arePersonsEqual(Landroid/app/Person;Landroid/app/Person;)Z
118 ····.locals·2118 ····.locals·2
  
119 ····.line·474119 ····.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·v0121 ····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·v1123 ····move-result-object·v1
  
124 ····invoke-static·{v0,·v1},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z124 ····invoke-static·{v0,·v1},·Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
  
125 ····move-result·v0125 ····move-result·v0
  
126 ····if-eqz·v0,·:cond_0126 ····if-eqz·v0,·:cond_0
  
127 ····.line·475127 ····.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·v0129 ····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·v1131 ····move-result-object·v1
  
132 ····invoke-static·{v0,·v1},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z132 ····invoke-static·{v0,·v1},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
  
133 ····move-result·v0133 ····move-result·v0
  
134 ····if-eqz·v0,·:cond_0134 ····if-eqz·v0,·:cond_0
  
135 ····.line·476135 ····.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·p0137 ····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·p1139 ····move-result-object·p1
Offset 196, 22 lines modifiedOffset 196, 22 lines modified
196 ····:goto_0196 ····:goto_0
... Open expanded diff (truncated) ...
1.5 KB
smali/com/android/textclassifier/notification/SmartSuggestionsHelper$1.smali
    
Offset 23, 38 lines modifiedOffset 23, 38 lines modified
23 .end·annotation23 .end·annotation
  
  
24 #·direct·methods24 #·direct·methods
25 .method·constructor·<init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V25 .method·constructor·<init>(Lcom/android/textclassifier/notification/SmartSuggestionsHelper;I)V
26 ····.locals·026 ····.locals·0
  
27 ····.line·8927 ····.line·91
28 ····invoke-direct·{p0,·p2},·Landroid/util/LruCache;-><init>(I)V28 ····invoke-direct·{p0,·p2},·Landroid/util/LruCache;-><init>(I)V
  
29 ····return-void29 ····return-void
30 .end·method30 .end·method
  
  
31 #·virtual·methods31 #·virtual·methods
32 .method·protected·bridge·synthetic·entryRemoved(ZLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V32 .method·protected·bridge·synthetic·entryRemoved(ZLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
33 ····.locals·033 ····.locals·0
  
34 ····.line·8934 ····.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;)V38 ····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-void39 ····return-void
40 .end·method40 .end·method
  
41 .method·protected·entryRemoved(ZLjava/lang/String;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;)V41 .method·protected·entryRemoved(ZLjava/lang/String;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;)V
42 ····.locals·042 ····.locals·0
  
43 ····.line·9643 ····.line·98
44 ····invoke-virtual·{p3},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->destroy()V44 ····invoke-virtual·{p3},·Lcom/android/textclassifier/notification/SmartSuggestionsLogSession;->destroy()V
  
45 ····return-void45 ····return-void
46 .end·method46 .end·method
417 B
smali/com/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestionOptions.smali
    
Offset 14, 12 lines modifiedOffset 14, 12 lines modified
14 .end·annotation14 .end·annotation
  
  
15 #·direct·methods15 #·direct·methods
16 .method·public·constructor·<init>()V16 .method·public·constructor·<init>()V
17 ····.locals·017 ····.locals·0
  
18 ····.line·29518 ····.line·241
19 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V19 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
20 ····return-void20 ····return-void
21 .end·method21 .end·method
1.7 KB
smali/com/google/android/textclassifier/AnnotatorModel$AnnotatedSpan.smali
    
Offset 22, 50 lines modifiedOffset 22, 50 lines modified
22 .field·private·final·startIndex:I22 .field·private·final·startIndex:I
  
  
23 #·direct·methods23 #·direct·methods
24 .method·constructor·<init>(II[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;)V24 .method·constructor·<init>(II[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;)V
25 ····.locals·025 ····.locals·0
  
26 ····.line·49526 ····.line·408
27 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V27 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
28 ····.line·49628 ····.line·409
29 ····iput·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->startIndex:I29 ····iput·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->startIndex:I
  
30 ····.line·49730 ····.line·410
31 ····iput·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->endIndex:I31 ····iput·p2,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->endIndex:I
  
32 ····.line·49832 ····.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-void34 ····return-void
35 .end·method35 .end·method
  
  
36 #·virtual·methods36 #·virtual·methods
37 .method·public·getClassification()[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;37 .method·public·getClassification()[Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;
38 ····.locals·038 ····.locals·0
  
39 ····.line·51039 ····.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·p041 ····return-object·p0
42 .end·method42 .end·method
  
43 .method·public·getEndIndex()I43 .method·public·getEndIndex()I
44 ····.locals·044 ····.locals·0
  
45 ····.line·50645 ····.line·419
46 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->endIndex:I46 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->endIndex:I
  
47 ····return·p047 ····return·p0
48 .end·method48 .end·method
  
49 .method·public·getStartIndex()I49 .method·public·getStartIndex()I
50 ····.locals·050 ····.locals·0
  
51 ····.line·50251 ····.line·415
52 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->startIndex:I52 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotatedSpan;->startIndex:I
  
53 ····return·p053 ····return·p0
54 .end·method54 .end·method
3.48 KB
smali/com/google/android/textclassifier/AnnotatorModel$AnnotationUsecase.smali
    
Offset 34, 41 lines modifiedOffset 34, 41 lines modified
34 .field·private·final·value:I34 .field·private·final·value:I
  
  
35 #·direct·methods35 #·direct·methods
36 .method·static·constructor·<clinit>()V36 .method·static·constructor·<clinit>()V
37 ····.locals·537 ····.locals·5
  
38 ····.line·5938 ····.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,·0x041 ····const/4·v2,·0x0
  
42 ····invoke-direct·{v0,·v1,·v2,·v2},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;-><init>(Ljava/lang/String;II)V42 ····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·6544 ····.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,·0x147 ····const/4·v3,·0x1
  
48 ····invoke-direct·{v0,·v1,·v3,·v3},·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;-><init>(Ljava/lang/String;II)V48 ····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,·0x250 ····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·5752 ····.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,·v254 ····aput-object·v4,·v1,·v2
  
55 ····aput-object·v0,·v1,·v355 ····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 modifiedOffset 80, 42 lines modified
80 ····.locals·080 ····.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·annotation85 ····.end·annotation
  
86 ····.line·6986 ····.line·67
87 ····invoke-direct·{p0,·p1,·p2},·Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V87 ····invoke-direct·{p0,·p1,·p2},·Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
  
88 ····.line·7088 ····.line·68
89 ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->value:I89 ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->value:I
  
90 ····return-void90 ····return-void
91 .end·method91 .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·193 ····.locals·1
  
94 ····.line·5794 ····.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·p097 ····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·p099 ····return-object·p0
100 .end·method100 .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·1102 ····.locals·1
  
103 ····.line·57103 ····.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·v0106 ····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 modifiedOffset 124, 12 lines modified
124 .end·method124 .end·method
  
  
125 #·virtual·methods125 #·virtual·methods
126 .method·public·getValue()I126 .method·public·getValue()I
127 ····.locals·0127 ····.locals·0
  
128 ····.line·74128 ····.line·72
129 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->value:I129 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationUsecase;->value:I
  
130 ····return·p0130 ····return·p0
131 .end·method131 .end·method
3.27 KB
smali/com/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion.smali
    
Offset 28, 86 lines modifiedOffset 28, 86 lines modified
28 .field·private·final·serializedEntityData:[B28 .field·private·final·serializedEntityData:[B
  
  
29 #·direct·methods29 #·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;)V30 .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·031 ····.locals·0
  
32 ····.line·19032 ····.line·143
33 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V33 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
34 ····.line·19134 ····.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·19236 ····.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·19338 ····.line·146
39 ····iput·p3,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->score:F39 ····iput·p3,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->score:F
  
40 ····.line·19440 ····.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·19542 ····.line·148
43 ····iput-object·p5,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->serializedEntityData:[B43 ····iput-object·p5,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->serializedEntityData:[B
  
44 ····.line·19644 ····.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-void46 ····return-void
47 .end·method47 .end·method
  
  
48 #·virtual·methods48 #·virtual·methods
49 .method·public·getActionType()Ljava/lang/String;49 .method·public·getActionType()Ljava/lang/String;
50 ····.locals·050 ····.locals·0
  
51 ····.line·20551 ····.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·p053 ····return-object·p0
54 .end·method54 .end·method
  
55 .method·public·getEntityData()[Lcom/google/android/textclassifier/NamedVariant;55 .method·public·getEntityData()[Lcom/google/android/textclassifier/NamedVariant;
56 ····.locals·056 ····.locals·0
  
57 ····.line·21557 ····.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·p059 ····return-object·p0
60 .end·method60 .end·method
  
61 .method·public·getRemoteActionTemplates()[Lcom/google/android/textclassifier/RemoteActionTemplate;61 .method·public·getRemoteActionTemplates()[Lcom/google/android/textclassifier/RemoteActionTemplate;
62 ····.locals·062 ····.locals·0
  
63 ····.line·22563 ····.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·p065 ····return-object·p0
66 .end·method66 .end·method
  
67 .method·public·getResponseText()Ljava/lang/String;67 .method·public·getResponseText()Ljava/lang/String;
68 ····.locals·068 ····.locals·0
  
69 ····.line·20169 ····.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·p071 ····return-object·p0
72 .end·method72 .end·method
  
73 .method·public·getScore()F73 .method·public·getScore()F
74 ····.locals·074 ····.locals·0
  
75 ····.line·21075 ····.line·162
76 ····iget·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->score:F76 ····iget·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->score:F
  
77 ····return·p077 ····return·p0
78 .end·method78 .end·method
  
79 .method·public·getSerializedEntityData()[B79 .method·public·getSerializedEntityData()[B
80 ····.locals·080 ····.locals·0
  
81 ····.line·22081 ····.line·170
82 ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->serializedEntityData:[B82 ····iget-object·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ActionSuggestion;->serializedEntityData:[B
  
83 ····return-object·p083 ····return-object·p0
84 .end·method84 .end·method
8.1 KB
smali/com/google/android/textclassifier/AnnotatorModel$ClassificationOptions.smali
    
Offset 9, 201 lines modifiedOffset 9, 182 lines modified
9 .end·annotation9 .end·annotation
  
10 .annotation·system·Ldalvik/annotation/InnerClass;10 .annotation·system·Ldalvik/annotation/InnerClass;
11 ····accessFlags·=·0x1911 ····accessFlags·=·0x19
12 ····name·=·"ClassificationOptions"12 ····name·=·"ClassificationOptions"
13 .end·annotation13 .end·annotation
  
14 .annotation·system·Ldalvik/annotation/MemberClasses; 
15 ····value·=·{ 
16 ········Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions$Builder; 
17 ····} 
18 .end·annotation 
  
  
19 #·instance·fields14 #·instance·fields
20 .field·private·final·annotationUsecase:I15 .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:J18 .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:F21 .field·private·final·userLocationAccuracyMeters:F
  
29 .field·private·final·userLocationLat:D22 .field·private·final·userLocationLat:D
  
30 .field·private·final·userLocationLng:D23 .field·private·final·userLocationLng:D
  
  
31 #·direct·methods24 #·direct·methods
32 .method·private·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IDDFLjava/lang/String;ZZ)V25 .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·043 ····.locals·0
  
34 ····.line·72744 ····.line·546
35 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V45 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
36 ····.line·72846 ····.line·547
37 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->referenceTimeMsUtc:J47 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->referenceTimeMsUtc:J
  
38 ····.line·72948 ····.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·73050 ····.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·73152 ····.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·73254 ····.line·551
45 ····iput·p6,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->annotationUsecase:I55 ····iput·p6,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->annotationUsecase:I
  
46 ····.line·73356 ····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·73657 ····.line·552
53 ····iput-object·p12,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userFamiliarLanguageTags:Ljava/lang/String;58 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userLocationLat:D
  
54 ····.line·73759 ····const-wide·p1,·0x4076800000000000L····#·360.0
55 ····iput-boolean·p13,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->usePodNer:Z 
  
56 ····.line·73860 ····.line·553
57 ····iput-boolean·p14,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->triggerDictionaryOnBeginnerWords:Z61 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userLocationLng:D
  
58 ····return-void62 ····const/4·p1,·0x0
59 .end·method 
  
60 .method·synthetic·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IDDFLjava/lang/String;ZZLcom/google/android/textclassifier/AnnotatorModel$1;)V63 ····.line·554
61 ····.locals·064 ····iput·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userLocationAccuracyMeters:F
  
62 ····.line·70365 ····.line·555
63 ····invoke-direct/range·{p0·..·p14},·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;-><init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IDDFLjava/lang/String;ZZ)V66 ····iput-object·p7,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationOptions;->userFamiliarLanguageTags:Ljava/lang/String;
  
64 ····return-void67 ····return-void
65 .end·method68 .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 ...
1.53 KB
smali/com/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions.smali
    
Offset 20, 36 lines modifiedOffset 20, 36 lines modified
20 .field·private·final·referenceTimezone:Ljava/lang/String;20 .field·private·final·referenceTimezone:Ljava/lang/String;
  
  
21 #·direct·methods21 #·direct·methods
22 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/Long;)V22 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/Long;)V
23 ····.locals·023 ····.locals·0
  
24 ····.line·54424 ····.line·435
25 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V25 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
26 ····.line·54526 ····.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·54628 ····.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-void30 ····return-void
31 .end·method31 .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·033 ····.locals·0
  
34 ····.line·54034 ····.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·p036 ····return-object·p0
37 .end·method37 .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·039 ····.locals·0
  
40 ····.line·54040 ····.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·p042 ····return-object·p0
43 .end·method43 .end·method
1.09 KB
smali/com/google/android/textclassifier/AnnotatorModel$DatetimeResult.smali
    
Offset 36, 38 lines modifiedOffset 36, 38 lines modified
36 .field·private·final·timeMsUtc:J36 .field·private·final·timeMsUtc:J
  
  
37 #·direct·methods37 #·direct·methods
38 .method·public·constructor·<init>(JI)V38 .method·public·constructor·<init>(JI)V
39 ····.locals·039 ····.locals·0
  
40 ····.line·31940 ····.line·246
41 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V41 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
42 ····.line·32042 ····.line·247
43 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->timeMsUtc:J43 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->timeMsUtc:J
  
44 ····.line·32144 ····.line·248
45 ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->granularity:I45 ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->granularity:I
  
46 ····return-void46 ····return-void
47 .end·method47 .end·method
  
  
48 #·virtual·methods48 #·virtual·methods
49 .method·public·getGranularity()I49 .method·public·getGranularity()I
50 ····.locals·050 ····.locals·0
  
51 ····.line·32951 ····.line·256
52 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->granularity:I52 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->granularity:I
  
53 ····return·p053 ····return·p0
54 .end·method54 .end·method
  
55 .method·public·getTimeMsUtc()J55 .method·public·getTimeMsUtc()J
56 ····.locals·256 ····.locals·2
  
57 ····.line·32557 ····.line·252
58 ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->timeMsUtc:J58 ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$DatetimeResult;->timeMsUtc:J
  
59 ····return-wide·v059 ····return-wide·v0
60 .end·method60 .end·method
13.7 KB
smali/com/google/android/textclassifier/ActionsSuggestionsModel.smali
    
Offset 25, 135 lines modifiedOffset 25, 62 lines modified
  
25 #·direct·methods25 #·direct·methods
26 .method·static·constructor·<clinit>()V26 .method·static·constructor·<clinit>()V
27 ····.locals·127 ····.locals·1
  
28 ····const-string·v0,·"textclassifier"28 ····const-string·v0,·"textclassifier"
  
29 ····.line·3329 ····.line·31
30 ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V30 ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
  
31 ····return-void31 ····return-void
32 .end·method32 .end·method
  
33 .method·public·constructor·<init>(I)V33 .method·public·constructor·<init>(I)V
34 ····.locals·134 ····.locals·1
  
35 ····const/4·v0,·0x035 ····const/4·v0,·0x0
  
36 ····.line·5036 ····.line·48
37 ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(I[B)V37 ····invoke-direct·{p0,·p1,·v0},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;-><init>(I[B)V
  
38 ····return-void38 ····return-void
39 .end·method39 .end·method
  
40 .method·public·constructor·<init>(I[B)V40 .method·public·constructor·<init>(I[B)V
41 ····.locals·241 ····.locals·2
  
42 ····.line·4242 ····.line·40
43 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V43 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
44 ····.line·3044 ····.line·28
45 ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean;45 ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean;
  
46 ····const/4·v1,·0x046 ····const/4·v1,·0x0
  
47 ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V47 ····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·4349 ····.line·41
50 ····invoke-static·{p1,·p2},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModel(I[B)J50 ····invoke-static·{p1,·p2},·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->nativeNewActionsModel(I[B)J
  
51 ····move-result-wide·p151 ····move-result-wide·p1
  
52 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J52 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel;->actionsModelPtr:J
  
53 ····const-wide/16·v0,·0x053 ····const-wide/16·v0,·0x0
  
54 ····cmp-long·p0,·p1,·v054 ····cmp-long·p0,·p1,·v0
  
55 ····if-eqz·p0,·:cond_055 ····if-eqz·p0,·:cond_0
  
56 ····return-void56 ····return-void
  
57 ····.line·4557 ····.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 ...
14.0 KB
smali/com/google/android/textclassifier/AnnotatorModel$AnnotationOptions.smali
    
Offset 9, 24 lines modifiedOffset 9, 16 lines modified
9 .end·annotation9 .end·annotation
  
10 .annotation·system·Ldalvik/annotation/InnerClass;10 .annotation·system·Ldalvik/annotation/InnerClass;
11 ····accessFlags·=·0x1911 ····accessFlags·=·0x19
12 ····name·=·"AnnotationOptions"12 ····name·=·"AnnotationOptions"
13 .end·annotation13 .end·annotation
  
14 .annotation·system·Ldalvik/annotation/MemberClasses; 
15 ····value·=·{ 
16 ········Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions$Builder; 
17 ····} 
18 .end·annotation 
  
  
19 #·instance·fields14 #·instance·fields
20 .field·private·final·annotateMode:I 
  
21 .field·private·final·annotationUsecase:I15 .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:Z18 .field·private·final·hasLocationPermission:Z
Offset 37, 290 lines modifiedOffset 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:J30 .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:F32 .field·private·final·userLocationAccuracyMeters:F
  
43 .field·private·final·userLocationLat:D33 .field·private·final·userLocationLat:D
  
44 .field·private·final·userLocationLng:D34 .field·private·final·userLocationLng:D
  
  
45 #·direct·methods35 #·direct·methods
46 .method·private·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;IIZZZDDFZZ)V36 .method·public·constructor·<init>(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
47 ····.locals·437 ····.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 ············">;IIZZZDDFZZ)V"64 ············">;IZ)V"
57 ········}65 ········}
58 ····.end·annotation66 ····.end·annotation
  
59 ····move-object·v0,·p067 ····const-wide·v9,·0x4066800000000000L····#·180.0
  
60 ····move-object·v1,·p668 ····const-wide·v11,·0x4076800000000000L····#·360.0
  
61 ····.line·91269 ····const/4·v13,·0x0
62 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V 
  
63 ····move-wide·v2,·p170 ····move-object·v0,·p0
  
64 ····.line·913 
65 ····iput-wide·v2,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;->referenceTimeMsUtc:J 
  
66 ····move-object·v2,·p371 ····move-wide·v1,·p1
  
67 ····.line·91472 ····move-object/from16·v3,·p3
68 ····iput-object·v2,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;->referenceTimezone:Ljava/lang/String; 
  
69 ····move-object·v2,·p473 ····move-object/from16·v4,·p4
  
70 ····.line·91574 ····move-object/from16·v5,·p5
71 ····iput-object·v2,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;->locales:Ljava/lang/String; 
  
72 ····move-object·v2,·p575 ····move-object/from16·v6,·p6
  
73 ····.line·91676 ····move/from16·v7,·p7
74 ····iput-object·v2,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$AnnotationOptions;->detectedTextLanguageTags:Ljava/lang/String; 
  
75 ····const/4·v2,·0x077 ····move/from16·v8,·p8
  
76 ····if-nez·v1,·:cond_078 ····.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 ····new-array·v1,·v2,·[Ljava/lang/String;80 ····return-void
 81 .end·method
  
78 ····goto·:goto_082 .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 ...
1.21 KB
smali/com/google/android/textclassifier/ActionsSuggestionsModel$Conversation.smali
    
Offset 18, 26 lines modifiedOffset 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·methods19 #·direct·methods
20 .method·public·constructor·<init>([Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;)V20 .method·public·constructor·<init>([Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;)V
21 ····.locals·021 ····.locals·0
  
22 ····.line·28422 ····.line·230
23 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V23 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
24 ····.line·28524 ····.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-void26 ····return-void
27 .end·method27 .end·method
  
  
28 #·virtual·methods28 #·virtual·methods
29 .method·public·getConversationMessages()[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;29 .method·public·getConversationMessages()[Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;
30 ····.locals·030 ····.locals·0
  
31 ····.line·28931 ····.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·p033 ····return-object·p0
34 .end·method34 .end·method
18.9 KB
smali/com/google/android/textclassifier/AnnotatorModel.smali
    
Offset 9, 19 lines modifiedOffset 9, 17 lines modified
9 #·annotations9 #·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·annotation21 .end·annotation
  
  
24 #·static·fields22 #·static·fields
25 .field·public·static·final·INVALID_LATITUDE:D·=·180.023 .field·public·static·final·INVALID_LATITUDE:D·=·180.0
Offset 59, 289 lines modifiedOffset 57, 139 lines modified
  
59 #·direct·methods57 #·direct·methods
60 .method·static·constructor·<clinit>()V58 .method·static·constructor·<clinit>()V
61 ····.locals·159 ····.locals·1
  
62 ····const-string·v0,·"textclassifier"60 ····const-string·v0,·"textclassifier"
  
63 ····.line·3461 ····.line·32
64 ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V62 ····invoke-static·{v0},·Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
  
65 ····return-void63 ····return-void
66 .end·method64 .end·method
  
67 .method·public·constructor·<init>(I)V65 .method·public·constructor·<init>(I)V
68 ····.locals·266 ····.locals·2
  
69 ····.line·10167 ····.line·80
70 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V68 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
71 ····.line·3169 ····.line·29
72 ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean;70 ····new-instance·v0,·Ljava/util/concurrent/atomic/AtomicBoolean;
  
73 ····const/4·v1,·0x071 ····const/4·v1,·0x0
  
74 ····invoke-direct·{v0,·v1},·Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V72 ····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·10274 ····.line·81
77 ····invoke-static·{p1},·Lcom/google/android/textclassifier/AnnotatorModel;->nativeNewAnnotator(I)J75 ····invoke-static·{p1},·Lcom/google/android/textclassifier/AnnotatorModel;->nativeNewAnnotator(I)J
  
78 ····move-result-wide·v076 ····move-result-wide·v0
  
79 ····iput-wide·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel;->annotatorPtr:J77 ····iput-wide·v0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel;->annotatorPtr:J
  
80 ····const-wide/16·p0,·0x078 ····const-wide/16·p0,·0x0
  
81 ····cmp-long·p0,·v0,·p079 ····cmp-long·p0,·v0,·p0
  
82 ····if-eqz·p0,·:cond_080 ····if-eqz·p0,·:cond_0
  
83 ····return-void81 ····return-void
  
84 ····.line·10482 ····.line·83
85 ····:cond_083 ····: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;)V86 ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
89 ····throw·p087 ····throw·p0
90 .end·method88 .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 ...
9.41 KB
smali/com/google/android/textclassifier/AnnotatorModel$ClassificationResult.smali
    
Offset 56, 280 lines modifiedOffset 56, 280 lines modified
  
56 #·direct·methods56 #·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)V57 .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·358 ····.locals·3
  
59 ····move-object·v0,·p059 ····move-object·v0,·p0
  
60 ····.line·37460 ····.line·301
61 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V61 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
62 ····move-object·v1,·p162 ····move-object·v1,·p1
  
63 ····.line·37563 ····.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,·p265 ····move·v1,·p2
  
66 ····.line·37666 ····.line·303
67 ····iput·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->score:F67 ····iput·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->score:F
  
68 ····move-object·v1,·p368 ····move-object·v1,·p3
  
69 ····.line·37769 ····.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,·p471 ····move-object·v1,·p4
  
72 ····.line·37872 ····.line·305
73 ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->serializedKnowledgeResult:[B73 ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->serializedKnowledgeResult:[B
  
74 ····move-object·v1,·p574 ····move-object·v1,·p5
  
75 ····.line·37975 ····.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,·p677 ····move-object·v1,·p6
  
78 ····.line·38078 ····.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,·p780 ····move-object·v1,·p7
  
81 ····.line·38181 ····.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,·p883 ····move-object·v1,·p8
  
84 ····.line·38284 ····.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,·p986 ····move-object·v1,·p9
  
87 ····.line·38387 ····.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,·p1089 ····move-object·v1,·p10
  
90 ····.line·38490 ····.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,·p1192 ····move-object·v1,·p11
  
93 ····.line·38593 ····.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,·p1295 ····move-object·v1,·p12
  
96 ····.line·38696 ····.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,·p1398 ····move-object/from16·v1,·p13
  
99 ····.line·38799 ····.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,·p14101 ····move-object/from16·v1,·p14
  
102 ····.line·388102 ····.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,·p15104 ····move-object/from16·v1,·p15
  
105 ····.line·389105 ····.line·316
106 ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->serializedEntityData:[B106 ····iput-object·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->serializedEntityData:[B
  
107 ····move-object/from16·v1,·p16107 ····move-object/from16·v1,·p16
  
108 ····.line·390108 ····.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,·p17110 ····move-wide/from16·v1,·p17
  
111 ····.line·391111 ····.line·318
112 ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->durationMs:J112 ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->durationMs:J
  
113 ····move-wide/from16·v1,·p19113 ····move-wide/from16·v1,·p19
  
114 ····.line·392114 ····.line·319
115 ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->numericValue:J115 ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->numericValue:J
  
116 ····move-wide/from16·v1,·p21116 ····move-wide/from16·v1,·p21
  
117 ····.line·393117 ····.line·320
118 ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->numericDoubleValue:D118 ····iput-wide·v1,·v0,·Lcom/google/android/textclassifier/AnnotatorModel$ClassificationResult;->numericDoubleValue:D
  
119 ····return-void119 ····return-void
120 .end·method120 .end·method
  
  
121 #·virtual·methods121 #·virtual·methods
122 .method·public·getAppName()Ljava/lang/String;122 .method·public·getAppName()Ljava/lang/String;
123 ····.locals·0123 ····.locals·0
  
124 ····.line·453124 ····.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·p0126 ····return-object·p0
127 .end·method127 .end·method
  
128 .method·public·getAppPackageName()Ljava/lang/String;128 .method·public·getAppPackageName()Ljava/lang/String;
129 ····.locals·0129 ····.locals·0
  
130 ····.line·458130 ····.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·p0132 ····return-object·p0
133 .end·method133 .end·method
... Open expanded diff ...
3.25 KB
smali/com/google/android/textclassifier/AnnotatorModel$InputFragment.smali
    
Offset 26, 49 lines modifiedOffset 26, 49 lines modified
26 .field·private·final·text:Ljava/lang/String;26 .field·private·final·text:Ljava/lang/String;
  
  
27 #·direct·methods27 #·direct·methods
28 .method·public·constructor·<init>(Ljava/lang/String;)V28 .method·public·constructor·<init>(Ljava/lang/String;)V
29 ····.locals·029 ····.locals·0
  
30 ····.line·55030 ····.line·441
31 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V31 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
32 ····.line·55132 ····.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,·0x034 ····const/4·p1,·0x0
  
35 ····.line·55235 ····.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-void37 ····return-void
38 .end·method38 .end·method
  
39 .method·public·constructor·<init>(Ljava/lang/String;Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)V39 .method·public·constructor·<init>(Ljava/lang/String;Lcom/google/android/textclassifier/AnnotatorModel$InputFragment$DatetimeOptions;)V
40 ····.locals·040 ····.locals·0
  
41 ····.line·55541 ····.line·446
42 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V42 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
43 ····.line·55643 ····.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·55745 ····.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-void47 ····return-void
48 .end·method48 .end·method
  
  
49 #·virtual·methods49 #·virtual·methods
50 .method·public·getReferenceTimeMsUtc()J50 .method·public·getReferenceTimeMsUtc()J
51 ····.locals·251 ····.locals·2
  
52 ····.line·57452 ····.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·p055 ····move-result-object·p0
  
56 ····invoke-virtual·{p0},·Ljava/lang/Long;->longValue()J56 ····invoke-virtual·{p0},·Ljava/lang/Long;->longValue()J
Offset 77, 37 lines modifiedOffset 77, 37 lines modified
  
77 ····return-wide·v077 ····return-wide·v0
78 .end·method78 .end·method
  
79 .method·public·getReferenceTimezone()Ljava/lang/String;79 .method·public·getReferenceTimezone()Ljava/lang/String;
80 ····.locals·080 ····.locals·0
  
81 ····.line·57881 ····.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·p084 ····move-result-object·p0
  
85 ····return-object·p085 ····return-object·p0
86 .end·method86 .end·method
  
87 .method·public·getText()Ljava/lang/String;87 .method·public·getText()Ljava/lang/String;
88 ····.locals·088 ····.locals·0
  
89 ····.line·56689 ····.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·p091 ····return-object·p0
92 .end·method92 .end·method
  
93 .method·public·hasDatetimeOptions()Z93 .method·public·hasDatetimeOptions()Z
94 ····.locals·094 ····.locals·0
  
95 ····.line·57095 ····.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_097 ····if-eqz·p0,·:cond_0
  
98 ····const/4·p0,·0x198 ····const/4·p0,·0x1
  
99 ····goto·:goto_099 ····goto·:goto_0
2.57 KB
smali/com/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage.smali
    
Offset 26, 74 lines modifiedOffset 26, 74 lines modified
26 .field·private·final·userId:I26 .field·private·final·userId:I
  
  
27 #·direct·methods27 #·direct·methods
28 .method·public·constructor·<init>(ILjava/lang/String;JLjava/lang/String;Ljava/lang/String;)V28 .method·public·constructor·<init>(ILjava/lang/String;JLjava/lang/String;Ljava/lang/String;)V
29 ····.locals·029 ····.locals·0
  
30 ····.line·24230 ····.line·191
31 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V31 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
32 ····.line·24332 ····.line·192
33 ····iput·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->userId:I33 ····iput·p1,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->userId:I
  
34 ····.line·24434 ····.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·24536 ····.line·194
37 ····iput-wide·p3,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimeMsUtc:J37 ····iput-wide·p3,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimeMsUtc:J
  
38 ····.line·24638 ····.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·24740 ····.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-void42 ····return-void
43 .end·method43 .end·method
  
  
44 #·virtual·methods44 #·virtual·methods
45 .method·public·getDetectedTextLanguageTags()Ljava/lang/String;45 .method·public·getDetectedTextLanguageTags()Ljava/lang/String;
46 ····.locals·046 ····.locals·0
  
47 ····.line·27647 ····.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·p049 ····return-object·p0
50 .end·method50 .end·method
  
51 .method·public·getReferenceTimeMsUtc()J51 .method·public·getReferenceTimeMsUtc()J
52 ····.locals·252 ····.locals·2
  
53 ····.line·26553 ····.line·213
54 ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimeMsUtc:J54 ····iget-wide·v0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->referenceTimeMsUtc:J
  
55 ····return-wide·v055 ····return-wide·v0
56 .end·method56 .end·method
  
57 .method·public·getReferenceTimezone()Ljava/lang/String;57 .method·public·getReferenceTimezone()Ljava/lang/String;
58 ····.locals·058 ····.locals·0
  
59 ····.line·27059 ····.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·p061 ····return-object·p0
62 .end·method62 .end·method
  
63 .method·public·getText()Ljava/lang/String;63 .method·public·getText()Ljava/lang/String;
64 ····.locals·064 ····.locals·0
  
65 ····.line·25765 ····.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·p067 ····return-object·p0
68 .end·method68 .end·method
  
69 .method·public·getUserId()I69 .method·public·getUserId()I
70 ····.locals·070 ····.locals·0
  
71 ····.line·25271 ····.line·201
72 ····iget·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->userId:I72 ····iget·p0,·p0,·Lcom/google/android/textclassifier/ActionsSuggestionsModel$ConversationMessage;->userId:I
  
73 ····return·p073 ····return·p0
74 .end·method74 .end·method
5.55 KB
smali/com/google/android/textclassifier/AnnotatorModel$SelectionOptions.smali
    
Offset 9, 145 lines modifiedOffset 9, 126 lines modified
9 .end·annotation9 .end·annotation
  
10 .annotation·system·Ldalvik/annotation/InnerClass;10 .annotation·system·Ldalvik/annotation/InnerClass;
11 ····accessFlags·=·0x1911 ····accessFlags·=·0x19
12 ····name·=·"SelectionOptions"12 ····name·=·"SelectionOptions"
13 .end·annotation13 .end·annotation
  
14 .annotation·system·Ldalvik/annotation/MemberClasses; 
15 ····value·=·{ 
16 ········Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions$Builder; 
17 ····} 
18 .end·annotation 
  
  
19 #·instance·fields14 #·instance·fields
20 .field·private·final·annotationUsecase:I15 .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:F18 .field·private·final·userLocationAccuracyMeters:F
  
25 .field·private·final·userLocationLat:D19 .field·private·final·userLocationLat:D
  
26 .field·private·final·userLocationLng:D20 .field·private·final·userLocationLng:D
  
  
27 #·direct·methods21 #·direct·methods
28 .method·private·constructor·<init>(Ljava/lang/String;Ljava/lang/String;IDDFZ)V22 .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·032 ····.locals·0
  
30 ····.line·59933 ····.line·486
31 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V34 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
32 ····.line·60035 ····.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·60137 ····.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·60239 ····.line·489
37 ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->annotationUsecase:I40 ····iput·p3,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->annotationUsecase:I
  
38 ····.line·60341 ····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·60542 ····.line·490
43 ····iput·p8,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationAccuracyMeters:F43 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationLat:D
  
44 ····.line·60644 ····const-wide·p1,·0x4076800000000000L····#·360.0
45 ····iput-boolean·p9,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->usePodNer:Z 
  
46 ····return-void45 ····.line·491
47 .end·method46 ····iput-wide·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationLng:D
  
48 .method·synthetic·constructor·<init>(Ljava/lang/String;Ljava/lang/String;IDDFZLcom/google/android/textclassifier/AnnotatorModel$1;)V47 ····const/4·p1,·0x0
49 ····.locals·0 
  
50 ····.line·58348 ····.line·492
51 ····invoke-direct/range·{p0·..·p9},·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;-><init>(Ljava/lang/String;Ljava/lang/String;IDDFZ)V49 ····iput·p1,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->userLocationAccuracyMeters:F
  
52 ····return-void50 ····return-void
53 .end·method51 .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·methods52 #·virtual·methods
62 .method·public·getAnnotationUsecase()I53 .method·public·getAnnotationUsecase()I
63 ····.locals·054 ····.locals·0
  
64 ····.line·68255 ····.line·509
65 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->annotationUsecase:I56 ····iget·p0,·p0,·Lcom/google/android/textclassifier/AnnotatorModel$SelectionOptions;->annotationUsecase:I
  
66 ····return·p057 ····return·p0
67 .end·method58 .end·method
  
68 .method·public·getDetectedTextLanguageTags()Ljava/lang/String;59 .method·public·getDetectedTextLanguageTags()Ljava/lang/String;
69 ····.locals·060 ····.locals·0
  
70 ····.line·67861 ····.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·p063 ····return-object·p0
73 .end·method64 .end·method
  
74 .method·public·getLocales()Ljava/lang/String;65 .method·public·getLocales()Ljava/lang/String;
75 ····.locals·066 ····.locals·0
  
76 ····.line·67267 ····.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·p069 ····return-object·p0
79 .end·method70 .end·method
  
80 .method·public·getUsePodNer()Z 
81 ····.locals·0 
... Open expanded diff ...
1.53 KB
smali/com/google/common/collect/ImmutableList.smali
    
Offset 310, 50 lines modifiedOffset 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·p0311 ····move-result-object·p0
  
312 ····return-object·p0312 ····return-object·p0
313 .end·method313 .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·2315 ····.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;)",
1.09 KB
smali/com/google/common/collect/ImmutableMap.smali
    
Offset 72, 36 lines modifiedOffset 72, 14 lines modified
  
72 ····.line·43972 ····.line·439
73 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V73 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
74 ····return-void74 ····return-void
75 .end·method75 .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·277 ····.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:",
1.02 KB
smali/androidx/autofill/inline/Renderer.smali
    
Offset 93, 28 lines modifiedOffset 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·p094 ····move-result-object·p0
  
95 ····return-object·p095 ····return-object·p0
96 .end·method96 .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·698 ····.locals·6
  
108 ····.line·6299 ····.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·v0101 ····move-result-object·v0
897 B
smali/androidx/autofill/inline/VersionUtils.smali
    
Offset 25, 28 lines modifiedOffset 25, 7 lines modified
25 ····.line·11325 ····.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·p027 ····move-result-object·p0
  
28 ····return-object·p028 ····return-object·p0
29 .end·method29 .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 
8.44 KB
smali/androidx/autofill/inline/v1/InlineSuggestionUi$Content.smali
    
Offset 28, 18 lines modifiedOffset 28, 18 lines modified
28 .field·private·mTitle:Ljava/lang/CharSequence;28 .field·private·mTitle:Ljava/lang/CharSequence;
  
  
29 #·direct·methods29 #·direct·methods
30 .method·constructor·<init>(Landroid/app/slice/Slice;)V30 .method·constructor·<init>(Landroid/app/slice/Slice;)V
31 ····.locals·931 ····.locals·9
  
32 ····.line·67832 ····.line·548
33 ····invoke-direct·{p0,·p1},·Landroidx/autofill/inline/common/SlicedContent;-><init>(Landroid/app/slice/Slice;)V33 ····invoke-direct·{p0,·p1},·Landroidx/autofill/inline/common/SlicedContent;-><init>(Landroid/app/slice/Slice;)V
  
34 ····.line·67934 ····.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·p136 ····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·p138 ····move-result-object·p1
Offset 53, 27 lines modifiedOffset 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·v054 ····move-result-object·v0
  
55 ····check-cast·v0,·Landroid/app/slice/SliceItem;55 ····check-cast·v0,·Landroid/app/slice/SliceItem;
  
56 ····.line·68056 ····.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·v158 ····move-result-object·v1
  
59 ····if-nez·v1,·:cond_059 ····if-nez·v1,·:cond_0
  
60 ····goto·:goto_060 ····goto·:goto_0
  
61 ····:cond_061 ····:cond_0
62 ····const/4·v2,·-0x162 ····const/4·v2,·-0x1
  
63 ····.line·68463 ····.line·554
64 ····invoke-virtual·{v1},·Ljava/lang/String;->hashCode()I64 ····invoke-virtual·{v1},·Ljava/lang/String;->hashCode()I
  
65 ····move-result·v365 ····move-result·v3
  
66 ····const/4·v4,·0x566 ····const/4·v4,·0x5
  
67 ····const/4·v5,·0x467 ····const/4·v5,·0x4
Offset 176, 69 lines modifiedOffset 176, 69 lines modified
  
176 ····if-eq·v2,·v5,·:cond_3176 ····if-eq·v2,·v5,·:cond_3
  
177 ····if-eq·v2,·v4,·:cond_2177 ····if-eq·v2,·v4,·:cond_2
  
178 ····goto·:goto_0178 ····goto·:goto_0
  
179 ····.line·701179 ····.line·571
180 ····:cond_2180 ····: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·v0182 ····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_0184 ····goto·:goto_0
  
185 ····.line·698185 ····.line·568
186 ····:cond_3186 ····: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·v0188 ····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_0190 ····goto·:goto_0
  
191 ····.line·695191 ····.line·565
192 ····:cond_4192 ····: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·v0194 ····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_0196 ····goto·:goto_0
  
197 ····.line·692197 ····.line·562
198 ····:cond_5198 ····: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·v0200 ····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_0202 ····goto/16·:goto_0
  
203 ····.line·689203 ····.line·559
204 ····:cond_6204 ····: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·v0206 ····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·v0208 ····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_0210 ····goto/16·:goto_0
  
211 ····.line·686211 ····.line·556
212 ····:cond_7212 ····: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·v0214 ····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 modifiedOffset 261, 15 lines modified
261 ········0x76e72843·->·:sswitch_0261 ········0x76e72843·->·:sswitch_0
262 ····.end·sparse-switch262 ····.end·sparse-switch
263 .end·method263 .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·5265 ····.locals·5
  
266 ····.line·773266 ····.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 ...
11.3 KB
smali/androidx/autofill/inline/v1/InlineSuggestionUi$Style.smali
    
Offset 14, 264 lines modifiedOffset 14, 264 lines modified
14 .end·annotation14 .end·annotation
  
  
15 #·direct·methods15 #·direct·methods
16 .method·constructor·<init>(Landroid/os/Bundle;)V16 .method·constructor·<init>(Landroid/os/Bundle;)V
17 ····.locals·017 ····.locals·0
  
18 ····.line·35018 ····.line·220
19 ····invoke-direct·{p0,·p1},·Landroidx/autofill/inline/common/BundledStyle;-><init>(Landroid/os/Bundle;)V19 ····invoke-direct·{p0,·p1},·Landroidx/autofill/inline/common/BundledStyle;-><init>(Landroid/os/Bundle;)V
  
20 ····return-void20 ····return-void
21 .end·method21 .end·method
  
  
22 #·virtual·methods22 #·virtual·methods
23 .method·public·applyStyle(Landroid/view/View;Landroid/widget/ImageView;)V23 .method·public·applyStyle(Landroid/view/View;Landroid/widget/ImageView;)V
24 ····.locals·224 ····.locals·2
  
25 ····.line·36925 ····.line·239
26 ····invoke-virtual·{p0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z26 ····invoke-virtual·{p0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z
  
27 ····move-result·v027 ····move-result·v0
  
28 ····if-nez·v0,·:cond_028 ····if-nez·v0,·:cond_0
  
29 ····return-void29 ····return-void
  
30 ····.line·37430 ····.line·244
31 ····:cond_031 ····:cond_0
32 ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getLayoutDirection()I32 ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getLayoutDirection()I
  
33 ····move-result·v033 ····move-result·v0
  
34 ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setLayoutDirection(I)V34 ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setLayoutDirection(I)V
  
35 ····.line·37735 ····.line·247
36 ····invoke-virtual·{p2},·Landroid/widget/ImageView;->getVisibility()I36 ····invoke-virtual·{p2},·Landroid/widget/ImageView;->getVisibility()I
  
37 ····move-result·v037 ····move-result·v0
  
38 ····const/16·v1,·0x838 ····const/16·v1,·0x8
  
39 ····if-eq·v0,·v1,·:cond_239 ····if-eq·v0,·v1,·:cond_2
  
40 ····.line·37840 ····.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·v042 ····move-result-object·v0
  
43 ····if-nez·v0,·:cond_143 ····if-nez·v0,·:cond_1
  
44 ····.line·38044 ····.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·v046 ····move-result-object·v0
  
47 ····:cond_147 ····:cond_1
48 ····if-eqz·v0,·:cond_248 ····if-eqz·v0,·:cond_2
  
49 ····.line·38349 ····.line·253
50 ····invoke-virtual·{v0,·p2},·Landroidx/autofill/inline/common/ImageViewStyle;->applyStyleOnImageViewIfValid(Landroid/widget/ImageView;)V50 ····invoke-virtual·{v0,·p2},·Landroidx/autofill/inline/common/ImageViewStyle;->applyStyleOnImageViewIfValid(Landroid/widget/ImageView;)V
  
51 ····.line·38751 ····.line·257
52 ····:cond_252 ····: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·p254 ····move-result-object·p2
  
55 ····if-nez·p2,·:cond_355 ····if-nez·p2,·:cond_3
  
56 ····.line·38956 ····.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·p258 ····move-result-object·p2
  
59 ····:cond_359 ····:cond_3
60 ····if-eqz·p2,·:cond_460 ····if-eqz·p2,·:cond_4
  
61 ····.line·39261 ····.line·262
62 ····invoke-virtual·{p2,·p1},·Landroidx/autofill/inline/common/ViewStyle;->applyStyleOnViewIfValid(Landroid/view/View;)V62 ····invoke-virtual·{p2,·p1},·Landroidx/autofill/inline/common/ViewStyle;->applyStyleOnViewIfValid(Landroid/view/View;)V
  
63 ····:cond_463 ····:cond_4
64 ····return-void64 ····return-void
65 .end·method65 .end·method
  
66 .method·public·applyStyle(Landroid/view/View;Landroid/widget/ImageView;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;)V66 .method·public·applyStyle(Landroid/view/View;Landroid/widget/ImageView;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;)V
67 ····.locals·267 ····.locals·2
  
68 ····.line·40368 ····.line·273
69 ····invoke-virtual·{p0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z69 ····invoke-virtual·{p0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z
  
70 ····move-result·v070 ····move-result·v0
  
71 ····if-nez·v0,·:cond_071 ····if-nez·v0,·:cond_0
  
72 ····return-void72 ····return-void
  
73 ····.line·40873 ····.line·278
74 ····:cond_074 ····:cond_0
75 ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getLayoutDirection()I75 ····invoke-virtual·{p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;->getLayoutDirection()I
  
76 ····move-result·v076 ····move-result·v0
  
77 ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setLayoutDirection(I)V77 ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setLayoutDirection(I)V
  
78 ····.line·41178 ····.line·281
79 ····invoke-virtual·{p2},·Landroid/widget/ImageView;->getVisibility()I79 ····invoke-virtual·{p2},·Landroid/widget/ImageView;->getVisibility()I
  
80 ····move-result·v080 ····move-result·v0
  
81 ····const/16·v1,·0x881 ····const/16·v1,·0x8
  
82 ····if-eq·v0,·v1,·:cond_182 ····if-eq·v0,·v1,·:cond_1
  
83 ····.line·41283 ····.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·v085 ····move-result-object·v0
  
86 ····if-eqz·v0,·:cond_186 ····if-eqz·v0,·:cond_1
  
87 ····.line·41487 ····.line·284
88 ····invoke-virtual·{v0,·p2},·Landroidx/autofill/inline/common/ImageViewStyle;->applyStyleOnImageViewIfValid(Landroid/widget/ImageView;)V88 ····invoke-virtual·{v0,·p2},·Landroidx/autofill/inline/common/ImageViewStyle;->applyStyleOnImageViewIfValid(Landroid/widget/ImageView;)V
  
89 ····.line·41889 ····.line·288
90 ····:cond_190 ····:cond_1
91 ····invoke-virtual·{p3},·Landroid/widget/TextView;->getVisibility()I91 ····invoke-virtual·{p3},·Landroid/widget/TextView;->getVisibility()I
... Open expanded diff ...
8.64 KB
smali/androidx/autofill/inline/v1/InlineSuggestionUi.smali
    
Offset 12, 280 lines modifiedOffset 12, 280 lines modified
12 .end·annotation12 .end·annotation
  
  
13 #·direct·methods13 #·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·115 ····.locals·1
  
16 ····.line·24416 ····.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;)V18 ····invoke-direct·{v0,·p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Style;-><init>(Landroid/os/Bundle;)V
  
19 ····.line·24519 ····.line·115
20 ····invoke-virtual·{v0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z20 ····invoke-virtual·{v0},·Landroidx/autofill/inline/common/BundledStyle;->isValid()Z
  
21 ····move-result·p021 ····move-result·p0
  
22 ····if-nez·p0,·:cond_022 ····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·24625 ····.line·116
26 ····invoke-static·{p0,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I26 ····invoke-static·{p0,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
  
27 ····const/4·p0,·0x027 ····const/4·p0,·0x0
  
28 ····return-object·p028 ····return-object·p0
  
29 ····:cond_029 ····:cond_0
30 ····return-object·v030 ····return-object·v0
31 .end·method31 .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·133 ····.locals·1
  
34 ····.line·22834 ····.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;)V36 ····invoke-direct·{v0,·p0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;-><init>(Landroid/app/slice/Slice;)V
  
37 ····.line·22937 ····.line·99
38 ····invoke-virtual·{v0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->isValid()Z38 ····invoke-virtual·{v0},·Landroidx/autofill/inline/v1/InlineSuggestionUi$Content;->isValid()Z
  
39 ····move-result·p039 ····move-result·p0
  
40 ····if-nez·p0,·:cond_040 ····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·23043 ····.line·100
44 ····invoke-static·{p0,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I44 ····invoke-static·{p0,·v0},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
  
45 ····const/4·p0,·0x045 ····const/4·p0,·0x0
  
46 ····return-object·p046 ····return-object·p0
  
47 ····:cond_047 ····:cond_0
48 ····return-object·v048 ····return-object·v0
49 .end·method49 .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·051 ····.locals·0
  
52 ····.line·31952 ····.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·p054 ····move-result-object·p0
  
55 ····return-object·p055 ····return-object·p0
56 .end·method56 .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·358 ····.locals·3
  
59 ····.line·32359 ····.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·v061 ····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·v063 ····move-result-object·v0
  
64 ····.line·32464 ····.line·194
65 ····sget·v1,·Landroidx/autofill/R$style;->Theme_AutofillInlineSuggestion:I65 ····sget·v1,·Landroidx/autofill/R$style;->Theme_AutofillInlineSuggestion:I
  
66 ····const/4·v2,·0x166 ····const/4·v2,·0x1
  
67 ····invoke-virtual·{v0,·v1,·v2},·Landroid/content/res/Resources$Theme;->applyStyle(IZ)V67 ····invoke-virtual·{v0,·v1,·v2},·Landroid/content/res/Resources$Theme;->applyStyle(IZ)V
  
68 ····.line·32568 ····.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;)V70 ····invoke-direct·{v1,·p0,·v0},·Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;Landroid/content/res/Resources$Theme;)V
  
71 ····return-object·v171 ····return-object·v1
72 .end·method72 .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·674 ····.locals·6
  
75 ····.line·26175 ····.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·p077 ····move-result-object·p0
  
78 ····.line·26278 ····.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·p080 ····move-result-object·p0
  
81 ····.line·26381 ····.line·133
82 ····sget·v0,·Landroidx/autofill/R$layout;->autofill_inline_suggestion:I82 ····sget·v0,·Landroidx/autofill/R$layout;->autofill_inline_suggestion:I
  
83 ····const/4·v1,·0x083 ····const/4·v1,·0x0
  
84 ····.line·26484 ····.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·p086 ····move-result-object·p0
  
87 ····check-cast·p0,·Landroid/view/ViewGroup;87 ····check-cast·p0,·Landroid/view/ViewGroup;
  
... Open expanded diff ...
838 B
smali/androidx/core/content/ContextCompat.smali
    
Offset 11, 30 lines modifiedOffset 11, 30 lines modified
11 .end·method11 .end·method
  
12 .method·public·static·checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I12 .method·public·static·checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
13 ····.locals·213 ····.locals·2
  
14 ····if-eqz·p1,·:cond_014 ····if-eqz·p1,·:cond_0
  
15 ····.line·53815 ····.line·533
16 ····invoke-static·{},·Landroid/os/Process;->myPid()I16 ····invoke-static·{},·Landroid/os/Process;->myPid()I
  
17 ····move-result·v017 ····move-result·v0
  
18 ····invoke-static·{},·Landroid/os/Process;->myUid()I18 ····invoke-static·{},·Landroid/os/Process;->myUid()I
  
19 ····move-result·v119 ····move-result·v1
  
20 ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/Context;->checkPermission(Ljava/lang/String;II)I20 ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/Context;->checkPermission(Ljava/lang/String;II)I
  
21 ····move-result·p021 ····move-result·p0
  
22 ····return·p022 ····return·p0
  
23 ····.line·53523 ····.line·530
24 ····:cond_024 ····: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;)V27 ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
19.4 KB
lib/arm64-v8a/libtextclassifier.so
1.01 KB
readelf --wide --file-header {}
    
Offset 4, 17 lines modifiedOffset 4, 17 lines modified
4 ··Data:······························2's·complement,·little·endian4 ··Data:······························2's·complement,·little·endian
5 ··Version:···························1·(current)5 ··Version:···························1·(current)
6 ··OS/ABI:····························UNIX·-·System·V6 ··OS/ABI:····························UNIX·-·System·V
7 ··ABI·Version:·······················07 ··ABI·Version:·······················0
8 ··Type:······························DYN·(Shared·object·file)8 ··Type:······························DYN·(Shared·object·file)
9 ··Machine:···························AArch649 ··Machine:···························AArch64
10 ··Version:···························0x110 ··Version:···························0x1
11 ··Entry·point·address:···············0x9300011 ··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:··········3419888·(bytes·into·file)13 ··Start·of·section·headers:··········3364032·(bytes·into·file)
14 ··Flags:·····························0x014 ··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:·········1017 ··Number·of·program·headers:·········10
18 ··Size·of·section·headers:···········64·(bytes)18 ··Size·of·section·headers:···········64·(bytes)
19 ··Number·of·section·headers:·········2919 ··Number·of·section·headers:·········29
20 ··Section·header·string·table·index:·2720 ··Section·header·string·table·index:·27
2.13 KB
readelf --wide --program-header {}
    
Offset 1, 22 lines modifiedOffset 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·0x930002 Entry·point·0x91000
3 There·are·10·program·headers,·starting·at·offset·643 There·are·10·program·headers,·starting·at·offset·64
  
4 Program·Headers:4 Program·Headers:
5 ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align5 ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align
6 ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x000230·0x000230·R···0x86 ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x000230·0x000230·R···0x8
7 ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x092a5c·0x092a5c·R···0x10007 ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x090c8c·0x090c8c·R···0x1000
8 ··LOAD···········0x093000·0x0000000000093000·0x0000000000093000·0x289ba0·0x289ba0·R·E·0x10008 ··LOAD···········0x091000·0x0000000000091000·0x0000000000091000·0x27ebb0·0x27ebb0·R·E·0x1000
9 ··LOAD···········0x31d000·0x000000000031d000·0x000000000031d000·0x0094d0·0x0094d0·RW··0x10009 ··LOAD···········0x310000·0x0000000000310000·0x0000000000310000·0x009148·0x009148·RW··0x1000
10 ··LOAD···········0x3264d0·0x00000000003274d0·0x00000000003274d0·0x002028·0x0029c0·RW··0x100010 ··LOAD···········0x319148·0x000000000031a148·0x000000000031a148·0x002010·0x0029d8·RW··0x1000
11 ··DYNAMIC········0x3256e8·0x00000000003256e8·0x00000000003256e8·0x000220·0x000220·RW··0x811 ··DYNAMIC········0x318390·0x0000000000318390·0x0000000000318390·0x000210·0x000210·RW··0x8
12 ··GNU_RELRO······0x31d000·0x000000000031d000·0x000000000031d000·0x0094d0·0x00a000·R···0x112 ··GNU_RELRO······0x310000·0x0000000000310000·0x0000000000310000·0x009148·0x00a000·R···0x1
13 ··GNU_EH_FRAME···0x05ba4c·0x000000000005ba4c·0x000000000005ba4c·0x009e4c·0x009e4c·R···0x413 ··GNU_EH_FRAME···0x05a520·0x000000000005a520·0x000000000005a520·0x009cd4·0x009cd4·R···0x4
14 ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··014 ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··0
15 ··NOTE···········0x000270·0x0000000000000270·0x0000000000000270·0x0000b8·0x0000b8·R···0x415 ··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·
5.38 KB
readelf --wide --sections {}
    
Offset 1, 38 lines modifiedOffset 1, 38 lines modified
1 There·are·29·section·headers,·starting·at·offset·0x342ef0: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·Al3 ··[Nr]·Name··············Type············Address··········Off····Size···ES·Flg·Lk·Inf·Al
4 ··[·0]···················NULL············0000000000000000·000000·000000·00······0···0··04 ··[·0]···················NULL············0000000000000000·000000·000000·00······0···0··0
5 ··[·1]·.note.android.ident·NOTE············0000000000000270·000270·000098·00···A··0···0··45 ··[·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··46 ··[·2]·.note.gnu.build-id·NOTE············0000000000000308·000308·000020·00···A··0···0··4
7 ··[·3]·.dynsym···········DYNSYM··········0000000000000328·000328·0010b0·18···A··9···1··87 ··[·3]·.dynsym···········DYNSYM··········0000000000000328·000328·001050·18···A··9···1··8
8 ··[·4]·.gnu.version······VERSYM··········00000000000013d8·0013d8·000164·02···A··3···0··28 ··[·4]·.gnu.version······VERSYM··········0000000000001378·001378·00015c·02···A··3···0··2
9 ··[·5]·.gnu.version_d····VERDEF··········000000000000153c·00153c·000038·00···A··9···2··49 ··[·5]·.gnu.version_d····VERDEF··········00000000000014d4·0014d4·000038·00···A··9···2··4
10 ··[·6]·.gnu.version_r····VERNEED·········0000000000001574·001574·0000a0·00···A··9···5··410 ··[·6]·.gnu.version_r····VERNEED·········000000000000150c·00150c·000080·00···A··9···4··4
11 ··[·7]·.gnu.hash·········GNU_HASH········0000000000001618·001618·000164·00···A··3···0··811 ··[·7]·.gnu.hash·········GNU_HASH········0000000000001590·001590·000120·00···A··3···0··8
12 ··[·8]·.hash·············HASH············000000000000177c·00177c·000598·04···A··3···0··412 ··[·8]·.hash·············HASH············00000000000016b0·0016b0·000578·04···A··3···0··4
13 ··[·9]·.dynstr···········STRTAB··········0000000000001d14·001d14·0012bb·00···A··0···0··113 ··[·9]·.dynstr···········STRTAB··········0000000000001c28·001c28·001236·00···A··0···0··1
14 ··[10]·.rela.dyn·········LOOS+0x2········0000000000002fd0·002fd0·00003e·01···A··3···0··814 ··[10]·.rela.dyn·········LOOS+0x2········0000000000002e60·002e60·00003e·01···A··3···0··8
15 ··[11]·.relr.dyn·········LOOS+0xfffff00··0000000000003010·003010·0002e8·08···A··0···0··815 ··[11]·.relr.dyn·········LOOS+0xfffff00··0000000000002ea0·002ea0·0002d8·08···A··0···0··8
16 ··[12]·.rela.plt·········RELA············00000000000032f8·0032f8·000c30·18···A··3··24··816 ··[12]·.rela.plt·········RELA············0000000000003178·003178·000be8·18···A··3··24··8
17 ··[13]·.rodata···········PROGBITS········0000000000003f30·003f30·052501·00·AMS··0···0·1617 ··[13]·.rodata···········PROGBITS········0000000000003d60·003d60·055651·00·AMS··0···0·16
18 ··[14]·.gcc_except_table·PROGBITS········0000000000056434·056434·005618·00···A··0···0··418 ··[14]·.gcc_except_table·PROGBITS········00000000000593b4·0593b4·00116c·00···A··0···0··4
19 ··[15]·.eh_frame_hdr·····PROGBITS········000000000005ba4c·05ba4c·009e4c·00···A··0···0··419 ··[15]·.eh_frame_hdr·····PROGBITS········000000000005a520·05a520·009cd4·00···A··0···0··4
20 ··[16]·.eh_frame·········PROGBITS········0000000000065898·065898·02d1c4·00···A··0···0··820 ··[16]·.eh_frame·········PROGBITS········00000000000641f8·0641f8·02ca94·00···A··0···0··8
21 ··[17]·.text·············PROGBITS········0000000000093000·093000·28935c·00··AX··0···0··421 ··[17]·.text·············PROGBITS········0000000000091000·091000·27e39c·00··AX··0···0··4
22 ··[18]·.plt··············PROGBITS········000000000031c360·31c360·000840·00··AX··0···0·1622 ··[18]·.plt··············PROGBITS········000000000030f3a0·30f3a0·000810·00··AX··0···0·16
23 ··[19]·.data.rel.ro······PROGBITS········000000000031d000·31d000·0086a0·00··WA··0···0··823 ··[19]·.data.rel.ro······PROGBITS········0000000000310000·310000·008348·00··WA··0···0··8
24 ··[20]·.fini_array·······FINI_ARRAY······00000000003256a0·3256a0·000010·08··WA··0···0··824 ··[20]·.fini_array·······FINI_ARRAY······0000000000318348·318348·000010·08··WA··0···0··8
25 ··[21]·.init_array·······INIT_ARRAY······00000000003256b0·3256b0·000038·00··WA··0···0··825 ··[21]·.init_array·······INIT_ARRAY······0000000000318358·318358·000038·00··WA··0···0··8
26 ··[22]·.dynamic··········DYNAMIC·········00000000003256e8·3256e8·000220·10··WA··9···0··826 ··[22]·.dynamic··········DYNAMIC·········0000000000318390·318390·000210·10··WA··9···0··8
27 ··[23]·.got··············PROGBITS········0000000000325908·325908·0007a0·00··WA··0···0··827 ··[23]·.got··············PROGBITS········00000000003185a0·3185a0·000798·00··WA··0···0··8
28 ··[24]·.got.plt··········PROGBITS········00000000003260a8·3260a8·000428·00··WA··0···0··828 ··[24]·.got.plt··········PROGBITS········0000000000318d38·318d38·000410·00··WA··0···0··8
29 ··[25]·.data·············PROGBITS········00000000003274d0·3264d0·002028·00··WA··0···0··829 ··[25]·.data·············PROGBITS········000000000031a148·319148·002010·00··WA··0···0··8
30 ··[26]·.bss··············NOBITS··········0000000000329500·3284f8·000990·00··WA··0···0·1630 ··[26]·.bss··············NOBITS··········000000000031c160·31b158·0009c0·00··WA··0···0·16
31 ··[27]·.shstrtab·········STRTAB··········0000000000000000·3284f8·000123·00······0···0··131 ··[27]·.shstrtab·········STRTAB··········0000000000000000·31b158·000123·00······0···0··1
32 ··[28]·.gnu_debugdata····PROGBITS········0000000000000000·32861b·01a8d0·00······0···0··132 ··[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)
3.04 KB
readelf --wide --dynamic {}
    
Offset 1, 37 lines modifiedOffset 1, 36 lines modified
  
1 Dynamic·section·at·offset·0x3256e8·contains·34·entries:1 Dynamic·section·at·offset·0x318390·contains·33·entries:
2 ··Tag········Type·························Name/Value2 ··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_NOW8 ·0x000000000000001e·(FLAGS)··············BIND_NOW
10 ·0x000000006ffffffb·(FLAGS_1)············Flags:·NOW9 ·0x000000006ffffffb·(FLAGS_1)············Flags:·NOW
11 ·0x0000000060000011·(Operating·System·specific:·60000011)················0x2fd010 ·0x0000000060000011·(Operating·System·specific:·60000011)················0x2e60
12 ·0x0000000060000012·(Operating·System·specific:·60000012)················0x3e11 ·0x0000000060000012·(Operating·System·specific:·60000012)················0x3e
13 ·0x0000000000000009·(RELAENT)············24·(bytes)12 ·0x0000000000000009·(RELAENT)············24·(bytes)
14 ·0x000000006fffe000·(Operating·System·specific:·6fffe000)················0x301013 ·0x000000006fffe000·(Operating·System·specific:·6fffe000)················0x2ea0
15 ·0x000000006fffe001·(Operating·System·specific:·6fffe001)················0x2e814 ·0x000000006fffe001·(Operating·System·specific:·6fffe001)················0x2d8
16 ·0x000000006fffe003·(Operating·System·specific:·6fffe003)················0x815 ·0x000000006fffe003·(Operating·System·specific:·6fffe003)················0x8
17 ·0x0000000000000017·(JMPREL)·············0x32f816 ·0x0000000000000017·(JMPREL)·············0x3178
18 ·0x0000000000000002·(PLTRELSZ)···········3120·(bytes)17 ·0x0000000000000002·(PLTRELSZ)···········3048·(bytes)
19 ·0x0000000000000003·(PLTGOT)·············0x3260a818 ·0x0000000000000003·(PLTGOT)·············0x318d38
20 ·0x0000000000000014·(PLTREL)·············RELA19 ·0x0000000000000014·(PLTREL)·············RELA
21 ·0x0000000000000006·(SYMTAB)·············0x32820 ·0x0000000000000006·(SYMTAB)·············0x328
22 ·0x000000000000000b·(SYMENT)·············24·(bytes)21 ·0x000000000000000b·(SYMENT)·············24·(bytes)
23 ·0x0000000000000005·(STRTAB)·············0x1d1422 ·0x0000000000000005·(STRTAB)·············0x1c28
24 ·0x000000000000000a·(STRSZ)··············4795·(bytes)23 ·0x000000000000000a·(STRSZ)··············4662·(bytes)
25 ·0x000000006ffffef5·(GNU_HASH)···········0x161824 ·0x000000006ffffef5·(GNU_HASH)···········0x1590
26 ·0x0000000000000004·(HASH)···············0x177c25 ·0x0000000000000004·(HASH)···············0x16b0
27 ·0x0000000000000019·(INIT_ARRAY)·········0x3256b026 ·0x0000000000000019·(INIT_ARRAY)·········0x318358
28 ·0x000000000000001b·(INIT_ARRAYSZ)·······56·(bytes)27 ·0x000000000000001b·(INIT_ARRAYSZ)·······56·(bytes)
29 ·0x000000000000001a·(FINI_ARRAY)·········0x3256a028 ·0x000000000000001a·(FINI_ARRAY)·········0x318348
30 ·0x000000000000001c·(FINI_ARRAYSZ)·······16·(bytes)29 ·0x000000000000001c·(FINI_ARRAYSZ)·······16·(bytes)
31 ·0x000000006ffffff0·(VERSYM)·············0x13d830 ·0x000000006ffffff0·(VERSYM)·············0x1378
32 ·0x000000006ffffffc·(VERDEF)·············0x153c31 ·0x000000006ffffffc·(VERDEF)·············0x14d4
33 ·0x000000006ffffffd·(VERDEFNUM)··········232 ·0x000000006ffffffd·(VERDEFNUM)··········2
34 ·0x000000006ffffffe·(VERNEED)············0x157433 ·0x000000006ffffffe·(VERNEED)············0x150c
35 ·0x000000006fffffff·(VERNEEDNUM)·········534 ·0x000000006fffffff·(VERNEEDNUM)·········4
36 ·0x0000000000000000·(NULL)···············0x035 ·0x0000000000000000·(NULL)···············0x0
985 B
readelf --wide --notes {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
  
1 Displaying·notes·found·in:·.note.android.ident1 Displaying·notes·found·in:·.note.android.ident
2 ··Owner·················Data·size»  Description2 ··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-id4 Displaying·notes·found·in:·.note.gnu.build-id
5 ··Owner·················Data·size»  Description5 ··Owner·················Data·size»  Description
6 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·6af1ee576a5b489f50bd6b6cf4cd46fe6 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·67c0a15acf8cd102bd01217c5e419103
6.86 KB
readelf --wide --version-info {}
    
Offset 1, 66 lines modifiedOffset 1, 63 lines modified
  
1 Version·symbols·section·'.gnu.version'·contains·178·entries:1 Version·symbols·section·'.gnu.version'·contains·174·entries:
2 ·Addr:·00000000000013d8··Offset:·0x0013d8··Link:·3·(.dynsym)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)··········4·(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:···3·(LIBC)··········5·(LIBLOG)········3·(LIBC)··········3·(LIBC)·······9 ··018:···4·(LIBLOG)········3·(LIBC)··········3·(LIBC)··········3·(LIBC)·······
10 ··01c:···6·(ZLIB_NDK)······3·(LIBC)··········3·(LIBC)··········3·(LIBC)·······10 ··01c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)·······
11 ··020:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········6·(ZLIB_NDK)···11 ··020:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)·······
12 ··024:···6·(ZLIB_NDK)······6·(ZLIB_NDK)······3·(LIBC)··········3·(LIBC)·······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)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)·······16 ··034:···3·(LIBC)··········5·(LIBC)··········5·(LIBC)··········5·(LIBC)·······
17 ··038:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········4·(LIBC)·······17 ··038:···5·(LIBC)··········5·(LIBC)··········5·(LIBC)··········5·(LIBC)·······
18 ··03c:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········4·(LIBC)·······18 ··03c:···5·(LIBC)··········3·(LIBC)··········5·(LIBC)··········5·(LIBC)·······
19 ··040:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········3·(LIBC)·······19 ··040:···5·(LIBC)··········5·(LIBC)··········3·(LIBC)··········5·(LIBC)·······
20 ··044:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········4·(LIBC)·······20 ··044:···5·(LIBC)··········3·(LIBC)··········5·(LIBC)··········5·(LIBC)·······
21 ··048:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········3·(LIBC)·······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)··········3·(LIBC)··········3·(LIBC)·······23 ··050:···3·(LIBC)··········3·(LIBC)··········4·(LIBLOG)········3·(LIBC)·······
24 ··054:···3·(LIBC)··········5·(LIBLOG)········3·(LIBC)··········4·(LIBC)·······24 ··054:···5·(LIBC)··········5·(LIBC)··········5·(LIBC)··········5·(LIBC)·······
25 ··058:···4·(LIBC)··········4·(LIBC)··········4·(LIBC)··········3·(LIBC)·······25 ··058:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)·······
26 ··05c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)·······26 ··05c:···3·(LIBC)··········3·(LIBC)··········3·(LIBC)··········5·(LIBC)·······
27 ··060:···3·(LIBC)··········3·(LIBC)··········4·(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:···3·(LIBC)··········3·(LIBC)··········4·(LIBC)··········3·(LIBC)·······29 ··068:···5·(LIBC)··········5·(LIBC)··········3·(LIBC)··········3·(LIBC)·······
30 ··06c:···4·(LIBC)··········3·(LIBC)··········3·(LIBC)··········7·(LIBC)·······30 ··06c:···6·(LIBC)··········6·(LIBC)··········3·(LIBC)··········3·(LIBC)·······
31 ··070:···7·(LIBC)··········3·(LIBC)··········3·(LIBC)··········3·(LIBC)·······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)··········3·(LIBC)··········3·(LIBC)·······35 ··080:···3·(LIBC)··········3·(LIBC)··········6·(LIBC)··········3·(LIBC)·······
36 ··084:···3·(LIBC)··········7·(LIBC)··········3·(LIBC)··········2·(VERS_1.0)···36 ··084:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
37 ··088:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···37 ··088:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
38 ··08c:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···38 ··08c:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
39 ··090:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···39 ··090:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
40 ··094:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···40 ··094:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
41 ··098:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···41 ··098:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
42 ··09c:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···42 ··09c:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
43 ··0a0:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···43 ··0a0:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
44 ··0a4:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···44 ··0a4:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
45 ··0a8:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···45 ··0a8:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···
46 ··0ac:···2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)······2·(VERS_1.0)···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:·0x000000000000153c··Offset:·0x00153c··Link:·9·(.dynstr)48 ··Addr:·0x00000000000014d4··Offset:·0x0014d4··Link:·9·(.dynstr)
50 ··000000:·Rev:·1··Flags:·BASE··Index:·1··Cnt:·1··Name:·libtextclassifier.so49 ··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.050 ··0x001c:·Rev:·1··Flags:·none··Index:·2··Cnt:·1··Name:·VERS_1.0
  
52 Version·needs·section·'.gnu.version_r'·contains·5·entries:51 Version·needs·section·'.gnu.version_r'·contains·4·entries:
53 ·Addr:·0x0000000000001574··Offset:·0x001574··Link:·9·(.dynstr)52 ·Addr:·0x000000000000150c··Offset:·0x00150c··Link:·9·(.dynstr)
54 ··000000:·Version:·1··File:·liblog.so··Cnt:·153 ··000000:·Version:·1··File:·liblog.so··Cnt:·1
55 ··0x0050:···Name:·LIBLOG··Flags:·none··Version:·554 ··0x0040:···Name:·LIBLOG··Flags:·none··Version:·4
56 ··0x0010:·Version:·1··File:·libz.so··Cnt:·155 ··0x0010:·Version:·1··File:·libc.so··Cnt:·1
57 ··0x0060:···Name:·ZLIB_NDK··Flags:·none··Version:·656 ··0x0050:···Name:·LIBC··Flags:·none··Version:·3
58 ··0x0020:·Version:·1··File:·libc.so··Cnt:·157 ··0x0020:·Version:·1··File:·libm.so··Cnt:·1
59 ··0x0070:···Name:·LIBC··Flags:·none··Version:·358 ··0x0060:···Name:·LIBC··Flags:·none··Version:·5
60 ··0x0030:·Version:·1··File:·libm.so··Cnt:·159 ··0x0030:·Version:·1··File:·libdl.so··Cnt:·1
61 ··0x0080:···Name:·LIBC··Flags:·none··Version:·460 ··0x0070:···Name:·LIBC··Flags:·none··Version:·6
62 ··0x0040:·Version:·1··File:·libdl.so··Cnt:·1 
63 ··0x0090:···Name:·LIBC··Flags:·none··Version:·7 
2.53 KB
original/META-INF/MANIFEST.MF
    
Offset 1, 24 lines modifiedOffset 1, 21 lines modified
1 Manifest-Version:·1.0\xd1 Manifest-Version:·1.0\xd
2 Created-By:·soong_zip\xd2 Created-By:·soong_zip\xd
3 \xd3 \xd
4 Name:·AndroidManifest.xml\xd4 Name:·AndroidManifest.xml\xd
5 SHA-256-Digest:·gI0xAGergSV88Xc4k0rd+SqblIq91jKa57VpdwHBaJ0=\xd5 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 \xd6 \xd
10 Name:·META-INF/androidx.autofill_autofill.version\xd7 Name:·META-INF/androidx.autofill_autofill.version\xd
11 SHA-256-Digest:·Ua5RxiDB4TdUci9QAk3UBejMqS9NqnpqdjW2scAbY8A=\xd8 SHA-256-Digest:·Ua5RxiDB4TdUci9QAk3UBejMqS9NqnpqdjW2scAbY8A=\xd
12 \xd9 \xd
13 Name:·META-INF/androidx.core_core.version\xd10 Name:·META-INF/androidx.core_core.version\xd
14 SHA-256-Digest:·udRyWPmFcZHdG+H2oJl/Xp7gL4uoLwsXOI8Y7u3lybI=\xd11 SHA-256-Digest:·oS8gEFIRzubDgKeSkOHGU86NdE7hg6W7vKGJGQvTtA4=\xd
15 \xd12 \xd
16 Name:·META-INF/androidx.lifecycle_lifecycle-runtime.version\xd13 Name:·META-INF/androidx.lifecycle_lifecycle-runtime.version\xd
17 SHA-256-Digest:·KM8HbO5JUucroBdivr1CRLIe5EvEluvHBOVNHsrMtNM=\xd14 SHA-256-Digest:·kEdwhIvdTBaMQfRzaE4dCUFFlZHfilME/u/9/Ol0/oo=\xd
18 \xd15 \xd
19 Name:·META-INF/androidx.versionedparcelable_versionedparcelable.versio\xd16 Name:·META-INF/androidx.versionedparcelable_versionedparcelable.versio\xd
20 ·n\xd17 ·n\xd
21 SHA-256-Digest:·aJlh2UWnR9mF5VrFLvT9RD0XE8NHATPXftk/CscN5/o=\xd18 SHA-256-Digest:·aJlh2UWnR9mF5VrFLvT9RD0XE8NHATPXftk/CscN5/o=\xd
22 \xd19 \xd
23 Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd20 Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd
24 ·.properties\xd21 ·.properties\xd
Offset 27, 22 lines modifiedOffset 24, 19 lines modified
27 Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd24 Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd
28 ·.xml\xd25 ·.xml\xd
29 SHA-256-Digest:·jRdVYWGSiaUnVzz73Phy61wSFs+atpKg7z26bXk/Y7Q=\xd26 SHA-256-Digest:·jRdVYWGSiaUnVzz73Phy61wSFs+atpKg7z26bXk/Y7Q=\xd
30 \xd27 \xd
31 Name:·META-INF/proguard/androidx-annotations.pro\xd28 Name:·META-INF/proguard/androidx-annotations.pro\xd
32 SHA-256-Digest:·M/eLd9AzF+l12cP2AYORDIyrIrDy2h+TQrjFnXW8IP8=\xd29 SHA-256-Digest:·M/eLd9AzF+l12cP2AYORDIyrIrDy2h+TQrjFnXW8IP8=\xd
33 \xd30 \xd
34 Name:·assets/NOTICE.html.gz\xd 
35 SHA-256-Digest:·jEGQv11KhRPS6/4AClf89vxtRZ6wbANWN6xdzcZe0wI=\xd 
36 \xd 
37 Name:·classes.dex\xd31 Name:·classes.dex\xd
38 SHA-256-Digest:·D08o1+A/7l0qCDqBn/FrCndKk+NdOaAuxVLWkGiDNns=\xd32 SHA-256-Digest:·qvrg9aZZmsVg1R4NjWOvFtnaxngOrFFLPWbTee3RwUI=\xd
39 \xd33 \xd
40 Name:·lib/arm64-v8a/libtextclassifier.so\xd34 Name:·lib/arm64-v8a/libtextclassifier.so\xd
41 SHA-256-Digest:·260mTwrGH4w03CRCiXafzPzeevcatnc69IuwE7yl/ZI=\xd35 SHA-256-Digest:·L7F8ihx9a+fBKJG54RsoEKlKOGqRu/db8neG8iSObgY=\xd
42 \xd36 \xd
43 Name:·res/drawable-hdpi-v4/notification_bg_low_normal.9.png\xd37 Name:·res/drawable-hdpi-v4/notification_bg_low_normal.9.png\xd
44 SHA-256-Digest:·IfC1UoC+ELGHzv+O3vSlpwR2g+bp/PR95BCqODn0EJQ=\xd38 SHA-256-Digest:·IfC1UoC+ELGHzv+O3vSlpwR2g+bp/PR95BCqODn0EJQ=\xd
45 \xd39 \xd
46 Name:·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png\xd40 Name:·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png\xd
47 SHA-256-Digest:·Qq7gsDiD6U315UM0ijl9EwLBuCIYlYcag7gYmfWpZHs=\xd41 SHA-256-Digest:·Qq7gsDiD6U315UM0ijl9EwLBuCIYlYcag7gYmfWpZHs=\xd
48 \xd42 \xd
Offset 133, 12 lines modifiedOffset 127, 9 lines modified
133 Name:·res/layout/notification_template_part_chronometer.xml\xd127 Name:·res/layout/notification_template_part_chronometer.xml\xd
134 SHA-256-Digest:·grep/WldZkCSevAv2w7CVoZcR8FbaF50GV0QeuVXvnM=\xd128 SHA-256-Digest:·grep/WldZkCSevAv2w7CVoZcR8FbaF50GV0QeuVXvnM=\xd
135 \xd129 \xd
136 Name:·res/layout/notification_template_part_time.xml\xd130 Name:·res/layout/notification_template_part_time.xml\xd
137 SHA-256-Digest:·oRSMGSXIKWdg3e3QixchkUjunivI2dku6Lla+yY7MpA=\xd131 SHA-256-Digest:·oRSMGSXIKWdg3e3QixchkUjunivI2dku6Lla+yY7MpA=\xd
138 \xd132 \xd
139 Name:·resources.arsc\xd133 Name:·resources.arsc\xd
140 SHA-256-Digest:·yRTEsRFCXkm1rrql6Ih/0HcIUBTYpBBx/ZptRanGVPc=\xd134 SHA-256-Digest:·pBEd07HT+t7WVnofwSTHbK7aZ/5pS7CZtq+Q/i3OnYk=\xd
141 \xd 
142 Name:·stamp-cert-sha256\xd 
143 SHA-256-Digest:·HZwqAqk4Fv9ceuZPmq0Cwj3kncUUYg2xp61iTSqDZ5w=\xd 
144 \xd135 \xd
2.71 KB
original/META-INF/CERT.SF
    
Offset 1, 26 lines modifiedOffset 1, 23 lines modified
1 Signature-Version:·1.0\xd1 Signature-Version:·1.0\xd
2 Created-By:·1.0·(Android·SignApk)\xd2 Created-By:·1.0·(Android·SignApk)\xd
3 SHA-256-Digest-Manifest:·sb2VY/oZt87OegjlCnwYHDt1h+B4TxQZPxBxw4jJzWE=\xd3 SHA-256-Digest-Manifest:·JrAgLqg2kr4FIhGXEsaSF3VRmSixkNsHF5xiHyVpZw8=\xd
4 X-Android-APK-Signed:·2,·3\xd4 X-Android-APK-Signed:·2,·3\xd
5 \xd5 \xd
6 Name:·AndroidManifest.xml\xd6 Name:·AndroidManifest.xml\xd
7 SHA-256-Digest:·tOFIQA1VM0xshZbgvKYpJ2AKk8M7WHHSJ8cKjkpGXMM=\xd7 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 \xd8 \xd
12 Name:·META-INF/androidx.autofill_autofill.version\xd9 Name:·META-INF/androidx.autofill_autofill.version\xd
13 SHA-256-Digest:·D1mXeDZn3UpDVrKV4EQofN/z98G4DgylpXSp/nIExWM=\xd10 SHA-256-Digest:·D1mXeDZn3UpDVrKV4EQofN/z98G4DgylpXSp/nIExWM=\xd
14 \xd11 \xd
15 Name:·META-INF/androidx.core_core.version\xd12 Name:·META-INF/androidx.core_core.version\xd
16 SHA-256-Digest:·eM3a1RMeD1Juamgg6A348oZtRvc339lu1Rz2G4N2bpE=\xd13 SHA-256-Digest:·eZYy2V9c1pJlOBf633V/82V7u9iZ7JWx/rDpL/L/4Zg=\xd
17 \xd14 \xd
18 Name:·META-INF/androidx.lifecycle_lifecycle-runtime.version\xd15 Name:·META-INF/androidx.lifecycle_lifecycle-runtime.version\xd
19 SHA-256-Digest:·H9i9YlNWoy/kbLmZpQAxteIewxpJ/3mQAzeP7QCw2nk=\xd16 SHA-256-Digest:·iHtCN8bKZxv73Bc6ZCnXKSjaSXHufVLEQW42EPxkzZ8=\xd
20 \xd17 \xd
21 Name:·META-INF/androidx.versionedparcelable_versionedparcelable.versio\xd18 Name:·META-INF/androidx.versionedparcelable_versionedparcelable.versio\xd
22 ·n\xd19 ·n\xd
23 SHA-256-Digest:·T5Z0gTL2PbLukt/Dq7cCVO3DkUfGObE2MTNlPc3T8UQ=\xd20 SHA-256-Digest:·T5Z0gTL2PbLukt/Dq7cCVO3DkUfGObE2MTNlPc3T8UQ=\xd
24 \xd21 \xd
25 Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd22 Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd
26 ·.properties\xd23 ·.properties\xd
Offset 29, 22 lines modifiedOffset 26, 19 lines modified
29 Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd26 Name:·META-INF/maven/com.google.errorprone/error_prone_annotations/pom\xd
30 ·.xml\xd27 ·.xml\xd
31 SHA-256-Digest:·l3iUgwO0eqO7qL+9LCT0+WuVK2uQldEcbFSg9fjv21o=\xd28 SHA-256-Digest:·l3iUgwO0eqO7qL+9LCT0+WuVK2uQldEcbFSg9fjv21o=\xd
32 \xd29 \xd
33 Name:·META-INF/proguard/androidx-annotations.pro\xd30 Name:·META-INF/proguard/androidx-annotations.pro\xd
34 SHA-256-Digest:·z4VPeB3xyX+1oqubmSAZIacjNrmoTsLyFuu+ubl7+m4=\xd31 SHA-256-Digest:·z4VPeB3xyX+1oqubmSAZIacjNrmoTsLyFuu+ubl7+m4=\xd
35 \xd32 \xd
36 Name:·assets/NOTICE.html.gz\xd 
37 SHA-256-Digest:·sV7Ur+mlu68WPPAGt+IjKJGC2omjdT64Nu60Y6UtSZ8=\xd 
38 \xd 
39 Name:·classes.dex\xd33 Name:·classes.dex\xd
40 SHA-256-Digest:·9iZi9+4SNMi/DmDaecnJSwEIP2d+RHqVxId3C37lJOY=\xd34 SHA-256-Digest:·lPCy07wMno0jF8tWUKsSdVdL/9DuPihAGihJy1Du9hg=\xd
41 \xd35 \xd
42 Name:·lib/arm64-v8a/libtextclassifier.so\xd36 Name:·lib/arm64-v8a/libtextclassifier.so\xd
43 SHA-256-Digest:·2m4GWtjCiALn9z4c1kBoF1JEKZE7+1k15VaiAuIHihQ=\xd37 SHA-256-Digest:·DOdjXZFhc3WSodaior6mmPqB2joDqXkuYrNdPBsNGko=\xd
44 \xd38 \xd
45 Name:·res/drawable-hdpi-v4/notification_bg_low_normal.9.png\xd39 Name:·res/drawable-hdpi-v4/notification_bg_low_normal.9.png\xd
46 SHA-256-Digest:·fdgyJ61bkVHESSHzWiTHQ5LVNwIge6pbEao7ySrGIjw=\xd40 SHA-256-Digest:·fdgyJ61bkVHESSHzWiTHQ5LVNwIge6pbEao7ySrGIjw=\xd
47 \xd41 \xd
48 Name:·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png\xd42 Name:·res/drawable-hdpi-v4/notification_bg_low_pressed.9.png\xd
49 SHA-256-Digest:·4RlHlyDIzTYG5Klg5AKe0Fi4c3z+iVWMOHgAh9ZL7Aw=\xd43 SHA-256-Digest:·4RlHlyDIzTYG5Klg5AKe0Fi4c3z+iVWMOHgAh9ZL7Aw=\xd
50 \xd44 \xd
Offset 135, 12 lines modifiedOffset 129, 9 lines modified
135 Name:·res/layout/notification_template_part_chronometer.xml\xd129 Name:·res/layout/notification_template_part_chronometer.xml\xd
136 SHA-256-Digest:·Ok+e3FcMPaw4MRIzeXVfZDi0B8cV6RjHrQFXurAYSqc=\xd130 SHA-256-Digest:·Ok+e3FcMPaw4MRIzeXVfZDi0B8cV6RjHrQFXurAYSqc=\xd
137 \xd131 \xd
138 Name:·res/layout/notification_template_part_time.xml\xd132 Name:·res/layout/notification_template_part_time.xml\xd
139 SHA-256-Digest:·4Bx12CJXMYaubxgyVlPGPfFAMmYnVLy/L1Nm/L5PCtE=\xd133 SHA-256-Digest:·4Bx12CJXMYaubxgyVlPGPfFAMmYnVLy/L1Nm/L5PCtE=\xd
140 \xd134 \xd
141 Name:·resources.arsc\xd135 Name:·resources.arsc\xd
142 SHA-256-Digest:·P5NfkZQlopxlrR1npN0x30vEOL4ywo0zgNcDM8qT9Z4=\xd136 SHA-256-Digest:·l1X1X2pc3khZ0WQhtiwhp3Sw2C4Vq1bMS2tWxbGY9UY=\xd
143 \xd 
144 Name:·stamp-cert-sha256\xd 
145 SHA-256-Digest:·L0p4Bm/NGffFWX26fUKi8jlq3aKsfwyEBtSavY6F0c0=\xd 
146 \xd137 \xd
166 B
original/META-INF/androidx.lifecycle_lifecycle-runtime.version
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 2.3.0-alpha071 2.3.0-alpha05
130 B
original/META-INF/androidx.core_core.version
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 1.5.0-alpha021 1.5.0-alpha01
2.02 KB
smali/com/android/textclassifier/-$$Lambda$TextClassifierImpl$SO6kNnhgVauK__jmLEoCiyGozHw.smali vs.
smali/com/android/textclassifier/-$$Lambda$TextClassifierImpl$Qwks3xU-K0S5rmi-r5zY7rcmhrA.smali
Files similar despite different names (score: 38, lower is more similar)
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$SO6kNnhgVauK__jmLEoCiyGozHw;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 #·interfaces4 #·interfaces
5 .implements·Lcom/google/common/base/Function;5 .implements·Lcom/google/common/base/Function;
  
  
Offset 12, 27 lines modifiedOffset 12, 27 lines modified
  
12 #·direct·methods12 #·direct·methods
13 .method·public·synthetic·constructor·<init>(Ljava/util/ArrayList;)V13 .method·public·synthetic·constructor·<init>(Ljava/util/ArrayList;)V
14 ····.locals·014 ····.locals·0
  
15 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V15 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
16 ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$SO6kNnhgVauK__jmLEoCiyGozHw;->f$0:Ljava/util/ArrayList;16 ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$Qwks3xU-K0S5rmi-r5zY7rcmhrA;->f$0:Ljava/util/ArrayList;
  
17 ····return-void17 ····return-void
18 .end·method18 .end·method
  
  
19 #·virtual·methods19 #·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·021 ····.locals·0
  
22 ····iget-object·p0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$SO6kNnhgVauK__jmLEoCiyGozHw;->f$0:Ljava/util/ArrayList;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$2(Ljava/util/ArrayList;Lcom/google/android/textclassifier/LangIdModel;)Lcom/google/common/base/Optional;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·p025 ····move-result-object·p0
  
26 ····return-object·p026 ····return-object·p0
27 .end·method27 .end·method
2.74 KB
smali/com/android/textclassifier/-$$Lambda$TextClassifierImpl$8TEt_aVD6KfKHt3Yd93I5TAKLlc.smali vs.
smali/com/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws.smali
Files similar despite different names (score: 37, lower is more similar)
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 .class·public·final·synthetic·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$8TEt_aVD6KfKHt3Yd93I5TAKLlc;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 #·interfaces4 #·interfaces
5 .implements·Ljava/util/function/Function;5 .implements·Ljava/util/function/Function;
  
  
Offset 14, 31 lines modifiedOffset 14, 31 lines modified
  
14 #·direct·methods14 #·direct·methods
15 .method·public·synthetic·constructor·<init>(Lcom/android/textclassifier/TextClassifierImpl;Lcom/google/common/base/Optional;)V15 .method·public·synthetic·constructor·<init>(Lcom/android/textclassifier/TextClassifierImpl;Lcom/google/common/base/Optional;)V
16 ····.locals·016 ····.locals·0
  
17 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V17 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
18 ····iput-object·p1,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$8TEt_aVD6KfKHt3Yd93I5TAKLlc;->f$0:Lcom/android/textclassifier/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$8TEt_aVD6KfKHt3Yd93I5TAKLlc;->f$1:Lcom/google/common/base/Optional;19 ····iput-object·p2,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$vIDgmWc1v5udtaerRtDyTyU4pws;->f$1:Lcom/google/common/base/Optional;
  
20 ····return-void20 ····return-void
21 .end·method21 .end·method
  
  
22 #·virtual·methods22 #·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·124 ····.locals·1
  
25 ····iget-object·v0,·p0,·Lcom/android/textclassifier/-$$Lambda$TextClassifierImpl$8TEt_aVD6KfKHt3Yd93I5TAKLlc;->f$0:Lcom/android/textclassifier/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$8TEt_aVD6KfKHt3Yd93I5TAKLlc;->f$1:Lcom/google/common/base/Optional;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$0$TextClassifierImpl(Lcom/google/common/base/Optional;Ljava/lang/CharSequence;)Ljava/util/List;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·p029 ····move-result-object·p0
  
30 ····return-object·p030 ····return-object·p0
31 .end·method31 .end·method
305 B
stat {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
  
1 ··Size:·4075932···»   Blocks:·7968·······IO·Block:·4096···regular·file1 ··Size:·3955881···»   Blocks:·7728·······IO·Block:·4096···regular·file
2 Links:·12 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·+00004 Modify:·1970-01-01·00:00:00.000000000·+0000