Home
last modified time | relevance | path

Searched refs:mResults (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkResults.java25 private final ArrayList<Long> mResults = new ArrayList<>(); field in BenchmarkResults
28 mResults.add(TimeUnit.NANOSECONDS.toMillis(duration)); in addDuration()
46 return mResults; in getAllDurations()
50 final int size = mResults.size(); in mean()
53 sum += mResults.get(i); in mean()
59 final int size = mResults.size(); in median()
64 final ArrayList<Long> resultsCopy = new ArrayList<>(mResults); in median()
73 final int size = mResults.size(); in standardDeviation()
80 double diff = mResults.get(i) - mean; in standardDeviation()
DBenchmarkRunner.java36 private final BenchmarkResults mResults = new BenchmarkResults(); field in BenchmarkRunner
63 mResults.addDuration(System.nanoTime() - mStartTimeNs - mPausedDurationNs); in startNextTestRun()
97 return mResults.getStatsToReport(); in getStatsToReport()
101 return mResults.getStatsToLog(); in getStatsToLog()
105 return mResults.getAllDurations(); in getAllDurations()
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java762 public RttResult mResults[]; field in RttManager.ParcelableRttResults
765 mResults = results; in ParcelableRttResults()
773 for (int i = 0; i < mResults.length; ++i) { in toString()
775 sb.append("bssid=" + mResults[i].bssid); in toString()
776 sb.append(", burstNumber=" + mResults[i].burstNumber); in toString()
777 sb.append(", measurementFrameNumber=" + mResults[i].measurementFrameNumber); in toString()
779 + mResults[i].successMeasurementFrameNumber); in toString()
780 sb.append(", frameNumberPerBurstPeer=" + mResults[i].frameNumberPerBurstPeer); in toString()
781 sb.append(", status=" + mResults[i].status); in toString()
782 sb.append(", requestType=" + mResults[i].requestType); in toString()
[all …]
DWifiScanner.java506 private final List<ScanResult> mResults; field in WifiScanner.ScanData
509 mResults = new ArrayList<>(); in ScanData()
515 mResults = new ArrayList<>(Arrays.asList(results)); in ScanData()
531 mResults = results; in ScanData()
539 mResults = new ArrayList<>(); in ScanData()
540 for (ScanResult scanResult : s.mResults) { in ScanData()
541 mResults.add(new ScanResult(scanResult)); in ScanData()
564 return mResults.toArray(new ScanResult[0]); in getResults()
570 mResults.add(new ScanResult(result)); in addResults()
585 dest.writeParcelableList(mResults, 0); in writeToParcel()
[all …]
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DFlickerTestBase.java59 private List<TransitionResult> mResults; field in FlickerTestBase
103 mResults = transitionResults.get(transition.getTestTag()); in run()
106 mResults = transition.run().getResults(); in run()
109 + "of Jank").that(mResults).isNotEmpty(); in run()
110 transitionResults.put(transition.getTestTag(), mResults); in run() local
125 for (TransitionResult result : mResults) { in checkResults()
/frameworks/base/services/core/java/com/android/server/am/
DInstrumentationReporter.java80 + " code=" + rep.mResultCode + " result=" + rep.mResults); in run()
82 rep.mResults); in run()
86 + " code=" + rep.mResultCode + " result=" + rep.mResults); in run()
88 rep.mResults); in run()
92 + rep.mName + " results=" + rep.mResults); in run()
104 final Bundle mResults; field in InstrumentationReporter.Report
112 mResults = results; in Report()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DEventResultPersister.java61 private final SparseArray<EventResult> mResults = new SparseArray<>(); field in EventResultPersister
157 if (mResults.get(id) != null) { in EventResultPersister()
161 mResults.put(id, new EventResult(status, legacyStatus, statusMessage)); in EventResultPersister()
169 mResults.clear(); in EventResultPersister()
209 mResults.put(id, new EventResult(status, legacyStatus, statusMessage)); in onEventReceived()
233 results = mResults.clone(); in writeState()
307 resultIndex = mResults.indexOfKey(id); in addObserver()
312 EventResult result = mResults.valueAt(resultIndex); in addObserver()
315 mResults.removeAt(resultIndex); in addObserver()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java84 private ArrayList<Long> mResults = new ArrayList<>(); field in BenchmarkState
137 mResults.add((currentTime - mStartTimeNs - mPausedDurationNs) / mMaxIterations); in startNextTestRun()
143 mStats = new Stats(mResults); in startNextTestRun()
225 sb.append("iteration=").append(mResults.size()).append(", "); in summaryLine()
227 int sampleNumber = Math.min(mResults.size(), 16); in summaryLine()
229 sb.append("No ").append(i).append(" result is ").append(mResults.get(i)).append(", "); in summaryLine()
DManualBenchmarkState.java142 private ArrayList<Long> mResults = new ArrayList<>(); field in ManualBenchmarkState
226 mResults.addAll(durations); in keepRunning()
227 final boolean keepRunning = mResults.size() < mMaxIterations; in keepRunning()
229 mStats = new Stats(mResults); in keepRunning()
341 Log.i(TAG, summaryLine(key, mStats, mResults)); in sendFullStatusReport()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DAutomator.java89 private UiBenchmarkResult mResults; field in Automator.AutomatorHandler
190 if (mResults == null) { in persistResults()
191 mResults = new UiBenchmarkResult(stats); in persistResults()
193 mResults.update(stats); in persistResults()
199 .storeRunResults(mTestName, mRunId, mIteration, mResults); in writeResults()
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java34 protected Bundle mResults; field in LaunchPerformanceBase
38 mResults = new Bundle(); in LaunchPerformanceBase()
DInstrumentationTestRunner.java300 private final Bundle mResults = new Bundle(); field in InstrumentationTestRunner
548 mResults.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in onStart()
549 mResults.putInt(REPORT_KEY_NUM_TOTAL, mTestCount); in onStart()
550 finish(Activity.RESULT_OK, mResults); in onStart()
574 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in onStart()
584 finish(Activity.RESULT_OK, mResults); in onStart()
620 mResults.putString(REPORT_KEY_COVERAGE_PATH, coverageFilePath); in generateCoverageReport()
622 final String currentStream = mResults.getString( in generateCoverageReport()
624 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in generateCoverageReport()
658 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "\nError: " + msg); in reportEmmaError()
/frameworks/base/core/java/android/hardware/camera2/
DCaptureResult.java194 private final CameraMetadataNative mResults; field in CaptureResult
219 mResults = CameraMetadataNative.move(results); in CaptureResult()
220 if (mResults.isEmpty()) { in CaptureResult()
223 setNativeInstance(mResults); in CaptureResult()
234 return new CameraMetadataNative(mResults); in getNativeCopy()
248 mResults = CameraMetadataNative.move(results); in CaptureResult()
249 if (mResults.isEmpty()) { in CaptureResult()
253 setNativeInstance(mResults); in CaptureResult()
274 T value = mResults.get(key); in get()
286 return (T) mResults.get(key); in getProtected()
[all …]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfActivity.java79 final ArrayList<RunResult> mResults = new ArrayList<RunResult>(); field in FrameworkPerfActivity
295 synchronized (mResults) { in completeCurOp()
296 mResults.add(result); in completeCurOp()
408 synchronized (mResults) { in startRunning()
409 mResults.clear(); in startRunning()
428 synchronized (mResults) { in stopRunning()
431 for (int i=0; i<mResults.size(); i++) { in stopRunning()
432 RunResult result = mResults.get(i); in stopRunning()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaMemoryTracer.cpp97 auto result = mResults.find(resourceName); in processElement()
98 if (result != mResults.end()) { in processElement()
112 mResults.insert({resourceName, mCurrentValues}); in processElement()
133 for (const auto& namedItem : mResults) { in logOutput()
DSkiaMemoryTracer.h83 std::unordered_map<std::string, std::unordered_map<const char*, TraceValue>> mResults; variable
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasControls.java60 private float mResults[]; field in BlasControls
156 final float r = mResults[ct]; in writeResults()
170 mResults = new float[BlasTestList.TestName.values().length]; in onActivityResult()
185 mResults[id[ct]] = r[ct]; in onActivityResult()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPControls.java67 private float mResults[]; field in IPControls
261 final float r = mResults[ct]; in writeResults()
276 mResults = new float[IPTestList.TestName.values().length]; in onActivityResult()
288 mResults[id[ct]] = r[ct]; in onActivityResult()
295 geometricMean[t.group] *= rebase(mResults[ct], t); in onActivityResult()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DIPControlsJB.java68 private float mResults[]; field in IPControlsJB
262 final float r = mResults[ct]; in writeResults()
277 mResults = new float[IPTestListJB.TestName.values().length]; in onActivityResult()
289 mResults[id[ct]] = r[ct]; in onActivityResult()
296 gm[t.group] *= rebase(mResults[ct], t); in onActivityResult()
/frameworks/base/test-runner/tests/src/android/test/
DInstrumentationTestRunnerTest.java110 String resultsData = instrumentationTestRunner.mResults.getString( in testUnhandledException()
210 private Bundle mResults; field in InstrumentationTestRunnerTest.StubInstrumentationTestRunner
241 mResults = results; in finish()
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp333 mResults.emplace_back(name, std::move(outputs)); in computeAndVerifyResultsForDevice()
360 mResults.emplace_back(name, std::move(outputs)); in computeAndVerifyResults()
415 for (const auto& [name, results] : mResults) { in dumpTestResults()
434 std::vector<std::pair<std::string, std::vector<TestBuffer>>> mResults; member in android::nn::fuzzing_test::RandomGraphTest
/frameworks/base/wifi/api/
Dsystem-current.txt101 field @Deprecated public android.net.wifi.RttManager.RttResult[] mResults;
684 field public android.net.wifi.WifiScanner.ScanData[] mResults;
690 field public android.net.wifi.ScanResult[] mResults;
/frameworks/base/api/
Dsystem-current.txt6898 field @Deprecated public android.net.wifi.RttManager.RttResult[] mResults;
7518 field public android.net.wifi.WifiScanner.ScanData[] mResults;
7524 field public android.net.wifi.ScanResult[] mResults;