/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/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() 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()
|
D | BenchmarkRunner.java | 36 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/ |
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 | 378 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/ |
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 | 84 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/ |
D | EventResultPersister.java | 61 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/FlickerTests/lib/src/com/android/server/wm/flicker/ |
D | TransitionRunner.java | 111 private List<TransitionResult> mResults = null; field in TransitionRunner 142 mResults = new ArrayList<>(); in run() 157 mResults.add(saveResult(iteration)); in run() 174 if (mResults == null) { in getResults() 177 return mResults; in getResults() 186 if (mResults == null) { in deleteResults() 189 mResults.stream() in deleteResults() 192 mResults = null; in deleteResults()
|
/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 | 194 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/ |
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() 112 mResults.insert({resourceName, mCurrentValues}); in processElement() 133 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/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/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/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/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 | 4542 field @Deprecated public android.net.wifi.RttManager.RttResult[] mResults; 4819 field public android.net.wifi.WifiScanner.ScanData[] mResults; 4825 field public android.net.wifi.ScanResult[] mResults;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 50981 Landroid/net/wifi/WifiScanner$ScanData;->mResults:[Landroid/net/wifi/ScanResult;
|