Home
last modified time | relevance | path

Searched refs:consentResult (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/
DMediaProjectionServiceHelper.kt77 @ReviewGrantedConsentResult consentResult: Int, in setReviewedConsentIfNeeded()
84 reviewGrantedConsentRequired && consentResult != ReviewGrantedConsentResult.UNKNOWN in setReviewedConsentIfNeeded()
87 service.setUserReviewGrantedConsentResult(consentResult, projection) in setReviewedConsentIfNeeded()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java508 void setUserReviewGrantedConsentResult(@ReviewGrantedConsentResult int consentResult, in setUserReviewGrantedConsentResult() argument
512 consentResult == RECORD_CONTENT_DISPLAY || consentResult == RECORD_CONTENT_TASK; in setUserReviewGrantedConsentResult()
515 Slog.v(TAG, "Reusing token: Ignore consent result of " + consentResult + " for a " in setUserReviewGrantedConsentResult()
525 Slog.w(TAG, "Reusing token: Ignore consent result " + consentResult in setUserReviewGrantedConsentResult()
529 Slog.v(TAG, "Reusing token: Handling user consent result " + consentResult); in setUserReviewGrantedConsentResult()
530 switch (consentResult) { in setUserReviewGrantedConsentResult()
868 public void setUserReviewGrantedConsentResult(@ReviewGrantedConsentResult int consentResult, in setUserReviewGrantedConsentResult() argument
874 MediaProjectionManagerService.this.setUserReviewGrantedConsentResult(consentResult, in setUserReviewGrantedConsentResult()
/frameworks/base/media/java/android/media/projection/
DIMediaProjectionManager.aidl167 void setUserReviewGrantedConsentResult(ReviewGrantedConsentResult consentResult, in setUserReviewGrantedConsentResult() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
DMediaProjectionManagerServiceTest.java729 boolean isSetSessionSuccessful, @ReviewGrantedConsentResult int consentResult) in testSetUserReviewGrantedConsentResult_userCancelsSession() argument
743 mService.setUserReviewGrantedConsentResult(consentResult, projection); in testSetUserReviewGrantedConsentResult_userCancelsSession()
784 @ReviewGrantedConsentResult int consentResult, in testSetUserReviewGrantedConsentResult_startedSession()
796 mService.setUserReviewGrantedConsentResult(consentResult, projection); in testSetUserReviewGrantedConsentResult_startedSession()
806 @ReviewGrantedConsentResult int consentResult, in testSetUserReviewGrantedConsentResult_failedToStartSession()
820 mService.setUserReviewGrantedConsentResult(consentResult, projection); in testSetUserReviewGrantedConsentResult_failedToStartSession()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionActivity.java403 private void finish(@ReviewGrantedConsentResult int consentResult, in finish() argument
406 consentResult, mReviewGrantedConsentRequired, projection); in finish()