- also add a constructor so apps can create their performance points
- remove width and height as they are not by themselves meaningful
(only their product)
- document that we are using macroblocks
Bug: 124061036
Change-Id: I70ff9f059859b83397ba484b9ea9215d1d2751ef
These Extensible Metadata Platform (XMP) tags contain XML data which
is used to communicate rich metadata information beyond EXIF.
TIFF: Tag 700
JPEG: Application segment 1 (0xFFE1) with segment header
"http://ns.adobe.com/xap/1.0/\x00"
Bug: 120791890
Test: atest cts/tests/tests/media/src/android/media/cts/ExifInterfaceTest.java
Change-Id: Iacccbf9b516b3204d99a760eaeb19a41554c3f97
These keys are already used by apps, and we need to
add test to ensure they're not broken.
bug: 80314065
Change-Id: I2f423fd8d5462caf4138f660d452e61b0ab34d66
Use Arrays.equals() instead of equals() methods on the effects
Arrays contained in AudioRecordingConfiguration.
Bug: 123702064
Test: cts-tradefed run cts-dev -m CtsMediaTestCases -t android.media.cts.AudioRecordingConfigurationTest
Change-Id: I11d1321f1a5d8f50c248a4702bbba6a309280b5a
This reverts commit cdcaed6acb.
Reason for revert: <Verified build locally, CL is fine. original issue may be caused by conflict between merges>
Change-Id: Id9707692a704c3d4475aee1f6c580208eb6ab744
Test: Manual
Bug: 122472761
This reverts commit c1e4316e02.
Reason for revert: Now the circular dependency problem is resolved, this change is now obsolete.
Bug: 123336670
Change-Id: I065d811e9b8a3c7f851fb66d9527d62b417f1420
Fix inconsistent naming of offline license states
bug:120489407
bug:120488811
test:cts and gts media tests
Change-Id: I6cceac233cf8882c5bf7fbef7503764c611125d1
As suggested in API review, change IllegalArgumentException
to NullPointerException for the case when the argument is null.
Bug: 123569725
Test: make
Change-Id: I4f0d6fd609b1c2f2096fe0f610804f49432cb650
This CL also removes SessionCallbackLink.CallbackStub class
from the system API list.
Bug: 123500993
Test: make update-api -j; make -j;
atest CtsMediaTestCases:android.media.cts.MediaSessionTest;
atest CtsMediaTestCases:android.media.cts.MediaControllerTest;
Change-Id: I59b4d4ce058c53c82d816152039c51b109f0c245
This removes hidden API usages from the fwk to apex, which would be
prohibited.
With this API, the dispatching logic is changed as follows for sending
key events directly to MediaSessionRecord through MediaSessionService.
Before:
PhoneWindow
-> MediaController.dispatch***AsSystemService(key)
-> MediaSessionRecord
After:
PhoneWindow
-> MediaSessionManager.dispatch**AsSystemService(sessionToken, key)
-> MediaSessionService
-> MediaSessionRecord
Bug: 123485698
Test: Build, flash and injected some key events
Change-Id: I3e0bca7565ae2f142c3389322d867700646d5038
Due to the @UnsupportedAppUsage on
MediaMetadata.getKeyFromMetadataEditorKey, we'd better not to move the
class to APEX. This CL moves the MediaMetadata back to framework.
Also, in order to avoid hidden framework API usages in mainline module,
this CL moves the usage of hidden constructor of MediaMetadata.Builder()
from MediaSessionEngine to MediaSession.
Bug: 123488217
Test: make update-api -j; make -j;
vendor/google/tools/flashall;
atest CtsMediaTestCases:android.media.cts.MediaSessionTest;
atest CtsMediaTestCases:android.media.cts.MediaControllerTest;
Change-Id: I21b4f0f59214478071bb0eafa93bb9538e44bf4e
This removes hidden annotation usages from the framework to the apex,
which would be prohibited.
Test: Build
Bug: 123485698
Change-Id: I9f6b17a61c5438e0d538a7a97587c375d8603613