Home
last modified time | relevance | path

Searched refs:mapSize (Results 1 – 4 of 4) sorted by relevance

/base/theme/wallpaper_mgr/frameworks/native/src/
Dwallpaper_manager.cpp227 int32_t mapSize = WritePixelMapToStream(ostream, pixelMap); in SetWallpaper() local
228 if (mapSize <= 0) { in SetWallpaper()
232 char *buffer = new (std::nothrow) char[mapSize](); in SetWallpaper()
236 stringBuf.sgetn(buffer, mapSize); in SetWallpaper()
240 fcntl(fd[1], F_SETPIPE_SZ, mapSize); in SetWallpaper()
241 fcntl(fd[0], F_SETPIPE_SZ, mapSize); in SetWallpaper()
242 int32_t writeSize = write(fd[1], buffer, mapSize); in SetWallpaper()
243 if (writeSize != mapSize) { in SetWallpaper()
254 wallpaperErrorCode = wallpaperServerProxy->SetWallpaperV9(fd[0], wallpaperType, mapSize); in SetWallpaper()
256 wallpaperErrorCode = wallpaperServerProxy->SetWallpaper(fd[0], wallpaperType, mapSize); in SetWallpaper()
/base/startup/init/services/init/
Dinit_capability.c78 int mapSize = (int)ARRAY_LENGTH(capStrCapNum); in GetCapByString() local
80 for (int j = 0; j < mapSize; j++) { in GetCapByString()
/base/theme/wallpaper_mgr/frameworks/native/include/
Dwallpaper_service_proxy.h69 int32_t mapSize = 0; variable
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_ability/enterprise_device_mgr_ability_test/
Denterprise_device_mgr_ability_test.cpp597 size_t mapSize = edmMgr_->commonEventFuncMap_.size(); variable
598 EXPECT_TRUE(mapSize == COMMON_EVENT_FUNC_MAP_SIZE);