Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
DMediaProjectionManagerServiceTest.java501 assertThat(mService.isCurrentProjection(iBinder)).isFalse(); in testIsCurrentProjectionInternal_invalid()
505 assertThat(mService.isCurrentProjection(iBinder)).isFalse(); in testIsCurrentProjectionInternal_invalid()
511 assertThat(mService.isCurrentProjection(iBinder)).isFalse(); in testIsCurrentProjectionInternal_noProjection()
521 assertThat(mService.isCurrentProjection(projection.asBinder())).isFalse(); in testIsCurrentProjectionInternal_currentProjection()
525 assertThat(mService.isCurrentProjection(projection.asBinder())).isTrue(); in testIsCurrentProjectionInternal_currentProjection()
542 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_projectionNotCurrent()
561 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_projectionNull()
580 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_projectionNull_consentNotGranted()
604 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_noVirtualDisplay()
622 assertThat(mService.isCurrentProjection(projection)).isTrue(); in testSetUserReviewGrantedConsentResult_thenVirtualDisplayCreated()
[all …]
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java411 boolean isCurrentProjection(IBinder token) { in isCurrentProjection() method in MediaProjectionManagerService
513 if (consentGranted && !isCurrentProjection( in setUserReviewGrantedConsentResult()
718 public boolean isCurrentProjection(IMediaProjection projection) { in isCurrentProjection() method in MediaProjectionManagerService.BinderService
720 return MediaProjectionManagerService.this.isCurrentProjection( in isCurrentProjection()
761 if (!isCurrentProjection(mProjectionGrant)) { in notifyActiveProjectionCapturedContentResized()
782 if (!isCurrentProjection(mProjectionGrant)) { in notifyActiveProjectionCapturedContentVisibilityChanged()
831 if (!isCurrentProjection(projection)) { in setContentRecordingSession()
850 if (!isCurrentProjection(projection)) { in requestConsentForInvalidProjection()
1067 if (isCurrentProjection(asBinder())) { in start()
1138 if (!isCurrentProjection(asBinder())) { in stop()
/frameworks/base/media/java/android/media/projection/
DIMediaProjectionManager.aidl83 boolean isCurrentProjection(IMediaProjection projection); in isCurrentProjection() method
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java1561 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
1597 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
1630 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
1658 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
1742 doReturn(true).when(mMockProjectionService).isCurrentProjection(eq(projection));
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1598 if (!getProjectionService().isCurrentProjection(projection)) { in createVirtualDisplayInternal()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java12624 if (!projectionService.isCurrentProjection(projection)) { in canProjectAudio()