Home
last modified time | relevance | path

Searched refs:isCurrentProjection (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
H A DMediaProjectionManagerServiceTest.java418 assertThat(mService.isCurrentProjection(iBinder)).isFalse(); in testIsCurrentProjectionInternal_invalid()
422 assertThat(mService.isCurrentProjection(iBinder)).isFalse(); in testIsCurrentProjectionInternal_invalid()
428 assertThat(mService.isCurrentProjection(iBinder)).isFalse(); in testIsCurrentProjectionInternal_noProjection()
459 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_projectionNotCurrent()
478 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_projectionNull()
497 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_projectionNull_consentNotGranted()
521 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_noVirtualDisplay()
539 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_thenVirtualDisplayCreated()
587 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_userCancelsSession()
650 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_startedSession()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/media/projection/
H A DMediaProjectionManagerService.java386 boolean isCurrentProjection(IBinder token) { in isCurrentProjection() method in MediaProjectionManagerService
456 if (consentGranted && !isCurrentProjection( in setUserReviewGrantedConsentResult()
656 public boolean isCurrentProjection(IMediaProjection projection) { in isCurrentProjection() method in MediaProjectionManagerService.BinderService
662 return MediaProjectionManagerService.this.isCurrentProjection( in isCurrentProjection()
709 if (!isCurrentProjection(mProjectionGrant)) { in notifyActiveProjectionCapturedContentResized()
733 if (!isCurrentProjection(mProjectionGrant)) { in notifyActiveProjectionCapturedContentVisibilityChanged()
788 if (!isCurrentProjection(projection)) { in setContentRecordingSession()
810 if (!isCurrentProjection(projection)) { in requestConsentForInvalidProjection()
965 if (isCurrentProjection(asBinder())) { in start()
1036 if (!isCurrentProjection(asBinder())) { in stop()
/aosp14/frameworks/base/media/java/android/media/projection/
H A DIMediaProjectionManager.aidl72 boolean isCurrentProjection(IMediaProjection projection); in isCurrentProjection() method
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DDisplayManagerServiceTest.java1144 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
1180 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
1213 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
1241 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
1325 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java1458 if (!getProjectionService().isCurrentProjection(projection)) { in createVirtualDisplayInternal()
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java11937 if (!projectionService.isCurrentProjection(projection)) { in canProjectAudio()