/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
D | SubPlanTest.java | 60 subPlan.addIncludeFilter(new TestFilter(null, MODULE_B, null).toString()); in testSerialization() 61 subPlan.addExcludeFilter(new TestFilter(null, MODULE_B, TEST_1).toString()); in testSerialization() 63 excludeFilterSet.add(new TestFilter(null, MODULE_B, TEST_2).toString()); in testSerialization() 64 excludeFilterSet.add(new TestFilter(null, MODULE_B, TEST_3).toString()); in testSerialization() 87 entries.add(generateEntryXml(null, null, in testParsing() 89 entries.add(generateEntryXml(null, MODULE_B, null, true)); in testParsing() 90 entries.add(generateEntryXml(null, null, in testParsing() 91 new TestFilter(null, MODULE_B, TEST_1).toString(), false)); in testParsing() 92 entries.add(generateEntryXml(null, null, in testParsing() 93 new TestFilter(null, MODULE_B, TEST_2).toString(), false)); in testParsing() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | FilterUtil.java | 159 return null; in getFilterForNumber() 168 return null; in getFilterForNumber() 210 if (values.length == 0) return null; in getFirstParameter() 221 Filter deviceFilter = null; in getUserDeviceFilter() 225 if (value == null) continue; in getUserDeviceFilter() 228 if (deviceFilter == null) { in getUserDeviceFilter() 248 if (stringValue == null) continue; in getUserTestFilters() 277 return null; in getTestTypeFilter() 307 if (startTime == null && endTime == null) { in getProfilingTimeFilter() 310 Filter startFilter = null; in getProfilingTimeFilter() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | TestAcknowledgmentEntity.java | 105 if (branches != null) this.branches = new HashSet(branches); in TestAcknowledgmentEntity() 108 if (devices != null) this.devices = new HashSet(devices); in TestAcknowledgmentEntity() 111 if (testCaseNames != null) this.testCaseNames = new HashSet(testCaseNames); in TestAcknowledgmentEntity() 114 if (note != null) this.note = note.getValue(); in TestAcknowledgmentEntity() 115 else this.note = null; in TestAcknowledgmentEntity() 140 this(null, -1, test, userObj, branches, devices, testCaseNames, note); in TestAcknowledgmentEntity() 151 if (this.key == null) ackEntity = new Entity(KIND); in toEntity() 161 if (this.branches != null && this.branches.size() > 0) in toEntity() 164 if (this.devices != null && this.devices.size() > 0) in toEntity() 167 if (this.testCaseNames != null && this.testCaseNames.size() > 0) in toEntity() [all …]
|
D | ProfilingPointRunEntity.java | 126 this.labels = labels == null ? null : new ArrayList<>(labels); in ProfilingPointRunEntity() 162 this.labels = labels == null ? null : new ArrayList<>(labels); in ProfilingPointRunEntity() 205 com.googlecode.objectify.Key<ProfilingPointRunEntity> profilingPointRunEntityKey = null; in saveMultiRow() 238 if (this.labels != null) { in toEntity() 244 if (this.options != null) { in toEntity() 260 || e.getKey().getName() == null in fromEntity() 267 return null; in fromEntity() 277 List<String> labels = null; in fromEntity() 281 List<String> options = null; in fromEntity() 291 return null; in fromEntity() [all …]
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ReportLog.java | 127 serializer.startTag(null, METRIC_TAG); in serialize() 128 serializer.attribute(null, SOURCE_ATTR, getSource()); in serialize() 129 serializer.attribute(null, MESSAGE_ATTR, getMessage()); in serialize() 130 serializer.attribute(null, SCORETYPE_ATTR, getType().toReportString()); in serialize() 131 serializer.attribute(null, SCOREUNIT_ATTR, getUnit().toReportString()); in serialize() 133 serializer.startTag(null, VALUE_TAG); in serialize() 135 serializer.endTag(null, VALUE_TAG); in serialize() 137 serializer.endTag(null, METRIC_TAG); in serialize() 142 parser.require(XmlPullParser.START_TAG, null, METRIC_TAG); in parse() 143 String source = parser.getAttributeValue(null, SOURCE_ATTR); in parse() [all …]
|
D | TestResult.java | 197 if (report != null) { in passed() 208 if (getResultStatus() == null) { in skipped() 227 mResult = null; in reset() 228 mMessage = null; in reset() 229 mStackTrace = null; in reset() 230 mReport = null; in reset() 231 mBugReport = null; in reset() 232 mLog = null; in reset() 233 mScreenshot = null; in reset() 276 if (trace != null) { in sanitizeStackTrace() [all …]
|
D | MetricsXmlSerializer.java | 36 if (reportLog == null) { in serialize() 41 if (summary != null) { in serialize() 42 mXmlSerializer.startTag(null, "Summary"); in serialize() 43 mXmlSerializer.attribute(null, "message", summary.getMessage()); in serialize() 44 mXmlSerializer.attribute(null, "scoreType", summary.getType().toReportString()); in serialize() 45 mXmlSerializer.attribute(null, "unit", summary.getUnit().toReportString()); in serialize() 47 mXmlSerializer.endTag(null, "Summary"); in serialize()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/ |
D | CompatibilityBuildProvider.java | 67 private String mBranch = null; 72 private String mBuildId = null; 75 private String mBuildFlavor = null; 81 private String mBuildFlavorPrefix = null; 84 private String mBuildTarget = null; 100 private String mUrlSuiteNameOverride = null; 118 if (mTestTag != null) { in injectBuildAttributes() 137 String version = null; in getBuild() 138 if (mBuildId != null) { in getBuild() 142 if (version == null) { in getBuild() [all …]
|
D | CompatibilityBuildHelper.java | 128 setBusinessLogicHostFile(hostFile, null); in setBusinessLogicHostFile() 138 String key = (moduleId == null) ? "" : moduleId; in setBusinessLogicHostFile() 166 return hasBusinessLogicHostFile(null); in hasBusinessLogicHostFile() 177 String key = (moduleId == null) ? "" : moduleId; in hasBusinessLogicHostFile() 178 return mBuildInfo.getFile(BUSINESS_LOGIC_HOST_FILE + key) != null; in hasBusinessLogicHostFile() 186 return getBusinessLogicHostFile(null); in getBusinessLogicHostFile() 197 String key = (moduleId == null) ? "" : moduleId; in getBusinessLogicHostFile() 206 File dir = null; in getRootDir() 210 if (dir == null || !dir.exists()) { in getRootDir() 289 File testsDir = null; in getTestsDir() [all …]
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/ |
D | RetryFilterHelperTest.java | 42 RetryFilterHelper helper = new RetryFilterHelper(null, 0); in testSetAllOptionsFrom() 43 RetryFilterHelper otherObj = new RetryFilterHelper(null, 0, TEST_STRING, in testSetAllOptionsFrom() 44 new HashSet<String>(), new HashSet<String>(), null ,null, null, null); in testSetAllOptionsFrom() 58 RetryFilterHelper helper = new RetryFilterHelper(null, 0, TEST_STRING, include, exclude, in testClearOptions() 61 assertTrue(helper.mSubPlan == null); in testClearOptions() 64 assertTrue(helper.mAbiName == null); in testClearOptions() 65 assertTrue(helper.mModuleName == null); in testClearOptions() 66 assertTrue(helper.mTestName == null); in testClearOptions() 67 assertTrue(helper.mRetryType == null); in testClearOptions()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/ |
D | RetryFilterHelper.java | 49 protected String mAbiName = null; 50 protected String mModuleName = null; 51 protected String mTestName = null; 52 protected RetryType mRetryType = null; 55 private CompatibilityBuildHelper mBuild = null; 105 if (oldBuildFingerprint == null) { in validateBuildFingerprint() 136 mSubPlan = null; in clearOptions() 139 mModuleName = null; in clearOptions() 140 mTestName = null; in clearOptions() 141 mRetryType = null; in clearOptions() [all …]
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
D | VtsMultiDeviceTest.java | 165 private ITestDevice mDevice = null; 166 private IAbi mAbi = null; 184 private String mTestModuleName = null; 188 private String mTestCasePath = null; 192 private String mTestCasePathType = null; 196 private String mTestConfigPath = null; 200 private String mPreconditionHwBinderServiceName = null; 204 private String mPreconditionFeature = null; 222 private String mPreconditionLshal = null; 227 private String mPreconditionSysProp = null; [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ResultReporter.java | 120 private Integer mRetrySessionId = null; 127 private RetryType mRetryType = null; 149 private File mResultDir = null; 150 private File mLogDir = null; 155 private CountDownLatch mFinalized = null; 192 private IConfiguration mConfiguration = null; 198 this(null); in ResultReporter() 223 if (mBuildHelper == null) { in invocationStarted() 226 if (mDeviceSerial == null && primaryBuild.getDeviceSerial() != null) { in invocationStarted() 241 if (primaryBuild.getDeviceSerial() != null) { in invocationStarted() [all …]
|
D | SubPlanHelper.java | 81 private String mSubPlanName = null; 85 private Integer mSessionId = null; 106 private String mModuleName = null; 111 private String mTestName = null; 116 private String mAbiName = null; 123 File mSubPlanFile = null; 124 IInvocationResult mResult = null; 147 InputStream subPlanInputStream = null; in getSubPlanByName() 192 if (subPlan != null) { in createAndSerializeSubPlan() 203 return null; in createAndSerializeSubPlan() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowTreeServlet.java | 95 if (testCaseRun == null) { in processTestDetails() 107 boolean unfiltered = request.getParameter("unfiltered") != null; in doGetHandler() 108 boolean showPresubmit = request.getParameter("showPresubmit") != null; in doGetHandler() 109 boolean showPostsubmit = request.getParameter("showPostsubmit") != null; in doGetHandler() 110 Long startTime = null; // time in microseconds in doGetHandler() 111 Long endTime = null; // time in microseconds in doGetHandler() 113 RequestDispatcher dispatcher = null; in doGetHandler() 118 if (request.getParameter("testName") == null) { in doGetHandler() 124 if (request.getParameter("startTime") != null) { in doGetHandler() 128 startTime = startTime > 0 ? startTime : null; in doGetHandler() [all …]
|
D | ShowPlanReleaseServlet.java | 75 request.getParameter("type") == null ? "plan" : request.getParameter("type"); in getBreadcrumbLinks() 105 if (device == null || deviceSet.contains(device)) return; in addDevice() 134 request.getParameter("type") == null ? "plan" : request.getParameter("type"); in doGetHandler() 158 Long startTime = null; // time in microseconds in getTestPlanDispatcher() 159 Long endTime = null; // time in microseconds in getTestPlanDispatcher() 160 if (request.getParameter("startTime") != null) { in getTestPlanDispatcher() 164 startTime = startTime > 0 ? startTime : null; in getTestPlanDispatcher() 166 startTime = null; in getTestPlanDispatcher() 169 if (request.getParameter("endTime") != null) { in getTestPlanDispatcher() 173 endTime = endTime > 0 ? endTime : null; in getTestPlanDispatcher() [all …]
|
D | ShowTableServlet.java | 68 if (testRunEntity == null) { in processTestRun() 92 boolean unfiltered = request.getParameter("unfiltered") != null; in doGetHandler() 93 boolean showPresubmit = request.getParameter("showPresubmit") != null; in doGetHandler() 94 boolean showPostsubmit = request.getParameter("showPostsubmit") != null; in doGetHandler() 96 Long startTime = null; // time in microseconds in doGetHandler() 97 Long endTime = null; // time in microseconds in doGetHandler() 99 RequestDispatcher dispatcher = null; in doGetHandler() 104 if (request.getParameter("testName") == null) { in doGetHandler() 110 if (request.getParameter("startTime") != null) { in doGetHandler() 114 startTime = startTime > 0 ? startTime : null; in doGetHandler() [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationSuiteResultReporter.java | 109 private File mResultDir = null; 111 private File mLogDir = null; 119 private IConfiguration mConfiguration = null; 144 if (mBuildHelper == null) { in invocationStarted() 147 if (mResultDir == null) { in invocationStarted() 163 File logFile = null; in testLog() 222 if (mReferenceUrl == null && summary.getSummary().getString() != null) { in putSummary() 252 if (mResultDir != null) { in initializeResultDirectories() 259 if (mResultDir == null) { in initializeResultDirectories() 276 if (mLogDir != null && mLogDir.mkdirs()) { in initializeResultDirectories() [all …]
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
D | VtsPythonVirtualenvPreparer.java | 74 protected File mVenvDir = null; 77 private File mRequirementsFile = null; 100 private IBuildInfo mBuildInfo = null; 101 private DeviceDescriptor mDescriptor = null; 104 String mLocalPypiPath = null; 105 String mPipPath = null; 117 private Map<String, String> mPipInstallList = null; 151 if (!mReuse && mVenvDir != null && mIsDirCreator) { in tearDown() 158 mVenvDir = null; in tearDown() 183 if (mLocalPypiPath == null) { in setLocalPypiPath() [all …]
|
D | VtsCoveragePreparer.java | 85 private File mDeviceInfoPath = null; // host path where coverage device artifacts are stored 86 private String mEnforcingState = null; // start state for selinux enforcement 87 private IRunUtil mRunUtil = null; 97 private String mCoverageReportDir = null; 106 if (buildId == null) { in setUp() 111 boolean sancovEnabled = (flavor != null) && flavor.contains(SANCOV_FLAVOR); in setUp() 114 boolean gcovEnabled = (coverageProperty != null) && coverageProperty.equals("1"); in setUp() 127 if (mRunUtil == null) { in setUp() 135 if (artifactFetcher == null) { in setUp() 159 if (commandResult == null || commandResult.getStatus() != CommandStatus.SUCCESS in setUp() [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | SettingsPreparer.java | 45 protected String mSettingName = null; 51 protected SettingType mSettingType = null; 54 protected String mSetValue = null; 60 protected String mFailureMessage = null; 66 if (mSettingName == null) { in run() 71 if (mSettingType == null) { in run() 77 if (mSetValue == null && mExpectedSettingValues.isEmpty()) { in run() 84 String shellCmdPut = (mSetValue != null) ? in run() 89 if (mSetValue != null && !mExpectedSettingValues.isEmpty()) { in run() 108 if (mSetValue != null) { in run() [all …]
|
D | DynamicConfigPusher.java | 74 private String mModuleName = null; 94 private String mResourceFileName = null; 99 private String mDynamicConfigName = null; 103 private IInvocationContext mModuleContext = null; 127 (mModuleContext != null) ? getSuiteName() : TestSuiteInfo.getInstance().getName(); in setUp() 129 if (mModuleName == null) { in setUp() 132 if (buildHelper.getDynamicConfigFiles().get(mModuleName) != null) { in setUp() 137 if (mVersion == null) { in setUp() 141 String apfeConfigInJson = null; in setUp() 142 String requestUrl = null; in setUp() [all …]
|
D | BusinessLogicPreparer.java | 137 private String mModuleName = null; 140 private String mModuleVersion = null; 144 private IAbi mAbi = null; 145 private IInvocationContext mModuleContext = null; 178 if (mModuleName == null) { in setUp() 182 if (mModuleVersion == null) { in setUp() 188 String businessLogicString = null; in setUp() 192 || (businessLogicString = readFromCache(baseUrl, requestParams)) == null) { in setUp() 196 while (businessLogicString == null in setUp() 206 if (businessLogicString == null) { in setUp() [all …]
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
D | VtsPythonRunnerHelper.java | 47 this(virtualEnvPath == null ? null : new File(virtualEnvPath), workingDir); in VtsPythonRunnerHelper() 85 return null; in runPythonRunner() 93 interruptMessage = null; in runPythonRunner() 97 interruptMessage = (e.getMessage() != null ? e.getMessage() : ""); in runPythonRunner() 128 if (virtualenvPath == null) { in getPythonBinDir() 129 return null; in getPythonBinDir() 134 return null; in getPythonBinDir() 144 if (mVirtualenvPath == null) { in getPythonVirtualEnv() 145 return null; in getPythonVirtualEnv() 160 if (pythonBinDir == null || !new File(pythonBinDir).exists()) { in activateVirtualenv()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/device/metric/ |
D | VtsCoverageCollector.java | 44 private VtsPythonRunnerHelper mPythonRunnerHelper = null; 62 if (buildInfo == null) { in onTestRunEnd() 66 if (mPythonRunnerHelper == null) { in onTestRunEnd() 67 File workingDir = null; in onTestRunEnd() 80 if (gcovDirPath == null) { in onTestRunEnd() 85 if (coverage_report_dir == null) { in onTestRunEnd() 100 if (commandResult == null || commandResult.getStatus() != CommandStatus.SUCCESS) { in onTestRunEnd() 103 if (interruptMessage != null) { in onTestRunEnd() 112 if (gcovDir != null) { in getGcoveResrouceDir() 115 return null; in getGcoveResrouceDir()
|