/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 …]
|
D | PerformanceUtil.java | 111 if (test == null || baseline == null) { in getBestCasePerformanceComparisonHTML() 165 if (pp == null) continue; in updatePerformanceSummary() 182 if (selectedDevice != null) { in updatePerformanceSummary() 212 if (ppSummary == null) continue; in updatePerformanceSummary() 240 if (test == null || baseline == null) { in getAvgCasePerformanceComparisonHTML() 273 if (profilingRun.getOptions() != null) { in getOptionAlias()
|
/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 …]
|
D | UserFavoriteEntity.java | 49 @Ignore private Key key = null; 51 @Ignore public User user = null; 53 @Ignore public Key testKey = null; 84 this(null, user, testKey, muteNotifications); in UserFavoriteEntity() 95 if (this.key != null) { in toEntity() 116 return null; in fromEntity() 130 return null; in fromEntity()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | BenchmarkResult.java | 77 if (validationErrors == null) { in BenchmarkResult() 83 if (evaluatorKeys == null) { in BenchmarkResult() 88 if (evaluatorResults == null) { in BenchmarkResult() 180 return mLatencyCompileWithoutCache == null ? 0.0f in getCompileWithoutCacheMeanTimeSec() 185 return mLatencySaveToCache == null ? 0.0f : mLatencySaveToCache.getMeanTimeSec(); in getSaveToCacheMeanTimeSec() 189 return mLatencyPrepareFromCache == null ? 0.0f : mLatencyPrepareFromCache.getMeanTimeSec(); in getPrepareFromCacheMeanTimeSec() 226 if (mLatencyCompileWithoutCache != null) { in toString() 230 if (mLatencySaveToCache != null) { in toString() 233 if (mLatencyPrepareFromCache != null) { in toString() 248 if (!hasBenchmarkError()) return null; in getBenchmarkError() [all …]
|
D | NNTestBase.java | 136 if (inputOutputAssets == null && inputOutputDatasets == null) { in NNTestBase() 140 if (inputOutputAssets != null && inputOutputDatasets != null) { in NNTestBase() 185 if (mTemporaryModelFilePath != null) { in setupModel() 192 mNNApiDeviceName.orElse(null), mMmapModel, nnApiCacheDir); in setupModel() 201 if (mEvaluatorConfig != null) { in setupModel() 236 Boolean lastGolden = null; in getInputOutputAssets() 239 if (lastGolden == null) { in getInputOutputAssets() 256 if (inputOutputAssets != null) { in getInputOutputAssets() 261 if (inputOutputDatasets != null) { in getInputOutputAssets() 275 if (mEvaluator == null) { in getDefaultFlags() [all …]
|
D | TestModelsListLoader.java | 71 EvaluatorConfig evaluator = null; in parseJSONModelsList() 77 : null, in parseJSONModelsList() 80 : null); in parseJSONModelsList() 92 InferenceInOutSequence.FromAssets[] inputOutputs = null; in parseJSONModelsList() 101 String[] outputs = null; in parseJSONModelsList() 102 String output = jsonInputOutput.optString("output", null); in parseJSONModelsList() 103 if (output != null) { in parseJSONModelsList() 107 if (outputArray != null) { in parseJSONModelsList() 120 InferenceInOutSequence.FromDataset[] datasets = null; in parseJSONModelsList()
|
D | InferenceInOutSequence.java | 196 Integer[] expectedClasses = null; in readDataset() 197 HashMap<String, Integer> labelMap = null; in readDataset() 198 if (mLabelAssetName != null) { in readDataset() 205 while ((line = labelReader.readLine()) != null) { in readDataset() 210 if (mGroundTruthAssetName != null) { in readDataset() 217 while ((line = truthReader.readLine()) != null) { in readDataset() 218 if (labelMap != null) { in readDataset() 233 if (expectedClasses != null) { in readDataset() 251 sequence.mInputOutputs.add(new InferenceInOut(creator, null, in readDataset()
|
D | Processor.java | 77 if (mTestList != null) { in Processor() 80 mAcceleratorName = null; in Processor() 151 BenchmarkResult result = mRunModelCompilationOnly ? null : getBenchmark( in getInstrumentationResult() 157 mTest = null; in getInstrumentationResult() 187 if (oldTestBase != null) { in changeTest() 314 if (mTest != null) { in run() 317 mTest = null; in run() 379 Collections.emptyList(), null); in benchmarkAllModels() 419 if (mTest != null) { in exitWithTimeout() 421 mTest = null; in exitWithTimeout()
|
D | TestModels.java | 110 null, // Disable evaluation. in withDisabledEvaluation() 117 new AtomicReference<>(null); 122 if (frozenEntries.get() != null) { in registerModel() 129 return frozenEntries.get() != null; in isListFrozen() 138 frozenEntries.compareAndSet(null, sTestModelEntryList); in modelsList()
|
/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 …]
|
D | ShowGraphServlet.java | 94 if (pt == null) return; in processProfilingRun() 96 Graph g = null; in processProfilingRun() 97 if (pt.getLabels() != null && pt.getLabels().size() == pt.getValues().size()) { in processProfilingRun() 99 } else if (pt.getLabels() == null && pt.getValues().size() > 0) { in processProfilingRun() 117 if (devices == null) return null; in getDeviceSummary() 128 RequestDispatcher dispatcher = null; in doGetHandler() 133 Long endTime = null; in doGetHandler() 134 if (request.getParameter("endTime") != null) { in doGetHandler() 141 if (endTime == null) { in doGetHandler() 148 if (!devices.contains(selectedDevice)) selectedDevice = null; in doGetHandler() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/proto/ |
D | VtsReportMessage.java | 98 default: return null; in forNumber() 219 default: return null; in forNumber() 351 default: return null; in forNumber() 483 default: return null; in forNumber() 1566 com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parsedMessage = null; in mergeFrom() 1573 if (parsedMessage != null) { in mergeFrom() 1610 if (value == null) { in setProductType() 1661 if (value == null) { in setProductVariant() 1712 if (value == null) { in setBuildFlavor() 1763 if (value == null) { in setBuildId() [all …]
|
/test/catbox/report/src/com/android/catbox/result/ |
D | JsonResultReporter.java | 74 private String mReportLogName = null; 115 if (mContext == null) { in getPrimaryBuildInfo() 116 return null; in getPrimaryBuildInfo() 132 if (mModuleContext == null) { in getAbiInfo() 137 if (abis == null || abis.isEmpty()) { in getAbiInfo() 164 if (mBuildHelper == null) { in initializeReporterConfig() 170 if (mReportLogName == null) { in initializeReporterConfig() 175 if (mTestMetricsUtil == null) { in initializeReporterConfig() 187 if (mReportTestNameMap != null && mReportTestNameMap.containsKey(classMethodName)) { in writeTestMetrics() 236 if (mReportMetricKeyMap == null || mReportMetricKeyMap.isEmpty()) { in writeMetricsForGivenKeys() [all …]
|
/test/app_compat/csuite/harness/src/main/java/com/android/tradefed/result/ |
D | CompatibilityTestResult.java | 44 public String packageName = null; 45 public String versionString = null; 46 public String versionCode = null; 47 public String name = null; 48 public Integer rank = null; 49 public String status = null; 50 public String message = null;
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | TestRunRestServlet.java | 53 timestamp = timestamp > 0 ? timestamp : null; in getTestRunDetails() 55 return null; in getTestRunDetails() 77 if (testRun == null) return null; in getLatestTestRunDetails() 116 TestRunDetails details = null; in doGet() 118 if (timeString != null && timeString.equals(LATEST)) { in doGet() 120 } else if (timeString != null) { in doGet() 124 if (details == null) { in doGet()
|
D | UserFavoriteRestServlet.java | 72 return null; in addFavorite() 85 Key favoriteKey = null; in addFavorite() 93 if (favoriteKey == null) { in addFavorite() 131 return null; in updateFavorite() 136 return null; in updateFavorite() 166 if (request.getParameter(UserFavoriteEntity.MUTE_NOTIFICATIONS) != null) { in doPost() 175 JsonObject returnData = null; in doPost() 176 if (userFavoritesKeyString != null) { in doPost() 179 } else if (testName != null) { in doPost() 183 if (returnData != null) { in doPost() [all …]
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsCoverageAlertJobServlet.java | 98 if (status == null || status.getTotalLineCount() <= 0 || status.getCoveredLineCount() < 0) { in getTestCoverageStatus() 109 return null; in getTestCoverageStatus() 113 if (testRunEntity == null || !testRunEntity.getHasCodeCoverage()) { in getTestCoverageStatus() 114 return null; in getTestCoverageStatus() 132 if (deviceEntity == null) { in getTestCoverageStatus() 141 String subject = null; in getTestCoverageStatus() 142 String body = null; in getTestCoverageStatus() 257 if (subject != null && body != null) { in getTestCoverageStatus() 302 if (status == null) { in doPost() 319 if (newStatus == null) { in doPost() [all …]
|
/test/app_compat/csuite/harness/src/main/java/com/android/tradefed/util/ |
D | PublicApkUtil.java | 50 if (subDir != null) { in constructApkDir() 53 File latestFile = null; in constructApkDir() 62 return null; in constructApkDir() 80 File tmpFile = FileUtil.createTempFile(remoteFile.getName(), null); in downloadFile() 126 if (parser == null) { in getApkListFromDirectory() 152 File copiedFile = null; in getApkListFromRankingInfo() 153 BufferedReader br = null; in getApkListFromRankingInfo() 159 while ((line = br.readLine()) != null) { in getApkListFromRankingInfo()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/ |
D | CrashTestCoordinator.java | 65 private Messenger mMessenger = null; 66 private IBinder mService = null; 74 if (mService == null) { in isServiceAlive() 82 mMessenger.send(Message.obtain(null, CrashTestService.KILL_PROCESS)); in killServiceProcess() 101 final Message setCommChannelMsg = Message.obtain(null, in onServiceConnected() 153 new AtomicReference<>(null); 204 if (sc != null) { in unbindService() 212 mServiceConnection.compareAndSet(sc, null); in unbindService()
|
D | CrashTestService.java | 52 Messenger lifecycleListener = null; 71 if (lifecycleListener == null) { in notify() 76 final Message message = Message.obtain(null, messageType); in notify() 77 if (messageBody != null) { in notify() 99 Optional.of(messageMaybe -> notify(PROGRESS, messageMaybe.orElse(null)))); in onBind() 117 notify(testResult.isPresent() ? FAILURE : SUCCESS, testResult.orElse(null)); in onBind()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | CrashTestStatus.java | 44 mTestResult = new AtomicReference<>(null); 58 if (mTestResult.compareAndSet(null, testResult)) { in handleCompletionNotification() 59 if (reason != null) { in handleCompletionNotification() 77 handleCompletionNotification(TestResult.CRASH, null); in testCrashed() 82 handleCompletionNotification(TestResult.SUCCESS, null); in testSucceeded()
|