/libcore/luni/src/main/java/libcore/io/ |
EventLogger.java | 24 private static volatile Reporter REPORTER = new DefaultReporter(); 27 * Used to replace default Reporter for logging events. Must be non-null. 29 public static void setReporter(Reporter reporter) { 30 if (reporter == null) { 31 throw new NullPointerException("reporter == null"); 33 REPORTER = reporter; 37 * Returns non-null Reporter [all...] |
DropBox.java | 24 private static volatile Reporter REPORTER = new DefaultReporter(); 27 * Used to replace default Reporter for logging events. Must be non-null. 29 public static void setReporter(Reporter reporter) { 30 if (reporter == null) { 31 throw new NullPointerException("reporter == null"); 33 REPORTER = reporter; 37 * Returns non-null Reporter [all...] |
/external/chromium_org/content/renderer/media/crypto/ |
key_systems_support_uma.h | 44 class Reporter; 46 // Returns the Reporter for |key_system|. Returns NULL if |key_system| was not 48 Reporter* GetReporter(const std::string& key_system); 50 // Key system <-> Reporter map. 51 typedef base::ScopedPtrHashMap<std::string, Reporter> Reporters;
|
key_systems_support_uma.cc | 54 class KeySystemsSupportUMA::Reporter { 56 explicit Reporter(const std::string& key_system); 57 ~Reporter(); 70 KeySystemsSupportUMA::Reporter::Reporter(const std::string& key_system) 77 KeySystemsSupportUMA::Reporter::~Reporter() {} 79 void KeySystemsSupportUMA::Reporter::Report(bool has_type, bool is_supported) { 98 reporters_.set(key_system, scoped_ptr<Reporter>(new Reporter(key_system))) 103 Reporter* reporter = GetReporter(key_system); local 111 Reporter* reporter = GetReporter(key_system); local 119 Reporters::iterator reporter = reporters_.find(key_system); local [all...] |
/external/chromium_org/third_party/skia/tests/ |
PathOpsExtendedTest.h | 24 void (*fun)(skiatest::Reporter*, const char* filename); 32 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 34 extern bool testPathFailOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 36 extern bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 40 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename); 42 void initializeTests(skiatest::Reporter* reporter, const char* testName) [all...] |
Test.h | 23 class Reporter : public SkRefCnt { 25 SK_DECLARE_INST_COUNT(Reporter) 26 Reporter(); 54 Reporter* getReporter() const { return fReporter; } 55 void setReporter(Reporter*); 69 virtual void onRun(Reporter*) = 0; 72 Reporter* fReporter; 99 DEF_TEST(TestName, reporter) { 101 REPORTER_ASSERT(reporter, x == 15); 103 REPORTER_ASSERT_MESSAGE(reporter, x == 15, "x should be 15") [all...] |
Test.cpp | 27 Reporter::Reporter() : fTestCount(0) { 30 void Reporter::startTest(Test* test) { 34 void Reporter::reportFailed(const SkString& desc) { 38 void Reporter::endTest(Test* test) { 50 void Test::setReporter(Reporter* r) { 61 class LocalReporter : public Reporter { 63 explicit LocalReporter(Reporter* reporterToMimic) : fReporter(reporterToMimic) {} 87 Reporter* fReporter; // Unowned.
|
/external/skia/tests/ |
PathOpsExtendedTest.h | 21 void (*fun)(skiatest::Reporter*, const char* filename); 29 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 31 extern bool testPathFailOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 33 extern bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 37 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename); 39 int initializeTests(skiatest::Reporter* reporter, const char* testName) [all...] |
Test.h | 23 class Reporter : public SkRefCnt { 25 SK_DECLARE_INST_COUNT(Reporter) 26 Reporter(); 55 Reporter* getReporter() const { return fReporter; } 56 void setReporter(Reporter*); 70 virtual void onRun(Reporter*) = 0; 73 Reporter* fReporter; 100 DEF_TEST(TestName, reporter) { 102 REPORTER_ASSERT(reporter, x == 15); 104 REPORTER_ASSERT_MESSAGE(reporter, x == 15, "x should be 15") [all...] |
Test.cpp | 27 Reporter::Reporter() : fTestCount(0) { 30 void Reporter::startTest(Test* test) { 34 void Reporter::reportFailed(const SkString& desc) { 38 void Reporter::endTest(Test* test) { 50 void Test::setReporter(Reporter* r) { 61 class LocalReporter : public Reporter { 63 explicit LocalReporter(Reporter* reporterToMimic) : fReporter(reporterToMimic) {} 91 Reporter* fReporter; // Unowned.
|
/libcore/dalvik/src/main/java/dalvik/system/ |
CloseGuard.java | 122 private static volatile Reporter REPORTER = new DefaultReporter(); 146 * Used to replace default Reporter used to warn of CloseGuard 149 public static void setReporter(Reporter reporter) { 150 if (reporter == null) { 151 throw new NullPointerException("reporter == null"); 153 REPORTER = reporter; 157 * Returns non-null CloseGuard.Reporter [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_reader.h | 23 class Reporter { 25 virtual ~Reporter(); 35 // If "reporter" is non-NULL, it is notified whenever some data is 36 // dropped due to a detected corruption. "*reporter" must remain 43 Reader(SequentialFile* file, Reporter* reporter, bool checksum, 62 Reporter* const reporter_; 95 // Reports dropped bytes to the reporter.
|
/external/chromium_org/third_party/skia/dm/ |
DMTask.h | 32 Task(Reporter* reporter, TaskRunner* taskRunner); 43 Reporter* fReporter; // Unowned. 51 CpuTask(Reporter* reporter, TaskRunner* taskRunner); 63 GpuTask(Reporter* reporter, TaskRunner* taskRunner);
|
DMPDFTask.h | 19 Reporter*, 24 PDFTask(Reporter*,
|
DMReporter.h | 13 class Reporter : SkNoncopyable { 15 Reporter() : fPending(0), fFailed(0) {}
|
DMReporter.cpp | 10 void Reporter::printStatus(SkString name, SkMSec timeMs) const { 34 void Reporter::fail(SkString msg) { 41 void Reporter::getFailures(SkTArray<SkString>* failures) const {
|
DMTestTask.h | 14 class TestReporter : public skiatest::Reporter { 33 CpuTestTask(Reporter*, TaskRunner*, skiatest::TestRegistry::Factory); 47 GpuTestTask(Reporter*, TaskRunner*, skiatest::TestRegistry::Factory);
|
/external/skia/dm/ |
DMTask.h | 31 Task(Reporter* reporter, TaskRunner* taskRunner); 42 Reporter* fReporter; // Unowned. 50 CpuTask(Reporter* reporter, TaskRunner* taskRunner); 62 GpuTask(Reporter* reporter, TaskRunner* taskRunner);
|
DMPDFTask.h | 20 Reporter*, 25 PDFTask(Reporter*,
|
DMReporter.h | 13 class Reporter : SkNoncopyable { 15 Reporter() : fPending(0), fFailed(0) {}
|
DMBenchTask.h | 17 NonRenderingBenchTask(const char* config, Reporter*, TaskRunner*, BenchRegistry::Factory); 30 CpuBenchTask(const char* config, Reporter*, TaskRunner*, BenchRegistry::Factory, SkColorType); 45 Reporter*,
|
DMReporter.cpp | 12 void Reporter::printStatus(SkString name, SkMSec timeMs) const { 32 void Reporter::fail(SkString msg) { 39 void Reporter::getFailures(SkTArray<SkString>* failures) const {
|
DMTestTask.h | 14 class TestReporter : public skiatest::Reporter { 34 CpuTestTask(Reporter*, TaskRunner*, skiatest::TestRegistry::Factory); 48 GpuTestTask(Reporter*, TaskRunner*, skiatest::TestRegistry::Factory);
|
/external/mockito/src/org/mockito/internal/util/ |
MockCreationValidator.java | 7 import org.mockito.exceptions.Reporter;
20 new Reporter().cannotMockFinalClass(classToMock);
31 new Reporter().extraInterfacesCannotContainMockedType(classToMock);
41 new Reporter().mockedTypeIsInconsistentWithSpiedInstanceType(classToMock, spiedInstance);
50 new Reporter().mockedTypeIsInconsistentWithDelegatedInstanceType(classToMock, delegatedInstance);
63 new Reporter().serializableWontWorkForObjectsThatDontImplementSerializable(classToMock);
|
/external/mockito/src/org/mockito/internal/verification/checkers/ |
AtLeastXNumberOfInvocationsChecker.java | 10 import org.mockito.exceptions.Reporter; 19 Reporter reporter = new Reporter(); field in class:AtLeastXNumberOfInvocationsChecker 29 reporter.tooLittleActualInvocations(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, lastLocation);
|