Searched refs:mutedUsages (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/muteawait/ |
D | MediaMuteAwaitConnectionManager.kt | 49 override fun onMutedUntilConnection(device: AudioDeviceAttributes, mutedUsages: IntArray) { in onMutedUntilConnection() 50 logger.logMutedDeviceAdded(device.address, device.name, mutedUsages.hasMedia()) in onMutedUntilConnection() 51 if (mutedUsages.hasMedia()) { in onMutedUntilConnection() 64 mutedUsages: IntArray in onUnmutedEvent() 68 device.address, device.name, mutedUsages.hasMedia(), isMostRecentDevice in onUnmutedEvent() 70 if (isMostRecentDevice && mutedUsages.hasMedia()) { in onUnmutedEvent()
|
/frameworks/base/media/java/android/media/ |
D | IMuteAwaitConnectionCallback.aidl | 28 void dispatchOnMutedUntilConnection(in AudioDeviceAttributes device, in int[] mutedUsages); in dispatchOnMutedUntilConnection() argument 30 void dispatchOnUnmutedEvent(int event, in AudioDeviceAttributes device, in int[] mutedUsages); in dispatchOnUnmutedEvent() argument
|
D | AudioManager.java | 9592 @NonNull int[] mutedUsages) {} in onMutedUntilConnection() argument 9603 @NonNull AudioDeviceAttributes device, @NonNull int[] mutedUsages) {} in onUnmutedEvent() argument 10218 int[] mutedUsages) { in dispatchOnMutedUntilConnection() argument 10221 (listener) -> listener.onMutedUntilConnection(device, mutedUsages)); in dispatchOnMutedUntilConnection() 10227 int[] mutedUsages) { in dispatchOnUnmutedEvent() argument 10230 (listener) -> listener.onUnmutedEvent(event, device, mutedUsages)); in dispatchOnUnmutedEvent()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AudioRestrictionManager.java | 77 final SparseBooleanArray mutedUsages = CAMERA_AUDIO_RESTRICTIONS.get(code); in checkAudioOperation() local 78 if (mutedUsages != null) { in checkAudioOperation() 79 if (mutedUsages.get(usage)) { in checkAudioOperation()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 11070 final int[] mutedUsages; in cancelMuteAwaitConnection() local 11083 mutedUsages = mMutedUsagesAwaitingConnection; in cancelMuteAwaitConnection() 11095 AudioManager.MuteAwaitConnectionCallback.EVENT_CANCEL, dev, mutedUsages); in cancelMuteAwaitConnection() 11118 final int[] mutedUsages; in checkMuteAwaitConnection() local 11124 mutedUsages = mMutedUsagesAwaitingConnection; in checkMuteAwaitConnection() 11140 ada, mutedUsages); in checkMuteAwaitConnection() 11149 final int[] mutedUsages; in onMuteAwaitConnectionTimeout() local 11156 mutedUsages = mMutedUsagesAwaitingConnection; in onMuteAwaitConnectionTimeout() 11164 timedOutDevice, mutedUsages); in onMuteAwaitConnectionTimeout()
|