/external/autotest/server/site_tests/brillo_HWRandom/ |
brillo_HWRandom.py | 19 TestInfo = collections.namedtuple('TestInfo', 'number custom_args') 36 TestInfo(number=0, custom_args=['-p', '50']), 37 TestInfo(number=1, custom_args=['-p', '50', '-t', '50000']), 38 TestInfo(number=2, custom_args=['-p', '50', '-t', '1000']), 39 TestInfo(number=3, custom_args=['-p', '50', '-t', '5000']), 40 TestInfo(number=8, custom_args=['-p', '40']), 41 TestInfo(number=10, custom_args=[]), 42 TestInfo(number=11, custom_args=[]), 43 TestInfo(number=12, custom_args=[]) [all...] |
/tools/tradefederation/core/src/com/android/tradefed/util/ |
TestMapping.java | 67 public class TestInfo { 71 public TestInfo(String name) { 95 private Map<String, List<TestInfo>> mTestCollection = null; 113 List<TestInfo> testsForGroup = new ArrayList<TestInfo>(); 118 TestInfo test = new TestInfo(testObject.getString(KEY_NAME)); 154 * @return A {@code List<TestInfo>} of the test infos. 156 public List<TestInfo> getTests(String testGroup) { 157 List<TestInfo> tests = new ArrayList<TestInfo>() [all...] |
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
InputMethodServiceLifecycleTest.java | 34 import android.inputmethodservice.cts.common.test.TestInfo; 78 final TestInfo testSwitchIme1ToIme2 = new TestInfo(DeviceTestConstants.PACKAGE, 104 final TestInfo testCreateIme1 = new TestInfo(DeviceTestConstants.PACKAGE, 130 final TestInfo testCreateIme1 = new TestInfo(DeviceTestConstants.PACKAGE, 156 final TestInfo testSetInputMethod = new TestInfo( 183 final TestInfo testSwitchInputs = new TestInfo [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/ |
DeskClockTestsActivity.java | 17 import com.android.cts.verifier.IntentDrivenTestActivity.TestInfo; 69 private static final TestInfo[] ALARM_TESTS = new TestInfo[] { 70 new TestInfo( 77 new TestInfo( 84 new TestInfo( 94 new TestInfo( 103 private static final TestInfo[] TIMER_TESTS = new TestInfo[] { 104 new TestInfo( [all...] |
/tools/tradefederation/core/atest/ |
test_runner_handler_unittest.py | 38 MODULE_INFO_A = test_info.TestInfo(MODULE_NAME_A, FAKE_TR_NAME_A, set()) 39 MODULE_INFO_A_AGAIN = test_info.TestInfo(MODULE_NAME_A_AGAIN, FAKE_TR_NAME_A, 41 MODULE_INFO_B = test_info.TestInfo(MODULE_NAME_B, FAKE_TR_NAME_B, set()) 42 MODULE_INFO_B_AGAIN = test_info.TestInfo(MODULE_NAME_B_AGAIN, FAKE_TR_NAME_B, 44 BAD_TESTINFO = test_info.TestInfo('bad_name', MISSING_TR_NAME, set())
|
unittest_constants.py | 58 MODULE_INFO = test_info.TestInfo(MODULE_NAME, 78 CLASS_INFO = test_info.TestInfo(MODULE_NAME, 82 PACKAGE_INFO = test_info.TestInfo(MODULE_NAME, 86 PATH_INFO = test_info.TestInfo(MODULE_NAME, 90 EMPTY_PATH_INFO = test_info.TestInfo(MODULE_NAME, 99 METHOD_INFO = test_info.TestInfo( 108 INT_INFO = test_info.TestInfo(INT_NAME, 113 GTF_INT_INFO = test_info.TestInfo(
|
/cts/common/device-side/nativetesthelper/jni/ |
gtest_wrapper.cpp | 75 virtual void OnTestStart(const testing::TestInfo &testInfo) override { 77 createTestDescription(mEnv, testInfo.test_case_name(), testInfo.name())); 95 virtual void OnTestEnd(const testing::TestInfo&) override { 105 auto testInfo = testCase->GetTestInfo(testIndex); 106 if (!testInfo->should_run()) { 108 createTestDescription(mEnv, testCase->name(), testInfo->name())); 168 auto testInfo = testCase->GetTestInfo(testIndex); 170 createTestDescription(env, testCase->name(), testInfo->name())) [all...] |
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
Utils.java | 40 public static final String TESTINFO = "testinfo"; 76 ArrayList<String> info = bundle.getStringArrayList(TESTINFO); 98 public static final void addErrorResult(final Bundle testinfo, final String msg) { 99 testinfo.getStringArrayList(testinfo.getString(Utils.TESTCASE_TYPE))
|
/tools/tradefederation/core/atest/test_finders/ |
test_info.py | 16 TestInfo class. 25 class TestInfo(object): 29 """Init for TestInfo.
|
module_finder.py | 139 test: TestInfo to update with vts specific details. 142 TestInfo that is ready for the vts test runner. 211 test: TestInfo to be updated with robolectric fields. 214 TestInfo with robolectric fields. 227 test: TestInfo that has been filled out by a find method. 230 TestInfo that has been modified as needed. 283 A populated TestInfo namedtuple if found, else None. 290 return self._process_test_info(test_info.TestInfo( 311 A populated TestInfo namedtuple if test found, else None. 339 return self._process_test_info(test_info.TestInfo( [all...] |
/development/testrunner/ |
Android.mk | 7 local_target_dir := $(TARGET_OUT_DATA)/testinfo
|
/external/autotest/frontend/client/src/autotest/afe/ |
TestSelectorDisplay.java | 33 private HTML testInfo = new HTML("Click a test to view its description"); 41 testInfo.setStyleName("test-description"); 56 testInfoPanel.add(testInfo); 84 return testInfo;
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
CameraLatencyTest.java | 77 private List<TestInfo> mTestCases = new ArrayList<>(); 87 static class TestInfo { 95 return String.format("TestInfo: name(%s) class(%s) metric(%s) patterns(%s)", mTestName, 105 TestInfo t = new TestInfo(); 129 t = new TestInfo(); 149 for (TestInfo test : mTestCases) { 158 private void executeTest(TestInfo test, ITestInvocationListener listener) 198 private void logOutputFile(TestInfo test, ITestInvocationListener listener) 229 private void parseOutputFile(TestInfo test, InputStream dataStream [all...] |
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/ |
TestInfo.java | 24 public final class TestInfo { 30 public TestInfo(final String testPackage, final String testClass, final String testMethod) {
|
/tools/tradefederation/core/atest/docs/ |
atest_structure.md | 36 transform the user input into a ```TestInfo``` object that contains all of the 42 Once ```TestInfo``` objects have been constructed for all the tests passed in 47 All of the ```TestInfo``` objects get passed into the ```test_runner_handler``` 48 which invokes each ```TestInfo``` specified test runner. In this specific case, 64 * ```test_finders/test_info.py``` - Module that defines ```TestInfo``` class. 67 ```TestInfo```. 86 Test Runners are classes that execute the tests. They consume a ```TestInfo```
|
develop_test_finders.md | 12 user input) and should try to resolve that string into a ```TestInfo``` object. 13 A ```TestInfo``` object holds the test name, test dependencies, test runner, and 47 return a ```TestInfo``` object. Extra bits of info can be stored in the data
|
/tools/tradefederation/core/atest/test_runners/ |
atest_tf_test_runner_unittest.py | 46 MODULE2_INFO = test_info.TestInfo(uc.MODULE2_NAME, 52 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME, 58 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME, 63 CLASS1_CLASS2_MODULE_INFO = test_info.TestInfo( 68 FLAT_CLASS_INFO = test_info.TestInfo( 75 CLASS2_METHOD_INFO = test_info.TestInfo( 83 METHOD_AND_CLASS2_METHOD = test_info.TestInfo( 89 METHOD_METHOD2_AND_CLASS2_METHOD = test_info.TestInfo( 95 METHOD2_INFO = test_info.TestInfo(
|
/frameworks/base/libs/hwui/tests/unit/ |
main.cpp | 41 auto testinfo = ::testing::UnitTest::GetInstance()->current_test_info(); local 42 printf("[ FAILED ] %s.%s\n", testinfo->test_case_name(), testinfo->name());
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
UserManagerHelperTest.java | 80 UserInfo testInfo = new UserInfo(); 82 testInfo.id = UserHandle.USER_SYSTEM; 83 assertThat(mHelper.userIsSystemUser(testInfo)).isTrue(); 85 testInfo.id = UserHandle.USER_SYSTEM + 2; // Make it different than system id. 86 assertThat(mHelper.userIsSystemUser(testInfo)).isFalse(); 160 UserInfo testInfo = new UserInfo(); 163 testInfo.id = UserHandle.USER_SYSTEM; 164 assertThat(mHelper.userCanBeRemoved(testInfo)).isFalse(); 166 testInfo.id = UserHandle.USER_SYSTEM + 2; // Make it different than system id. 167 assertThat(mHelper.userCanBeRemoved(testInfo)).isTrue() [all...] |
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
CarUserManagerHelperTest.java | 94 UserInfo testInfo = new UserInfo(); 96 testInfo.id = UserHandle.USER_SYSTEM; 97 assertThat(mHelper.isSystemUser(testInfo)).isTrue(); 99 testInfo.id = UserHandle.USER_SYSTEM + 2; // Make it different than system id. 100 assertThat(mHelper.isSystemUser(testInfo)).isFalse(); 201 UserInfo testInfo = new UserInfo(); 204 testInfo.id = UserHandle.USER_SYSTEM; 205 assertThat(mHelper.canUserBeRemoved(testInfo)).isFalse(); 207 testInfo.id = UserHandle.USER_SYSTEM + 2; // Make it different than system id. 208 assertThat(mHelper.canUserBeRemoved(testInfo)).isTrue() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RefactoringTest.java | 299 TestContext testInfo = createTestContext(); 300 testInfo.mFile = file; 301 testInfo.mStructuredModel = structuredModel; 302 testInfo.mStructuredDocument = structuredDocument; 303 testInfo.mElement = element; 304 testInfo.mDomDocument = domDocument; 305 testInfo.mUiModel = model; 306 testInfo.mViewInfo = info; 307 testInfo.mRootView = rootView; 308 testInfo.mLayoutEditorDelegate = layoutEditor [all...] |
/frameworks/native/libs/gui/tests/ |
GLTest.cpp | 32 const ::testing::TestInfo* const testInfo = 34 ALOGV("Begin test: %s.%s", testInfo->test_case_name(), testInfo->name()); 136 const ::testing::TestInfo* const testInfo = 138 ALOGV("End test: %s.%s", testInfo->test_case_name(), testInfo->name());
|
StreamSplitter_test.cpp | 37 const ::testing::TestInfo* const testInfo = 39 ALOGV("Begin test: %s.%s", testInfo->test_case_name(), 40 testInfo->name()); 44 const ::testing::TestInfo* const testInfo = 46 ALOGV("End test: %s.%s", testInfo->test_case_name(), 47 testInfo->name());
|
/frameworks/ml/nn/runtime/test/benchmark/src/com/example/android/nn/benchmark/ |
NNBenchmark.java | 73 String testInfo; 89 r.testInfo = mTest.getTestInfo(); 121 ", avg=" + r.totalTime / r.iterations * 1000.f + " " + r.testInfo); 167 mTestInfo[ct] = r.testInfo; 234 intent.putExtra("testinfo", mTestInfo);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
DeviceOwnerNegativeTestActivity.java | 30 import com.android.cts.verifier.IntentDrivenTestActivity.TestInfo; 73 final TestInfo provisioningNegativeTestInfo = new TestInfo(
|