Home
last modified time | relevance | path

Searched refs:MAX_STRING_LENGTH (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java22 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_STRING_LENGTH;
689 homeSp.setFqdn(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
690 homeSp.setFriendlyName(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
693 homePartnersList.add(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
711 homeSp.setFqdn(Strings.repeat("A", MAX_STRING_LENGTH + 1)); in testValidatePasspointConfig()
714 homeSp.setFqdn(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
716 homeSp.setFriendlyName(Strings.repeat("A", MAX_STRING_LENGTH + 1)); in testValidatePasspointConfig()
719 homeSp.setFriendlyName(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DHomeSp.java23 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_STRING_LENGTH;
416 if (mFqdn.getBytes(StandardCharsets.UTF_8).length > MAX_STRING_LENGTH) { in validate()
424 if (mFriendlyName.getBytes(StandardCharsets.UTF_8).length > MAX_STRING_LENGTH) { in validate()
494 if (fqdn.length() > MAX_STRING_LENGTH) { in validate()
DPolicy.java20 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_STRING_LENGTH;
278 if (mFqdn.getBytes(StandardCharsets.UTF_8).length > MAX_STRING_LENGTH) { in validate()
286 if (mCountries.getBytes(StandardCharsets.UTF_8).length > MAX_STRING_LENGTH) { in validate()
DCredential.java19 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_STRING_LENGTH;
420 if (mSoftTokenApp.getBytes(StandardCharsets.UTF_8).length > MAX_STRING_LENGTH) { in validate()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java96 public static final int MAX_STRING_LENGTH = 255; field in PasspointConfiguration
1003 if (prefix.length() > MAX_STRING_LENGTH) { in validateForCommonR1andR2()
1016 if (fqdn.getBytes(StandardCharsets.UTF_8).length > MAX_STRING_LENGTH) { in validateForCommonR1andR2()
1023 if (mSubscriptionType.getBytes(StandardCharsets.UTF_8).length > MAX_STRING_LENGTH) { in validateForCommonR1andR2()
1069 if (names.getKey().length() > MAX_STRING_LENGTH in validateForCommonR1andR2()
1070 || names.getValue().length() > MAX_STRING_LENGTH) { in validateForCommonR1andR2()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DPreprocessingManagerTest.java92 private static final int MAX_STRING_LENGTH = 10; field in PreprocessingManagerTest
342 when(mCarUxRestrictions.getMaxRestrictedStringLength()).thenReturn(MAX_STRING_LENGTH); in onOptimizeForDriving_alertEntryHasNonMessageNotification_trimsNotificationTexts()
370 assertThat(text.length() <= MAX_STRING_LENGTH).isTrue(); in onOptimizeForDriving_alertEntryHasNonMessageNotification_trimsNotificationTexts()
379 when(mCarUxRestrictions.getMaxRestrictedStringLength()).thenReturn(MAX_STRING_LENGTH); in onOptimizeForDriving_alertEntryHasMessageNotification_doesNotTrimMessageTexts()
408 assertThat(text.length() <= MAX_STRING_LENGTH).isFalse(); in onOptimizeForDriving_alertEntryHasMessageNotification_doesNotTrimMessageTexts()
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...