Home
last modified time | relevance | path

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

123456

/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/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/security/src/android/security/cts/
DBitmapTest.java134 .replace(BitmapWrapper.Field.DataSize, 500 * 1024); in test_inplace_213169612()
141 .replace(BitmapWrapper.Field.DataSize, 2); in test_inplace_213169612()
152 .replace(BitmapWrapper.Field.Height, 10_000) in test_inplace_213169612()
153 .replace(BitmapWrapper.Field.RowBytes, 50_000); in test_inplace_213169612()
178 .replace(BitmapWrapper.Field.DataSize, expectedAllocationSize * 2); in test_ashmem_213169612()
189 .replace(BitmapWrapper.Field.DataSize, 2); in test_ashmem_213169612()
200 .replace(BitmapWrapper.Field.Height, 10_000) in test_ashmem_213169612()
201 .replace(BitmapWrapper.Field.RowBytes, 50_000); in test_ashmem_213169612()
212 .replace(BitmapWrapper.Field.Height, 100); in test_ashmem_213169612()
DCVE_2021_0934.java43 String name = new String(new char[300]).replace("\0", "n"); in testPocCVE_2021_0934()
44 String type = new String(new char[300]).replace("\0", "t"); in testPocCVE_2021_0934()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/controls/
DControlsPanelTestUtils.java31 String replace = "[ICON]"; in addImage() local
33 int position = text.toString().indexOf(replace); in addImage()
39 position + replace.length(), in addImage()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DAndroid.bp60 "--replace-version",
84 "--replace-version",
104 "--replace-version",
124 "--replace-version",
145 "--replace-version",
176 "--replace-version",
197 "--replace-version",
/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 …]
/cts/tests/signature/lib/common/src/android/signature/cts/
DDexMember.java93 javaType = type.substring(1, type.length() - 1).replace('/', '.'); in dexToJavaType()
125 ? type.substring(1, type.length() - 1).replace('/', '.') in typeToClass()
126 : type.replace('/', '.'); in typeToClass()
/cts/hostsidetests/packagemanager/parsing/processing/
DApkGenerator.py75 string = string.replace("<manifest", f"<manifest {ANDROID_NAMESPACE}\n", 1)
78 string = string.replace(">", f"\npackage=\"{packageName}\"\n>", 1)
79 string = string.replace("<application", "<application\nandroid:hasCode=\"false\"\n")
/cts/tests/fragment/src/android/fragment/cts/
DPostponedTransitionTest.java80 .replace(R.id.fragmentContainer, fragment) in replaceTransition()
116 .replace(R.id.fragmentContainer, fragment1) in backStackNestingLevel()
140 .replace(R.id.fragmentContainer, fragment2) in backStackNestingLevel()
178 .replace(R.id.fragmentContainer, fragment2) in forcedTransition1()
184 .replace(R.id.fragmentContainer, fragment3) in forcedTransition1()
228 .replace(R.id.fragmentContainer, fragment2) in forcedTransition2()
239 .replace(R.id.fragmentContainer, fragment3) in forcedTransition2()
286 .replace(R.id.fragmentContainer, fragment2) in crazyTransition()
346 .replace(R.id.fragmentContainer1, fragment3) in differentContainers()
358 .replace(R.id.fragmentContainer2, fragment4) in differentContainers()
[all …]
/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()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/requiredsplittype/
DAndroid.bp31 "--replace-version",
51 "--replace-version",
71 "--replace-version",
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature_warm/
DAndroid.bp44 "--replace-version",
67 "--replace-version",
100 "--replace-version",
/cts/tests/tests/security/
Dgo.mod5 replace android.com/libcore/certutil => ../../../../libcore/tools/go/certutil
/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/libs/mips64/
DAndroid.bp38 "--replace-version",
55 "--replace-version",
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/arm64-v8a/
DAndroid.bp39 "--replace-version",
56 "--replace-version",
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips/
DAndroid.bp38 "--replace-version",
55 "--replace-version",
/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/SplitApp/libs/x86/
DAndroid.bp38 "--replace-version",
55 "--replace-version",
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/armeabi-v7a/
DAndroid.bp38 "--replace-version",
55 "--replace-version",
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/armeabi/
DAndroid.bp38 "--replace-version",
55 "--replace-version",
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/x86_64/
DAndroid.bp38 "--replace-version",
55 "--replace-version",
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecSystemAudioControlTest.java120 .replace("mSystemAudioActivated:", "").trim().equals("true"); in isSystemAudioActivated()
126 .replace("mHdmiCecVolumeControlEnabled:", "").trim().equals("1"); in isHdmiCecVolumeControlEnabled()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceFragmentActivity.java37 .replace(android.R.id.content, prefFragment, PrefFragment.TAG) in onCreate()

123456