Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/frameworks/libs/binary_translation/kernel_api/tools/
Dextract_syscalls_from_kernel_src.py185 words = line.replace('(', ' ').replace(')', ' ').replace(',', ' ').split()
189 words = line.replace('(', ' ').replace(')', ' ').replace(',', ' ').split()
193 words = line.replace('(', ' ').replace(')', ' ').replace(',', ' ').split()
197 words = line.replace('(', ' ').replace(')', ' ').replace(',', ' ').split()
/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/
DtextFuncs.ts16 const fullPattern = pattern.replace('#group#', [...replaceMap.keys()].join('|'));
20 ''.replace;
22 return src.replace(regEx, (...args) => {
25 return match.replace(key, replaceMap.get(key) || '');
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DStringReplacePerfTest.java85 stringLengths.mValue.replace('z', '0'); in timeReplaceCharNonExistent()
94 stringLengths.mValue.replace('a', '0'); in timeReplaceCharRepeated()
103 stringLengths.mValue.replace('q', '0'); in timeReplaceSingleChar()
112 stringLengths.mValue.replace("fish", "0"); in timeReplaceSequenceNonExistent()
121 stringLengths.mValue.replace("jklm", "0"); in timeReplaceSequenceRepeated()
130 stringLengths.mValue.replace("qrst", "0"); in timeReplaceSingleSequence()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DCreateInfo.java414 public void replace(MethodInformation mi) { in replace() method in CreateInfo.LinkedHashMapEldestReplacer
443 public void replace(MethodInformation mi) { in replace() method in CreateInfo.ContextGetClassLoaderReplacer
455 public void replace(MethodInformation mi) { in replace() method in CreateInfo.SystemCurrentTimeMillisReplacer
468 public void replace(MethodInformation mi) { in replace() method in CreateInfo.SystemNanoTimeReplacer
482 public void replace(MethodInformation mi) { in replace() method in CreateInfo.SystemLogReplacer
501 public void replace(MethodInformation mi) { in replace() method in CreateInfo.SystemLoadLibraryReplacer
517 public void replace(MethodInformation mi) { in replace() method in CreateInfo.ImageReaderNativeInitReplacer
533 public void replace(MethodInformation mi) { in replace() method in CreateInfo.LocaleGetDefaultReplacer
554 public void replace(MethodInformation mi) { in replace() method in CreateInfo.SystemArrayCopyReplacer
567 public void replace(MethodInformation mi) { in replace() method in CreateInfo.NativeInitPathReplacer
[all …]
/frameworks/base/tools/preload/
Dsorttable.js98 this.className = this.className.replace('sorttable_sorted',
111 this.className = this.className.replace('sorttable_sorted_reverse',
125 cell.className = cell.className.replace('sorttable_sorted_reverse','');
126 cell.className = cell.className.replace('sorttable_sorted','');
213 return node.textContent.replace(/^\s+|\s+$/g, '');
216 return node.innerText.replace(/^\s+|\s+$/g, '');
219 return node.text.replace(/^\s+|\s+$/g, '');
225 return node.value.replace(/^\s+|\s+$/g, '');
228 return node.nodeValue.replace(/^\s+|\s+$/g, '');
236 return innerText.replace(/^\s+|\s+$/g, '');
[all …]
/frameworks/libs/systemui/animationlib/tests/src/com/android/app/animation/
DInterpolatorsAndroidXTest.kt52 .map { it.toString().replace(name, "") in <lambda>()
53 .replace(ANDROIDX_ANIM_PACKAGE_NAME, "") in <lambda>()
54 .replace(ANDROID_ANIM_PACKAGE_NAME, "") } in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSimPhonebookRecord.java141 return input == null ? null : input.replace('e', PhoneNumberUtils.WAIT) in convertRecordFormatToNumber()
142 .replace('T', PhoneNumberUtils.PAUSE) in convertRecordFormatToNumber()
143 .replace('?', PhoneNumberUtils.WILD); in convertRecordFormatToNumber()
153 return input == null ? null : input.replace(PhoneNumberUtils.WAIT, 'e') in convertNumberToRecordFormat()
154 .replace(PhoneNumberUtils.PAUSE, 'T') in convertNumberToRecordFormat()
155 .replace(PhoneNumberUtils.WILD, '?'); in convertNumberToRecordFormat()
/frameworks/base/core/java/android/text/method/
DCharacterPickerDialog.java94 private void replaceCharacterAndClose(CharSequence replace) { in replaceCharacterAndClose() argument
97 mText.insert(selEnd, replace); in replaceCharacterAndClose()
99 mText.replace(selEnd - 1, selEnd, replace); in replaceCharacterAndClose()
DQwertyKeyListener.java179 boolean replace = false; in onKeyDown()
192 replace = true; in onKeyDown()
197 if (!replace) { in onKeyDown()
233 content.replace(selStart, selEnd, String.valueOf((char) i)); in onKeyDown()
283 content.replace(x, oldStart, rep); in onKeyDown()
306 content.replace(selEnd - 2, selEnd - 1, "."); in onKeyDown()
347 content.replace(st, en, old); in onKeyDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbHelperTest.java181 return mDatabase.replace(RootOfTrustEntry.TABLE_NAME, /*nullColumnHack=*/ null, values) in isRootOfTrustTableAvailable()
196 assertThat(mDatabase.replace(KeysEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_v4()
205 mDatabase.replace(UserMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_v4()
224 mDatabase.replace(RecoveryServiceMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, in checkAllColumns_v4()
249 assertThat(mDatabase.replace(KeysEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_latest()
257 mDatabase.replace(UserMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_latest()
265 mDatabase.replace(UserMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_latest()
/frameworks/base/packages/SystemUI/scripts/
Dnew_merge.py130 def prepareFileForCompare(inFile, outFile, skip="", replace="", withText=""): argument
143 if len(replace) > 0:
144 fout.write(line.replace(replace, withText))
/frameworks/base/tests/testables/src/android/testing/
DLayoutInflaterBuilder.java81 public LayoutInflaterBuilder replace(@NonNull Class from, @NonNull Class to) { in replace() method in LayoutInflaterBuilder
82 return replace(from.getName(), to); in replace()
93 public LayoutInflaterBuilder replace(@NonNull String tag, @NonNull Class to) { in replace() method in LayoutInflaterBuilder
/frameworks/base/core/java/android/text/
DEditable.java52 public Editable replace(int st, int en, CharSequence source, int start, int end); in replace() method
58 public Editable replace(int st, int en, CharSequence text); in replace() method
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerHalEnforcer.java132 mModelStates.replace(modelHandle, ModelState.PENDING_STOP); in stopRecognition()
138 mModelStates.replace(modelHandle, ModelState.INACTIVE); in stopRecognition()
151 mModelStates.replace(modelHandle, ModelState.ACTIVE); in startRecognition()
274 mModelStates.replace(model, ModelState.INACTIVE); in recognitionCallback()
300 mModelStates.replace(model, ModelState.INACTIVE); in phraseRecognitionCallback()
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java98 String internalClassName = NATIVE_CLASS_NAME.replace('.', '/'); in testNoOp()
152 String internalClassName = NATIVE_CLASS_NAME.replace('.', '/'); in testConstructorAfterDelegate()
184 String internalClassName = INNER_CLASS_NAME.replace('.', '/'); in testInnerConstructorAfterDelegate()
219 String internalClassName = STATIC_INNER_CLASS_NAME.replace('.', '/'); in testStaticInnerConstructorAfterDelegate()
251 String internalClassName = CLASS_WITH_STATIC_INIT_NAME.replace('.', '/'); in testDelegateStaticInitializer()
285 String internalClassName = INNER_CLASS_WITH_STATIC_INIT_NAME.replace('.', '/'); in testDelegateInnerClassStaticInitializer()
318 String internalClassName = NATIVE_CLASS_NAME.replace('.', '/'); in testDelegateNative()
377 String outerClassName = OUTER_CLASS_NAME.replace('.', '/'); in testDelegateInner()
385 String innerClassName = INNER_CLASS_NAME.replace('.', '/'); in testDelegateInner()
459 String outerClassName = OUTER_CLASS_NAME.replace('.', '/'); in testDelegateStaticInner()
[all …]
DStubClassAdapterTest.java41 STUB_CLASS_NAME.replace('.', '/') + ".class")); in testStubbedClass()
45 StubClassAdapter.stubClass(new Log(), classContent, newClassName.replace('.', '/')); in testStubbedClass()
/frameworks/base/telephony/java/android/telephony/
DJapanesePhoneNumberFormatter.java192 text.replace(0, length, saved); in format()
198 text.replace(0, length, saved); in format()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DVolume.java98 numList = numList.replace('{', ' '); in readNumbers()
99 numList = numList.replace('}', ' '); in readNumbers()
100 numList = numList.replace(';', ' '); in readNumbers()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DProcStatsUtilTest.java144 String longString = new String(new char[10000]).replace('\0', 'a'); in testReadTerminatedProcFile_largeUnterminated()
152 String longString = new String(new char[10000]).replace('\0', 'a'); in testReadTerminatedProcFile_largeTerminated()
160 String longString = new String(new char[10000]).replace('\0', 'a'); in testReadTerminatedProcFile_largeExtra()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DMain.kt59 outWriter.write(parcelable.replace('/', '.').replace('$', '.')) in main()
/frameworks/compile/mclinker/include/mcld/ADT/
DTreeAllocator.h60 replace(pClient); in delegate()
75 void replace(NodeFactory& pClient) { in replace() function
/frameworks/base/tools/localedata/
Dextract_icu_data.py141 locale.replace('_', '-'),
185 return script.replace("~", "_")
237 locale.replace('_', '-'),
238 parent.replace('_', '-')))
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java235 String s1 = new String(new char[0xFF]).replace("\0", "AA"); in testSendStoreDataLongDataLongResponse()
236 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendStoreDataLongDataLongResponse()
237 String s3 = new String(new char[16]).replace("\0", "CC"); in testSendStoreDataLongDataLongResponse()
266 String s1 = new String(new char[0xFF]).replace("\0", "AA"); in testSendStoreDataLongDataMod0()
267 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendStoreDataLongDataMod0()
305 String s1 = new String(new char[0xFF]).replace("\0", "AA"); in testSendErrorResponseInMiddle()
306 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendErrorResponseInMiddle()
307 String s3 = new String(new char[16]).replace("\0", "CC"); in testSendErrorResponseInMiddle()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java71 String property, float toValue, boolean replace) { in addAnimTo() argument
73 if (replace) removeAnimationFor(property); in addAnimTo()
79 this.addAnimation(anim, replace); in addAnimTo()
/frameworks/base/core/java/android/widget/
DMultiAutoCompleteTextView.java155 e.replace(start, i, ""); in performValidation()
157 e.replace(start, i, in performValidation()
200 editable.replace(start, end, mTokenizer.terminateToken(text)); in replaceText()

12345678910>>...12