diff options
| author | 2019-04-10 16:49:02 -0700 | |
|---|---|---|
| committer | 2019-04-22 11:01:51 -0700 | |
| commit | decb6295141a9507886d7536569d17921941a0e6 (patch) | |
| tree | fa806e9a492432ee0566fca600abe79d06b19cc8 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 8cd204d6cd66f581e10ce574ba72faf1ebf6b592 (diff) | |
Add IAudioManager methods for tracking client recording activity
audio_unique_id_t IAudioManager::trackRecorder(IBinder token)
- registers a client recorder withing Audio Service,
returns a unique tracking recording ID (RIID);
Audio Service tracks the lifetime of the recorder using
the provided token.
oneway recorderEvent(int riid, int event)
- updates the current state of the client;
only "started" and "stoped" states are considered.
Bug: 123312504
Test: android.media.cts.AudioRecordingConfigurationTest
AudioRecordTest#testAudioRecordInfoCallback
MediaRecorderTest#testAudioRecordInfoCallback
manual testing using Oboe and Solo test apps
Change-Id: Iddb1b91fff7127ab35ba1d33e3e6c32937ac3081
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions