Searched refs:mWallpaperManager (Results 1 – 5 of 5) sorted by relevance
131 private WallpaperManager mWallpaperManager; field in WallpaperManagerTest173 mWallpaperManager = WallpaperManager.getInstance(mContext); in setUp()174 sWallpaperManager = mWallpaperManager; in setUp()175 assumeTrue("Device does not support wallpapers", mWallpaperManager.isWallpaperSupported()); in setUp()197 mEnableWcg = mWallpaperManager.shouldEnableWideColorGamut(); in setUp()199 mWallpaperManager, mHandler, mWallpaperManager::clear); in setUp()201 mDefaultWallpaperInfo = mWallpaperManager.getWallpaperInfo(FLAG_SYSTEM); in setUp()205 mWallpaperManager.getWallpaperId(FLAG_SYSTEM)).isAtLeast(0); in setUp()207 mWallpaperManager.getWallpaperId(FLAG_LOCK)).isLessThan(0); in setUp()243 int origHomeWallpaperId = mWallpaperManager.getWallpaperId(FLAG_SYSTEM); in setBitmap_homeScreen_homeStatic_lockScreenUnset_setsLockToHomeAndUpdatesHome()[all …]
35 WallpaperManager mWallpaperManager; field in WallpaperOverlayTestActivity41 mWallpaperManager = WallpaperManager.getInstance(mContext); in onCreate()54 mWallpaperManager.sendWallpaperCommand( in sendWallpaperCommand()
63 private WallpaperManager mWallpaperManager; field in WallpaperManagerTest73 mWallpaperManager = WallpaperManager.getInstance(mContext); in setUp()74 assumeTrue("Device does not support wallpapers", mWallpaperManager.isWallpaperSupported()); in setUp()79 if (mWallpaperManager != null) { in tearDown()80 mWallpaperManager.clear(WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in tearDown()92 mWallpaperManager.setDisplayPadding(validRect); in testSetDisplayPadding()96 mWallpaperManager.setDisplayPadding(negativeRect); in testSetDisplayPadding()110 mWallpaperManager.setDisplayPadding(tooWideRect); in testSetDisplayPadding()119 mWallpaperManager.setDisplayPadding(tooHighRect); in testSetDisplayPadding()137 final int oldWallpaperId = mWallpaperManager.getWallpaperId( in testSetMaliciousStream()[all …]
85 WallpaperManager mWallpaperManager = mContext.getSystemService(WallpaperManager.class); in isLockscreenLiveWpEnabled() local86 return mWallpaperManager != null && mWallpaperManager.isLockscreenLiveWallpaperEnabled(); in isLockscreenLiveWpEnabled()
1784 private final WallpaperManager mWallpaperManager;1788 mWallpaperManager = WallpaperManager.getInstance(mContext);1802 mWallpaperManager.setBitmap(bitmap));1807 mWallpaperManager.setWallpaperComponent(componentName));1812 SystemUtil.runWithShellPermissionIdentity(() -> mWallpaperManager.clearWallpaper());