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 60 if (capturePolicy != DONT_SET) { in checkAttributes() 61 AAudioStreamBuilder_setAllowedCapturePolicy(aaudioBuilder, capturePolicy); in checkAttributes() 88 (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 | 7384 public int setAllowedCapturePolicy(int capturePolicy) { in setAllowedCapturePolicy() argument 7386 int flags = AudioAttributes.capturePolicyToFlags(capturePolicy, 0x0); in setAllowedCapturePolicy() 7391 mPlaybackMonitor.setAllowedCapturePolicy(callingUid, capturePolicy); in setAllowedCapturePolicy() 7405 int capturePolicy = mPlaybackMonitor.getAllowedCapturePolicy(callingUid); in getAllowedCapturePolicy() local 7407 return capturePolicy; in getAllowedCapturePolicy()
|
/frameworks/base/media/java/android/media/ |
D | AudioAttributes.java | 749 public @NonNull Builder setAllowedCapturePolicy(@CapturePolicy int capturePolicy) { in setAllowedCapturePolicy() argument 750 mFlags = capturePolicyToFlags(capturePolicy, mFlags); in setAllowedCapturePolicy() 1267 public static int capturePolicyToFlags(@CapturePolicy int capturePolicy, int flags) { in capturePolicyToFlags() argument 1268 switch (capturePolicy) { in capturePolicyToFlags()
|
D | IAudioService.aidl | 266 int setAllowedCapturePolicy(in int capturePolicy); in setAllowedCapturePolicy() argument
|
D | AudioManager.java | 1512 public void setAllowedCapturePolicy(@AudioAttributes.CapturePolicy int capturePolicy) { in setAllowedCapturePolicy() argument 1516 int result = service.setAllowedCapturePolicy(capturePolicy); in setAllowedCapturePolicy()
|
/frameworks/av/media/libaaudio/include/aaudio/ |
D | AAudio.h | 730 aaudio_allowed_capture_policy_t capturePolicy) __INTRODUCED_IN(29);
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 986 status_t AudioPolicyService::setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) { in setAllowedCapturePolicy() argument 992 return mAudioPolicyManager->setAllowedCapturePolicy(uid, capturePolicy); in setAllowedCapturePolicy()
|
D | AudioPolicyService.h | 189 status_t setAllowedCapturePolicy(uint_t uid, audio_flags_mask_t capturePolicy) override;
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 222 status_t setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) override;
|
D | AudioPolicyManager.cpp | 3175 status_t AudioPolicyManager::setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) in setAllowedCapturePolicy() argument 3177 mAllowedCapturePolicies[uid] = capturePolicy; in setAllowedCapturePolicy()
|