/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextLanguageTest.java | 47 final TextLanguage language = new TextLanguage.Builder() in testTextLanguage() local 55 assertEquals(ID, language.getId()); in testTextLanguage() 56 assertEquals(3, language.getLocaleHypothesisCount()); in testTextLanguage() 57 assertEquals(ULocale.ENGLISH, language.getLocale(0)); in testTextLanguage() 58 assertEquals(ULocale.CHINESE, language.getLocale(1)); in testTextLanguage() 59 assertEquals(ULocale.JAPANESE, language.getLocale(2)); in testTextLanguage() 60 assertEquals(0.6f, language.getConfidenceScore(ULocale.ENGLISH), EPSILON); in testTextLanguage() 61 assertEquals(0.3f, language.getConfidenceScore(ULocale.CHINESE), EPSILON); in testTextLanguage() 62 assertEquals(0.1f, language.getConfidenceScore(ULocale.JAPANESE), EPSILON); in testTextLanguage() 63 assertEquals(BUNDLE_VALUE, language.getExtras().getString(BUNDLE_KEY)); in testTextLanguage() [all …]
|
D | TextClassifierTest.java | 340 private static void assertValidResult(TextLanguage language) { in assertValidResult() argument 341 assertNotNull(language); in assertValidResult() 342 assertNotNull(language.getExtras()); in assertValidResult() 343 assertTrue(language.getLocaleHypothesisCount() >= 0); in assertValidResult() 344 for (int i = 0; i < language.getLocaleHypothesisCount(); i++) { in assertValidResult() 345 final ULocale locale = language.getLocale(i); in assertValidResult() 347 final float confidenceScore = language.getConfidenceScore(locale); in assertValidResult()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/ |
D | HdmiCecSystemInformationTest.java | 78 final String language = originalLanguage.equals("spa") ? "eng" : "spa"; in cect_11_2_6_3_SetValidMenuLanguage() local 82 CecOperand.SET_MENU_LANGUAGE, CecMessage.convertStringToHexParams(language)); in cect_11_2_6_3_SetValidMenuLanguage() 99 final String language = "spb"; in cect_11_2_6_4_SetInvalidMenuLanguage() local 102 CecOperand.SET_MENU_LANGUAGE, CecMessage.convertStringToHexParams(language)); in cect_11_2_6_4_SetInvalidMenuLanguage() 119 final String language = originalLanguage.equals("spa") ? "eng" : "spa"; in cect_11_2_6_5_SetValidMenuLanguageFromInvalidSource() local 122 CecOperand.SET_MENU_LANGUAGE, CecMessage.convertStringToHexParams(language)); in cect_11_2_6_5_SetValidMenuLanguageFromInvalidSource() 147 final String language = originalLanguage.equals("spa") ? "eng" : "spa"; in setMenuLanguageNotHandledWhenDisabled() local 150 CecOperand.SET_MENU_LANGUAGE, CecMessage.convertStringToHexParams(language)); in setMenuLanguageNotHandledWhenDisabled()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AttachedContextActivity.java | 52 private Context applyLocale(Context context, String language) { in applyLocale() argument 55 configuration.setLocale(new Locale(language)); in applyLocale()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/ |
D | HdmiCecInvalidMessagesTest.java | 83 final String language = originalLanguage.equals("spa") ? "eng" : "spa"; in cect_12_1_BroadcastReceivedAsDirectlyAddressed() local 88 CecMessage.convertStringToHexParams(language)); in cect_12_1_BroadcastReceivedAsDirectlyAddressed()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvTrackInfoSubject.java | 76 public void hasLanguage(String language) { in hasLanguage() argument 77 check("getLanguage()").that(actual.getLanguage()).isEqualTo(language); in hasLanguage()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | getset_relaxed.rscript | 13 * See the License for the specific language governing permissions and
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0421/ |
D | Android.bp | 13 * See the License for the specific language governing permissions and
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2228/ |
D | Android.bp | 13 * See the License for the specific language governing permissions and
|
/cts/tests/tests/permission2/CtsLegacyStorageIsolatedWithSharedUid/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/cts/tests/tests/appop/AppWithDuplicateAttribution/ |
D | Android.bp | 12 // See the License for the specific language governing permissions and
|
/cts/tests/tests/permission2/CtsStoragePermissionsPreservedUserOptOutSdk30/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/cts/tests/tests/permission2/CtsStoragePermissionsUserOptInSdk22/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/cts/hostsidetests/packagemanager/dynamicmime/common/ |
D | Android.bp | 12 // See the License for the specific language governing permissions and
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-38195738/ |
D | Android.bp | 12 // See the License for the specific language governing permissions and
|
/cts/tests/tests/role/CtsRoleTestApp28/ |
D | Android.bp | 12 // See the License for the specific language governing permissions and
|
/cts/tests/tests/permission2/CtsStoragePermissionsUserOptOutSdk29/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/cts/libs/view/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/cts/tests/tests/appop/AppInBackground/ |
D | Android.bp | 12 // See the License for the specific language governing permissions and
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-29368/ |
D | Android.bp | 13 * See the License for the specific language governing permissions and
|
/cts/libs/midi/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/cts/tests/tests/content/ |
D | fonts_readme.txt | 14 See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/TestStubs.smalis/ |
D | TestStubs.smali | 12 # See the License for the specific language governing permissions and
|
/cts/tests/tests/permission2/CtsStoragePermissionsUserDefaultSdk22/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/ |
D | Android.bp | 12 // See the License for the specific language governing permissions and
|