/external/skqp/tests/ |
MetaDataTest.cpp | 12 static void test_ptrs(skiatest::Reporter* reporter) { 14 REPORTER_ASSERT(reporter, ref.unique()); 21 REPORTER_ASSERT(reporter, md0.findRefCnt(name)); 22 REPORTER_ASSERT(reporter, md0.hasRefCnt(name, &ref)); 23 REPORTER_ASSERT(reporter, !ref.unique()); 26 REPORTER_ASSERT(reporter, md1.findRefCnt(name)); 27 REPORTER_ASSERT(reporter, md1.hasRefCnt(name, &ref)); 28 REPORTER_ASSERT(reporter, !ref.unique()); 30 REPORTER_ASSERT(reporter, md0.removeRefCnt(name)) [all...] |
PDFDeflateWStreamTest.cpp | 31 std::unique_ptr<SkStreamAsset> stream_inflate(skiatest::Reporter* reporter, SkStream* src) { 49 ERRORF(reporter, "Zlib: inflateInit failed"); 90 ERRORF(reporter, "write failed"); 100 ERRORF(reporter, "Zlib: inflateEnd failed");
|
PathOpsQuadLineIntersectionTest.cpp | 79 static void testOneOffs(skiatest::Reporter* reporter) { 99 REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY)); 104 DEF_TEST(PathOpsQuadLineIntersectionOneOff, reporter) { 105 testOneOffs(reporter); 108 DEF_TEST(PathOpsQuadLineIntersection, reporter) { 122 REPORTER_ASSERT(reporter, 0); 126 REPORTER_ASSERT(reporter, 0); 131 REPORTER_ASSERT(reporter, result == lineQuadTests[index].result); 137 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1) [all...] |
PathOpsQuadLineIntersectionThreadedTest.cpp | 43 static void testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad, 65 REPORTER_ASSERT(reporter, found); 115 DEF_TEST(PathOpsQuadLineIntersectionThreaded, reporter) { 116 initializeTests(reporter, "testQuadLineIntersect"); 117 PathOpsThreadedTestRunner testRunner(reporter); 124 if (!reporter->allowExtendedTest()) goto finish;
|
PathRendererCacheTests.cpp | 71 static void test_path(skiatest::Reporter* reporter, 93 REPORTER_ASSERT(reporter, cache_non_scratch_resources_equals(cache, 0)); 98 REPORTER_ASSERT(reporter, cache_non_scratch_resources_equals(cache, expected)); 102 REPORTER_ASSERT(reporter, cache_non_scratch_resources_equals(cache, expected)); 108 REPORTER_ASSERT(reporter, cache_non_scratch_resources_equals(cache, expected - 1)); 112 DEF_GPUTEST(TessellatingPathRendererCacheTest, reporter, /* options */) { 121 test_path(reporter, create_concave_path, createPR, kExpectedResources); 129 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kNone, style); 133 DEF_GPUTEST(SoftwarePathRendererCacheTest, reporter, /* options */) [all...] |
PremulAlphaRoundTripTest.cpp | 64 static void test_premul_alpha_roundtrip(skiatest::Reporter* reporter, SkSurface* surf) { 93 REPORTER_ASSERT(reporter, success = pixels1[x] == pixels2[x]); 99 DEF_TEST(PremulAlphaRoundTrip, reporter) { 104 test_premul_alpha_roundtrip(reporter, surf.get()); 107 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(PremulAlphaRoundTrip_Gpu, reporter, ctxInfo) { 113 test_premul_alpha_roundtrip(reporter, surf.get());
|
ProxyRefTest.cpp | 52 static void check_refs(skiatest::Reporter* reporter, 58 REPORTER_ASSERT(reporter, proxy->getProxyRefCnt_TestOnly() == expectedProxyRefs); 59 REPORTER_ASSERT(reporter, proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs); 60 REPORTER_ASSERT(reporter, proxy->getPendingReadCnt_TestOnly() == expectedNumReads); 61 REPORTER_ASSERT(reporter, proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites); 92 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ProxyRefTest, reporter, ctxInfo) { 106 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites); 111 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites); 124 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites) [all...] |
ReadPixelsTest.cpp | 167 static bool check_read(skiatest::Reporter* reporter, 197 ERRORF(reporter, "Expected readback alpha (%d, %d) value 0x%02x, got 0x%02x. ", 205 ERRORF(reporter, "Expected clipped out area of readback to be unchanged. " 227 ERRORF(reporter, "Expected readback pixel (%d, %d) value 0x%08x, got 0x%08x. " 235 ERRORF(reporter, "Expected clipped out area of readback to be unchanged. " 343 static void test_readpixels(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, 369 REPORTER_ASSERT(reporter, success == expectSuccess); 371 REPORTER_ASSERT(reporter, idBefore == idAfter) [all...] |
RecordOptsTest.cpp | 105 static void assert_savelayer_restore(skiatest::Reporter* r, 119 static void assert_savelayer_draw_restore(skiatest::Reporter* r, 210 static void assert_merge_svg_opacity_and_filter_layers(skiatest::Reporter* r, 392 static void do_savelayer_srcmode(skiatest::Reporter* r, SkColor color) {
|
SkSLFPTest.cpp | 14 static void test(skiatest::Reporter* r, const char* src, const GrShaderCaps& caps,
|
SwizzlerTest.cpp | 18 static void check_fill(skiatest::Reporter* r,
|
TextBlobCacheTest.cpp | 47 static void text_blob_cache_inner(skiatest::Reporter* reporter, GrContext* context, 62 REPORTER_ASSERT(reporter, surface); 127 REPORTER_ASSERT(reporter, surface); 150 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobCache, reporter, ctxInfo) { 151 text_blob_cache_inner(reporter, ctxInfo.grContext(), 1024, 256, 30, true, false); 154 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressCache, reporter, ctxInfo) { 155 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, true, true); 158 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobAbnormal, reporter, ctxInfo) { 159 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, false) [all...] |
TextBlobTest.cpp | 20 static void TestBuilder(skiatest::Reporter* reporter) { 24 RunBuilderTest(reporter, builder, nullptr, 0, nullptr, 0); 29 RunBuilderTest(reporter, builder, set1, SK_ARRAY_COUNT(set1), set1, SK_ARRAY_COUNT(set1)); 34 RunBuilderTest(reporter, builder, set2, SK_ARRAY_COUNT(set2), set2, SK_ARRAY_COUNT(set2)); 39 RunBuilderTest(reporter, builder, set3, SK_ARRAY_COUNT(set3), set3, SK_ARRAY_COUNT(set3)); 46 RunBuilderTest(reporter, builder, set4, SK_ARRAY_COUNT(set4), set4, SK_ARRAY_COUNT(set4)); 57 RunBuilderTest(reporter, builder, set5, SK_ARRAY_COUNT(set5), mergedSet5, 68 RunBuilderTest(reporter, builder, set6, SK_ARRAY_COUNT(set6), mergedSet6, 96 RunBuilderTest(reporter, builder, set7, SK_ARRAY_COUNT(set7), mergedSet7 [all...] |
VkMakeCopyPipelineTest.cpp | 33 void test(GrVkGpu* gpu, skiatest::Reporter* reporter) { 69 REPORTER_ASSERT(reporter, false); 77 REPORTER_ASSERT(reporter, false); 112 REPORTER_ASSERT(reporter, false); 126 REPORTER_ASSERT(reporter, tex.get()); 131 REPORTER_ASSERT(reporter, rt); 141 REPORTER_ASSERT(reporter, copyPipeline); 178 DEF_GPUTEST_FOR_VULKAN_CONTEXT(VkMakeCopyPipelineTest, reporter, ctxInfo) { 183 copyProgram.test(gpu, reporter); [all...] |
VkUploadPixelsTests.cpp | 55 void basic_texture_test(skiatest::Reporter* reporter, GrContext* context, GrPixelConfig config, 79 REPORTER_ASSERT(reporter, proxy); 86 REPORTER_ASSERT(reporter, result); 87 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, 94 REPORTER_ASSERT(reporter, result); 99 REPORTER_ASSERT(reporter, result); 101 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, 110 REPORTER_ASSERT(reporter, proxy); 117 REPORTER_ASSERT(reporter, result) [all...] |
YUVTest.cpp | 16 static void codec_yuv(skiatest::Reporter* reporter, 24 REPORTER_ASSERT(reporter, codec); 32 REPORTER_ASSERT(reporter, !success); 34 REPORTER_ASSERT(reporter, (expectedSizes == nullptr) == !success); 38 REPORTER_ASSERT(reporter, 40 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kY] == 42 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kU] == 44 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kV] == 48 REPORTER_ASSERT(reporter, [all...] |
LazyProxyTest.cpp | 32 LazyProxyTest(skiatest::Reporter* reporter) 33 : fReporter(reporter) 175 skiatest::Reporter* fReporter; 180 DEF_GPUTEST(LazyProxyTest, reporter, /* options */) { 187 LazyProxyTest test(reporter); 192 REPORTER_ASSERT(reporter, rtc); 196 REPORTER_ASSERT(reporter, mockAtlas); 205 DEF_GPUTEST(LazyProxyReleaseTest, reporter, /* options */) { 228 REPORTER_ASSERT(reporter, 0 == testCount) [all...] |
RefCntTest.cpp | 22 static void test_refCnt(skiatest::Reporter* reporter) { 31 REPORTER_ASSERT(reporter, ref->unique()); 52 static void test_weakRefCnt(skiatest::Reporter* reporter) { 65 REPORTER_ASSERT(reporter, ref->unique()); 66 SkDEBUGCODE(REPORTER_ASSERT(reporter, ref->getWeakCnt() == 1)); 70 DEF_TEST(RefCnt, reporter) { 71 test_refCnt(reporter); 72 test_weakRefCnt(reporter); [all...] |
/frameworks/base/core/java/android/app/ |
DexLoadReporter.java | 37 * A dex load reporter which will notify package manager of any dex file loaded 46 /*package*/ class DexLoadReporter implements BaseDexClassLoader.Reporter { 69 * Register an application data directory with the reporter.
|
/external/google-breakpad/src/common/ |
dwarf_cu_to_module_unittest.cc | 1730 DwarfCUToModule::WarningReporter reporter; member in struct:Reporter [all...] |
dwarf_cfi_to_module_unittest.cc | 49 struct MockCFIReporter: public DwarfCFIToModule::Reporter { 51 : Reporter(file, section) { } 60 reporter("reporter file", "reporter section"), 61 handler(&module, register_names, &reporter) { 74 EXPECT_CALL(reporter, UnnamedRegister(_, _)).Times(0); 75 EXPECT_CALL(reporter, UndefinedNotSupported(_, _)).Times(0); 76 EXPECT_CALL(reporter, ExpressionsNotSupported(_, _)).Times(0); 81 MockCFIReporter reporter; member in struct:DwarfCFIToModuleFixture [all...] |
/external/autotest/server/site_tests/network_WiFi_RoamOnLowPower/ |
network_WiFi_RoamOnLowPower.py | 18 class Reporter(object): 30 """Initializes reporter. 127 reporter = Reporter(connection) 132 stdout_tee=reporter,
|
/external/skia/tests/ |
RefCntTest.cpp | 22 static void test_refCnt(skiatest::Reporter* reporter) { 31 REPORTER_ASSERT(reporter, ref->unique()); 52 static void test_weakRefCnt(skiatest::Reporter* reporter) { 65 REPORTER_ASSERT(reporter, ref->unique()); 66 SkDEBUGCODE(REPORTER_ASSERT(reporter, ref->getWeakCnt() == 1)); 70 DEF_TEST(RefCnt, reporter) { 71 test_refCnt(reporter); 72 test_weakRefCnt(reporter); [all...] |
ResourceAllocatorTest.cpp | 64 static void overlap_test(skiatest::Reporter* reporter, GrResourceProvider* resourceProvider, 76 REPORTER_ASSERT(reporter, GrResourceAllocator::AssignError::kNoError == error); 78 REPORTER_ASSERT(reporter, p1->priv().peekSurface()); 79 REPORTER_ASSERT(reporter, p2->priv().peekSurface()); 81 REPORTER_ASSERT(reporter, expectedResult == doTheBackingStoresMatch); 86 static void non_overlap_test(skiatest::Reporter* reporter, GrResourceProvider* resourceProvider, 98 REPORTER_ASSERT(reporter, GrResourceAllocator::AssignError::kNoError == error); 100 REPORTER_ASSERT(reporter, p1->priv().peekSurface()) [all...] |
TypefaceTest.cpp | 24 static void TypefaceStyle_test(skiatest::Reporter* reporter, 66 REPORTER_ASSERT(reporter, 76 REPORTER_ASSERT(reporter, 80 DEF_TEST(TypefaceStyle, reporter) { 83 REPORT_FAILURE(reporter, "fonts/Em.ttf", SkString("Cannot load resource")); 90 TypefaceStyle_test(reporter, weight, 5, data.get()); 93 TypefaceStyle_test(reporter, 400, width, data.get()); 97 DEF_TEST(TypefaceAxes, reporter) { 100 REPORT_FAILURE(reporter, "distortable", SkString()) [all...] |