/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RegionSamplingTest.cpp | 39 static int constexpr kWidth = 98; member 44 Rect const whole_area{0, 0, kWidth, kHeight}; 49 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F() 55 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F() 66 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, partial_region), in TEST_F() 77 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F() 84 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, whole_area), in TEST_F() 93 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F() 97 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F() 101 EXPECT_THAT(sampleArea(buffer.data(), kWidth, kHeight, kStride, kOrientation, invalid_region), in TEST_F() [all …]
|
D | HWComposerTest.cpp | 177 constexpr int32_t kWidth = 480; in TEST_F() local 185 .WillRepeatedly(DoAll(SetArgPointee<3>(kWidth), Return(HalError::NONE))); in TEST_F() 216 EXPECT_EQ(modes.front().width, kWidth); in TEST_F() 237 EXPECT_EQ(modes.front().width, kWidth); in TEST_F() 269 constexpr int32_t kWidth = 480; in TEST_F() local 277 .WillRepeatedly(DoAll(SetArgPointee<3>(kWidth), Return(HalError::NONE))); in TEST_F() 308 EXPECT_EQ(modes.front().width, kWidth); in TEST_F() 329 EXPECT_EQ(modes.front().width, kWidth); in TEST_F() 359 constexpr int32_t kWidth = 480; in TEST_F() local 369 .width = kWidth, in TEST_F() [all …]
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 459 constexpr uint32_t kWidth = 320; in TEST_F() local 462 allocateGraphic(kWidth, kHeight); in TEST_F() 465 C2Rect rect(kWidth, kHeight); in TEST_F() 482 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12); in TEST_F() 483 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x34); in TEST_F() 484 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x56); in TEST_F() 500 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x1… in TEST_F() 501 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x3… in TEST_F() 502 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x5… in TEST_F() 503 ASSERT_TRUE(verifyPlane({ kWidth, kHeight / 4 }, yInfo, y, 0)); in TEST_F() [all …]
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 42 constexpr int32_t kWidth = 3840; in TEST() local 46 GetRawGraphicOutputBuffers(kWidth, kHeight); in TEST() 56 kWidth, kHeight, HAL_PIXEL_FORMAT_YCbCr_420_888, in TEST() 75 auto releaseBuffer = [&buffers, &clientBuffers, kWidth, kHeight](int index) { in TEST() 84 ASSERT_EQ(kWidth, block.width()); in TEST() 110 constexpr int32_t kWidth = 320; in TEST() local 114 GetRawGraphicOutputBuffers(kWidth, kHeight); in TEST() 123 constexpr int32_t kWidth = 320; in TEST() local 166 format->setInt32(KEY_WIDTH, kWidth); in TEST() 180 kWidth, kHeight, pixelFormat, in TEST() [all …]
|
D | CCodecConfig_test.cpp | 668 const int kWidth = 32; in TEST_F() local 670 const int kNumBlocks = ((kWidth + 15) / 16) * ((kHeight + 15) / 16); in TEST_F() 677 format->setInt32(KEY_WIDTH, kWidth); in TEST_F()
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub-test.cpp | 36 const int kWidth = 640; variable 58 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F() 108 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F() 176 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F() 209 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F() 253 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F() 316 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F() 325 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F() 342 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F() 361 kWidth, kHeight, kFormat, kUsage, sizeof(uint64_t)); in TEST_F() [all …]
|
/frameworks/av/services/camera/virtualcamera/tests/ |
D | EglUtilTest.cc | 36 constexpr int kWidth = 64; variable 97 EglSurfaceTexture surfaceTexture(kWidth, kHeight); in TEST_F()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Command.cpp | 127 constexpr size_t kWidth = 50; in Usage() local 153 *out << " " << std::setw(kWidth) << std::left << argline << line << "\n"; in Usage() 171 *out << " " << std::setw(kWidth) << std::left << argline << line << "\n"; in Usage() 175 *out << " " << std::setw(kWidth) << std::left << "-h" in Usage()
|
/frameworks/av/media/module/codecs/m4v_h263/fuzzer/ |
D | mpeg4_h263_enc_fuzzer.cpp | 29 constexpr int kWidth[] = {128, 176, 352, 704, 1408}; variable 31 constexpr size_t kWidthNum = std::size(kWidth); 95 mFrameWidth = kWidth[data[IDX_WD_BYTE_1] % kWidthNum]; in initEncoder()
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | VirtualTouchpadEvdev.cpp | 27 static constexpr int32_t kWidth = 0x10000; variable 73 touchpad.injector->ConfigureMultiTouchXY(0, 0, kWidth - 1, kHeight - 1); in Attach() 97 int32_t device_x = x * kWidth; in Touch()
|
/frameworks/native/libs/gui/tests/ |
D | BufferItemConsumer_test.cpp | 27 static constexpr int kWidth = 100; variable 79 status_t ret = mProducer->dequeueBuffer(&slot, &outFence, kWidth, kHeight, 0, 0, in DequeueBuffer()
|