Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkListStoreDataTest.java246 openNetwork.configKey().replaceAll("\"", """), in getTestNetworksXmlBytes()
247 openNetwork.SSID.replaceAll("\"", """), in getTestNetworksXmlBytes()
250 eapNetwork.configKey().replaceAll("\"", """), in getTestNetworksXmlBytes()
251 eapNetwork.SSID.replaceAll("\"", """), in getTestNetworksXmlBytes()
403 openNetwork.configKey().replaceAll("\"", """), in parseNetworkWithUnknownTag()
404 openNetwork.SSID.replaceAll("\"", """), in parseNetworkWithUnknownTag()
420 openNetwork.SSID.replaceAll("\"", """), in parseNetworkWithMismatchConfigKey()
436 xmlString = xmlString.replaceAll( in parseNetworkListWithOneNetworkIllegalArgException()
DWifiConfigStoreTest.java384 openNetwork.configKey().replaceAll("\"", """), in testReadWifiConfigStoreData()
385 openNetwork.SSID.replaceAll("\"", """), in testReadWifiConfigStoreData()
428 openNetwork.configKey().replaceAll("\"", """), in testWriteWifiConfigStoreData()
429 openNetwork.SSID.replaceAll("\"", """), in testWriteWifiConfigStoreData()
DWifiNativeTest.java263 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testTxFateReportToTableRowString()
282 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testTxFateReportToTableRowString()
302 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testTxFateReportToTableRowString()
367 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testRxFateReportToTableRowString()
388 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testRxFateReportToTableRowString()
DWifiLastResortWatchdogTest.java67 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); in createFilteredQnsCandidates()
91 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); in createFilteredQnsCandidates()
1544 String ssid = mSsids[0].replaceAll("^\"+", "").replaceAll("\"+$", ""); in testUpdateNetworkWithNullConfig()
1580 String ssid = mSsids[0].replaceAll("^\"+", "").replaceAll("\"+$", ""); in testUpdateNetworkWithHasEverConnectedTrue()
1627 String ssid = mSsids[0].replaceAll("^\"+", "").replaceAll("\"+$", ""); in testUpdateNetworkWithHasEverConnectedFalse()
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java217 assertEquals(out_56.replaceAll("=", ""), encodeToString(in_56, Base64.NO_PADDING)); in testLineLength()
218 assertEquals(out_57.replaceAll("=", ""), encodeToString(in_57, Base64.NO_PADDING)); in testLineLength()
219 assertEquals(out_58.replaceAll("=", ""), encodeToString(in_58, Base64.NO_PADDING)); in testLineLength()
220 assertEquals(out_59.replaceAll("=", ""), encodeToString(in_59, Base64.NO_PADDING)); in testLineLength()
221 assertEquals(out_60.replaceAll("=", ""), encodeToString(in_60, Base64.NO_PADDING)); in testLineLength()
222 assertEquals(out_61.replaceAll("=", ""), encodeToString(in_61, Base64.NO_PADDING)); in testLineLength()
224 assertEquals(out_56.replaceAll("\n", ""), encodeToString(in_56, Base64.NO_WRAP)); in testLineLength()
225 assertEquals(out_57.replaceAll("\n", ""), encodeToString(in_57, Base64.NO_WRAP)); in testLineLength()
226 assertEquals(out_58.replaceAll("\n", ""), encodeToString(in_58, Base64.NO_WRAP)); in testLineLength()
227 assertEquals(out_59.replaceAll("\n", ""), encodeToString(in_59, Base64.NO_WRAP)); in testLineLength()
[all …]
/frameworks/support/emoji/core/src/android/support/text/emoji/
DEmojiCompat.java658 final boolean replaceAll;
661 replaceAll = true;
664 replaceAll = false;
668 replaceAll = mReplaceAll;
672 return mHelper.process(charSequence, start, end, maxEmojiCount, replaceAll);
833 public Config setReplaceAll(final boolean replaceAll) {
834 mReplaceAll = replaceAll;
946 @IntRange(from = 0) final int maxEmojiCount, boolean replaceAll) {
1023 int maxEmojiCount, boolean replaceAll) {
1024 return mProcessor.process(charSequence, start, end, maxEmojiCount, replaceAll);
DEmojiProcessor.java149 final boolean replaceAll) { in process() argument
221 if (replaceAll || !hasGlyph(charSequence, start, currentOffset, in process()
239 if (replaceAll || !hasGlyph(charSequence, start, currentOffset, in process()
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
DConfig.java79 void update(boolean compatEnabled, boolean replaceAll, boolean downloadable, in update() argument
82 mReplaceAll = replaceAll; in update()
DConfigLayout.java79 mReplaceAll = findViewById(R.id.replaceAll); in init()
/frameworks/native/cmds/lshal/
Dutils.cpp43 void replaceAll(std::string *s, char from, char to) { in replaceAll() function
Dutils.h77 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/base/tools/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/core/java/android/database/sqlite/
DSQLiteDatabaseConfiguration.java163 return EMAIL_IN_DB_PATTERN.matcher(path).replaceAll("XX@YY"); in stripPathForLogs()
/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.java352 line = line.replaceAll(PSK_MASK_SEARCH_PATTERN, PSK_MASK_REPLACE_PATTERN); in createLogFromBackupData()
359 line = line.replaceAll( in createLogFromBackupData()
527 line = line.replaceAll(PSK_MASK_SEARCH_PATTERN, PSK_MASK_REPLACE_PATTERN); in createLogFromBackupData()
530 line = line.replaceAll( in createLogFromBackupData()
/frameworks/base/tests/net/java/android/net/util/
DConnectivityPacketSummaryTest.java37 hexBytes = hexBytes.replaceAll("\\s+", ""); in getSummary()
DSharedLogTest.java87 lines[i] = lines[i].replaceAll(TIMESTAMP_PATTERN, TIMESTAMP); in verifyLogLines()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraCapabilities.java327 return enumCase.toLowerCase(Locale.US).replaceAll("_", "-"); in toApiCase()
337 return apiCase.toUpperCase(Locale.US).replaceAll("-", "_"); in toEnumCase()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java287 xmlString.replaceAll( in testDeprecatedNetworkSelectionStatusDeserialize()
336 xmlString.replaceAll(status.getNetworkDisableReasonString(), "DISABLED_DEPRECATED"); in testDeprecatedNetworkSelectionDisableReasonDeserialize()
408 xmlString = xmlString.replaceAll( in testWifiEnterpriseConfigSerializeDeserializeThrowsIllegalArgException()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DPackageValidator.java68 String certificate = parser.nextText().replaceAll("\\s|\\n", ""); in readValidCertificates()
/frameworks/base/core/java/com/android/internal/os/
DSamplingProfilerIntegration.java174 String name = processName.replaceAll(":", "."); in writeSnapshotFile()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphExporter.java157 return raw.replaceAll("\\.", "___"); // DOT does not allow . in element names in getDotName()
/frameworks/base/tests/net/java/android/net/netlink/
DRtNetlinkNeighborMessageTest.java137 HexEncoding.decode(RTM_GETNEIGH_RESPONSE_HEX.replaceAll(" ", "").toCharArray(), false);
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java127 String sanitizedName = FILENAME_WHITESPACE_PATTERN.matcher(filename).replaceAll(""); in readFont()

12