To test package orders, host side tests are added.
AllowedPackages istested as well.
Additionaly, RouteDiscoveryRequest#getRequiredFeatures is removed
as it doesn't seem to be necessary.
Adding tests, some bugs are found and fixed.
Test: atest MediaRouter2HostTest android.media.cts.MediaRouter2Test
MediaRouter2ManagerTest
Bug: 193631822
Change-Id: I315d6e0d648777566404875e300030740a482c81
Also change DataSpace from long to int (HAL & native are both ints)
Bug: 217776226
Fixes: 218320444
Test: make && SurfaceControlTest#testSurfaceTransaction_setDataSpace
Change-Id: Ic2b9ccb1d0ba3c1d049839310b4fef0881a3d2e2
- Add SyncFence class that include FileDescriptor and related functions
- expose fence file descriptor setter/getter in the Image class
Bug: 210919185
Test: android.hardware.camera2.cts.ImageWriterTest
Change-Id: I7428db26e3e6ca84675d2ce2ef4def46ed0b1397
1. Make sure newly added lists are non-null in builder
2. Fix variable name & add some extra documentation
Bug: 193631822
Test: atest MediaRoute2InfoTest RouteDiscoveryPreferenceTest
Change-Id: I93ed43acb6113f33f8010cb2ec4b4e0ad98d0b45
Renamed delayCallbackUntilMillisElapsed to
delayCallbackForDurationMillis according to API feedback. Made parameter
more consistent with the method name.
Test: m && atest android.media.tv.tuner.cts.TunerTest
Bug: 213174673
Change-Id: I296c56078a4089d456c0a2359cacfd37d4922f7d
"flag" is used to define whether the constants can be used as a flag, or
just just as an enum (the default). All constants are enums.
Bug: 174239416
Fix: 174239416
Test: make and atest android.media.tv.tuner.cts
Change-Id: I61b4335d62a62c79cc57b84a8d90f8c6e8a18443
Due to bigest topic on aosp, the cl has not been merged in internal
This CL is only to reduce merge-conflict between aosp and internal
Test: build
Change-Id: I47edabfbcbd2eb15650194d6234f54c16d74ed07
BtProfileConnectionInfo: rename class to BluetoothProfileConnectionInfo
<>.hearingAidInfo: rename to createHearingAidInfo
<>.leAudio: rename to createLeAudio
<>.getIsLeOutput: rename to isLeOutput
<>.getSuppressNoisyIntent: rename to isSuppressNoisyIntent
Did a bit more to keep consistency with a2dp & a2dpSink
Test: build
Test: atest frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/BluetoothProfileConnectionInfoTest.java
Fix: 216294722
Tag: #refactor
Change-Id: I2c4cf8d93b1a8840da1bf92c26d4e76140d0d8da
Specifically,
- mandatory features
- allowed list of packages
- package order for de-duplication
Those can be used to filter out unwanted routes or duplicate routes.
Bug: 193631822
Test: atest MediaRoute2InfoTest RouteDiscoveryPreferenceTest
Change-Id: I506e6dd2c5152d9a3127d6f34856c258bb750daa
Make TvInputManager#getClientPid() to System SDK API for MediaCodec
resource reclaiming on multi-window w/ multi TV apps.
Bug: 179813957
Test: run cts -m CtsTvTestCases -t
android.media.tv.cts.TvInputManagerTest
Change-Id: Ifd5193707979f7e5f3e2e9061a81d0f7286e7d64