Searched refs:capturePolicy (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_attributes.cpp | 35 aaudio_allowed_capture_policy_t capturePolicy = DONT_SET, in checkAttributes() argument 61 if (capturePolicy != DONT_SET) { in checkAttributes() 62 AAudioStreamBuilder_setAllowedCapturePolicy(aaudioBuilder, capturePolicy); in checkAttributes() 92 (capturePolicy == DONT_SET || capturePolicy == AAUDIO_UNSPECIFIED) in checkAttributes()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlaybackActivityMonitor.java | 316 public void setAllowedCapturePolicy(int uid, int capturePolicy) { in setAllowedCapturePolicy() argument 318 if (capturePolicy == AudioAttributes.ALLOW_CAPTURE_BY_ALL) { in setAllowedCapturePolicy() 324 mAllowedCapturePolicies.put(uid, capturePolicy); in setAllowedCapturePolicy() 330 updateAllowedCapturePolicy(apc, capturePolicy); in setAllowedCapturePolicy() 353 private void updateAllowedCapturePolicy(AudioPlaybackConfiguration apc, int capturePolicy) { in updateAllowedCapturePolicy() argument 355 if (attr.getAllowedCapturePolicy() >= capturePolicy) { in updateAllowedCapturePolicy() 360 .setAllowedCapturePolicy(capturePolicy).build()); in updateAllowedCapturePolicy()
|
D | AudioService.java | 8444 public int setAllowedCapturePolicy(int capturePolicy) { in setAllowedCapturePolicy() argument 8446 int flags = AudioAttributes.capturePolicyToFlags(capturePolicy, 0x0); in setAllowedCapturePolicy() 8451 mPlaybackMonitor.setAllowedCapturePolicy(callingUid, capturePolicy); in setAllowedCapturePolicy() 8465 int capturePolicy = mPlaybackMonitor.getAllowedCapturePolicy(callingUid); in getAllowedCapturePolicy() local 8467 return capturePolicy; in getAllowedCapturePolicy()
|
/frameworks/base/media/java/android/media/ |
D | AudioAttributes.java | 871 public @NonNull Builder setAllowedCapturePolicy(@CapturePolicy int capturePolicy) { in setAllowedCapturePolicy() argument 872 mFlags = capturePolicyToFlags(capturePolicy, mFlags); in setAllowedCapturePolicy() 1437 public static int capturePolicyToFlags(@CapturePolicy int capturePolicy, int flags) { in capturePolicyToFlags() argument 1438 switch (capturePolicy) { in capturePolicyToFlags()
|
D | IAudioService.aidl | 290 int setAllowedCapturePolicy(in int capturePolicy); in setAllowedCapturePolicy() argument
|
D | AudioManager.java | 1553 public void setAllowedCapturePolicy(@AudioAttributes.CapturePolicy int capturePolicy) { in setAllowedCapturePolicy() argument 1557 int result = service.setAllowedCapturePolicy(capturePolicy); in setAllowedCapturePolicy()
|
/frameworks/av/media/libaaudio/include/aaudio/ |
D | AAudio.h | 757 aaudio_allowed_capture_policy_t capturePolicy) __INTRODUCED_IN(29);
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 1079 status_t AudioPolicyService::setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) { in setAllowedCapturePolicy() argument 1085 return mAudioPolicyManager->setAllowedCapturePolicy(uid, capturePolicy); in setAllowedCapturePolicy()
|
D | AudioPolicyService.h | 194 status_t setAllowedCapturePolicy(uint_t uid, audio_flags_mask_t capturePolicy) override;
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 227 status_t setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) override;
|
D | AudioPolicyManager.cpp | 3290 status_t AudioPolicyManager::setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) in setAllowedCapturePolicy() argument 3292 mAllowedCapturePolicies[uid] = capturePolicy; in setAllowedCapturePolicy()
|