- Dec 24, 2020
-
-
Steven Moreland authored
Forward ownership of libbinder and libhwbinder related things to respective libbinder and libhwbinder OWNERS sets, to support future developments. Bug: 149869862 Test: N/A Change-Id: If14bfdd89719c7cb1e39594aecdb089d4d5c96e3
-
- Dec 23, 2020
-
-
Roshan Pius authored
* changes: WifiInfo: Add equals implementation Convert WifiInfo to TransportInfo
-
Chi Zhang authored
-
Anton Hansson authored
-
Anton Hansson authored
These were used temporarily before merged stubs were ready, but they are not used anymore. Test: m Change-Id: I517f64353749ffd8d92b8ddbc1dd8b7af75f2176
-
Anton Hansson authored
-
Baligh Uddin authored
-
Nikita Ioffe authored
-
Andrei-Valentin Onea authored
-
Eric Laurent authored
* changes: Audio: use preferred device for strategy for communication route AudioManager: Add communication device management APIs AudioService: refactor communication route control
-
Eric Laurent authored
Replaced use of forced usage for communication by set preferred device for strategy to control communication route in audio policy manager. Also do not use forced usage for record which was redundant with forced usage for communication. Bug: 161358428 Test: audio smoke tests Change-Id: I665257fc5903b663096104b0424781d9799635a5 Merged-In: I665257fc5903b663096104b0424781d9799635a5
-
Eric Laurent authored
Add new APIs to manage the audio device used for communication use cases (Cellular calls, VoIP and Video calls). These APIs are meant to replace specific APIs like setSpeakerPhoneOn() and provide a single generic way of configuring the audio device selected for calls. They will be used for newly added device types (e.g. BLE audio) instead of adding new specific APIs. They will also offer more options like for instance allowing to select the earpiece (handset) device when a wired headset is connected. The new APIs are: - boolean setDeviceForCommunication(AudioDeviceInfo) - void clearDeviceForCommunication() - AudioDeviceInfo getDeviceForCommunication() A listener is also added for applications to monitor current communication device selection: - OnCommunicationDeviceChangedListener As well as listener registration and unregistration APIs: - addOnCommunicationDeviceChangedListener() - removeOnCommunicationDeviceChangedListener() Bug: 161358428 Test: make && atest AudioCommunicationDeviceTest Change-Id: I8028d842e4a8ca1abe0f87d03e3c5d57c46b9362 Merged-In: I8028d842e4a8ca1abe0f87d03e3c5d57c46b9362
-
Eric Laurent authored
Audio routing for communication use cases (cell, video and VoIP calls) is controlled by separate APIs: setSpeakerPhoneOn(), startBluetoothSco() and stopBluetoothSco(). Requests for speakerphone and bluetooth are managed by separate client stacks although in the end they control a single routing state in audio policy manager, which creates problems in case of conflicting requests and race conditions. This CL refactors the implementation by regrouping the Bluetooth Sco and Speaker client stacks into a single one. This makes sure that no conflicting routing request exist for a given client. It also makes handling of race conditions and prioritization between clients easier. Finally, it prepares the introduction of a new API that will be the single entry point for communication route control. Also in this CL: - Option to enable more debug log for communication route - Fixes in BtHelper.receiveBtEvent() 1) Fix intent broadcast missing in case of transition from external activation to internal activation. 2) Do not clear SCO requests when SCO audio is disconnected: this can happen because current active communication route request is different from SCO but pending requests must stay in the stack. 3) Do not clear SCO requests when the audio mode owner changes. Any Active communication route requested by new audio mode owner will be honored and pending requests will be restored when mode owner changes again. Test: regression tests with cell and VoIP calls Change-Id: If9d2f24b9def78ccd791294ed42d95ce30f0ba8b Merged-In: If9d2f24b9def78ccd791294ed42d95ce30f0ba8b
-
Eric Laurent authored
-
Roshan Pius authored
This is needed for connectivity to compare TransportInfo instances. Bug: 162602799 Test: atest android.net.wifi Change-Id: I215b769339f68b76a1b2fa15f66c4527d184b696 Merged-In: I215b769339f68b76a1b2fa15f66c4527d184b696
-
Roshan Pius authored
Also, deprecate WifiManager.getConnectionInfo() and add a note to help apps to migrate. The deprecation is purely cosmetic, no plans to remove any existing functionality from the WifiManager API. Bug: 162602799 Test: Compiles Change-Id: I12c473185dc5518f5684e83c2f49e07271738cb5 Merged-In: I12c473185dc5518f5684e83c2f49e07271738cb5
-
Chiachang Wang authored
-
Chiachang Wang authored
-
Chiachang Wang authored
-
Baligh Uddin authored
Add paths to visibility needed for tests. Soong allows specifying paths w/o validation. Once the migration is complete, we can remove the old path in visibility rules. BUG: 137323948 Test: TH Change-Id: I81c053c79dd82d7059bc7fb67be82accc3254e97
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
Shuo Qian authored
-
- Dec 22, 2020
-
-
Daniel Norman authored
-
Treehugger Robot authored
-
Daniel Norman authored
This is needed to fix invalid OWNERS for other files in this directory. Test: n/a Change-Id: I5d6d4b8c578ba066cf968cb719b6dd29693f017b
-
Greg Kaiser authored
-
Treehugger Robot authored
-
Jiabin Huang authored
Support set/clear/get preferrd device for capture preset. The preferred device will be used for audio routing when it is availabled. The preferred device doesn't need to be present when setting. Bug: 160352965 Test: atest AudioServiceTest Test: atest AudioServiceHostTest Test: atest CarAudioZonesHelperTest Change-Id: Ib7aa142ad4c56a8138c7b440e8efbbf7a7ee38a6 Merged-In: Ib7aa142ad4c56a8138c7b440e8efbbf7a7ee38a6
-
JW Wang authored
Now it returns a boolean to indicate if the snapshot was successful or not since we no longer use inode to delete snapshots. Bug: 154897348 Test: atest RollbackUnitTest RollbackStoreTest AppDataRollbackHelperTest Merged-In: I10ed0e3adef88a27ee239c183d99a836b623d0d1 Change-Id: I10ed0e3adef88a27ee239c183d99a836b623d0d1 (cherry picked from commit 6d8e4e5a)
-
David Su authored
This is not part of the Wifi module, move it to the non-updatable directory. Bug: 176105484 Test: compiles Merged-In: Ia95e300da9286d79ee57c285c3bfa88ecc98e326 Change-Id: I495b3edc6e7a6bbb7bae287e8bdd88243e72da70
-
Greg Kaiser authored
This reverts commit f7dc3f67. Reason for revert: b/176163590, continual fatal exceptions in telephony on reboot Bug: 176163590 Test: Local revert and the fatal exceptions go away Change-Id: If7cbe3e5b8764f0ee72985830880157f64d71101
-
Benjamin Schwartz authored
-
Treehugger Robot authored
-
Eric Laurent authored
-
Eric Laurent authored
-
Eric Laurent authored
Add OWNERS file to services/tests/servicestests/src/com/android/server/audio and add jmtrivi@google.com to media owners file. Test: N/A Change-Id: If446eb3f2de07ab1cb3e87715b964a9360ec684c
-
Anton Hansson authored
-
Eric Laurent authored