HomeSort by relevance Sort by last modified time
    Searched refs:Reporter (Results 1 - 25 of 230) sorted by null

1 2 3 4 5 6 7 8 910

  /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/skia/dm/
DMReporter.cpp 9 void Reporter::updateStatusLine() const {
23 int32_t Reporter::failed() const {
28 void Reporter::fail(SkString name) {
33 void Reporter::getFailures(SkTArray<SkString>* failures) const {
DMReporter.h 13 class Reporter : SkNoncopyable {
15 Reporter() : fStarted(0), fFinished(0) {}
DMTask.h 20 Task(Reporter* reporter, TaskRunner* taskRunner);
41 Reporter* fReporter;
  /external/skia/tests/
PathOpsExtendedTest.h 21 void (*fun)(skiatest::Reporter*);
29 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
31 extern bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
35 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path);
37 int initializeTests(skiatest::Reporter* reporter, const char* testName);
41 void RunTestSet(skiatest::Reporter* reporter, TestDesc tests[], size_t count
    [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*);
71 virtual void onRun(Reporter*) = 0;
74 Reporter* fReporter;
Test.cpp 24 Reporter::Reporter() : fTestCount(0) {
27 void Reporter::startTest(Test* test) {
32 void Reporter::reportFailed(const SkString& desc) {
36 void Reporter::endTest(Test* test) {
48 void Test::setReporter(Reporter* r) {
60 class LocalReporter : public Reporter {
62 explicit LocalReporter(Reporter* reporterToMimic) : fReporter(reporterToMimic) {}
90 Reporter* fReporter; // Unowned.
TestClassDef.h 17 void MyTestFunction(skiatest::Reporter*)
28 virtual void onRun(Reporter* reporter) SK_OVERRIDE { function(reporter); } \
40 virtual void onRun(Reporter* reporter) SK_OVERRIDE { function(reporter); } \
52 virtual void onRun(Reporter* reporter) SK_OVERRIDE { \
53 function(reporter, GetGrContextFactory());
    [all...]
GrDrawTargetTest.cpp 17 static void test_print(skiatest::Reporter*, const GrDrawTargetCaps* caps) {
23 static void TestGrDrawTarget(skiatest::Reporter* reporter, GrContextFactory* factory) {
32 test_print(reporter, grContext->getGpu()->caps());
PathOpsSimplifyTest.cpp 11 static void testLine1(skiatest::Reporter* reporter) {
17 testSimplify(reporter, path);
20 static void testLine1x(skiatest::Reporter* reporter) {
27 testSimplify(reporter, path);
58 static void testLine2(skiatest::Reporter* reporter) {
63 testSimplify(reporter, path);
66 static void testLine2x(skiatest::Reporter* reporter)
    [all...]
PathOpsTypesTest.cpp 16 static void PathOpsRoughlyTest(skiatest::Reporter* reporter) {
19 REPORTER_ASSERT(reporter, equal);
  /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/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);
MissingInvocationChecker.java 10 import org.mockito.exceptions.Reporter;
19 private final Reporter reporter; field in class:MissingInvocationChecker
23 this(new InvocationsFinder(), new Reporter());
26 MissingInvocationChecker(InvocationsFinder finder, Reporter reporter) {
28 this.reporter = reporter;
40 reporter.argumentsAreDifferent(smartPrinter.getWanted(), smartPrinter.getActual(), similar.getLocation());
42 reporter.wantedButNotInvoked(wanted, invocations)
    [all...]
NonGreedyNumberOfInvocationsInOrderChecker.java 8 import org.mockito.exceptions.Reporter;
22 private final Reporter reporter; field in class:NonGreedyNumberOfInvocationsInOrderChecker
26 this(new InvocationsFinder(), new Reporter(), new InvocationMarker());
29 NonGreedyNumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter, InvocationMarker marker ) {
31 this.reporter = reporter;
41 reporter.tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastLocation );
NumberOfInvocationsChecker.java 10 import org.mockito.exceptions.Reporter;
20 private final Reporter reporter; field in class:NumberOfInvocationsChecker
25 this(new Reporter(), new InvocationsFinder());
28 NumberOfInvocationsChecker(Reporter reporter, InvocationsFinder finder) {
29 this.reporter = reporter;
39 reporter.tooLittleActualInvocations(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation);
42 reporter.neverWantedButInvoked(wanted, firstUndesired);
    [all...]
NumberOfInvocationsInOrderChecker.java 10 import org.mockito.exceptions.Reporter;
21 private final Reporter reporter; field in class:NumberOfInvocationsInOrderChecker
26 this(new InvocationsFinder(), new Reporter());
29 NumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter) {
31 this.reporter = reporter;
41 reporter.tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation);
44 reporter.tooManyActualInvocationsInOrder(wantedCount, actualCount, wanted, firstUndesired)
    [all...]
  /external/objenesis/tck/src/org/objenesis/tck/
Reporter.java 34 public interface Reporter {
  /external/mockito/src/org/mockito/internal/configuration/injection/filter/
FinalMockCandidateFilter.java 7 import org.mockito.exceptions.Reporter;
34 new Reporter().cannotInjectDependency(field, matchingMock, e);
  /external/mockito/src/org/mockito/internal/invocation/
MatchersBinder.java 9 import org.mockito.exceptions.Reporter;
35 new Reporter().invalidUseOfMatchers(expectedMatchersSize, lastMatchers);

Completed in 377 milliseconds

1 2 3 4 5 6 7 8 910