/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/ |
D | ChangeReporterTest.java | 35 ChangeReporter reporter = new ChangeReporter(ChangeReporter.SOURCE_UNKNOWN_SOURCE); in testStatsLogOnce() local 40 assertTrue(reporter.shouldWriteToStatsLog(myUid, myChangeId, myState)); in testStatsLogOnce() 41 reporter.reportChange(myUid, myChangeId, myState); in testStatsLogOnce() 44 assertFalse(reporter.shouldWriteToStatsLog(myUid, myChangeId, myState)); in testStatsLogOnce() 46 assertTrue(reporter.shouldWriteToStatsLog(otherUid, myChangeId, myState)); in testStatsLogOnce() 47 assertTrue(reporter.shouldWriteToStatsLog(myUid, otherChangeId, myState)); in testStatsLogOnce() 48 assertTrue(reporter.shouldWriteToStatsLog(myUid, myChangeId, otherState)); in testStatsLogOnce() 53 ChangeReporter reporter = new ChangeReporter(ChangeReporter.SOURCE_UNKNOWN_SOURCE); in testStatsLogAfterReset() local 58 assertTrue(reporter.shouldWriteToStatsLog(myUid, myChangeId, myState)); in testStatsLogAfterReset() 59 reporter.reportChange(myUid, myChangeId, myState); in testStatsLogAfterReset() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FrameMetricsReporterTests.cpp | 40 auto reporter = std::make_shared<FrameMetricsReporter>(); in TEST() local 45 reporter->addObserver(observer.get()); in TEST() 51 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 55 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 59 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 63 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 72 auto reporter = std::make_shared<FrameMetricsReporter>(); in TEST() local 76 reporter->addObserver(observer.get()); in TEST() 80 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 84 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() [all …]
|
D | JankTrackerTests.cpp | 35 std::unique_ptr<FrameMetricsReporter> reporter = std::make_unique<FrameMetricsReporter>(); in TEST() local 48 jankTracker.finishFrame(*info, reporter, frameNumber, surfaceId); in TEST() 58 jankTracker.finishFrame(*info, reporter, frameNumber, surfaceId); in TEST() 69 std::unique_ptr<FrameMetricsReporter> reporter = std::make_unique<FrameMetricsReporter>(); in TEST() local 82 jankTracker.finishFrame(*info, reporter, frameNumber, surfaceId); in TEST() 92 std::unique_ptr<FrameMetricsReporter> reporter = std::make_unique<FrameMetricsReporter>(); in TEST() local 105 jankTracker.finishFrame(*info, reporter, frameNumber, surfaceId); in TEST() 116 std::unique_ptr<FrameMetricsReporter> reporter = std::make_unique<FrameMetricsReporter>(); in TEST() local 130 jankTracker.finishFrame(*info, reporter, frameNumber, surfaceId); in TEST() 143 jankTracker.finishFrame(*info, reporter, frameNumber, surfaceId); in TEST() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | SurfaceControlRegistryTests.java | 122 TestReporter reporter = new TestReporter(); in testThresholds() local 123 registry.setReportingThresholds(4 /* max */, 2 /* reset */, reporter); in testThresholds() 130 reporter.assertMaxThresholdExceededCallCount(1); in testThresholds() 131 reporter.assertLastReportedSetEquals(sc1, sc2, sc3, sc4); in testThresholds() 136 reporter.assertMaxThresholdExceededCallCount(1); in testThresholds() 137 reporter.assertLastReportedSetEquals(sc1, sc2, sc3, sc4); in testThresholds() 148 reporter.assertMaxThresholdExceededCallCount(2); in testThresholds() 149 reporter.assertLastReportedSetEquals(sc5, sc6, sc7, sc8); in testThresholds()
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Instrument.java | 386 public InstrumentationWatcher(StatusReporter reporter) { in InstrumentationWatcher() argument 387 mReporter = reporter; in InstrumentationWatcher() 472 StatusReporter reporter = null; in run() local 478 reporter = new ProtoStatusReporter(); in run() 480 reporter = new TextStatusReporter(rawMode); in run() 486 if (reporter != null) { in run() 487 watcher = new InstrumentationWatcher(reporter); in run() 549 reporter.onError("INSTRUMENTATION_ABORTED: System has crashed.", false); in run() 555 if (reporter != null) { in run() 556 reporter.onError(ex.getMessage(), true); in run()
|
/frameworks/base/core/java/android/window/ |
D | TransitionMetrics.java | 32 private TransitionMetrics(ITransitionMetricsReporter reporter) { in TransitionMetrics() argument 33 mTransitionMetricsReporter = reporter; in TransitionMetrics()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 190 benchmark::BenchmarkReporter* reporter) { in run() argument 193 doRun(info, opts, i, reporter ? &results : nullptr); in run() 195 if (reporter) { in run() 196 reporter->ReportRuns(results); in run() 208 reporter->ReportRuns(summary); in run()
|
D | main.cpp | 52 benchmark::BenchmarkReporter* reporter);
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControlRegistry.java | 166 Reporter reporter) { in setReportingThresholds() argument 174 if (reporter == null) { in setReportingThresholds() 180 mReporter = reporter; in setReportingThresholds() 402 int resetReportingThreshold, Reporter reporter) {} in setReportingThresholds() argument
|
/frameworks/base/libs/hwui/ |
D | JankTracker.cpp | 170 void JankTracker::finishFrame(FrameInfo& frame, std::unique_ptr<FrameMetricsReporter>& reporter, in finishFrame() argument 263 if (CC_UNLIKELY(reporter.get() != nullptr)) { in finishFrame() 264 reporter->reportFrameMetrics(frame.data(), false /* hasPresentTime */, frameNumber, in finishFrame()
|
D | JankTracker.h | 60 void finishFrame(FrameInfo& frame, std::unique_ptr<FrameMetricsReporter>& reporter,
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 206 static void runBenchmarkInBackground(Runnable thunk, ResultListener reporter) { in runBenchmarkInBackground() argument 238 reporter.onResult(resultMean, resultStdev); in runBenchmarkInBackground()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowKeyValueBackupTask.java | 65 KeyValueBackupReporter reporter, in __constructor__() argument
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 227 KeyValueBackupReporter reporter = in start() local 238 reporter, in start() 315 KeyValueBackupReporter reporter, in KeyValueBackupTask() argument 329 mReporter = reporter; in KeyValueBackupTask()
|
/frameworks/base/cmds/incidentd/src/ |
D | IncidentService.cpp | 195 sp<Reporter> reporter = new Reporter(mWorkDirectory, batch, mRegisteredSections); in take_report() local 202 reporter->runReport(&reportByteSize); in take_report()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 3218 for (const auto& [displayId, reporter] : mHdrLayerInfoListeners) { in onCompositionPresented() 3219 if (reporter && reporter->hasListeners()) { in onCompositionPresented() 3221 hdrInfoListeners.emplace_back(display->getCompositionDisplay(), reporter); in onCompositionPresented()
|