Home
last modified time | relevance | path

Searched refs:RECORD_AUDIO (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/service/voice/
DHotwordDetector.java20 import static android.Manifest.permission.RECORD_AUDIO;
92 @RequiresPermission(allOf = {RECORD_AUDIO, CAPTURE_AUDIO_HOTWORD})
DSoftwareHotwordDetector.java19 import static android.Manifest.permission.RECORD_AUDIO;
92 @RequiresPermission(RECORD_AUDIO)
115 @RequiresPermission(RECORD_AUDIO)
DAlwaysOnHotwordDetector.java20 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})
DVisualQueryDetector.java20 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/
DAudioServerPermissionProvider.java22 import static android.Manifest.permission.RECORD_AUDIO;
57 MONITORED_PERMS[PermissionEnum.RECORD_AUDIO] = RECORD_AUDIO;
/frameworks/av/aidl/com/android/media/permission/
DPermissionEnum.aidl29 RECORD_AUDIO = 3, enumConstant
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVisualQueryDetectorSession.java20 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()
DDetectorSession.java22 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()
DVoiceInteractionManagerService.java1517 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/
DMusicRecognitionManagerPerUserService.java19 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/
DUsbDialogHelper.java19 import static android.Manifest.permission.RECORD_AUDIO;
147 return PermissionChecker.checkPermissionForPreflight(mContext, RECORD_AUDIO, in packageHasAudioRecordingPermission()
/frameworks/base/core/java/android/speech/
DRecognitionService.java167 + "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/
Daudiopolicy_framework.aconfig60 description: "Enable device-aware permission handling for RECORD_AUDIO permission"
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewarePermission.java20 import static android.Manifest.permission.RECORD_AUDIO;
118 enforcePermissionForPreflight(mContext, identity, RECORD_AUDIO); in enforcePermissionsForPreflight()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestActivity.java100 requestPermissions(new String[]{Manifest.permission.RECORD_AUDIO}, in onCreate()
269 requestPermissions(new String[]{Manifest.permission.RECORD_AUDIO}, in onCaptureAudioCheckboxClicked()
DSoundTriggerTestService.java423 return getBaseContext().checkSelfPermission(Manifest.permission.RECORD_AUDIO) in hasMicrophonePermission()
/frameworks/base/core/java/android/companion/virtual/flags/
Dflags.aconfig29 description: "Enable device-aware RECORD_AUDIO permission"
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMainActivity.java86 Manifest.permission.RECORD_AUDIO, in checkPermission()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionManagerService.java19 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/
DServiceInfo.java347 Manifest.permission.RECORD_AUDIO,
/frameworks/base/services/core/java/com/android/server/am/
DAppPermissionTracker.java21 import static android.Manifest.permission.RECORD_AUDIO;
530 RECORD_AUDIO, OPSTR_RECORD_AUDIO,
/frameworks/base/media/java/android/media/
DAudioRecord.java327 @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/
DSoundTrigger.java20 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/
DPermissionHelperTest.java376 testPkgInfo.requestedPermissions = new String[]{Manifest.permission.RECORD_AUDIO}; in testSetNotificationPermission_doesntRequestNotChanged()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMainActivity.java78 {Manifest.permission.CAMERA, Manifest.permission.RECORD_AUDIO};

12