Home
last modified time | relevance | path

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

1234

/cts/tools/vm-tests-tf/build/src/util/build/
DBuildDalvikSuite.java171 detail = detail.replace("-from16", "/from16"); in handleTest()
172 detail = detail.replace("-high16", "/high16"); in handleTest()
173 detail = detail.replace("-lit8", "/lit8"); in handleTest()
174 detail = detail.replace("-lit16", "/lit16"); in handleTest()
175 detail = detail.replace("-4", "/4"); in handleTest()
176 detail = detail.replace("-16", "/16"); in handleTest()
177 detail = detail.replace("-32", "/32"); in handleTest()
178 detail = detail.replace("-jumbo", "/jumbo"); in handleTest()
179 detail = detail.replace("-range", "/range"); in handleTest()
180 detail = detail.replace("-2addr", "/2addr"); in handleTest()
[all …]
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/
DMyFactory.java31 className = className.replace(".inject", ""); in instantiateApplication()
40 className = className.replace(".inject", ""); in instantiateActivity()
49 className = className.replace(".inject", ""); in instantiateReceiver()
58 className = className.replace(".inject", ""); in instantiateProvider()
67 className = className.replace(".inject", ""); in instantiateService()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java176 builder.replace(0, 5, text); in testReplace1()
180 builder.replace(7, 12, "google"); in testReplace1()
184 builder.replace(4, 2, text); in testReplace1()
191 builder.replace(-4, 100, text); in testReplace1()
198 builder.replace(0, 1, null); in testReplace1()
209 builder.replace(0, 5, text, 3, text.length()); in testReplace2()
213 builder.replace(3, 5, text, 3, text.length()); in testReplace2()
217 builder.replace(0, 5, text, 0, text.length()); in testReplace2()
222 builder.replace(4, 6, "", 0, 0); in testReplace2()
226 builder.replace(4, 6, "any string", 5, 5); in testReplace2()
[all …]
DSpannableStringBuilderSpanTest.java64 replace(original, replacement); in testReplaceWithSpans()
69 private void replace(String original, String replacement) { in replace() method in SpannableStringBuilderSpanTest
128 originalSpannable.replace(replaceStart, replaceEnd, replacementSpannable, in replaceWithSpanFlag()
522 spannable.replace(2, spannable.length(), newText); in testReplace_discardsParagraphSpanInSourceIfThereIsNoNewLineBefore()
535 spannable.replace(2, spannable.length(), newText); in testReplace_retainsParagraphSpanInSourceIfThereIsNewLineBefore()
550 spannable.replace(0, spannable.length(), newText); in testReplace_retainsParagraphSpanInSourceIfStartIsZero()
569 spannable.replace(spannable.length(), spannable.length(), newText); in testReplace_retainsParagraphSpanInSourceIfEndIsEqualToLengthOfString()
585 spannable.replace(0, 1, newText); in testReplace_discardsParagraphSpanInSourceIfThereIsNoNewLineAfter()
/cts/tests/fragment/src/android/fragment/cts/
DPostponedTransitionTest.java79 .replace(R.id.fragmentContainer, fragment) in replaceTransition()
115 .replace(R.id.fragmentContainer, fragment1) in backStackNestingLevel()
139 .replace(R.id.fragmentContainer, fragment2) in backStackNestingLevel()
177 .replace(R.id.fragmentContainer, fragment2) in forcedTransition1()
183 .replace(R.id.fragmentContainer, fragment3) in forcedTransition1()
227 .replace(R.id.fragmentContainer, fragment2) in forcedTransition2()
238 .replace(R.id.fragmentContainer, fragment3) in forcedTransition2()
285 .replace(R.id.fragmentContainer, fragment2) in crazyTransition()
345 .replace(R.id.fragmentContainer1, fragment3) in differentContainers()
357 .replace(R.id.fragmentContainer2, fragment4) in differentContainers()
[all …]
DFragmentTransitionTest.java191 .replace(R.id.fragmentContainer, fragment2) in removeAdded()
192 .replace(R.id.fragmentContainer, fragment1) in removeAdded()
193 .replace(R.id.fragmentContainer, fragment2) in removeAdded()
354 .replace(R.id.fragmentContainer, fragment2) in onMapSharedElementOut()
421 .replace(R.id.fragmentContainer, fragment2) in onMapSharedElementIn()
475 .replace(R.id.fragmentContainer, fragment2) in complexSharedElementTransition()
646 .replace(R.id.fragmentContainer, fragment2) in sharedElementMismatch()
749 .replace(R.id.fragmentContainer, fragment2) in noSharedElementTransition()
773 .replace(R.id.fragmentContainer, fragment3) in noSharedElementTransition()
875 .replace(R.id.fragmentContainer, to) in verifyTransition()
[all …]
DFragmentViewTests.java624 .replace(R.id.fragmentContainer, fragment2) in replaceOne()
664 .replace(R.id.fragmentContainer, fragment3) in replaceTwo()
702 .replace(R.id.fragmentContainer, fragment) in replaceZero()
734 .replace(R.id.fragmentContainer, fragment1) in replaceExisting()
770 .replace(R.id.fragmentContainer1, fragment3) in replaceReplace()
771 .replace(R.id.fragmentContainer2, fragment4) in replaceReplace()
772 .replace(R.id.fragmentContainer1, fragment5) in replaceReplace()
819 .replace(R.id.fragmentContainer, fragmentC) in testReplaceFragment()
847 .replace(R.id.fragmentContainer, fragment2) in addInvisibleAndGoneFragments()
878 .replace(R.id.fragmentContainer, fragment2) in popAdd()
[all …]
DPrimaryNavFragmentTest.java130 fm.beginTransaction().replace(android.R.id.content, strictFragment2) in replacePrimaryNav()
149 fm.beginTransaction().replace(android.R.id.content, strictFragment2) in replacePrimaryNav()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DAndroid.mk39 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version
71 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundredRevisionTwelve --replace-version
100 LOCAL_AAPT_FLAGS := --version-code 101 --version-name OneHundredOne --replace-version
129 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version
158 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundredRevisionTwelve --replace-version
DNativeTemplate.mk26 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
/cts/tools/selinux/
DSELinuxNeverallowTestGen.py78 squashed_neverallow = rule.statement.replace("\n", " ")
80 method = method.replace("testNeverallowRules()",
82 method = method.replace("$NEVERALLOW_RULE_HERE$", squashed_neverallow)
84 method = method.replace(
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DDepPrinter.java158 target.getFile().replace("/system/", "SYSTEM/").replace("/vendor/", "VENDOR/"); in writeRcDigraph()
193 return note.replace(".", "_") in getNodeName()
194 .replace("@", "") in getNodeName()
195 .replace("+", "p") in getNodeName()
196 .replace("-", "_") in getNodeName()
197 .replace("/", "_"); in getNodeName()
243 depEntry = mRelContent.getEntries().get(dep.replace("/system/", "SYSTEM/")); in printDep()
245 depEntry = mRelContent.getEntries().get(dep.replace("/vendor/", "VENDOR/")); in printDep()
DDepCsvPrinter.java173 target.getFile().replace("/system/", "SYSTEM/").replace("/vendor/", "VENDOR/"); in writeRcDigraph()
253 depEntry = mRelContent.getEntries().get(dep.replace("/system/", "SYSTEM/")); in printDep()
255 depEntry = mRelContent.getEntries().get(dep.replace("/vendor/", "VENDOR/")); in printDep()
DClassUtils.java93 name.replace(PACKAGE_SEPARATOR, CLASS_MEMBER_SELECTOR) in getCanonicalName()
94 .replace(INNER_CLASS_SEPARATOR, CLASS_MEMBER_SELECTOR); in getCanonicalName()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSupportMessageTest.java39 new String(new char[MAX_SHORT_MSG_LENGTH]).replace('\0', 'X');
41 new String(new char[MAX_SHORT_MSG_LENGTH + 10]).replace('\0', 'A');
49 new String(new char[REASONABLE_LONG_MSG_LENGTH]).replace('\0', 'B');
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DProcessStatsDumpsysTest.java417 "pkgproc,com.android.server.cts.procstatshelper,$U,32123,,".replace("$U", uid), in checkWithProcStatsApp()
433 + "com.android.server.cts.procstatshelper:proc2,").replace("$U", uid), in checkWithProcStatsApp()
450 + ".ProcStatsHelperServiceMain,").replace("$U", uid), in checkWithProcStatsApp()
457 + ".ProcStatsHelperServiceMain,").replace("$U", uid), in checkWithProcStatsApp()
470 + ".ProcStatsHelperServiceSub,").replace("$U", uid), in checkWithProcStatsApp()
477 + ".ProcStatsHelperServiceSub,").replace("$U", uid), in checkWithProcStatsApp()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/
DAndroid.mk29 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version
67 LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version
/cts/tests/tests/media/src/android/media/cts/
DVolumeShaperTest.java751 volumeShaper.replace(new VolumeShaper.Configuration.Builder(LINEAR_RAMP) in testPlayerJoin()
797 volumeShaper.replace(configuration, in testPlayerCubicMonotonic()
820 volumeShaper.replace(newConfiguration, in testPlayerCubicMonotonic()
844 volumeShaper.replace(newConfiguration, in testPlayerCubicMonotonic()
867 volumeShaper.replace(newConfiguration, in testPlayerCubicMonotonic()
915 volumeShaper.replace(configuration, in testPlayerStepRamp()
937 volumeShaper.replace(newConfiguration, in testPlayerStepRamp()
960 volumeShaper.replace(newConfiguration, in testPlayerStepRamp()
982 volumeShaper.replace(newConfiguration, in testPlayerStepRamp()
1160 volumeShaper.replace(config, VolumeShaper.Operation.PLAY, false /* join */); in runRampTest()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DInstantCookieHostTest.java110 private String installPackage(String apk, boolean replace, boolean instant) throws Exception { in installPackage() argument
111 return getDevice().installPackage(getTestAppFile(apk), replace, in installPackage()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteMultiViewTest.java42 .replace(getContext().getPackageName(), PACKAGE_READ)); in testMoveAway()
61 .replace(getContext().getPackageName(), PACKAGE_READ)); in testMoveBack()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DBootClassPathClassesProvider.java43 String classname = descriptor.replace('/', '.'); in getAllClasses()
67 String klass_desc = "L" + klass.getName().replace('.', '/') + ";"; in getAllMembers()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DFragmentTest.java76 .replace(R.id.container, fragmentB) in testChildFragmentManagerGone()
89 .replace(R.id.container, fragmentA) in testChildFragmentManagerGone()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java33 public void setData(double[] data, boolean replace) { in setData() argument
39 if (replace || mValueCount == 0) { in setData()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/x86_64/
DAndroid.mk30 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips/
DAndroid.mk30 LOCAL_AAPT_FLAGS := --version-code 100 --replace-version

1234