Home
last modified time | relevance | path

Searched defs:apiInfo (Results 1 – 5 of 5) sorted by relevance

/base/theme/wallpaper_mgr/test/unittest/
Dwallpaper_test.cpp183 ApiInfo apiInfo{ false, false }; in TearDownTestCase() local
333 ApiInfo apiInfo{ false, false }; variable
347 ApiInfo apiInfo{ false, false }; variable
361 ApiInfo apiInfo{ false, false }; variable
375 ApiInfo apiInfo{ false, false }; variable
393 ApiInfo apiInfo{ false, false }; variable
414 ApiInfo apiInfo{ true, true }; variable
504 ApiInfo apiInfo{ false, false }; variable
521 ApiInfo apiInfo{ false, false }; variable
538 ApiInfo apiInfo{ true, true }; variable
[all …]
Dwallpaper_permission_test.cpp114 ApiInfo apiInfo{ false, false }; variable
148 ApiInfo apiInfo{ false, false }; variable
167 ApiInfo apiInfo{ false, false }; variable
184 ApiInfo apiInfo{ false, false }; variable
/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/
Dwallpaper_manager_fuzzer.cpp103 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in GetColorsFuzzTest() local
122 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in ResetWallpaperFuzzTest() local
136 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in SetWallpaperByUriFuzzTest() local
155 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in SetWallpaperByMapFuzzTest() local
176 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in WallpaperManagerFuzzTest() local
192 …WallpaperMgrService::ApiInfo apiInfo{ static_cast<bool>(data[0] % 2), static_cast<bool>(data[1] % … in GetPixelMapFuzzTest() local
/base/theme/wallpaper_mgr/frameworks/js/napi/
Dnapi_wallpaper_ability.cpp46 ApiInfo apiInfo{ false, false }; in NAPI_GetColors() local
56 ApiInfo apiInfo{ true, true }; in NAPI_GetColorsSync() local
62 …piWallpaperAbility::GetColorsInner(std::shared_ptr<GetContextInfo> context, const ApiInfo &apiInfo) in GetColorsInner()
138 ApiInfo apiInfo{ false, false }; in NAPI_GetFile() local
144 …WallpaperAbility::GetFileInner(std::shared_ptr<GetFileContextInfo> context, const ApiInfo &apiInfo) in GetFileInner()
190 ApiInfo apiInfo{ false, false }; in NAPI_GetMinHeight() local
200 ApiInfo apiInfo{ true, true }; in NAPI_GetMinHeightSync() local
206 …paperAbility::GetMinHeightInner(std::shared_ptr<GetMinContextInfo> context, const ApiInfo &apiInfo) in GetMinHeightInner()
237 ApiInfo apiInfo{ false, false }; in NAPI_GetMinWidth() local
247 ApiInfo apiInfo{ true, true }; in NAPI_GetMinWidthSync() local
[all …]
/base/theme/wallpaper_mgr/frameworks/native/src/
Dwallpaper_manager.cpp165 ErrorCode WallpaperManager::GetColors(int32_t wallpaperType, const ApiInfo &apiInfo, std::vector<ui… in GetColors()
198 …Code WallpaperManager::SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &apiInfo) in SetWallpaper()
239 std::shared_ptr<OHOS::Media::PixelMap> pixelMap, int32_t wallpaperType, const ApiInfo &apiInfo) in SetWallpaper()
326 int32_t wallpaperType, const ApiInfo &apiInfo, std::shared_ptr<OHOS::Media::PixelMap> &pixelMap) in GetPixelMap()
406 ErrorCode WallpaperManager::GetWallpaperMinHeight(const ApiInfo &apiInfo, int32_t &minHeight) in GetWallpaperMinHeight()
417 ErrorCode WallpaperManager::GetWallpaperMinWidth(const ApiInfo &apiInfo, int32_t &minWidth) in GetWallpaperMinWidth()
447 ErrorCode WallpaperManager::ResetWallpaper(std::int32_t wallpaperType, const ApiInfo &apiInfo) in ResetWallpaper()