Home
last modified time | relevance | path

Searched refs:GetDefaultDisplayId (Results 1 - 4 of 4) sorted by relevance

/test/xts/acts/demo/sectest/poc_patch_scan/2022-09/OpenHarmony-SA-2022-0904/
H A Dpoc.cpp60 // 获取函数DisplayManager::GetDefaultDisplayId地址 in main()
62 DisplayId GetDefaultDisplayId = NULL; in main() local
63 GetDefaultDisplayId = reinterpret_cast<DisplayId>( dlsym(handle, "_ZN4OHOS5Rosen14DisplayManager19GetDefaultDisplayIdEv")); in main()
64 if (GetDefaultDisplayId == NULL) { in main()
70 // 调用函数DisplayManager::GetDefaultDisplayId in main()
71 uint64_t displayId = GetDefaultDisplayId(obj); in main()
73 printf("GetDefaultDisplayId failed!\n"); in main()
/test/testfwk/arkxtest/uitest/addon/
H A Dscreen_copy.cpp108 auto id = static_cast<ScreenId>(DisplayManager::GetInstance().GetDefaultDisplayId()); in Run()
154 const auto displayId = dm.GetDefaultDisplayId(); in PollAndNotifyFrames()
/test/xts/acts/graphic/displayNdk/entry/src/main/cpp/
H A Dnapi_init.cpp74 static napi_value GetDefaultDisplayId(napi_env env, napi_callback_info info) in GetDefaultDisplayId() function
76 OH_LOG_INFO(LOG_APP, "GetDefaultDisplayId come in..."); in GetDefaultDisplayId()
78 OH_LOG_INFO(LOG_APP, "GetDefaultDisplayId displayId=%{public}lu ", displayId); in GetDefaultDisplayId()
80 OH_LOG_INFO(LOG_APP, "GetDefaultDisplayId displayId=%{public}lu errorCode=%{public}d.", displayId, errCode); in GetDefaultDisplayId()
384 { "getId", nullptr, GetDefaultDisplayId, nullptr, nullptr, nullptr, napi_default, nullptr }, in Init()
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp80 std::shared_ptr<Media::PixelMap> pixelMap = displayMgr.GetScreenshot(displayMgr.GetDefaultDisplayId()); in TakeWuKongScreenCap()

Completed in 4 milliseconds