Home
last modified time | relevance | path

Searched refs:ApiInfo (Results 1 – 9 of 9) sorted by relevance

/base/theme/wallpaper_mgr/frameworks/native/include/
Dwallpaper_manager_kits.h52 …virtual ErrorCode SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &apiInfo) = 0;
61 const ApiInfo &apiInfo) = 0;
71 virtual ErrorCode GetPixelMap(int32_t wallpaperType, const ApiInfo &apiInfo,
79 …virtual ErrorCode GetColors(int32_t wallpaperType, const ApiInfo &apiInfo, std::vector<uint64_t> &…
94 virtual ErrorCode GetWallpaperMinHeight(const ApiInfo &apiInfo, int32_t &minHeight) = 0;
100 virtual ErrorCode GetWallpaperMinWidth(const ApiInfo &apiInfo, int32_t &minWidth) = 0;
119 virtual ErrorCode ResetWallpaper(std::int32_t wallpaperType, const ApiInfo &apiInfo) = 0;
Dwallpaper_manager.h49 ErrorCode SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &apiInfo) final;
58 const ApiInfo &apiInfo) final;
68 ErrorCode GetPixelMap(int32_t wallpaperType, const ApiInfo &apiInfo,
76 …ErrorCode GetColors(int32_t wallpaperType, const ApiInfo &apiInfo, std::vector<uint64_t> &colors) …
91 ErrorCode GetWallpaperMinHeight(const ApiInfo &apiInfo, int32_t &minHeight) final;
97 ErrorCode GetWallpaperMinWidth(const ApiInfo &apiInfo, int32_t &minWidth) final;
116 ErrorCode ResetWallpaper(std::int32_t wallpaperType, const ApiInfo &apiInfo) final;
/base/theme/wallpaper_mgr/test/unittest/
Dwallpaper_test.cpp159 ApiInfo apiInfo{ false, false }; in TearDownTestCase()
302 ApiInfo apiInfo{ false, false };
316 ApiInfo apiInfo{ false, false };
330 ApiInfo apiInfo{ false, false };
344 ApiInfo apiInfo{ false, false };
362 ApiInfo apiInfo{ false, false };
383 ApiInfo apiInfo{ true, true };
473 ApiInfo apiInfo{ false, false };
490 ApiInfo apiInfo{ false, false };
507 ApiInfo apiInfo{ true, true };
[all …]
Dwallpaper_permission_test.cpp114 ApiInfo apiInfo{ false, false };
148 ApiInfo apiInfo{ false, false };
167 ApiInfo apiInfo{ false, false };
184 ApiInfo apiInfo{ false, false };
/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/
Dwallpaper_manager_fuzzer.cpp104 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in GetColorsFuzzTest()
123 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in ResetWallpaperFuzzTest()
137 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in SetWallpaperByUriFuzzTest()
156 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in SetWallpaperByMapFuzzTest()
177 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in WallpaperManagerFuzzTest()
193 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in GetPixelMapFuzzTest()
/base/theme/wallpaper_mgr/frameworks/js/napi/
Dnapi_wallpaper_ability.h181 static void GetColorsInner(std::shared_ptr<GetContextInfo> context, const ApiInfo &apiInfo);
183 static void GetFileInner(std::shared_ptr<GetFileContextInfo> context, const ApiInfo &apiInfo);
184 … static void GetMinHeightInner(std::shared_ptr<GetMinContextInfo> context, const ApiInfo &apiInfo);
185 … static void GetMinWidthInner(std::shared_ptr<GetMinContextInfo> context, const ApiInfo &apiInfo);
188 static void RestoreInner(std::shared_ptr<SetContextInfo> context, const ApiInfo &apiInfo);
190 static void SetImageExec(std::shared_ptr<SetContextInfo> context, const ApiInfo &apiInfo);
191 static void GetImageInner(std::shared_ptr<GetContextInfo> context, const ApiInfo &apiInfo);
Dnapi_wallpaper_ability.cpp53 ApiInfo apiInfo{ false, false }; in NAPI_GetColors()
63 ApiInfo apiInfo{ true, true }; in NAPI_GetColorsSync()
69 void NapiWallpaperAbility::GetColorsInner(std::shared_ptr<GetContextInfo> context, const ApiInfo &a… in GetColorsInner()
146 ApiInfo apiInfo{ false, false }; in NAPI_GetFile()
152 void NapiWallpaperAbility::GetFileInner(std::shared_ptr<GetFileContextInfo> context, const ApiInfo in GetFileInner()
197 ApiInfo apiInfo{ false, false }; in NAPI_GetMinHeight()
207 ApiInfo apiInfo{ true, true }; in NAPI_GetMinHeightSync()
213 …paperAbility::GetMinHeightInner(std::shared_ptr<GetMinContextInfo> context, const ApiInfo &apiInfo) in GetMinHeightInner()
244 ApiInfo apiInfo{ false, false }; in NAPI_GetMinWidth()
254 ApiInfo apiInfo{ true, true }; in NAPI_GetMinWidthSync()
[all …]
/base/theme/wallpaper_mgr/utils/include/
Dwallpaper_common.h39 struct ApiInfo { struct
/base/theme/wallpaper_mgr/frameworks/native/src/
Dwallpaper_manager.cpp143 ErrorCode WallpaperManager::GetColors(int32_t wallpaperType, const ApiInfo &apiInfo, std::vector<ui… in GetColors()
176 ErrorCode WallpaperManager::SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &api… in SetWallpaper()
217 const ApiInfo &apiInfo) in SetWallpaper()
338 ErrorCode WallpaperManager::GetPixelMap(int32_t wallpaperType, const ApiInfo &apiInfo, in GetPixelMap()
395 ErrorCode WallpaperManager::GetWallpaperMinHeight(const ApiInfo &apiInfo, int32_t &minHeight) in GetWallpaperMinHeight()
406 ErrorCode WallpaperManager::GetWallpaperMinWidth(const ApiInfo &apiInfo, int32_t &minWidth) in GetWallpaperMinWidth()
436 ErrorCode WallpaperManager::ResetWallpaper(std::int32_t wallpaperType, const ApiInfo &apiInfo) in ResetWallpaper()