Searched refs:isCurrentProjection (Results 1 – 6 of 6) sorted by relevance
501 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 …]
411 boolean isCurrentProjection(IBinder token) { in isCurrentProjection() method in MediaProjectionManagerService513 if (consentGranted && !isCurrentProjection( in setUserReviewGrantedConsentResult()718 public boolean isCurrentProjection(IMediaProjection projection) { in isCurrentProjection() method in MediaProjectionManagerService.BinderService720 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()
83 boolean isCurrentProjection(IMediaProjection projection); in isCurrentProjection() method
1561 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));
1598 if (!getProjectionService().isCurrentProjection(projection)) { in createVirtualDisplayInternal()
12624 if (!projectionService.isCurrentProjection(projection)) { in canProjectAudio()