/cts/tests/core/runner/src/com/android/cts/core/runner/ |
D | TestFilter.java | 83 String methodName = testDescription.getMethodName(); in shouldRun() local 84 String testName = className + "#" + methodName; in shouldRun() 119 String methodName = child.getMethodName(); in getTestDescription() local 120 if ("initializationError".equals(methodName)) { in getTestDescription()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/support/ |
D | SingleTestNgTestExecutor.java | 38 public static boolean execute(Class<?> klass, String methodName) { in execute() argument 43 if (methodName == null) { in execute() 57 TestNG testng = createTestNG(klass.getName(), methodName, listener); in execute() 63 Log.w("TestNgExec", "execute class " + klass.getName() + ", method " + methodName + in execute()
|
D | TestNgRunner.java | 110 String methodName = child.getMethodName(); in run() local 129 if (!SingleTestNgTestExecutor.execute(klass, methodName)) { in run()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PasswordMinimumRestrictionsTest.java | 185 private void invokeSetMethod(String methodName, DevicePolicyManager dpm, in invokeSetMethod() argument 187 final Method setMethod = DevicePolicyManager.class.getMethod(setMethodName(methodName), in invokeSetMethod() 195 private int invokeGetMethod(String methodName, DevicePolicyManager dpm, in invokeGetMethod() argument 198 DevicePolicyManager.class.getMethod(getMethodName(methodName), ComponentName.class); in invokeGetMethod() 202 private String setMethodName(String methodName) { in setMethodName() argument 203 return "set" + methodName; in setMethodName() 206 private String getMethodName(String methodName) { in getMethodName() argument 207 return "get" + methodName; in getMethodName()
|
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingTest.java | 160 private void runTestAsPrimaryUser(String className, String methodName) throws Exception { in runTestAsPrimaryUser() argument 161 runTestAsUser(className, methodName, getDevice().getPrimaryUserId()); in runTestAsPrimaryUser() 164 private void runTestAsSecondaryUser(String className, String methodName) throws Exception { in runTestAsSecondaryUser() argument 165 runTestAsUser(className, methodName, mSecondaryUserId); in runTestAsSecondaryUser() 168 private void runTestAsUser(String className, String methodName, int userId) throws Exception { in runTestAsUser() argument 170 className, methodName, userId); in runTestAsUser() 177 testRunner.setMethodName(NUMBER_BLOCKING_TESTS_PKG + "." + className, methodName); in runTestAsUser()
|
/cts/tests/tests/icu/tools/android/icu/cts/tools/ |
D | GenerateTestCaseXML.java | 83 String methodName = line.substring(index + 1); in main() local 85 root.addTest(className, methodName); in main() 187 public void addTest(String className, String methodName) { in addTest() argument 191 testCase.addMethod(methodName); in addTest() 195 childSuite.addTest(className.substring(index + 1), methodName); in addTest() 235 public void addMethod(String methodName) { in addMethod() argument 236 methods.add(methodName); in addMethod()
|
/cts/tools/dex-tools/test/dex/reader/ |
D | DexTestsCommon.java | 129 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/common/util/src/com/android/compatibility/common/util/ |
D | TestSuiteFilter.java | 105 String methodName = String.format("%s#%s", className, parts[0]); in shouldRun() local 117 if (mExcludes.contains(methodName)) { in shouldRun() 122 || mIncludes.contains(methodName) in shouldRun()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
D | CtsTestTest.java | 197 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/tools/utils/ |
D | rerun.py | 80 [className, methodName] = failure.split('#') 84 command += " --class " + className + " --method " + methodName
|
/cts/tests/tests/telecom2/src/android/telecom/cts/ |
D | DefaultDialerOperationsNoPermissionsTest.java | 145 private void verifyForReadPhoneStateOrDefaultDialer(Runnable runnable, String methodName) in verifyForReadPhoneStateOrDefaultDialer() argument 149 fail("TelecomManager." + methodName + " should throw SecurityException if no " in verifyForReadPhoneStateOrDefaultDialer()
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | HostsideNetworkTestCase.java | 129 protected void runDeviceTests(String packageName, String testClassName, String methodName) in runDeviceTests() argument 135 if (methodName != null) { in runDeviceTests() 136 testRunner.setMethodName(testClassName, methodName); in runDeviceTests()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | TestPackageXmlParser.java | 128 String methodName = attributes.getValue("name"); in startElement() local 133 } else if (methodName == null) { in startElement() 145 mTestId = new TestIdentifier(classNameBuilder.toString(), methodName); in startElement()
|
D | ITestPackageDef.java | 88 public void setClassName(String className, String methodName); in setClassName() argument
|
D | CtsTest.java | 430 void setMethodName(String methodName) { in setMethodName() argument 431 mMethodName = methodName; in setMethodName() 925 String methodName = split[1]; in getAvailableTestPackages() local 926 testPkgDefs.addAll(buildTestPackageDefSet(testRepo, className, methodName)); in getAvailableTestPackages() 976 ITestPackageRepo testRepo, String className, String methodName) { in buildTestPackageDefSet() argument 987 testPackageDef.setClassName(className, methodName); in buildTestPackageDefSet()
|
D | TestPackageDef.java | 207 public void setClassName(String className, String methodName) { in setClassName() argument 209 mMethodName = methodName; in setClassName()
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 66 methodName = test.getAttribute("name") 68 if methodName == "testAndroidTestCaseSetupProperly": 70 caseName = str(className + "#" + methodName)
|
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/ |
D | DalvikTestRunner.java | 126 String methodName = String.format("%s#%s", className, parts[0]); in shouldCollect() local 138 if (excludes.contains(methodName)) { in shouldCollect() 143 || includes.contains(methodName) in shouldCollect()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ValueAnimatorTest.java | 434 private float[] getValue(ValueAnimator animator, int n, String methodName, in getValue() argument 440 if(methodName.equals("getAnimatedFraction()")) { in getValue() 442 }else if(methodName.equals("getAnimatedValue()")) { in getValue() 444 }else if(methodName.equals("getAnimatedValue(property)")) { in getValue()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | BuildDalvikSuite.java | 849 private File getFileFromPackage(String pname, String methodName) 852 String path = getFileName(pname, methodName, ".java"); 862 private String getFileName(String pname, String methodName, 865 return new File(path, "Main_" + methodName + extension).getPath();
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 84 String methodName = stack[index].getMethodName(); in getTestName() local 85 if (!methodName.startsWith("test")) { in getTestName() 96 if (method.getName().equals(methodName) in getTestName() 138 testName = methodName; in getTestName()
|
/cts/tests/signature/src/android/signature/cts/ |
D | SignatureTest.java | 244 String methodName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in loadMethodInfo() local 247 return new JDiffMethod(methodName, modifier, returnType); in loadMethodInfo()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTest.java | 151 final String methodName = isEncoder ? "createEncoderByType" : "createDecoderByType"; in verifyException() local 154 fail(methodName + " should return NullPointerException on null"); in verifyException() 159 fail(methodName + " should return IllegalArgumentException on invalid type"); in verifyException() 164 fail(methodName + " should return IllegalArgumentException on invalid name"); in verifyException()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 775 private void assertAppLinkResult(String methodName) throws DeviceNotAvailableException { in assertAppLinkResult() argument 776 assertTrue(runDeviceTestsAsUser(INTENT_SENDER_PKG, ".AppLinkTest", methodName, in assertAppLinkResult()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 7581 …otationDefault (value =Ldalvik/annotation/TestTarget;:[conceptName =, methodArgs =, methodName =] ) 7592 public abstract java.lang.String methodName() 17889 java.lang.String methodName
|