Home
last modified time | relevance | path

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

/base/theme/wallpaper_mgr/frameworks/innerkitsimpl/wallpaper_manager/include/
Dwallpaper_manager_kits.h52 … virtual int32_t SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &apiInfo) = 0;
61 const ApiInfo &apiInfo) = 0;
70 virtual int32_t GetPixelMap(int32_t wallpaperType, const ApiInfo &apiInfo,
78 …virtual int32_t GetColors(int32_t wallpaperType, const ApiInfo &apiInfo, std::vector<uint64_t> &co…
93 virtual int32_t GetWallpaperMinHeight(const ApiInfo &apiInfo, int32_t &minHeight) = 0;
99 virtual int32_t GetWallpaperMinWidth(const ApiInfo &apiInfo, int32_t &minWidth) = 0;
118 virtual int32_t ResetWallpaper(std::int32_t wallpaperType, const ApiInfo &apiInfo) = 0;
Dwallpaper_manager.h46 int32_t SetWallpaper(std::string url, int32_t wallpaperType, const ApiInfo &apiInfo) final;
55 const ApiInfo &apiInfo) final;
65 int32_t GetPixelMap(int32_t wallpaperType, const ApiInfo &apiInfo,
73 …int32_t GetColors(int32_t wallpaperType, const ApiInfo &apiInfo, std::vector<uint64_t> &colors) fi…
88 int32_t GetWallpaperMinHeight(const ApiInfo &apiInfo, int32_t &minHeight) final;
94 int32_t GetWallpaperMinWidth(const ApiInfo &apiInfo, int32_t &minWidth) final;
113 int32_t ResetWallpaper(std::int32_t wallpaperType, const ApiInfo &apiInfo) final;
/base/theme/wallpaper_mgr/test/unittest/
Dwallpaper_test.cpp99 ApiInfo apiInfo{ false, false }; in TearDownTestCase()
203 ApiInfo apiInfo{ false, false };
217 ApiInfo apiInfo{ false, false };
231 ApiInfo apiInfo{ false, false };
245 ApiInfo apiInfo{ false, false };
263 ApiInfo apiInfo{ false, false };
343 ApiInfo apiInfo{ false, false };
360 ApiInfo apiInfo{ false, false };
480 ApiInfo apiInfo{ false, false };
498 ApiInfo apiInfo{ false, false };
[all …]
Dwallpaper_permission_test.cpp119 ApiInfo apiInfo{ false, false };
155 ApiInfo apiInfo{ false, false };
176 ApiInfo apiInfo{ false, false };
194 ApiInfo apiInfo{ false, false };
/base/theme/wallpaper_mgr/interfaces/kits/napi/
Dnapi_wallpaper_ability.cpp51 ApiInfo apiInfo{ false, false }; in NAPI_GetColors()
62 ApiInfo apiInfo{ true, true }; in NAPI_GetColorsSync()
68 void NapiWallpaperAbility::GetColorsInner(std::shared_ptr<GetContextInfo> context, const ApiInfo &a… in GetColorsInner()
110 ApiInfo apiInfo{ false, false }; in NAPI_GetId()
147 ApiInfo apiInfo{ false, false }; in NAPI_GetFile()
153 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()
[all …]
Dnapi_wallpaper_ability.h173 static void GetColorsInner(std::shared_ptr<GetContextInfo> context, const ApiInfo &apiInfo);
175 static void GetFileInner(std::shared_ptr<GetFileContextInfo> context, const ApiInfo &apiInfo);
176 … static void GetMinHeightInner(std::shared_ptr<GetMinContextInfo> context, const ApiInfo &apiInfo);
177 … static void GetMinWidthInner(std::shared_ptr<GetMinContextInfo> context, const ApiInfo &apiInfo);
180 static void RestoreInner(std::shared_ptr<SetContextInfo> context, const ApiInfo &apiInfo);
182 static void SetImageExec(std::shared_ptr<SetContextInfo> context, const ApiInfo &apiInfo);
183 static void GetImageInner(std::shared_ptr<GetContextInfo> context, const ApiInfo &apiInfo);
/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/
Dwallpaper_manager_fuzzer.cpp101 WallpaperMgrService::ApiInfo apiInfo{ false, false }; in GetColorsFuzzTest()
117 WallpaperMgrService::ApiInfo apiInfo{ false, false }; in ResetWallpaperFuzzTest()
129 WallpaperMgrService::ApiInfo apiInfo{ false, false }; in SetWallpaperByUrlFuzzTest()
145 WallpaperMgrService::ApiInfo apiInfo{ false, false }; in SetWallpaperByMapFuzzTest()
164 WallpaperMgrService::ApiInfo apiInfo{ false, false }; in GetPixelMapFuzzTest()
/base/theme/wallpaper_mgr/frameworks/innerkitsimpl/wallpaper_manager/src/
Dwallpaper_manager.cpp134 int32_t WallpaperManager::GetColors(int32_t wallpaperType, const ApiInfo &apiInfo, std::vector<uint… in GetColors()
167 int32_t WallpaperManager::SetWallpaper(std::string url, int32_t wallpaperType, const ApiInfo &apiIn… in SetWallpaper()
215 const ApiInfo &apiInfo) in SetWallpaper()
284 int32_t WallpaperManager::GetPixelMap(int32_t wallpaperType, const ApiInfo &apiInfo, in GetPixelMap()
335 int32_t WallpaperManager::GetWallpaperMinHeight(const ApiInfo &apiInfo, int32_t &minHeight) in GetWallpaperMinHeight()
348 int32_t WallpaperManager::GetWallpaperMinWidth(const ApiInfo &apiInfo, int32_t &minWidth) in GetWallpaperMinWidth()
381 int32_t WallpaperManager::ResetWallpaper(std::int32_t wallpaperType, const ApiInfo &apiInfo) in ResetWallpaper()
/base/theme/wallpaper_mgr/utils/include/
Dwallpaper_common.h39 struct ApiInfo { struct