Home
last modified time | relevance | path

Searched refs:longString (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DAutomaticZenRuleTest.java43 String longString = Strings.repeat("A", 65536); in testLongFields_inConstructor() local
48 longString, // name in testLongFields_inConstructor()
49 new ComponentName("pkg", longString), // owner in testLongFields_inConstructor()
62 longString, // name in testLongFields_inConstructor()
79 String longString = Strings.repeat("A", 65536); in testLongFields_inSetters() local
89 rule.setName(longString); in testLongFields_inSetters()
91 rule.setConfigurationActivity(new ComponentName(longString, longString)); in testLongFields_inSetters()
114 String longString = Strings.repeat("A", 65536); in testLongInputsFromParcel() local
118 name.set(rule, longString); in testLongInputsFromParcel()
124 owner.set(rule, new ComponentName(longString, longString)); in testLongInputsFromParcel()
[all …]
H A DNotificationChannelGroupTest.java46 String longString = Strings.repeat("A", 65536); in testLongStringFields() local
49 mName.set(group, longString); in testLongStringFields()
52 mId.set(group, longString); in testLongStringFields()
55 mDescription.set(group, longString); in testLongStringFields()
H A DNotificationChannelTest.java159 String longString = Strings.repeat("A", 65536); in testLongStringFields() local
162 mName.set(channel, longString); in testLongStringFields()
165 mId.set(channel, longString); in testLongStringFields()
168 mDesc.set(channel, longString); in testLongStringFields()
171 mParentId.set(channel, longString); in testLongStringFields()
174 mGroup.set(channel, longString); in testLongStringFields()
177 mConversationId.set(channel, longString); in testLongStringFields()
/aosp14/frameworks/base/core/tests/coretests/src/android/service/notification/
H A DConditionTest.java42 String longString = Strings.repeat("A", 65536); in testLongFields_inConstructors() local
46 Condition cond1 = new Condition(longUri, longString, Condition.STATE_TRUE); in testLongFields_inConstructors()
52 Condition cond2 = new Condition(longUri, longString, longString, longString, in testLongFields_inConstructors()
69 String longString = Strings.repeat("A", 65536); in testLongFields_viaParcel() local
76 summary.set(cond, longString); in testLongFields_viaParcel()
79 line1.set(cond, longString); in testLongFields_viaParcel()
82 line2.set(cond, longString); in testLongFields_viaParcel()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DProcStatsUtilTest.java147 String longString = new String(new char[10000]).replace('\0', 'a'); in testReadTerminatedProcFile_largeUnterminated() local
149 longString, in testReadTerminatedProcFile_largeUnterminated()
150 runReadTerminatedProcFile(longString, (byte) '\0')); in testReadTerminatedProcFile_largeUnterminated()
155 String longString = new String(new char[10000]).replace('\0', 'a'); in testReadTerminatedProcFile_largeTerminated() local
157 longString, in testReadTerminatedProcFile_largeTerminated()
158 runReadTerminatedProcFile(longString + "\0", (byte) '\0')); in testReadTerminatedProcFile_largeTerminated()
163 String longString = new String(new char[10000]).replace('\0', 'a'); in testReadTerminatedProcFile_largeExtra() local
165 longString, in testReadTerminatedProcFile_largeExtra()
166 runReadTerminatedProcFile(longString + "\0abc", (byte) '\0')); in testReadTerminatedProcFile_largeExtra()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java271 String longString = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" in testCheckAddAccountLongName() local
275 Account a11 = new Account(longString, AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); in testCheckAddAccountLongName()