/frameworks/base/core/java/android/service/voice/ |
D | HotwordDetector.java | 20 import static android.Manifest.permission.RECORD_AUDIO; 92 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD})
|
D | SoftwareHotwordDetector.java | 19 import static android.Manifest.permission.RECORD_AUDIO; 92 @RequiresPermission(RECORD_AUDIO) 115 @RequiresPermission(RECORD_AUDIO)
|
D | AlwaysOnHotwordDetector.java | 20 import static android.Manifest.permission.RECORD_AUDIO; 1021 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD}) 1137 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD}) 1162 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD}) 1175 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD}) 1197 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD}) 1237 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD}) 1269 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD}) 1298 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD})
|
D | VisualQueryDetector.java | 20 import static android.Manifest.permission.RECORD_AUDIO; 121 @RequiresPermission(allOf = {CAMERA, RECORD_AUDIO}) 148 @RequiresPermission(allOf = {CAMERA, RECORD_AUDIO})
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServerPermissionProvider.java | 22 import static android.Manifest.permission.RECORD_AUDIO; 57 MONITORED_PERMS[PermissionEnum.RECORD_AUDIO] = RECORD_AUDIO;
|
/frameworks/av/aidl/com/android/media/permission/ |
D | PermissionEnum.aidl | 29 RECORD_AUDIO = 3, enumConstant
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VisualQueryDetectorSession.java | 20 import static android.Manifest.permission.RECORD_AUDIO; 189 enforcePermissionsForVisualQueryDelivery(RECORD_AUDIO, OP_RECORD_AUDIO, in startPerceivingLocked() 259 enforcePermissionsForVisualQueryDelivery(RECORD_AUDIO, OP_RECORD_AUDIO, in startPerceivingLocked()
|
D | DetectorSession.java | 22 import static android.Manifest.permission.RECORD_AUDIO; 889 mContext, RECORD_AUDIO, /* pid */ -1, mVoiceInteractorIdentity.uid, in enforcePermissionsForDataDelivery() 913 RECORD_AUDIO, HOTWORD_DETECTION_OP_MESSAGE); in enforcePermissionsForDataDelivery()
|
D | VoiceInteractionManagerService.java | 1517 enforceCallingPermission(Manifest.permission.RECORD_AUDIO); in startPerceiving() 1564 enforceCallingPermission(Manifest.permission.RECORD_AUDIO); in startListeningFromMic() 1631 enforceCallingPermission(Manifest.permission.RECORD_AUDIO); in triggerHardwareRecognitionEventForTest()
|
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/ |
D | MusicRecognitionManagerPerUserService.java | 19 import static android.Manifest.permission.RECORD_AUDIO; 364 Objects.requireNonNull(AppOpsManager.permissionToOp(RECORD_AUDIO)), in startRecordAudioOp() 384 Objects.requireNonNull(AppOpsManager.permissionToOp(RECORD_AUDIO)), in finishRecordAudioOp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbDialogHelper.java | 19 import static android.Manifest.permission.RECORD_AUDIO; 147 return PermissionChecker.checkPermissionForPreflight(mContext, RECORD_AUDIO, in packageHasAudioRecordingPermission()
|
/frameworks/base/core/java/android/speech/ |
D | RecognitionService.java | 167 + "without permission " + Manifest.permission.RECORD_AUDIO + "."); in dispatchStartListening() 861 Manifest.permission.RECORD_AUDIO, in checkPermissionAndStartDataDelivery() 873 Manifest.permission.RECORD_AUDIO, attributionSource); in checkPermissionForPreflightNotHardDenied() 881 final String op = AppOpsManager.permissionToOp(Manifest.permission.RECORD_AUDIO); in finishDataDelivery()
|
/frameworks/av/media/audio/aconfig/ |
D | audiopolicy_framework.aconfig | 60 description: "Enable device-aware permission handling for RECORD_AUDIO permission"
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewarePermission.java | 20 import static android.Manifest.permission.RECORD_AUDIO; 118 enforcePermissionForPreflight(mContext, identity, RECORD_AUDIO); in enforcePermissionsForPreflight()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestActivity.java | 100 requestPermissions(new String[]{Manifest.permission.RECORD_AUDIO}, in onCreate() 269 requestPermissions(new String[]{Manifest.permission.RECORD_AUDIO}, in onCaptureAudioCheckboxClicked()
|
D | SoundTriggerTestService.java | 423 return getBaseContext().checkSelfPermission(Manifest.permission.RECORD_AUDIO) in hasMicrophonePermission()
|
/frameworks/base/core/java/android/companion/virtual/flags/ |
D | flags.aconfig | 29 description: "Enable device-aware RECORD_AUDIO permission"
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 86 Manifest.permission.RECORD_AUDIO, in checkPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | LegacyPermissionManagerService.java | 19 import static android.Manifest.permission.RECORD_AUDIO; 415 int result = PermissionChecker.checkPermissionForPreflight(mContext, RECORD_AUDIO, -1, in checkSoundTriggerRecordAudioPermissionForDataDelivery()
|
/frameworks/base/core/java/android/content/pm/ |
D | ServiceInfo.java | 347 Manifest.permission.RECORD_AUDIO,
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppPermissionTracker.java | 21 import static android.Manifest.permission.RECORD_AUDIO; 530 RECORD_AUDIO, OPSTR_RECORD_AUDIO,
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 327 @RequiresPermission(android.Manifest.permission.RECORD_AUDIO) 365 @RequiresPermission(android.Manifest.permission.RECORD_AUDIO) 969 @RequiresPermission(android.Manifest.permission.RECORD_AUDIO)
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 20 import static android.Manifest.permission.RECORD_AUDIO; 2202 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD}) 2330 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD})
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PermissionHelperTest.java | 376 testPkgInfo.requestedPermissions = new String[]{Manifest.permission.RECORD_AUDIO}; in testSetNotificationPermission_doesntRequestNotChanged()
|
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | MainActivity.java | 78 {Manifest.permission.CAMERA, Manifest.permission.RECORD_AUDIO};
|