Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 16 of 16) sorted by relevance

/cts/tools/dex-tools/test/dex/reader/
DDexTestsCommon.java129 protected DexMethod getMethod(DexClass clazz, String methodName, String... typeNames) { in getMethod() argument
131 assertNotNull(methodName); in getMethod()
135 if(methodName.equals(method.getName()) && paramTypeNames.equals(methodsParamTypeNames)){ in getMethod()
139 fail("Method: " + methodName +" not present in class: " + clazz.getName()); in getMethod()
140 …throw new IllegalArgumentException("Method: " + methodName +" not present in class: " + clazz.getN… in getMethod()
/cts/tools/utils/
Drerun.py80 [className, methodName] = failure.split('#')
84 command += " --class " + className + " --method " + methodName
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DCtsTestTest.java197 final String methodName = "methodName"; in testRun_class() local
199 mCtsTest.setMethodName(methodName); in testRun_class()
202 mMockPackageDef.setClassName(className, methodName); in testRun_class()
217 final String methodName = "methodName"; in testRun_test() local
218 final String testName = String.format("%s#%s", className, methodName); in testRun_test()
222 mMockPackageDef.setClassName(className, methodName); in testRun_test()
/cts/tests/tests/telecom2/src/android/telecom/cts/
DDefaultDialerOperationsNoPermissionsTest.java145 private void verifyForReadPhoneStateOrDefaultDialer(Runnable runnable, String methodName) in verifyForReadPhoneStateOrDefaultDialer() argument
149 fail("TelecomManager." + methodName + " should throw SecurityException if no " in verifyForReadPhoneStateOrDefaultDialer()
/cts/tests/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java228 private float[] getValue(ValueAnimator animator, int n, String methodName, in getValue() argument
234 if(methodName.equals("getAnimatedFraction()")) { in getValue()
236 }else if(methodName.equals("getAnimatedValue()")) { in getValue()
238 }else if(methodName.equals("getAnimatedValue(property)")) { in getValue()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DITestPackageDef.java88 public void setClassName(String className, String methodName); in setClassName() argument
DTestPackageXmlParser.java128 String methodName = attributes.getValue("name"); in startElement() local
133 } else if (methodName == null) { in startElement()
145 mTestId = new TestIdentifier(classNameBuilder.toString(), methodName); in startElement()
DCtsTest.java419 void setMethodName(String methodName) { in setMethodName() argument
420 mMethodName = methodName; in setMethodName()
884 String methodName = split[1]; in getAvailableTestPackages() local
885 testPkgDefs.addAll(buildTestPackageDefSet(testRepo, className, methodName)); in getAvailableTestPackages()
935 ITestPackageRepo testRepo, String className, String methodName) { in buildTestPackageDefSet() argument
946 testPackageDef.setClassName(className, methodName); in buildTestPackageDefSet()
DTestPackageDef.java208 public void setClassName(String className, String methodName) { in setClassName() argument
210 mMethodName = methodName; in setClassName()
/cts/suite/cts/utils/
Dget_csv_report.py66 methodName = test.getAttribute("name")
68 if methodName == "testAndroidTestCaseSetupProperly":
70 caseName = str(className + "#" + methodName)
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java64 String methodName = stack[index].getMethodName(); in getTestName() local
65 if (!methodName.startsWith("test")) { in getTestName()
76 if (method.getName().equals(methodName) in getTestName()
118 testName = methodName; in getTestName()
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java844 private File getFileFromPackage(String pname, String methodName)
847 String path = getFileName(pname, methodName, ".java");
857 private String getFileName(String pname, String methodName,
860 return new File(path, "Main_" + methodName + extension).getPath();
/cts/tests/signature/src/android/signature/cts/
DSignatureTest.java244 String methodName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in loadMethodInfo() local
247 return new JDiffMethod(methodName, modifier, returnType); in loadMethodInfo()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java670 private void assertAppLinkResult(String methodName) throws DeviceNotAvailableException { in assertAppLinkResult() argument
671 assertTrue(runDeviceTestsAsUser(INTENT_SENDER_PKG, ".AppLinkTest", methodName, mUserId)); in assertAppLinkResult()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java149 final String methodName = isEncoder ? "createEncoderByType" : "createDecoderByType"; in verifyException() local
152 fail(methodName + " should return NullPointerException on null"); in verifyException()
157 fail(methodName + " should return IllegalArgumentException on invalid type"); in verifyException()
162 fail(methodName + " should return IllegalArgumentException on invalid name"); in verifyException()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex7581 …otationDefault (value =Ldalvik/annotation/TestTarget;:[conceptName =, methodArgs =, methodName =] )
7592 public abstract java.lang.String methodName()
17889 java.lang.String methodName