Home
last modified time | relevance | path

Searched refs:replaceAll (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkListStoreDataTest.java270 openNetwork.configKey().replaceAll("\"", """), in getTestNetworksXmlBytes()
271 openNetwork.SSID.replaceAll("\"", """), in getTestNetworksXmlBytes()
275 eapNetwork.configKey().replaceAll("\"", """), in getTestNetworksXmlBytes()
276 eapNetwork.SSID.replaceAll("\"", """), in getTestNetworksXmlBytes()
430 openNetwork.configKey().replaceAll("\"", """), in parseNetworkWithUnknownTag()
431 openNetwork.SSID.replaceAll("\"", """), in parseNetworkWithUnknownTag()
448 openNetwork.SSID.replaceAll("\"", """), in parseNetworkWithMismatchConfigKey()
466 xmlString = xmlString.replaceAll( in parseNetworkListWithOneNetworkIllegalArgException()
492 openNetwork.configKey().replaceAll("\"", """), in parseNetworkWithInvalidCreatorUidResetsToSystem()
493 openNetwork.SSID.replaceAll("\"", """), in parseNetworkWithInvalidCreatorUidResetsToSystem()
[all …]
DWifiNativeTest.java271 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testTxFateReportToTableRowString()
290 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testTxFateReportToTableRowString()
310 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testTxFateReportToTableRowString()
375 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testRxFateReportToTableRowString()
396 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testRxFateReportToTableRowString()
DWifiConfigStoreTest.java436 openNetwork.configKey().replaceAll("\"", """), in testReadWifiConfigStoreData()
437 openNetwork.SSID.replaceAll("\"", """), in testReadWifiConfigStoreData()
483 openNetwork.configKey().replaceAll("\"", """), in testWriteWifiConfigStoreData()
484 openNetwork.SSID.replaceAll("\"", """), in testWriteWifiConfigStoreData()
DWifiLastResortWatchdogTest.java75 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); in createFilteredQnsCandidates()
99 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); in createFilteredQnsCandidates()
1567 String ssid = mSsids[0].replaceAll("^\"+", "").replaceAll("\"+$", ""); in testUpdateNetworkWithNullConfig()
1603 String ssid = mSsids[0].replaceAll("^\"+", "").replaceAll("\"+$", ""); in testUpdateNetworkWithHasEverConnectedTrue()
1650 String ssid = mSsids[0].replaceAll("^\"+", "").replaceAll("\"+$", ""); in testUpdateNetworkWithHasEverConnectedFalse()
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java219 assertEquals(out_56.replaceAll("=", ""), encodeToString(in_56, Base64.NO_PADDING)); in testLineLength()
220 assertEquals(out_57.replaceAll("=", ""), encodeToString(in_57, Base64.NO_PADDING)); in testLineLength()
221 assertEquals(out_58.replaceAll("=", ""), encodeToString(in_58, Base64.NO_PADDING)); in testLineLength()
222 assertEquals(out_59.replaceAll("=", ""), encodeToString(in_59, Base64.NO_PADDING)); in testLineLength()
223 assertEquals(out_60.replaceAll("=", ""), encodeToString(in_60, Base64.NO_PADDING)); in testLineLength()
224 assertEquals(out_61.replaceAll("=", ""), encodeToString(in_61, Base64.NO_PADDING)); in testLineLength()
226 assertEquals(out_56.replaceAll("\n", ""), encodeToString(in_56, Base64.NO_WRAP)); in testLineLength()
227 assertEquals(out_57.replaceAll("\n", ""), encodeToString(in_57, Base64.NO_WRAP)); in testLineLength()
228 assertEquals(out_58.replaceAll("\n", ""), encodeToString(in_58, Base64.NO_WRAP)); in testLineLength()
229 assertEquals(out_59.replaceAll("\n", ""), encodeToString(in_59, Base64.NO_WRAP)); in testLineLength()
[all …]
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
DEmojiCompat.java742 final boolean replaceAll;
745 replaceAll = true;
748 replaceAll = false;
752 replaceAll = mReplaceAll;
756 return mHelper.process(charSequence, start, end, maxEmojiCount, replaceAll);
934 public Config setReplaceAll(final boolean replaceAll) {
935 mReplaceAll = replaceAll;
1111 @IntRange(from = 0) final int maxEmojiCount, boolean replaceAll) {
1196 int maxEmojiCount, boolean replaceAll) {
1197 return mProcessor.process(charSequence, start, end, maxEmojiCount, replaceAll);
DEmojiProcessor.java162 final boolean replaceAll) { in process() argument
244 if (replaceAll || !hasGlyph(charSequence, start, currentOffset, in process()
262 if (replaceAll || !hasGlyph(charSequence, start, currentOffset, in process()
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
DSortedListTest.java872 mList.replaceAll(replacements, false); in replaceAll_mayModifyInputFalse_doesNotModify()
887 mList.replaceAll(replacement0, replacement1); in replaceAll_varArgs_isEquivalentToDefault()
906 mList.replaceAll(replacements); in replaceAll_collection_isEquivalentToDefaultWithMayModifyInputFalse()
928 mList.replaceAll(twoUpdate, threeUpdate); in replaceAll_callsChangeWithPayload()
948 mList.replaceAll(items2); in replaceAll_totallyEquivalentData_worksCorrectly()
968 mList.replaceAll(items2); in replaceAll_removalsAndAdds1_worksCorrectly()
994 mList.replaceAll(items2); in replaceAll_removalsAndAdds2_worksCorrectly()
1019 mList.replaceAll(items2); in replaceAll_removalsAndAdds3_worksCorrectly()
1043 mList.replaceAll(items2); in replaceAll_removalsAndAdds4_worksCorrectly()
1065 mList.replaceAll(items2); in replaceAll_removalsAndAdds5_worksCorrectly()
[all …]
/frameworks/base/tests/net/java/android/net/netlink/
DConntrackMessageTest.java73 HexEncoding.decode(CT_V4UPDATE_TCP_HEX.replaceAll(" ", "").toCharArray(), false);
106 HexEncoding.decode(CT_V4UPDATE_UDP_HEX.replaceAll(" ", "").toCharArray(), false);
/frameworks/support/samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/
DConfig.java80 void update(boolean compatEnabled, boolean replaceAll, boolean downloadable, in update() argument
83 mReplaceAll = replaceAll; in update()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DSortedList.java216 public void replaceAll(@NonNull T[] items, boolean mayModifyInput) { in replaceAll() method in SortedList
234 public void replaceAll(@NonNull T... items) { in replaceAll() method in SortedList
235 replaceAll(items, false); in replaceAll()
246 public void replaceAll(@NonNull Collection<T> items) { in replaceAll() method in SortedList
248 replaceAll(items.toArray(copy), true); in replaceAll()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractLogdSizePreferenceController.java151 String newTag = currentTag.replaceAll( in writeLogdSizeOption()
153 "^" + SELECT_LOGD_TAG_SILENCE + ",*", "").replaceAll( in writeLogdSizeOption()
/frameworks/native/cmds/lshal/
Dutils.cpp43 void replaceAll(std::string *s, char from, char to) { in replaceAll() function
Dutils.h85 void replaceAll(std::string *s, char from, char to);
/frameworks/base/media/java/android/media/
DTtmlRenderer.java193 String crRemoved = in.replaceAll("\r\n", "\n"); in applySpacePolicy()
196 String spacesNeighboringLfRemoved = crRemoved.replaceAll(" *\n *", "\n"); in applySpacePolicy()
198 String lfToSpace = treatLfAsSpace ? spacesNeighboringLfRemoved.replaceAll("\n", " ") in applySpacePolicy()
201 String spacesCollapsed = lfToSpace.replaceAll("[ \t\\x0B\f\r]+", " "); in applySpacePolicy()
215 return text.toString().replaceAll("\n$", ""); in extractText()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmAnalyzer.java257 globPattern = globPattern.replaceAll("\\$", "\\\\\\$"); in getPatternFromGlob()
258 globPattern = globPattern.replaceAll("\\.", "\\\\."); in getPatternFromGlob()
261 globPattern = globPattern.replaceAll("\\*\\*", "@"); in getPatternFromGlob()
262 globPattern = globPattern.replaceAll("\\*", "[^.]*"); in getPatternFromGlob()
263 globPattern = globPattern.replaceAll("@", ".*"); in getPatternFromGlob()
/frameworks/base/tools/incident_section_gen/
Dmain.cpp153 static string replaceAll(const string& fieldName, const char oldC, const string& newS) { in replaceAll() function
220 return replaceAll(field->full_name(), '.', "__"); in getFieldName()
226 return replaceAll(descriptor->full_name(), '.', "_") + "__MSG__" + in getMessageName()
354 printf(" \"%s\",\n", replaceAll(p.patterns(j), '\\', "\\\\").c_str()); in generatePrivacyFlags()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DICalendar.java408 text = text.replaceAll("\r\n", "\n"); in normalizeText()
409 text = text.replaceAll("\r", "\n"); in normalizeText()
414 text = text.replaceAll("\n ", ""); in normalizeText()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupRestore.java310 line = line.replaceAll(PSK_MASK_SEARCH_PATTERN, PSK_MASK_REPLACE_PATTERN); in createLogFromBackupData()
317 line = line.replaceAll( in createLogFromBackupData()
485 line = line.replaceAll(PSK_MASK_SEARCH_PATTERN, PSK_MASK_REPLACE_PATTERN); in createLogFromBackupData()
488 line = line.replaceAll( in createLogFromBackupData()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabaseConfiguration.java207 return EMAIL_IN_DB_PATTERN.matcher(path).replaceAll("XX@YY"); in stripPathForLogs()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkResultsReporter.java74 return testName.replaceAll("Perf$", "");
/frameworks/base/core/java/android/service/autofill/
DTextValueSanitizer.java87 final CharSequence sanitized = matcher.replaceAll(mSubst); in sanitize()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/verifier/
DDatabaseVerifier.kt113 COLLATE_LOCALIZED_UNICODE_PATTERN.matcher(sql).replaceAll(" COLLATE NOCASE") in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DWatchdogDiagnosticsTest.java187 return t.replaceAll("<0x[0-9a-f]{8}>", "<HASH>"); in filterHashes()
/frameworks/base/tests/net/java/android/net/util/
DConnectivityPacketSummaryTest.java43 hexBytes = hexBytes.replaceAll("\\s+", ""); in getSummary()

123