Searched refs:mediaProjectionManager (Results 1 – 9 of 9) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/data/repository/ |
H A D | FakeMediaProjectionManager.kt | 31 val mediaProjectionManager = mock<MediaProjectionManager>() regex 36 whenever(mediaProjectionManager.addCallback(any(), any())).thenAnswer { 40 whenever(mediaProjectionManager.removeCallback(any())).thenAnswer {
|
H A D | MediaProjectionManagerRepositoryTest.kt | 58 mediaProjectionManager = fakeMediaProjectionManager.mediaProjectionManager,
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
H A D | MediaProjectionPrivacyItemMonitor.kt | 40 private val mediaProjectionManager: MediaProjectionManager, 156 mediaProjectionManager.addCallback(mediaProjectionCallback, bgHandler) 158 val activeProjection = mediaProjectionManager.activeProjectionInfo 165 mediaProjectionManager.removeCallback(mediaProjectionCallback)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/data/repository/ |
H A D | MediaProjectionManagerRepository.kt | 43 private val mediaProjectionManager: MediaProjectionManager, 71 mediaProjectionManager.addCallback(callback, handler) 72 awaitClose { mediaProjectionManager.removeCallback(callback) }
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/ |
H A D | AppEnumerationInternalTests.java | 172 final IMediaProjectionManager mediaProjectionManager = in mediaProjectionManager_createProjection_canSeeForceQueryable() local 176 assertThat(mediaProjectionManager.createProjection(0 /* uid */, TARGET_SHARED_USER, in mediaProjectionManager_createProjection_canSeeForceQueryable() 184 final IMediaProjectionManager mediaProjectionManager = in mediaProjectionManager_createProjection_cannotSeeTarget() local 189 () -> mediaProjectionManager.createProjection(0 /* uid */, TARGET_SHARED_USER, in mediaProjectionManager_createProjection_cannotSeeTarget()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/ui/ |
H A D | TaskSwitcherNotificationCoordinatorTest.kt | 69 mediaProjectionManager = fakeMediaProjectionManager.mediaProjectionManager,
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/domain/interactor/ |
H A D | TaskSwitchInteractorTest.kt | 60 mediaProjectionManager = fakeMediaProjectionManager.mediaProjectionManager,
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/ui/viewmodel/ |
H A D | TaskSwitcherNotificationViewModelTest.kt | 62 mediaProjectionManager = fakeMediaProjectionManager.mediaProjectionManager,
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ContentRecorder.java | 102 @NonNull MediaProjectionManagerWrapper mediaProjectionManager) { in ContentRecorder() argument 104 mMediaProjectionManager = mediaProjectionManager; in ContentRecorder()
|