blue yellow synchronization

Signed-off-by: lwx1129454 <lixin475@huawei.com>
Change-Id: I3cc53da86becfa1a53e3dcd8464b5fb415999f3e
This commit is contained in:
lwx1129454 2023-06-01 20:37:59 +08:00
parent 31659d1e37
commit 92a772a2d8
3 changed files with 7 additions and 9 deletions

View File

@ -215,7 +215,7 @@ const AllocInfo DISPLAY_BUFFER_TEST_SETS[] = {
.usage = HBM_USE_MEM_DMA | HBM_USE_CPU_READ | HBM_USE_CPU_WRITE,
.format = PIXEL_FMT_BGRX_5551
},
#elif
// num21
{
.width = ALLOC_SIZE_1080,

View File

@ -26,14 +26,14 @@ ohos_moduletest_suite("HatsHdfWlanHdiServiceTest") {
"wlan_hdi_hal_services_c_test.cpp",
]
deps = []
deps = [
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
]
configs = [ ":hdf_wlan_hdiservice" ]
if (is_standard_system) {
external_deps = [
"$base_root/drivers/peripheral/wlan/client:wifi_driver_client",
"$base_root/drivers/peripheral/wlan/hal:wifi_hal",
"$base_root/drivers/peripheral/wlan/hdi_service:hdi_wlan_service",
"c_utils:utils",
"drivers_interface_wlan:libwlan_proxy_1.1",
"hdf_core:libhdf_host",
@ -41,8 +41,6 @@ ohos_moduletest_suite("HatsHdfWlanHdiServiceTest") {
"hdf_core:libhdf_utils",
"hdf_core:libhdi",
"hiviewdfx_hilog_native:libhilog",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
]
} else {
external_deps = [ "hilog:libhilog" ]

View File

@ -142,10 +142,10 @@ HWTEST_F(HdfPowerHdiTest, HdfPowerHdiTest003, TestSize.Level1)
if (false) {
int32_t ret = g_powerInterface->StartSuspend();
EXPECT_EQ(0, ret);
char stateBuf[MAX_PATH] = {0};
char stateValue[MAX_PATH] = {0};
ret = snprintf_s(stateBuf, MAX_PATH, sizeof(stateBuf) - 1, SUSPEND_STATE_PATH.c_str());
EXPECT_FALSE(ret < EOK);
sleep(WAIT_TIME);