/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/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/build/ |
D | CompatibilityBuildProvider.java | 70 private String mBranch = null; 75 private String mBuildId = null; 78 private String mBuildFlavor = null; 84 private String mBuildFlavorPrefix = null; 87 private String mBuildTarget = null; 103 private String mUrlSuiteNameOverride = null; 121 if (mTestTag != null) { in injectBuildAttributes() 140 String version = null; in getBuild() 141 if (mBuildId != null) { in getBuild() 145 if (version == null) { in getBuild() [all …]
|
D | CompatibilityBuildHelper.java | 127 setBusinessLogicHostFile(hostFile, null); in setBusinessLogicHostFile() 137 String key = (moduleId == null) ? "" : moduleId; in setBusinessLogicHostFile() 165 return hasBusinessLogicHostFile(null); in hasBusinessLogicHostFile() 176 String key = (moduleId == null) ? "" : moduleId; in hasBusinessLogicHostFile() 177 return mBuildInfo.getFile(BUSINESS_LOGIC_HOST_FILE + key) != null; in hasBusinessLogicHostFile() 185 return getBusinessLogicHostFile(null); in getBusinessLogicHostFile() 196 String key = (moduleId == null) ? "" : moduleId; in getBusinessLogicHostFile() 205 File dir = null; in getRootDir() 209 if (dir == null || !dir.exists()) { in getRootDir() 298 File testsDir = null; in getTestsDir() [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 | 200 if (report != null) { in passed() 211 if (getResultStatus() == null) { in skipped() 230 mResult = null; in reset() 231 mMessage = null; in reset() 232 mStackTrace = null; in reset() 233 mReport = null; in reset() 234 mBugReport = null; in reset() 235 mLog = null; in reset() 236 mScreenshot = null; in reset() 239 mTestResultHistories = null; in reset() [all …]
|
D | TestResultHistory.java | 76 if (o == null || getClass() != o.getClass()) { in equals() 101 if (resultHistory == null) { in serialize() 105 serializer.startTag(null, RUN_HISTORY_TAG); in serialize() 109 serializer.attribute(null, SUB_TEST_ATTR, name); in serialize() 113 serializer.startTag(null, RUN_TAG); in serialize() 114 serializer.attribute(null, START_TIME_ATTR, String.valueOf(execRecord.getStartTime())); in serialize() 115 serializer.attribute(null, END_TIME_ATTR, String.valueOf(execRecord.getEndTime())); in serialize() 117 null, IS_AUTOMATED_ATTR, String.valueOf(execRecord.getIsAutomated())); in serialize() 118 serializer.endTag(null, RUN_TAG); in serialize() 120 serializer.endTag(null, RUN_HISTORY_TAG); in serialize() [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/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/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationSuiteResultReporter.java | 152 private File mResultDir = null; 154 private File mLogDir = null; 187 if (mBuildHelper == null) { in invocationStarted() 190 if (mResultDir == null) { in invocationStarted() 210 if (mTestLogSaver == null) { in testLog() 211 LogFile info = new LogFile(name, null, type); in testLog() 217 File logFile = null; in testLog() 276 if (mReferenceUrl == null && summary.getSummary().getString() != null) { in putSummary() 297 if (mResultDir != null) { in initializeResultDirectories() 304 if (mResultDir == null) { in initializeResultDirectories() [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 …]
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
D | VtsPythonVirtualenvPreparer.java | 70 protected File mVenvDir = null; 73 private File mRequirementsFile = null; 101 private IBuildInfo mBuildInfo = null; 102 private DeviceDescriptor mDescriptor = null; 105 String mLocalPypiPath = null; 106 String mPipPath = null; 110 private Map<String, String> mPipInstallList = null; 124 if (mVenvDir == null) { in setUp() 126 if (mVenvDir == null) { in setUp() 163 mVenvDir = null; in tearDown() [all …]
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | BenchmarkResult.java | 76 if (validationErrors == null) { in BenchmarkResult() 82 if (evaluatorKeys == null) { in BenchmarkResult() 87 if (evaluatorResults == null) { in BenchmarkResult() 212 if (mLatencyCompileWithoutCache != null) { in toString() 216 if (mLatencySaveToCache != null) { in toString() 219 if (mLatencyPrepareFromCache != null) { in toString() 234 if (!hasBenchmarkError()) return null; in getBenchmarkError() 264 if (mLatencyCompileWithoutCache != null) { in toBundle() 267 if (mLatencySaveToCache != null) { in toBundle() 270 if (mLatencyPrepareFromCache != null) { in toBundle() [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ResultReporter.java | 126 private Integer mRetrySessionId = null; 133 private RetryType mRetryType = null; 162 private File mResultDir = null; 163 private File mLogDir = null; 168 private CountDownLatch mFinalized = null; 204 private IConfiguration mConfiguration = null; 210 this(null); in ResultReporter() 234 if (mBuildHelper == null) { in invocationStarted() 237 if (mDeviceSerial == null && primaryBuild.getDeviceSerial() != null) { in invocationStarted() 252 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/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() 86 String shellCmdPut = (mSetValue != null) ? in run() 91 if (mSetValue != null && !mExpectedSettingValues.isEmpty()) { in run() 110 if (mSetValue != null) { in run() [all …]
|
D | DynamicConfigPusher.java | 73 private String mModuleName = null; 93 private String mResourceFileName = null; 98 private String mDynamicConfigName = null; 102 private IInvocationContext mModuleContext = null; 125 (mModuleContext != null) ? getSuiteName() : TestSuiteInfo.getInstance().getName(); in setUp() 127 if (mModuleName == null) { in setUp() 130 if (buildHelper.getDynamicConfigFiles().get(mModuleName) != null) { in setUp() 135 if (mVersion == null) { in setUp() 139 String apfeConfigInJson = null; in setUp() 140 String requestUrl = null; in setUp() [all …]
|
D | BusinessLogicPreparer.java | 136 private String mModuleName = null; 139 private String mModuleVersion = null; 143 private IAbi mAbi = null; 144 private IInvocationContext mModuleContext = null; 177 if (mModuleName == null) { in setUp() 181 if (mModuleVersion == null) { in setUp() 187 String businessLogicString = null; in setUp() 191 || (businessLogicString = readFromCache(baseUrl, requestParams)) == null) { in setUp() 195 while (businessLogicString == null in setUp() 205 if (businessLogicString == null) { in setUp() [all …]
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
D | VtsMultiDeviceTest.java | 167 private ITestDevice mDevice = null; 168 private IAbi mAbi = null; 186 private String mTestModuleName = null; 190 private String mTestCasePath = null; 194 private String mTestCasePathType = null; 198 private String mTestConfigPath = null; 202 private String mPreconditionHwBinderServiceName = null; 206 private String mPreconditionFeature = null; 224 private String mPreconditionLshal = null; 229 private String mPreconditionSysProp = null; [all …]
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/ |
D | VtsPythonRunnerHelperTest.java | 42 private VtsPythonRunnerHelper mVtsPythonRunnerHelper = null; 56 private String path = null; in createMockRunUtil() 72 if (path != null) { in createMockRunUtil() 93 runUtil.setWorkingDir(null); in createMockRunUtil() 102 new VtsPythonRunnerHelper(new File(mVirtualenvPath), null, runUtil); in testProcessRunSuccess() 106 assertEquals(interruptMessage, null); in testProcessRunSuccess() 116 new VtsPythonRunnerHelper(new File(mVirtualenvPath), null, runUtil); in testProcessRunFailed() 120 assertEquals(interruptMessage, null); in testProcessRunFailed() 130 new VtsPythonRunnerHelper(new File(mVirtualenvPath), null, runUtil); in testProcessRunTimeout() 134 assertEquals(interruptMessage, null); in testProcessRunTimeout() [all …]
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
D | VtsPythonRunnerHelper.java | 48 this(virtualEnvPath == null ? null : new File(virtualEnvPath), workingDir); in VtsPythonRunnerHelper() 105 interruptMessage = null; in runPythonRunner() 109 interruptMessage = (e.getMessage() != null ? e.getMessage() : ""); in runPythonRunner() 123 if (virtualenvPath == null) { in getPythonBinDir() 124 return null; in getPythonBinDir() 129 return null; in getPythonBinDir() 139 if (mVirtualenvPath == null) { in getPythonVirtualEnv() 140 return null; in getPythonVirtualEnv() 155 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()
|