Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java10260 && callerHasPermission(CALL_AUDIO_INTERCEPTION)) in validateAudioAttributesUsage()
10261 || callerHasPermission(MODIFY_AUDIO_ROUTING)) { in validateAudioAttributesUsage()
10279 && callerHasPermission(CALL_AUDIO_INTERCEPTION)) in isValidAudioAttributesUsage()
10280 || callerHasPermission(MODIFY_AUDIO_ROUTING)); in isValidAudioAttributesUsage()
12565 && !callerHasPermission(CAPTURE_MEDIA_OUTPUT) in isPolicyRegisterAllowed()
12566 && !callerHasPermission(CAPTURE_AUDIO_OUTPUT)) { in isPolicyRegisterAllowed()
12573 if (!callerHasPermission( in isPolicyRegisterAllowed()
12591 && !callerHasPermission(MODIFY_AUDIO_ROUTING)) { in isPolicyRegisterAllowed()
12596 if (requireCallAudioInterception && !callerHasPermission(CALL_AUDIO_INTERCEPTION)) { in isPolicyRegisterAllowed()
12604 private boolean callerHasPermission(String permission) { in callerHasPermission() method in AudioService