Home
last modified time | relevance | path

Searched refs:results (Results 1 – 25 of 37) sorted by relevance

12

/cts/suite/cts/hostTests/jank/src/com/android/cts/jank/
DCtsHostJankTest.java117 HashMap<String, Double> results = new HashMap<String, Double>(4); in runUiAutomatorTest() local
121 results.put(parts[0], Double.parseDouble(parts[1])); in runUiAutomatorTest()
125 Log.logAndDisplay(LogLevel.INFO, TAG, "Results: " + results); in runUiAutomatorTest()
126 assertEquals("Could not parse the results file: ", 4, results.size()); in runUiAutomatorTest()
128 double avgNumJanks = results.get("average number of jankiness"); in runUiAutomatorTest()
129 double maxNumJanks = results.get("max number of jankiness"); in runUiAutomatorTest()
130 double avgFrameRate = results.get("average frame rate"); in runUiAutomatorTest()
131 double avgMaxAccFrames = results.get("average of max accumulated frames"); in runUiAutomatorTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyLineActivity.java376 private void computeResultsForVector(VectorAverage freqAverage,Results results) { in computeResultsForVector() argument
383 results.mValuesLog = new double[points]; in computeResultsForVector()
385 results.mValuesLog[i] = 20 * Math.log10(values[i]); in computeResultsForVector()
398 results.mAverageEnergyPerBand[currentBand] += results.mValuesLog[i]; in computeResultsForVector()
399 results.mPointsPerBand[currentBand]++; in computeResultsForVector()
404 if (results.mPointsPerBand[b] > 0) { in computeResultsForVector()
405 results.mAverageEnergyPerBand[b] = in computeResultsForVector()
406 results.mAverageEnergyPerBand[b] / results.mPointsPerBand[b]; in computeResultsForVector()
412 bandSpecsArray[b].setOffset(results.mAverageEnergyPerBand[1]); in computeResultsForVector()
426 double value = results.mValuesLog[i]; in computeResultsForVector()
[all …]
DAudioFrequencySpeakerActivity.java423 private void computeResultsForVector(VectorAverage freqAverage,Results results, boolean isBase, in computeResultsForVector() argument
426 results.mIsBaseMeasurement = isBase; in computeResultsForVector()
432 results.mValuesLog = new double[points]; in computeResultsForVector()
434 results.mValuesLog[i] = 20 * Math.log10(values[i]); in computeResultsForVector()
447 results.mAverageEnergyPerBand[currentBand] += results.mValuesLog[i]; in computeResultsForVector()
448 results.mPointsPerBand[currentBand]++; in computeResultsForVector()
453 if (results.mPointsPerBand[b] > 0) { in computeResultsForVector()
454 results.mAverageEnergyPerBand[b] = in computeResultsForVector()
455 results.mAverageEnergyPerBand[b] / results.mPointsPerBand[b]; in computeResultsForVector()
461 bandSpecs[b].setOffset(results.mAverageEnergyPerBand[1]); in computeResultsForVector()
[all …]
DAudioFrequencyMicActivity.java542 private boolean computeResultsForVector(VectorAverage freqAverage, Results results, in computeResultsForVector() argument
545 results.mIsBaseMeasurement = isBase; in computeResultsForVector()
551 results.mValuesLog = new double[points]; in computeResultsForVector()
553 results.mValuesLog[i] = 20 * Math.log10(values[i]); in computeResultsForVector()
566 results.mAverageEnergyPerBand[currentBand] += results.mValuesLog[i]; in computeResultsForVector()
567 results.mPointsPerBand[currentBand]++; in computeResultsForVector()
572 if (results.mPointsPerBand[b] > 0) { in computeResultsForVector()
573 results.mAverageEnergyPerBand[b] = in computeResultsForVector()
574 results.mAverageEnergyPerBand[b] / results.mPointsPerBand[b]; in computeResultsForVector()
580 bandSpecs[b].setOffset(results.mAverageEnergyPerBand[1]); in computeResultsForVector()
[all …]
/cts/suite/cts/deviceTests/ui/src/com/android/cts/ui/
DScrollingTest.java61 double[] results = MeasureTime.measure(NUMBER_REPEAT, new MeasureRun() { in testFullScrolling() local
69 getReportLog().printArray("scrolling time", results, ResultType.LOWER_BETTER, in testFullScrolling()
71 Stat.StatResult stat = Stat.getStat(results); in testFullScrolling()
/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_StatusUpdatesTest.java61 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in setUp() local
62 assertNotNull(results[0].uri); in setUp()
63 assertNotNull(results[1].uri); in setUp()
65 dataId = ContentUris.parseId(results[1].uri); in setUp()
113 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in insertStatusUpdate() local
114 assertNotNull(results[0].uri); in insertStatusUpdate()
115 return results[0].uri; in insertStatusUpdate()
DContactsContract_StreamItemsTest.java129 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in testContentUri() local
130 long rawContactId = ContentUris.parseId(results[0].uri); in testContentUri()
133 Uri streamItemUri = results[1].uri; in testContentUri()
155 results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in testContentUri()
156 assertEquals(Integer.valueOf(1), results[0].count); in testContentUri()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java219 List<ScanResult> results = batchScanCallback.getBatchScanResults(); in testBatchScan() local
220 assertTrue(!results.isEmpty()); in testBatchScan()
223 verifyTimestamp(results, 0, scanEndMillis); in testBatchScan()
227 private void verifyTimestamp(Collection<ScanResult> results, long scanStartMillis, in verifyTimestamp() argument
229 for (ScanResult result : results) { in verifyTimestamp()
251 public void onBatchScanResults(List<ScanResult> results) { in onBatchScanResults() argument
254 mBatchScanResults.addAll(results); in onBatchScanResults()
DScanCallbackTest.java97 public void onBatchScanResults(List<ScanResult> results) { in onBatchScanResults() argument
/cts/suite/cts/hostTests/uihost/control/src/com/android/cts/taskswitching/control/
DTaskswitchingDeviceTest.java74 double[] results = MeasureTime.measure(NUMBER_REPEAT, new MeasureRun() { in testMeasureTaskSwitching() local
86 getReportLog().printArray("taskswitching time", results, ResultType.LOWER_BETTER, in testMeasureTaskSwitching()
88 Stat.StatResult stat = Stat.getStat(results); in testMeasureTaskSwitching()
/cts/tests/tests/util/src/android/util/cts/
DRationalTest.java332 Rational results = serializeRoundTrip(badZero); in testSerialize() local
333 fail("Deserializing " + results + " should not have succeeded"); in testSerialize()
340 Rational results = serializeRoundTrip(badPosInfinity); in testSerialize() local
341 fail("Deserializing " + results + " should not have succeeded"); in testSerialize()
349 Rational results = serializeRoundTrip(badNegInfinity); in testSerialize() local
350 fail("Deserializing " + results + " should not have succeeded"); in testSerialize()
357 Rational results = serializeRoundTrip(badReduced); in testSerialize() local
358 fail("Deserializing " + results + " should not have succeeded"); in testSerialize()
365 Rational results = serializeRoundTrip(badReducedNeg); in testSerialize() local
366 fail("Deserializing " + results + " should not have succeeded"); in testSerialize()
/cts/suite/cts/utils/
Dgrapher.py46 results = tests[benchmark]
53 for r in results:
Dget_csv_report.py93 self.results = {}
116 self.results.update(casesFromChild)
124 return self.results
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestResultRepo.java108 TestResults results = new TestResults(); in getResult() local
111 results.parse(new BufferedReader(new FileReader(resultFile))); in getResult()
112 return results; in getResult()
/cts/tests/tests/net/src/android/net/cts/
DDnsTest.java174 ArrayList<String> results = new ArrayList<String>(); in skiptestDnsPerf() local
203 results.add(thisResult); in skiptestDnsPerf()
246 results.add(thisResult); in skiptestDnsPerf()
248 for (String result : results) Log.d(TAG, result); in skiptestDnsPerf()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbase.js175 this.results.push(result);
183 var mean = BenchmarkSuite.GeometricMean(this.results);
241 this.results = []; property
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DBLASData.java650 String[] results = data.split(" "); in loadMNK() local
651 dM = Integer.parseInt(results[0]); in loadMNK()
652 dN = Integer.parseInt(results[1]); in loadMNK()
653 dK = Integer.parseInt(results[2]); in loadMNK()
654 KL = Integer.parseInt(results[3]); in loadMNK()
655 KU = Integer.parseInt(results[4]); in loadMNK()
666 String[] results = data.split(", "); in loadFloatArray() local
668 float[] floatArr = new float[results.length]; in loadFloatArray()
670 floatArr[i] = Float.parseFloat(results[i]); in loadFloatArray()
684 String[] results = data.split(", "); in loadDoubleArray() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java247 protected void onPostExecute(Set<File> results) { in onPostExecute() argument
248 super.onPostExecute(results); in onPostExecute()
252 if (results != null) { in onPostExecute()
254 for (File result : results) { in onPostExecute()
/cts/tests/tests/widget/src/android/widget/cts/
DFilterTest.java180 protected void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument
183 mResults = results; in publishResults()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListAdapter.java212 Map<String, Integer> results, in RefreshResult() argument
216 mResults = results; in RefreshResult()
233 Map<String, Integer> results = new HashMap<String, Integer>(); in getRefreshResults() local
247 results.put(testName, testResult); in getRefreshResults()
257 return new RefreshResult(items, results, details, reportLogs); in getRefreshResults()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraDeviceTest.java421 final LinkedBlockingQueue<Throwable> results = new LinkedBlockingQueue<>(); in testChainedOperation() local
447 results.offer(success); in testChainedOperation()
449 results.offer(t); in testChainedOperation()
461 results.offer(t); in testChainedOperation()
483 results.offer(success); in testChainedOperation()
485 results.offer(t); in testChainedOperation()
496 results.offer(t); in testChainedOperation()
514 results.offer(success); in testChainedOperation()
518 results.offer(t); in testChainedOperation()
523 results.offer(t2); in testChainedOperation()
[all …]
DReprocessCaptureTest.java1217 TotalCaptureResult[] results = new TotalCaptureResult[isReprocessCaptures.length]; in doMixedReprocessBurstCapture() local
1221 results[i] = submitCaptureRequest(mFirstImageReader.getSurface(), in doMixedReprocessBurstCapture()
1236 TotalCaptureResult[] finalResults = submitMixedCaptureBurstRequest(outputSurfaces, results); in doMixedReprocessBurstCapture()
1336 TotalCaptureResult[] results; in submitMixedCaptureBurstRequest() local
1338 results = new TotalCaptureResult[outputs.length]; in submitMixedCaptureBurstRequest()
1340 for (int i = 0; i < results.length; i++){ in submitMixedCaptureBurstRequest()
1341 results[i] = captureCallback.getTotalCaptureResultForRequest( in submitMixedCaptureBurstRequest()
1346 results = captureCallback.getTotalCaptureResultsForRequests( in submitMixedCaptureBurstRequest()
1355 return results; in submitMixedCaptureBurstRequest()
DPerformanceTest.java447 CaptureResult[] results = new CaptureResult[timestampGap.length]; in reprocessingCaptureStallTestByCamera() local
449 for (int j = 0; j < results.length; j++) { in reprocessingCaptureStallTestByCamera()
450 results[j] = mZslResultListener.getCaptureResult( in reprocessingCaptureStallTestByCamera()
453 timestampGap[j] = results[j].get(CaptureResult.SENSOR_TIMESTAMP) - in reprocessingCaptureStallTestByCamera()
454 results[j - 1].get(CaptureResult.SENSOR_TIMESTAMP); in reprocessingCaptureStallTestByCamera()
458 frameDurationsNs[j] = results[j].get(CaptureResult.SENSOR_FRAME_DURATION); in reprocessingCaptureStallTestByCamera()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java83 boolean[] results = new boolean[commands.length]; in onGetSupportedCommands()
86 results[idx] = Utils.TEST_COMMAND.equals(commands[idx]); in onGetSupportedCommands()
87 Log.i(TAG, "command " + commands[idx] + ", support = " + results[idx]); in onGetSupportedCommands()
89 return results; in onGetSupportedCommands()
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/
DCtsUiAutomatorTest.java811 UiObject results = new UiObject(new UiSelector().className( in testPinchOut() local
814 String allPointers = results.getText(); in testPinchOut()
865 UiObject results = new UiObject(new UiSelector().className( in testPinchIn() local
868 String allPointers = results.getText(); in testPinchIn()
914 UiObject results = new UiObject(new UiSelector().className( in testDragToObject() local
917 String allPointers = results.getText(); in testDragToObject()
951 UiObject results = new UiObject(new UiSelector().className( in testDragToCoordinates() local
954 String allPointers = results.getText(); in testDragToCoordinates()

12