/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/ |
D | ChangeReporterTest.java | 27 ChangeReporter reporter = new ChangeReporter(ChangeReporter.SOURCE_UNKNOWN_SOURCE); in testStatsLogOnce() local 32 assertTrue(reporter.shouldWriteToStatsLog(myUid, myChangeId, myState)); in testStatsLogOnce() 33 reporter.reportChange(myUid, myChangeId, myState); in testStatsLogOnce() 36 assertFalse(reporter.shouldWriteToStatsLog(myUid, myChangeId, myState)); in testStatsLogOnce() 38 assertTrue(reporter.shouldWriteToStatsLog(otherUid, myChangeId, myState)); in testStatsLogOnce() 39 assertTrue(reporter.shouldWriteToStatsLog(myUid, otherChangeId, myState)); in testStatsLogOnce() 40 assertTrue(reporter.shouldWriteToStatsLog(myUid, myChangeId, otherState)); in testStatsLogOnce() 45 ChangeReporter reporter = new ChangeReporter(ChangeReporter.SOURCE_UNKNOWN_SOURCE); in testStatsLogAfterReset() local 50 assertTrue(reporter.shouldWriteToStatsLog(myUid, myChangeId, myState)); in testStatsLogAfterReset() 51 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/services/core/java/com/android/server/pm/dex/ |
D | SystemServerDexLoadReporter.java | 73 SystemServerDexLoadReporter reporter = new SystemServerDexLoadReporter(pm); in configureSystemServerDexReporter() local 74 BaseDexClassLoader.setReporter(reporter); in configureSystemServerDexReporter() 75 ClassLoader currrentClassLoader = reporter.getClass().getClassLoader(); in configureSystemServerDexReporter()
|
/frameworks/base/core/java/android/window/ |
D | TransitionMetrics.java | 32 private TransitionMetrics(ITransitionMetricsReporter reporter) { in TransitionMetrics() argument 33 mTransitionMetricsReporter = reporter; in TransitionMetrics()
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Instrument.java | 381 public InstrumentationWatcher(StatusReporter reporter) { in InstrumentationWatcher() argument 382 mReporter = reporter; in InstrumentationWatcher() 466 StatusReporter reporter = null; in run() local 472 reporter = new ProtoStatusReporter(); in run() 474 reporter = new TextStatusReporter(rawMode); in run() 480 if (reporter != null) { in run() 481 watcher = new InstrumentationWatcher(reporter); in run() 540 reporter.onError("INSTRUMENTATION_ABORTED: System has crashed.", false); in run() 546 if (reporter != null) { in run() 547 reporter.onError(ex.getMessage(), true); in run()
|
/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 | 50 benchmark::BenchmarkReporter* reporter);
|
/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 | 226 KeyValueBackupReporter reporter = in start() local 236 reporter, in start() 313 KeyValueBackupReporter reporter, in KeyValueBackupTask() argument 327 mReporter = reporter; in KeyValueBackupTask()
|
/frameworks/base/cmds/incidentd/src/ |
D | IncidentService.cpp | 193 sp<Reporter> reporter = new Reporter(mWorkDirectory, batch, mRegisteredSections); in take_report() local 200 reporter->runReport(&reportByteSize); in take_report()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 2496 for (const auto& [displayId, reporter] : mHdrLayerInfoListeners) { in postComposition() 2497 if (reporter && reporter->hasListeners()) { in postComposition() 2499 hdrInfoListeners.emplace_back(display->getCompositionDisplay(), reporter); in postComposition()
|