With b/152655547, all aidl_interface modules are considered as stable
unless it is explicitly with "unstable: true". This change marks the
aidl_interface that are not used across updatable module bounraries
as unstable, so that the build system does not run the API
dumping/checking on them.
Bug: 152655547
Test: m
Change-Id: I5597f7d3fa0e2196dbfcf7ab9a33c71c15a33806
AdjustableMaxPriorityQueue is a custom max priority queue that helps managing jobs for MediaTranscodingService.
AdjustableMaxPriorityQueue is a wrapper template around the STL's *_heap() functions.
- Internally, it uses a std::vector<T> to store elements in a heap order.
- Support adjusting item's priority while maintaining the heap property.
- Support removing any item in the heap while maintaining the heap property.
- AdjustableMaxPriorityQueue needs T::operator<() at instantiation time
Bug: 145233472
Test: Unit test.
Change-Id: Ic43eee817877dfbf8b38919ce03d40d8763c493c
TranscodingClientManager manages all the clients for
MediaTranscodingService.
Bug: 145233472
Test: Unit test.
Change-Id: I29243eeb6dcc0271c9edc8cc28e1b9b2bf6b3912
1) Include parcel in Parcelable's name.
2) Add TranscodingJobPriority.
3) Change registerClient API to include pid, uid and packageName.
Bug:145233472
Test: Build and run.
Change-Id: Ide40e6de8fb1b6f01bbae4577ef3b14d6136b577
There are a lot of TODOs now in the code and they will be addressed
in the next few CLs. .
Bug: 145233472
Test: Build and Compile
Change-Id: I27d96b18ebca6f07bc24e4124fb48b0e79d387d2