Home
last modified time | relevance | path

Searched refs:reporter (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/
DChangeReporterTest.java27 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/macrobench/
DTestSceneRunner.cpp66 benchmark::BenchmarkReporter* reporter, RenderProxy* proxy, in outputBenchmarkReport() argument
91 reporter->ReportRuns(reports); in outputBenchmarkReport()
105 reporter->ReportRuns(reports); in outputBenchmarkReport()
111 benchmark::BenchmarkReporter* reporter) { in run() argument
184 if (reporter) { in run()
185 outputBenchmarkReport(info, opts, reporter, proxy.get(), (end - start) / (double)s2ns(1)); in run()
Dmain.cpp49 benchmark::BenchmarkReporter* reporter);
/frameworks/base/services/core/java/com/android/server/pm/dex/
DSystemServerDexLoadReporter.java73 SystemServerDexLoadReporter reporter = new SystemServerDexLoadReporter(pm); in configureSystemServerDexReporter() local
74 BaseDexClassLoader.setReporter(reporter); in configureSystemServerDexReporter()
75 ClassLoader currrentClassLoader = reporter.getClass().getClassLoader(); in configureSystemServerDexReporter()
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java375 public InstrumentationWatcher(StatusReporter reporter) { in InstrumentationWatcher() argument
376 mReporter = reporter; in InstrumentationWatcher()
460 StatusReporter reporter = null; in run() local
466 reporter = new ProtoStatusReporter(); in run()
468 reporter = new TextStatusReporter(rawMode); in run()
474 if (reporter != null) { in run()
475 watcher = new InstrumentationWatcher(reporter); in run()
525 reporter.onError("INSTRUMENTATION_ABORTED: System has crashed.", false); in run()
531 if (reporter != null) { in run()
532 reporter.onError(ex.getMessage(), true); in run()
/frameworks/base/startop/apps/test/src/
DSystemServerBenchmarks.java206 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/
DShadowKeyValueBackupTask.java62 KeyValueBackupReporter reporter, in __constructor__() argument
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java224 KeyValueBackupReporter reporter = in start() local
233 reporter, in start()
306 KeyValueBackupReporter reporter, in KeyValueBackupTask() argument
318 mReporter = reporter; in KeyValueBackupTask()
/frameworks/base/cmds/incidentd/src/
DIncidentService.cpp193 sp<Reporter> reporter = new Reporter(mWorkDirectory, batch, mRegisteredSections); in take_report() local
200 reporter->runReport(&reportByteSize); in take_report()