Home
last modified time | relevance | path

Searched refs:MAX_TEXT_LENGTH (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationChannelGroupTest.java70 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields()
71 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields()
72 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, in testLongStringFields()
H A DNotificationChannelTest.java191 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields()
192 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields()
193 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
195 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
197 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
199 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
218 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongAlertFields()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationChannelGroup.java50 public static final int MAX_TEXT_LENGTH = 1000; field in NotificationChannelGroup
121 if (input != null && input.length() > MAX_TEXT_LENGTH) { in getTrimmedString()
122 return input.substring(0, MAX_TEXT_LENGTH); in getTrimmedString()
H A DNotificationChannel.java132 public static final int MAX_TEXT_LENGTH = 1000; field in NotificationChannel
492 if (input != null && input.length() > MAX_TEXT_LENGTH) { in getTrimmedString()
493 return input.substring(0, MAX_TEXT_LENGTH); in getTrimmedString()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/assist/
H A DAssistStructureTest.java85 private static final int MAX_TEXT_LENGTH = 23; field in AssistStructureTest
283 view.setFilters(new InputFilter[] { new InputFilter.LengthFilter(MAX_TEXT_LENGTH) }); in newSmallView()
302 assertThat(view.getMaxTextLength()).isEqualTo(MAX_TEXT_LENGTH); in assertSmallView()
/aosp14/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEvent.java455 public static final int MAX_TEXT_LENGTH = 500; field in AccessibilityEvent
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt8002 Landroid/app/NotificationChannel;->MAX_TEXT_LENGTH:I
8049 Landroid/app/NotificationChannelGroup;->MAX_TEXT_LENGTH:I
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt54173 field @Deprecated public static final int MAX_TEXT_LENGTH = 500; // 0x1f4