Searched refs:wallpaperManager (Results 1 – 4 of 4) sorted by relevance
38 final WallpaperManager wallpaperManager = WallpaperManager.getInstance(mContext); in testSetWallpaper_disallowed() local46 wallpaperManager.setBitmap(referenceWallpaper); in testSetWallpaper_disallowed()52 wallpaperManager.setStream(BitmapUtils.bitmapToInputStream(referenceWallpaper)); in testSetWallpaper_disallowed()58 wallpaperManager.setResource(R.raw.wallpaper); in testSetWallpaper_disallowed()
103 final WallpaperManager wallpaperManager = WallpaperManager.getInstance(mContext); in testDisallowSetWallpaper_allowed() local119 wallpaperManager.setBitmap(BitmapUtils.generateRandomBitmap(97, 73)); in testDisallowSetWallpaper_allowed()127 wallpaperManager.setStream(BitmapUtils.bitmapToInputStream(wallpaperForStream)); in testDisallowSetWallpaper_allowed()134 wallpaperManager.setResource(R.raw.wallpaper); in testDisallowSetWallpaper_allowed()139 wallpaperManager.setBitmap(originalWallpaperCopy); in testDisallowSetWallpaper_allowed()
133 WallpaperManager wallpaperManager = WallpaperManager.getInstance(context); in getWallpaperBitmap() local135 Class<?> wmClass = wallpaperManager.getClass(); in getWallpaperBitmap()137 return (Bitmap) methodGetBitmap.invoke(wallpaperManager, null); in getWallpaperBitmap()