Home
last modified time | relevance | path

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

123456789

/frameworks/ml/nn/tools/systrace_parser/parser/
Doutput.py54 template = template.replace("self-times", "total time")
59 template = template.replace("Execution", "Benchmark")
65 template = template.replace(":fl", ":>11.2f")
66 template = template.replace(":f", ":>9.2f")
113 output = output.replace(" 0.00%", " -")
114 output = output.replace(" 0.00", " -")
115 output = output.replace(" nan", " n/a")
135 output = output.replace("NaN", "null")
Dnaming.py100 function = function.replace(MARKER_SUBTRACT, "")
101 function = function.replace(MARKER_SWITCH, "")
103 function = function.replace("[", "")
104 function = function.replace("]", "")
Dtracker.py88 mark = mark.replace("_PT", "_PE")
91 mark = mark.replace("_PC", "_PI")
93 mark = mark.replace("[SW]", "")
115 layer = layer.replace(LAYER_DRIVER, LAYER_CPU)
117 layer = layer.replace(LAYER_CPU, LAYER_DRIVER)
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DReplaceMethodCallsAdapter.java71 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
91 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
105 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
121 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
133 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
154 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
184 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
233 replacer.replace(mi); in visitMethodInsn()
266 void replace(MethodInformation mi); in replace() method
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkEvaluatorTest.java167 when(mCarrierNetworkConfig.isCarrierNetwork(eq(CARRIER1_SSID.replace("\"", "")))) in setUp()
169 when(mCarrierNetworkConfig.isCarrierNetwork(eq(CARRIER2_SSID.replace("\"", "")))) in setUp()
171 when(mCarrierNetworkConfig.isCarrierNetwork(eq(CARRIER_SAVED_SSID.replace("\"", "")))) in setUp()
173 when(mCarrierNetworkConfig.isCarrierNetwork(eq(CARRIER_SAVED_EPH_SSID.replace("\"", "")))) in setUp()
176 when(mCarrierNetworkConfig.getNetworkEapType(eq(CARRIER1_SSID.replace("\"", "")))) in setUp()
178 when(mCarrierNetworkConfig.getNetworkEapType(eq(CARRIER2_SSID.replace("\"", "")))) in setUp()
180 when(mCarrierNetworkConfig.getNetworkEapType(eq(CARRIER_SAVED_SSID.replace("\"", "")))) in setUp()
182 when(mCarrierNetworkConfig.getNetworkEapType(eq(CARRIER_SAVED_EPH_SSID.replace("\"", "")))) in setUp()
235 assertEquals(CARRIER1_SSID.replace("\"", ""), in testSelectOneFromMultiple()
237 assertEquals(CARRIER2_SSID.replace("\"", ""), in testSelectOneFromMultiple()
[all …]
/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()
187 replace = true; in onKeyDown()
192 if (!replace) { in onKeyDown()
228 content.replace(selStart, selEnd, String.valueOf((char) i)); in onKeyDown()
278 content.replace(x, oldStart, rep); in onKeyDown()
301 content.replace(selEnd - 2, selEnd - 1, "."); in onKeyDown()
342 content.replace(st, en, old); in onKeyDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbHelperTest.java168 return mDatabase.replace(RootOfTrustEntry.TABLE_NAME, /*nullColumnHack=*/ null, values) in isRootOfTrustTableAvailable()
183 assertThat(mDatabase.replace(KeysEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_v4()
192 mDatabase.replace(UserMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_v4()
211 mDatabase.replace(RecoveryServiceMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, in checkAllColumns_v4()
236 assertThat(mDatabase.replace(KeysEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_latest()
244 mDatabase.replace(UserMetadataEntry.TABLE_NAME, /*nullColumnHack=*/ null, values)) in checkAllColumns_latest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java78 .replace("com.android.systemui.statusbar.policy.SplitClockView", in addLeakCheckDependencies()
80 .replace("TextClock", View.class) in addLeakCheckDependencies()
81 .replace(CarrierText.class, View.class) in addLeakCheckDependencies()
82 .replace(Clock.class, View.class) in addLeakCheckDependencies()
/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/libs/hwui/debug/
DScopedReplaceDriver.h31 mOldDriver = GlesDriver::replace(std::move(glDriver)); in ScopedReplaceDriver()
36 ~ScopedReplaceDriver() { GlesDriver::replace(std::move(mOldDriver)); } in ~ScopedReplaceDriver()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java224 String s1 = new String(new char[0xFF]).replace("\0", "AA"); in testSendStoreDataLongDataLongResponse()
225 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendStoreDataLongDataLongResponse()
226 String s3 = new String(new char[16]).replace("\0", "CC"); in testSendStoreDataLongDataLongResponse()
255 String s1 = new String(new char[0xFF]).replace("\0", "AA"); in testSendStoreDataLongDataMod0()
256 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendStoreDataLongDataMod0()
294 String s1 = new String(new char[0xFF]).replace("\0", "AA"); in testSendErrorResponseInMiddle()
295 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendErrorResponseInMiddle()
296 String s3 = new String(new char[16]).replace("\0", "CC"); in testSendErrorResponseInMiddle()
/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/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java90 String internalClassName = NATIVE_CLASS_NAME.replace('.', '/'); in testNoOp()
144 String internalClassName = NATIVE_CLASS_NAME.replace('.', '/'); in testConstructorAfterDelegate()
176 String internalClassName = INNER_CLASS_NAME.replace('.', '/'); in testInnerConstructorAfterDelegate()
211 String internalClassName = STATIC_INNER_CLASS_NAME.replace('.', '/'); in testStaticInnerConstructorAfterDelegate()
242 String internalClassName = NATIVE_CLASS_NAME.replace('.', '/'); in testDelegateNative()
301 String outerClassName = OUTER_CLASS_NAME.replace('.', '/'); in testDelegateInner()
309 String innerClassName = INNER_CLASS_NAME.replace('.', '/'); in testDelegateInner()
383 String outerClassName = OUTER_CLASS_NAME.replace('.', '/'); in testDelegateStaticInner()
391 String innerClassName = STATIC_INNER_CLASS_NAME.replace('.', '/'); in testDelegateStaticInner()
DStubClassAdapterTest.java41 STUB_CLASS_NAME.replace('.', '/') + ".class")); in testStubbedClass()
45 StubClassAdapter.stubClass(new Log(), classContent, newClassName.replace('.', '/')); in testStubbedClass()
/frameworks/base/tools/localedata/
Dextract_icu_data.py138 locale.replace('_', '-'),
181 return script.replace("~", "_")
233 locale.replace('_', '-'),
234 parent.replace('_', '-'))
/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/telephony/java/android/telephony/
DJapanesePhoneNumberFormatter.java192 text.replace(0, length, saved); in format()
198 text.replace(0, length, saved); in format()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DProcStatsUtilTest.java147 String longString = new String(new char[10000]).replace('\0', 'a'); in testReadTerminatedProcFile_largeUnterminated()
155 String longString = new String(new char[10000]).replace('\0', 'a'); in testReadTerminatedProcFile_largeTerminated()
163 String longString = new String(new char[10000]).replace('\0', 'a'); in testReadTerminatedProcFile_largeExtra()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevDetailMoTest.java155 TEST_REDIRECT_URL, TEST_MAC_ADDR.replace(":", ""), TEST_IMSI, TEST_DEV_ID, in serializeDevDetailMoForHomeNetworkCarrier()
225 TEST_MAC_ADDR.replace(":", ""), TEST_MANUFACTURER, in serializeDevDetailMoForOtherCarrier()
296 TEST_MAC_ADDR.replace(":", ""), TEST_MANUFACTURER, in serializeDevDetailMoWithoutSim()
/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/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()

123456789