<commit_before><?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2019 The Android Open Source Project

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->

<resources>
    <!--
    List of known device models which may (incorrectly) return a weak biometric authenticator when
    attempting crypto-based authentication. All devices in this list should explicitly fall back
    to using FingerprintDialogFragment and FingerprintHelperFragment when crypto-based
    authentication is invoked by calling BiometricPrompt#authenticate(PromptInfo, CryptoObject) on
    affected Android versions.
    -->
    <string-array name="crypto_fingerprint_fallback_prefixes">
        <item>SM-G95</item> <!-- Samsung Galaxy S8/S8+ -->
        <item>SM-G96</item> <!-- Samsung Galaxy S9/S9+ -->
        <item>SM-G97</item> <!-- Samsung Galaxy S10/S10+ -->
        <item>SM-N95</item> <!-- Samsung Galaxy Note 8 -->
        <item>SM-N96</item> <!-- Samsung Galaxy Note 9 -->
        <item>SM-N97</item> <!-- Samsung Galaxy Note 10/10+ -->
        <item>SM-A20</item> <!-- Samsung Galaxy A20/A20e -->
    </string-array>

    <!--
    List of known device vendors which may (incorrectly) return a weak biometric authenticator when
    attempting crypto-based authentication. Devices from vendors in this list should explicitly fall
    back to using FingerprintDialogFragment and FingerprintHelperFragment when crypto-based
    authentication is invoked by calling BiometricPrompt#authenticate(PromptInfo, CryptoObject) on
    affected Android versions.
    -->
    <string-array name="crypto_fingerprint_fallback_vendors">
        <item>samsung</item>
    </string-array>

    <!--
    List of known device models for which FingerprintDialogFragment should be hidden. This is
    intended to improve the experience on devices for which this dialog is needed as a workaround
    but which display a custom UI, such as an overlay, when FingerprintManager is invoked.
    -->
    <string-array name="hide_fingerprint_instantly_prefixes">
        <!-- Samsung Galaxy S10/S10+ -->
        <item>SM-G97</item>
        <item>SC-03L</item>
        <item>SC-04L</item>
        <item>SC-05L</item>
        <item>SCV41</item>
        <item>SCV42</item>

        <!-- Samsung Galaxy Note 10/10+ -->
        <item>SM-N97</item>
        <item>SC-01M</item>
        <item>SCV45</item>

        <item>SM-A50</item> <!-- Samsung Galaxy A50 -->
    </string-array>

    <!--
    List of known device models for which all biometric sensors checked by
    BiometricManager#canAuthenticate() meet or exceed the Class 3 (Strong) security threshold.
    -->
    <string-array name="assume_strong_biometrics_prefixes">
    </string-array>
</resources><commit_msg>Clean up biometric device exception lists<commit_after><?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2019 The Android Open Source Project

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->

<resources>
    <!--
    List of known device models which may (incorrectly) return a weak biometric authenticator when
    attempting crypto-based authentication. All devices in this list should explicitly fall back
    to using FingerprintDialogFragment and FingerprintHelperFragment when crypto-based
    authentication is invoked by calling BiometricPrompt#authenticate(PromptInfo, CryptoObject) on
    affected Android versions.

    Devices from a vendor that is listed in crypto_fingerprint_fallback_vendors should already
    exhibit this fallback behavior and do NOT need to be added to this list.
    -->
    <string-array name="crypto_fingerprint_fallback_prefixes">
    </string-array>

    <!--
    List of known device vendors which may (incorrectly) return a weak biometric authenticator when
    attempting crypto-based authentication. Devices from vendors in this list should explicitly fall
    back to using FingerprintDialogFragment and FingerprintHelperFragment when crypto-based
    authentication is invoked by calling BiometricPrompt#authenticate(PromptInfo, CryptoObject) on
    affected Android versions.
    -->
    <string-array name="crypto_fingerprint_fallback_vendors">
        <item>samsung</item>
    </string-array>

    <!--
    List of known device models for which FingerprintDialogFragment should be hidden. This is
    intended to improve the experience on devices for which this dialog is needed as a workaround
    but which display a custom UI, such as an overlay, when FingerprintManager is invoked.
    -->
    <string-array name="hide_fingerprint_instantly_prefixes">
        <item>SM-A50</item> <!-- Samsung Galaxy A50 -->
        <item>SM-G973</item> <!-- Samsung Galaxy S10 -->
        <item>SM-G975</item> <!-- Samsung Galaxy S10+ -->
        <item>SM-G977</item> <!-- Samsung Galaxy S10 5G -->
        <item>SM-G770</item> <!-- Samsung Galaxy S10 Lite -->
        <item>SM-N970</item> <!-- Samsung Galaxy Note10 -->
        <item>SM-N971</item> <!-- Samsung Galaxy Note10 5G -->
        <item>SM-N975</item> <!-- Samsung Galaxy Note10+ -->
        <item>SM-N976</item> <!-- Samsung Galaxy Note10+ 5G -->
        <item>SM-N770</item> <!-- Samsung Galaxy Note10 Lite -->
        <item>SC-03L</item> <!-- Samsung Galaxy S10 (NTT Docomo) -->
        <item>SC-04L</item> <!-- Samsung Galaxy S10+ (NTT Docomo) -->
        <item>SC-05L</item> <!-- Samsung Galaxy S10+ (NTT Docomo, Olympic Games Edition) -->
        <item>SC-01M</item> <!-- Samsung Galaxy Note10+ (NTT Docomo) -->
        <item>SCV41</item> <!-- Samsung Galaxy S10 (au) -->
        <item>SCV42</item> <!-- Samsung Galaxy S10+ (au) -->
        <item>SCV45</item> <!-- Samsung Galaxy Note10+ (au) -->
    </string-array>

    <!--
    List of known device models for which all biometric sensors checked by
    BiometricManager#canAuthenticate() meet or exceed the Class 3 (Strong) security threshold.
    -->
    <string-array name="assume_strong_biometrics_prefixes">
    </string-array>
</resources>
{'fraction_non_alphanumeric': 0.10558199913457378, 'fraction_numerical': 0.023943458820135582, 'mean_word_length': 3.122473246135553, 'pattern_counts': {'":': 0, '<': 134, '<?xml version=': 2, '>': 134, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1686334', 'n_tokens_mistral': 1995, 'n_tokens_neox': 1897, 'n_words': 681}