/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
GoNegRequesterTestActivity.java | 30 protected ReqTestCase getTestCase(Context context, String testId) { 31 return GoNegReqTestSuite.getTestCase(context, testId);
|
P2pClientTestActivity.java | 30 protected ReqTestCase getTestCase(Context context, String testId) { 31 return P2pClientTestSuite.getTestCase(context, testId);
|
ServiceRequesterTestActivity.java | 30 protected ReqTestCase getTestCase(Context context, String testId) { 31 return ServReqTestSuite.getTestCase(context, testId);
|
RequesterTestActivity.java | 99 * @param testId test id. 102 protected abstract ReqTestCase getTestCase(Context context, String testId); 115 String testId = (String) getIntent().getSerializableExtra( 117 mTestCase = getTestCase(this, testId);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResult.java | 48 public static void setPassedResult(Activity activity, String testId, String testDetails) { 49 setPassedResult(activity, testId, testDetails, null /*reportLog*/); 53 public static void setPassedResult(Activity activity, String testId, String testDetails, 55 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_PASSED, testId, 60 public static void setFailedResult(Activity activity, String testId, String testDetails) { 61 setFailedResult(activity, testId, testDetails, null /*reportLog*/); 65 public static void setFailedResult(Activity activity, String testId, String testDetails, 67 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_FAILED, testId,
|
IntentDrivenTestActivity.java | 121 public TestInfo(String testId, int title, int infoText, ButtonInfo... buttons) { 130 mTestId = testId; 221 Intent[] createIntents(String testId, int buttonText);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
SingleJUnitTestResultParser.java | 39 public SingleJUnitTestResultParser(TestIdentifier testId, Collection<ITestRunListener> listeners) { 40 mTestId = testId; 44 public SingleJUnitTestResultParser(TestIdentifier testId, ITestRunListener listener) { 45 mTestId = testId;
|
GeeTestResultParser.java | 415 String[] testId = identifier.split("\\."); 416 if (testId.length < 2) { 421 returnInfo.mTestClassName = testId[0]; 422 returnInfo.mTestName = testId[1]; 488 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, 492 listener.testStarted(testId); 508 TestIdentifier testId = new TestIdentifier(mFakePackagePrefix + testResult.mTestClass, 552 listener.testFailed(testId, mCurrentTestResult.getTrace()); 557 listener.testFailed(testId, mCurrentTestResult.getTrace()); 564 listener.testEnded(testId, emptyMap) [all...] |
JUnitDeviceTest.java | 127 for (TestIdentifier testId : mTests) { 129 testId, listener); 133 testId.getClassName(), testId.getTestName()); 136 listener.testStarted(testId);
|
JarHostTest.java | 192 for (TestIdentifier testId : mTests) { 193 Test junitTest = loadTest(testId.getClassName(), testId.getTestName()); 195 runTest(testId, junitTest, junitResult); 203 private void runTest(TestIdentifier testId, final Test junitTest, final TestResult junitResult) {
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
CtsXmlResultReporterTest.java | 133 final TestIdentifier testId = new TestIdentifier("com.foo.FooTest", "testFoo"); 136 mResultReporter.testStarted(testId); 137 mResultReporter.testEnded(testId, emptyMap); 150 "<Test name=\"%s\" result=\"pass\"", testId.getTestName()); 159 final TestIdentifier testId = new TestIdentifier("FooTest", "testFoo"); 163 mResultReporter.testStarted(testId); 164 mResultReporter.testFailed(testId, trace); 165 mResultReporter.testEnded(testId, emptyMap); 189 final TestIdentifier testId = new TestIdentifier("FooTest", "testFoo"); 197 mResultReporter.testStarted(testId); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
GoNegReqTestSuite.java | 43 * @param testId 47 String testId) { 51 if (test.getTestId().equals(testId)) {
|
P2pClientTestSuite.java | 43 * @param testId 47 String testId) { 51 if (test.getTestId().equals(testId)) {
|
ServReqTestSuite.java | 33 String testId) { 37 if (test.getTestId().equals(testId)) {
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
RsPackColorTo8888Test.java | 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 36 switch (testId) { 68 private void float3input(long seed, int testId) { 77 forEach(testId, mAllocationIn, mAllocationOut); 95 private void float4input(long seed, int testId) { 104 forEach(testId, mAllocationIn, mAllocationOut);
|
GetElementAt.java | 36 public void forEach(int testId, Allocation mOut) throws RSRuntimeException { 37 switch (testId) {
|
AllocationResize.java | 31 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|
InitTest.java | 29 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|
ClearObjectTest.java | 42 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 43 switch (testId) {
|
RsUnpackColor8888Test.java | 29 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TelephonyManagerTest.java | 45 String testId = "TESTING123"; 47 shadowOf(telephonyManager).setDeviceId(testId); 48 assertEquals(testId, telephonyManager.getDeviceId());
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestPackageResult.java | 124 * @param testId 126 public Test insertTest(TestIdentifier testId) { 127 return findTest(testId, true); 130 private Test findTest(TestIdentifier testId, boolean insertIfMissing) { 132 Collections.addAll(classNameSegments, testId.getClassName().split("\\.")); 135 testId.getClassName()); 140 return mSuiteRoot.findTest(classNameSegments, testCaseName, testId.getTestName(), insertIfMissing); 146 * @param testId 149 public Test findTest(TestIdentifier testId) { 150 return findTest(testId, false) [all...] |
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
DeqpTestRunnerTest.java | 63 final TestIdentifier testId = new TestIdentifier("dEQP-GLES" 110 tests.add(testId); 171 mockListener.testStarted(EasyMock.eq(testId)); 174 mockListener.testEnded(EasyMock.eq(testId), EasyMock.<Map<String, String>>notNull()); 195 final TestIdentifier testId = new TestIdentifier("dEQP-GLES3.info", "version"); 232 tests.add(testId); 283 mockListener.testStarted(EasyMock.eq(testId)); 287 mockListener.testFailed(testId, 293 mockListener.testEnded(EasyMock.eq(testId), EasyMock.<Map<String, String>>notNull());
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/ |
DeskClockTestsActivity.java | 177 public Intent[] createIntents(String testId, int buttonText) { 178 if (testId.equals(START_ALARM_TEST)) { 192 throw new IllegalArgumentException("Unknown test: " + testId);
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
FillTest.java | 63 void addTest(int index, int testId, int blend, int quadCount) { 74 dataItem.testId = testId; 91 addTest(index++, 1 /*testId*/, 0 /*blend*/, 10 /*quadCount*/); 92 addTest(index++, 0 /*testId*/, 0 /*blend*/, 10 /*quadCount*/); 93 addTest(index++, 1 /*testId*/, 1 /*blend*/, 10 /*quadCount*/); 94 addTest(index++, 0 /*testId*/, 1 /*blend*/, 10 /*quadCount*/); 95 addTest(index++, 2 /*testId*/, 1 /*blend*/, 3 /*quadCount*/); 96 addTest(index++, 2 /*testId*/, 1 /*blend*/, 1 /*quadCount*/);
|