/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperInfoTest.java | 56 WallpaperInfo wallpaperInfo = new WallpaperInfo(context, info); in testSupportsAmbientMode() local 60 wallpaperInfo.supportsAmbientMode()); in testSupportsAmbientMode() 62 wallpaperInfo.writeToParcel(parcel, 0 /* flags */); in testSupportsAmbientMode() 80 WallpaperInfo wallpaperInfo = new WallpaperInfo(context, info); in testGetSettingsSliceUri() local 84 Uri settingsUri = wallpaperInfo.getSettingsSliceUri(); in testGetSettingsSliceUri() 88 wallpaperInfo.writeToParcel(parcel, 0 /* flags */); in testGetSettingsSliceUri()
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperEventLogger.java | 93 void onSystemLiveWallpaperBackedUp(WallpaperInfo wallpaperInfo) { in onSystemLiveWallpaperBackedUp() argument 94 logBackupSuccessInternal(WALLPAPER_LIVE_SYSTEM, wallpaperInfo); in onSystemLiveWallpaperBackedUp() 97 void onLockLiveWallpaperBackedUp(WallpaperInfo wallpaperInfo) { in onLockLiveWallpaperBackedUp() argument 98 logBackupSuccessInternal(WALLPAPER_LIVE_LOCK, wallpaperInfo); in onLockLiveWallpaperBackedUp() 207 WallpaperInfo wallpaperInfo) { in logLiveWallpaperNameIfPresent() argument 208 if (wallpaperInfo != null) { in logLiveWallpaperNameIfPresent() 209 mLogger.logBackupMetadata(wallpaperType, wallpaperInfo.getComponent().getClassName()); in logLiveWallpaperNameIfPresent()
|
D | WallpaperBackupAgent.java | 866 private Rect parseCropHint(File wallpaperInfo, String sectionTag) { in parseCropHint() argument 868 try (FileInputStream stream = new FileInputStream(wallpaperInfo)) { in parseCropHint() 893 private SparseArray<Rect> parseCropHints(File wallpaperInfo, String sectionTag) { in parseCropHints() argument 895 try (FileInputStream stream = new FileInputStream(wallpaperInfo)) { in parseCropHints() 934 private ComponentName parseWallpaperComponent(File wallpaperInfo, String sectionTag) { in parseWallpaperComponent() argument 936 try (FileInputStream stream = new FileInputStream(wallpaperInfo)) { in parseWallpaperComponent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/data/repository/ |
D | WallpaperRepository.kt | 50 val wallpaperInfo: StateFlow<WallpaperInfo?> in <lambda>() constant 90 override val wallpaperInfo: StateFlow<WallpaperInfo?> = constant 107 wallpaperInfo 116 initialValue = wallpaperInfo.value?.supportsAmbientMode() == true,
|
D | NoopWallpaperRepository.kt | 34 override val wallpaperInfo: StateFlow<WallpaperInfo?> = MutableStateFlow(null).asStateFlow() constant in com.android.systemui.wallpapers.data.repository.NoopWallpaperRepository
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/data/repository/ |
D | WallpaperRepositoryImplTest.kt | 73 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_nullInfo() 88 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_hasInfoFromManager() 109 underTest.wallpaperInfo in wallpaperInfo_initialValueIsFetched() 112 assertThat(underTest.wallpaperInfo.value).isEqualTo(SUPPORTED_WP) in wallpaperInfo_initialValueIsFetched() 118 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_updatesOnUserChanged() 146 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_doesNotUpdateOnUserChanging() 175 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_updatesOnIntent() 199 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_wallpaperNotSupported_alwaysNull() 222 val latest by collectLastValue(underTest.wallpaperInfo) in wallpaperInfo_deviceDoesNotSupportAmbientWallpaper_alwaysFalse()
|
D | FakeWallpaperRepository.kt | 24 override val wallpaperInfo = MutableStateFlow<WallpaperInfo?>(null) constant in com.android.systemui.wallpapers.data.repository.FakeWallpaperRepository
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | WallpaperController.kt | 46 get() = wallpaperRepository.wallpaperInfo.value?.shouldUseDefaultUnfoldTransition() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | WallpaperControllerTest.kt | 89 wallpaperRepository.wallpaperInfo.value = createWallpaperInfo(useDefaultTransition = false) in setUnfoldTransitionZoom_defaultUnfoldTransitionIsDisabled_doesNotUpdateWallpaperZoom()
|
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/ |
D | TaskTransitionTest.kt | 197 return wallpaperManager.wallpaperInfo?.component?.toFlickerComponent() in getWallpaperPackage()
|