Home
last modified time | relevance | path

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

12

/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DUiResultsFragment.java49 private ArrayList<UiBenchmarkResult> mResults = new ArrayList<>(); field in UiResultsFragment
56 if (mResults.size() == 0 || mResults.get(0) == null) {
61 data = new String[NUM_FIELDS * (1 + mResults.size()) + 2];
71 for (int i = 0; i < mResults.size(); i++) {
76 int currentFrameCount = mResults.get(i).getTotalFrameCount();
80 … double currentAvgFrameDuration = mResults.get(i).getAverage(FrameMetrics.TOTAL_DURATION);
84 … double current99FrameDuration = mResults.get(i).getPercentile(FrameMetrics.TOTAL_DURATION, 99);
88 … double current95FrameDuration = mResults.get(i).getPercentile(FrameMetrics.TOTAL_DURATION, 95);
92 … double current90FrameDuration = mResults.get(i).getPercentile(FrameMetrics.TOTAL_DURATION, 90);
96 double longestFrame = mResults.get(i).getMaximum(FrameMetrics.TOTAL_DURATION);
[all …]
/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.java378 private ScanResult mResults[]; field in WifiScanner.ScanData
385 mResults = results; in ScanData()
395 mResults = results; in ScanData()
403 mResults = new ScanResult[s.mResults.length]; in ScanData()
404 for (int i = 0; i < s.mResults.length; i++) { in ScanData()
405 ScanResult result = s.mResults[i]; in ScanData()
407 mResults[i] = newResult; in ScanData()
430 return mResults; in getResults()
440 if (mResults != null) { in writeToParcel()
445 dest.writeInt(mResults.length); in writeToParcel()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DInstrumentationReporter.java79 + " code=" + rep.mResultCode + " result=" + rep.mResults); in run()
81 rep.mResults); in run()
85 + " code=" + rep.mResultCode + " result=" + rep.mResults); in run()
87 rep.mResults); in run()
91 + rep.mName + " results=" + rep.mResults); in run()
103 final Bundle mResults; field in InstrumentationReporter.Report
111 mResults = results; in Report()
/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/apct-tests/perftests/utils/src/android/perftests/utils/
DManualBenchmarkState.java80 private ArrayList<Long> mResults = new ArrayList<>(); field in ManualBenchmarkState
117 mResults.add(duration); in keepRunning()
118 final boolean keepRunning = mResults.size() < mMaxIterations; in keepRunning()
120 mStats = new Stats(mResults); in keepRunning()
140 sb.append("iteration=").append(mResults.size()).append(", ");
141 sb.append("values=").append(mResults.toString());
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()
/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/tests/FrameworkPerf/src/com/android/frameworkperf/
DFrameworkPerfTest.java31 synchronized (activity.mResults) { in testFrameworkPerf()
32 assertTrue("test results were empty.", activity.mResults.size() > 0); in testFrameworkPerf()
33 for (RunResult result : activity.mResults) { in testFrameworkPerf()
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/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/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/test-runner/src/android/test/
DInstrumentationTestRunner.java300 private final Bundle mResults = new Bundle(); field in InstrumentationTestRunner
547 mResults.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in onStart()
548 mResults.putInt(REPORT_KEY_NUM_TOTAL, mTestCount); in onStart()
549 finish(Activity.RESULT_OK, mResults); in onStart()
573 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in onStart()
583 finish(Activity.RESULT_OK, mResults); in onStart()
619 mResults.putString(REPORT_KEY_COVERAGE_PATH, coverageFilePath); in generateCoverageReport()
621 final String currentStream = mResults.getString( in generateCoverageReport()
623 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in generateCoverageReport()
657 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "\nError: " + msg); in reportEmmaError()
DLaunchPerformanceBase.java33 protected Bundle mResults; field in LaunchPerformanceBase
37 mResults = new Bundle(); in LaunchPerformanceBase()
/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/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/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/ml/nn/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp268 if (mResults.has_value()) return Void(); in notify_1_3()
269 mResults.emplace(result); in notify_1_3()
278 mCondition.wait(lock, [this] { return mResults.has_value(); }); in getResults()
280 return mResults.value(); in getResults()
286 std::optional<const sp<V1_3::IPreparedModel>> mResults; member in __anoneca35cec0111::PreparedModelCallback
/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.cpp339 mResults.emplace_back(name, std::move(outputs)); in computeAndVerifyResultsForDevice()
366 mResults.emplace_back(name, std::move(outputs)); in computeAndVerifyResults()
421 for (const auto& [name, results] : mResults) { in dumpTestResults()
440 std::vector<std::pair<std::string, std::vector<TestBuffer>>> mResults; member in android::nn::fuzzing_test::RandomGraphTest
/frameworks/base/test-runner/api/
Dcurrent.txt108 field @Deprecated protected android.os.Bundle mResults;

12