/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | BenchmarkResults.java | 25 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() 63 Collections.sort(mResults); in median() 66 ? (double) (mResults.get(idx) + mResults.get(idx - 1)) / 2 in median() 67 : mResults.get(idx); in median() 71 final int size = mResults.size(); in standardDeviation() [all …]
|
D | BenchmarkRunner.java | 38 private final BenchmarkResults mResults = new BenchmarkResults(); field in BenchmarkRunner 65 mResults.addDuration(System.nanoTime() - mStartTimeNs - mPausedDurationNs); in startNextTestRun() 104 return mResults.getStatsToReport(); in getStatsToReport() 108 return mResults.getStatsToLog(); in getStatsToLog() 112 return mResults.getAllDurations(); in getAllDurations()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | UiResultsFragment.java | 49 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/wifi/java/android/net/wifi/ |
D | RttManager.java | 761 public RttResult mResults[]; field in RttManager.ParcelableRttResults 764 mResults = results; in ParcelableRttResults() 772 for (int i = 0; i < mResults.length; ++i) { in toString() 774 sb.append("bssid=" + mResults[i].bssid); in toString() 775 sb.append(", burstNumber=" + mResults[i].burstNumber); in toString() 776 sb.append(", measurementFrameNumber=" + mResults[i].measurementFrameNumber); in toString() 778 + mResults[i].successMeasurementFrameNumber); in toString() 779 sb.append(", frameNumberPerBurstPeer=" + mResults[i].frameNumberPerBurstPeer); in toString() 780 sb.append(", status=" + mResults[i].status); in toString() 781 sb.append(", requestType=" + mResults[i].requestType); in toString() [all …]
|
D | WifiScanner.java | 352 private ScanResult mResults[]; field in WifiScanner.ScanData 359 mResults = results; in ScanData() 369 mResults = results; in ScanData() 377 mResults = new ScanResult[s.mResults.length]; in ScanData() 378 for (int i = 0; i < s.mResults.length; i++) { in ScanData() 379 ScanResult result = s.mResults[i]; in ScanData() 381 mResults[i] = newResult; in ScanData() 404 return mResults; in getResults() 414 if (mResults != null) { in writeToParcel() 419 dest.writeInt(mResults.length); in writeToParcel() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | InstrumentationReporter.java | 79 + " 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/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | ManualBenchmarkState.java | 80 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());
|
D | BenchmarkState.java | 83 private ArrayList<Long> mResults = new ArrayList<>(); field in BenchmarkState 136 mResults.add((currentTime - mStartTimeNs - mPausedDurationNs) / mMaxIterations); in startNextTestRun() 142 mStats = new Stats(mResults); in startNextTestRun() 224 sb.append("iteration=").append(mResults.size()).append(", "); in summaryLine() 226 int sampleNumber = Math.min(mResults.size(), 16); in summaryLine() 228 sb.append("No ").append(i).append(" result is ").append(mResults.get(i)).append(", "); in summaryLine()
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
D | FragmentReceiveResultSupport.java | 63 private TextView mResults; field in FragmentReceiveResultSupport.ReceiveResultFragment 88 Editable text = (Editable)mResults.getText(); 111 mResults = (TextView)v.findViewById(R.id.results); in onCreateView() 114 mResults.setText(mResults.getText(), TextView.BufferType.EDITABLE); in onCreateView() 137 Editable text = (Editable)mResults.getText(); in onActivityResult()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfTest.java | 31 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()
|
D | FrameworkPerfActivity.java | 79 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/ |
D | Automator.java | 89 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/ |
D | CaptureResult.java | 187 private final CameraMetadataNative mResults; field in CaptureResult 212 mResults = CameraMetadataNative.move(results); in CaptureResult() 213 if (mResults.isEmpty()) { in CaptureResult() 216 setNativeInstance(mResults); in CaptureResult() 227 return new CameraMetadataNative(mResults); in getNativeCopy() 241 mResults = CameraMetadataNative.move(results); in CaptureResult() 242 if (mResults.isEmpty()) { in CaptureResult() 246 setNativeInstance(mResults); in CaptureResult() 267 T value = mResults.get(key); in get() 279 return (T) mResults.get(key); in getProtected() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | LaunchPerformanceBase.java | 34 protected Bundle mResults; field in LaunchPerformanceBase 38 mResults = new Bundle(); in LaunchPerformanceBase()
|
D | InstrumentationTestRunner.java | 300 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/libs/hwui/pipeline/skia/ |
D | SkiaMemoryTracer.cpp | 97 auto result = mResults.find(resourceName); in processElement() 98 if (result != mResults.end()) { in processElement() 111 mResults.insert({resourceName, mCurrentValues}); in processElement() 132 for (const auto& namedItem : mResults) { in logOutput()
|
D | SkiaMemoryTracer.h | 83 std::unordered_map<std::string, std::unordered_map<const char*, TraceValue>> mResults; variable
|
/frameworks/ml/nn/runtime/test/benchmark/src/com/example/android/nn/benchmark/ |
D | NNControls.java | 52 private float mResults[]; field in NNControls 155 final float r = mResults[ct]; in writeResults() 171 mResults = new float[NNTestList.TestName.values().length]; in onActivityResult() 186 mResults[id[ct]] = r[ct]; in onActivityResult()
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasControls.java | 60 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/ |
D | IPControls.java | 67 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/ |
D | IPControlsJB.java | 68 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/ |
D | InstrumentationTestRunnerTest.java | 110 String resultsData = instrumentationTestRunner.mResults.getString( in testUnhandledException() 210 private Bundle mResults; field in InstrumentationTestRunnerTest.StubInstrumentationTestRunner 241 mResults = results; in finish()
|
/frameworks/base/api/ |
D | system-current.txt | 3277 field public android.net.wifi.RttManager.RttResult[] mResults; 3523 field public android.net.wifi.WifiScanner.ScanData[] mResults; 3529 field public android.net.wifi.ScanResult[] mResults;
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 2474 Landroid/hardware/camera2/CaptureResult;->mResults:Landroid/hardware/camera2/impl/CameraMetadataNat…
|
D | hiddenapi-public-dex.txt | 26631 Landroid/net/wifi/RttManager$ParcelableRttResults;->mResults:[Landroid/net/wifi/RttManager$RttResul… 27162 Landroid/net/wifi/WifiScanner$ParcelableScanData;->mResults:[Landroid/net/wifi/WifiScanner$ScanData; 27168 Landroid/net/wifi/WifiScanner$ParcelableScanResults;->mResults:[Landroid/net/wifi/ScanResult;
|