Searched refs:isCurrentProjection (Results 1 – 6 of 6) sorted by relevance
418 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 …]
386 boolean isCurrentProjection(IBinder token) { in isCurrentProjection() method in MediaProjectionManagerService456 if (consentGranted && !isCurrentProjection( in setUserReviewGrantedConsentResult()656 public boolean isCurrentProjection(IMediaProjection projection) { in isCurrentProjection() method in MediaProjectionManagerService.BinderService662 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()
72 boolean isCurrentProjection(IMediaProjection projection); in isCurrentProjection() method
1144 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));
1458 if (!getProjectionService().isCurrentProjection(projection)) { in createVirtualDisplayInternal()
11937 if (!projectionService.isCurrentProjection(projection)) { in canProjectAudio()