Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java164 synchronized (mAllowedCapturePolicies) { in trackPlayer()
166 if (mAllowedCapturePolicies.containsKey(uid)) { in trackPlayer()
167 updateAllowedCapturePolicy(apc, mAllowedCapturePolicies.get(uid)); in trackPlayer()
179 synchronized (mAllowedCapturePolicies) { in playerAttributes()
180 if (mAllowedCapturePolicies.containsKey(binderUid) in playerAttributes()
181 && attr.getAllowedCapturePolicy() < mAllowedCapturePolicies.get(binderUid)) { in playerAttributes()
183 .setAllowedCapturePolicy(mAllowedCapturePolicies.get(binderUid)).build(); in playerAttributes()
339 private final HashMap<Integer, Integer> mAllowedCapturePolicies = field in PlaybackActivityMonitor
353 synchronized (mAllowedCapturePolicies) { in setAllowedCapturePolicy()
357 mAllowedCapturePolicies.remove(uid); in setAllowedCapturePolicy()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h860 std::unordered_map<uid_t, audio_flags_mask_t> mAllowedCapturePolicies; variable
DAudioPolicyManager.cpp1002 if (auto it = mAllowedCapturePolicies.find(uid); it != end(mAllowedCapturePolicies)) { in getOutputForAttrInt()
3571 for (auto& policy : mAllowedCapturePolicies) { in dump()
3589 mAllowedCapturePolicies[uid] = capturePolicy; in setAllowedCapturePolicy()