History log of /frameworks/av/services/oboeservice/AAudioStreamTracker.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2fe718b88ebc7e9f10e1195591dd62ae9e26ed8d 14-May-2018 Phil Burk <philburk@google.com> aaudio: fix possible race condition in close()

Move increment and decrement of reference count under
the same lock used for finding the stream.

Bug: 79693915
Test: run CTS tests
Change-Id: I206eb09724a81f2d79a03fa756adbcbb8abf5efa
/frameworks/av/services/oboeservice/AAudioStreamTracker.h
bbd5286e99bbacf9907e2ecf1f7181db17ee6e46 13-Apr-2018 Phil Burk <philburk@google.com> aaudio: teardown stream based on a port handle

Needed for silencing specific input streams.
Pass AAudioService reference into AAudioServiceEndpointMMAP.
Use it to find a specific stream by PortHandle then
stop it and disconnect it.

Bug: 72134552
Test: b/72134552#comment10
Change-Id: Ibdf242f834c83b47c967c3cc634ed1083b019d4a
/frameworks/av/services/oboeservice/AAudioStreamTracker.h
523b3047af443d0a51141ddabd328d52be5a23b0 13-Sep-2017 Phil Burk <philburk@google.com> aaudio: keep track of streams using strong pointers

Maintain strong pointer to service stream during service calls.
Use simple AAudioStreamTracker instead of complex HandleTracker.

Bug: 65280854
Test: affects all MMAP streams, run all CTS tests, etcetera
Change-Id: I3d2ed8b588ea39c216dacd4dea503b11c33f36f3
/frameworks/av/services/oboeservice/AAudioStreamTracker.h