summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* New MediaFormat keys for AACJean-Michel Trivi2014-07-211-0/+112
| | | | | | | | | | | | | | Decoder: KEY_AAC_DRC_ATTENUATION_FACTOR KEY_AAC_DRC_BOOST_FACTOR KEY_AAC_DRC_HEAVY_COMPRESSION KEY_AAC_DRC_TARGET_REFERENCE_LEVEL KEY_AAC_ENCODED_TARGET_LEVEL KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT Encoder: KEY_AAC_SBR_MODE Change-Id: I69abe01add135875446914134d93a58815992e07
* Deprecate apis that were replaced by sessionsRoboErik2014-07-214-5/+15
| | | | | | | These classes all have new components in the session APIs. bug:16218444 Change-Id: Ib64ff0e23503e4c9eb2fd9162a878e1eaba7c4df
* Merge "AudioAttributes for SoundPool" into lmp-devJean-Michel Trivi2014-07-193-22/+137
|\
| * AudioAttributes for SoundPoolJean-Michel Trivi2014-07-203-22/+137
| | | | | | | | | | | | | | | | | | | | | | Add support for building a SoundPool instance and specify the AudioAttributes. Remove SRC quality which was never implemented, while leaving room for supporting it later through the Builder pattern. Remove stream types. Update AudioService's use of SoundPool to the new scheme. Change-Id: Ie51e4008684e5ba25f9b7368098e4f20266a15c7
* | TIF: Extend multiple TV input per service for HDMI logical devicesJi-Hwan Lee2014-07-215-37/+106
| | | | | | | | | | | | | | | | Remove ITvInputManager.registerTvInputInfo() and let addTvInputInfo*() cover the registration. Bug: 15570939 Change-Id: Ic36701de96696e7fe32fc1faa0d5f6fde53f6666
* | TIF: Add sendAppPrivateCommand()Jae Seo2014-07-206-4/+92
| | | | | | | | | | | | | | | | Added a way to send a private command from the application to the TV input. This can be used to provide domain-specific features that are only known between certain TV inputs and their clients. Change-Id: I7548311a64147b8ff27562ec680b941e2ec10bc0
* | Merge "Remove obsolete USAGE_NOTIFICATION_TELEPHONY_RINGTONE definition" ↵Jean-Michel Trivi2014-07-181-5/+0
|\ \ | | | | | | | | | into lmp-dev
| * | Remove obsolete USAGE_NOTIFICATION_TELEPHONY_RINGTONE definitionJean-Michel Trivi2014-07-201-5/+0
| | | | | | | | | | | | | | | | | | Bug 16401631 Change-Id: I522e7c7030a71b528a484d4d8ae517b4b09460bf
* | | TIF: update documentation of TvInputInfo.getParentId()Youngsang Cho2014-07-211-7/+11
|/ / | | | | | | Change-Id: I5c0733d28621486ec0ff0f093c22eb1cc05f785d
* | Merge "Rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE" into lmp-devJean-Michel Trivi2014-07-171-7/+12
|\ \
| * | Rename USAGE_NOTIFICATION_TELEPHONY_RINGTONEJean-Michel Trivi2014-07-201-7/+12
| |/ | | | | | | | | | | | | | | | | | | | | | | AudioAttributes: rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE to USAGE_NOTIFICATION_RINGTONE in the list of usage values. Temporarily keep the old definition to prevent transient build breakages, will be removed after telephony packages have been updated. Bug 16401631 Change-Id: I9398443fd7ba3c30e9d371c5c5a2934b9ea6f30a
* | audio: fix too early connection to HdmiControlServiceWonsik Kim2014-07-201-5/+5
|/ | | | | | Connect to HdmiControlService on systemReady(), not on constructor. Change-Id: Ic91467f040fbffa48393e876997bd320ae9500db
* Merge "API for audio session ID generation" into lmp-devJean-Michel Trivi2014-07-193-7/+19
|\
| * API for audio session ID generationJean-Michel Trivi2014-07-203-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | Expose the value used by the framework to generate an audio session ID when a value isn't known. Rename allocateAudioSessionId() to generateAudioSessionId() as this operation doesn't "allocate" anything, and there is no allocated resource to free after this operation. Bug 16401631 Change-Id: I7a7bc05b39ea0b024ff225254eb755a9c85a2ad9
* | Merge "TIF: revise API names" into lmp-devWonsik Kim2014-07-177-83/+85
|\ \
| * | TIF: revise API namesSungsoo Lim2014-07-197-83/+85
| | | | | | | | | | | | | | | | | | | | | | | | - TvInputManager: TvInputCallback -> TvInputListenter - TvParentalControlManager: ParentalControlCallback -> ParentalControlListener - TvView: unblockContent -> requestUnblockContent Change-Id: I58220e86a4e59ee7d8f28fab833f09cd603b1e38
* | | getMasterStreamType from MUSIC -> NOTIFICATIONJohn Spurlock2014-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | For non-voice-capable devices to follow suit with the new policy. Bug:15592574 Change-Id: I5de36de5cfe157702bbdf6918df51a98f3f0051a
* | | Non-voice-capable device default stream is now NOTIFICATION.John Spurlock2014-07-191-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Policy change, the volume rocker displayed when nothing else is going on is now consistent with voice-capable devices. Bug:15592574 Change-Id: I0f5cb3667b76e1d05286937c702e532f6298ec7c
* | | Zen mode filtering should use new usage constants.John Spurlock2014-07-194-15/+45
|/ / | | | | | | | | | | | | Refactor stream-based calls to usage-based calls. Bug:15279516 Change-Id: I3f7757d8123c14670e2ad5f8e6aa4e9803efe7ec
* | Merge "TIF: Reorder TvInputInfo types from old to new." into lmp-devWonsik Kim2014-07-172-21/+41
|\ \
| * | TIF: Reorder TvInputInfo types from old to new.Dongwon Kang2014-07-192-21/+41
| | | | | | | | | | | | | | | | | | | | | | | | This change is internal cleanup change. The purpose of this change is to reorder the types so that new types can be added at the end of the type list later. Change-Id: I377c98dc397ef75c3473ee5133b2ffb49d278a50
* | | Extend MediaCodecInfo to describe usable codec limits and featuresLajos Molnar2014-07-195-83/+2402
|/ / | | | | | | | | | | | | Bug: 11990470 Bug: 12065651 Bug: 16131974 Change-Id: I841b8507e823f1ddf14754e34029a9bed4f402d8
* | TIF: introduce TvInputPassthroughWrapperService class to support 2-way ↵Dongwon Kang2014-07-193-5/+263
| | | | | | | | | | | | | | | | | | | | pairing use-case. This change adds a class which will be used for the TV input which controls an external device which is connected to the pass-through TV input. Bug: 15496325 Change-Id: I52d48c45570c2d62d759a9da2ab96ec8461c13f7
* | Merge "TIF: Add a way to notify whether the current program content is ↵Jae Seo2014-07-185-34/+133
|\ \ | |/ |/| | | allowed" into lmp-dev
| * TIF: Add a way to notify whether the current program content is allowedJae Seo2014-07-185-34/+133
| | | | | | | | | | | | | | | | | | | | Now we have a complete set of API to tell the entire cases (allowed and blocked), which makes possible for the application to rely more on actions taken by TV input services transferring the responsibility for parental control. Bug: 13172379 Change-Id: I7b0dcf16b870782c76a428a1dac6ef1a528b7d40
* | Merge "Add AudioAttributes to stream type conversion" into lmp-devJean-Michel Trivi2014-07-171-0/+39
|\ \
| * | Add AudioAttributes to stream type conversionJean-Michel Trivi2014-07-181-0/+39
| | | | | | | | | | | | | | | | | | | | | Framework internal conversion for going from an AudioAttributes instance to a legacy stream type. Change-Id: Ic3b7d2cf4aa0ac5255aa5897a25c78c940af9f77
* | | Merge "Unhide AudioTrack constructor with AudioAttributes, AudioFormat" into ↵Jean-Michel Trivi2014-07-182-12/+23
|\ \ \ | | | | | | | | | | | | lmp-dev
| * | | Unhide AudioTrack constructor with AudioAttributes, AudioFormatJean-Michel Trivi2014-07-182-12/+23
| |/ / | | | | | | | | | | | | | | | | | | | | | Unhide AudioFormat.Builder Unhide AudioTrack constructor with AudioAttributes, AudioFormat Unhide the missing two channels that enable a 7.1 configuration Change-Id: I60899548da1c688ebe561c25212877e0f3eedb34
* | | Merge "Hide AudioManager.startBluetoothScoVirtualCall()" into lmp-devJean-Michel Trivi2014-07-171-4/+4
|\ \ \ | |/ / |/| |
| * | Hide AudioManager.startBluetoothScoVirtualCall()Jean-Michel Trivi2014-07-181-4/+4
| |/ | | | | | | | | | | | | | | Not intended for public consumption. Bug 16401631 Change-Id: I299a4719fef57a66a428ccf1902aefaf59d7e064
* | Merge "Camera2: add highSpeedVideoConfig wrapper and APIs" into lmp-devYin-Chia Yeh2014-07-181-2/+28
|\ \ | |/ |/|
| * Camera2: add highSpeedVideoConfig wrapper and APIsYin-Chia Yeh2014-07-181-2/+28
| | | | | | | | | | | | | | | | | | | | - Add wrapper class for highSpeedVideoConfiguration. - Add APIs to query high speed video recording configurations in StreamConfigurationMap - Fix ColorSpaceTransform unit test in CameraMetadataTest - Fix a bug in HashCodeHelper Change-Id: I192e57f6ab5dfbba6d958571352f067a9eaec7b2
* | Unhide Virtualizer.getVirtualizationMode()Jean-Michel Trivi2014-07-181-3/+11
| | | | | | | | | | | | | | | | | | Unhide Virtualizer.getVirtualizationMode() method. Added note in javadoc about the returned value. Declared exceptions that can be thrown by the checkStatus(int) helper function. Change-Id: I4da82d1db1e39ca9dae489559bf1fb5de112c26a
* | Merge "TIF: Add unblock content" into lmp-devYoungsang Cho2014-07-176-4/+73
|\ \
| * | TIF: Add unblock contentJaewan Kim2014-07-186-4/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a TV content is blocked by the parental control settings, TV input service will notify TV to request user's PIN code verification. If the verification succeeds, TV input service will be notified back that content is unblocked so it can keep playing the content. Bug: 13172379 Change-Id: I7b31d762eb54612c4d8779ee133211f32fb73b05
* | | Merge "TIF: Add onInputAdded and onInputRemoved" into lmp-devYoungsang Cho2014-07-182-42/+98
|\ \ \ | |/ / |/| |
| * | TIF: Add onInputAdded and onInputRemovedJaewan Kim2014-07-182-42/+98
| | | | | | | | | | | | | | | Bug: 16166859 Change-Id: I51bd87aded3e8619e36be200009e924e73cd348e
* | | Unhide audio virtualizer capability query methodsJean-Michel Trivi2014-07-182-8/+85
| | | | | | | | | | | | | | | | | | | | | | | | Unhide the new method to query the Virtualizer effect implementation about its capabilities in terms of input, device support, and virtual speaker angles. Change-Id: I4478f7837efe8c9d52978244a3402c7f8590e585
* | | Fix android_system_stubs buildJi-Hwan Lee2014-07-181-0/+2
| | | | | | | | | | | | Change-Id: I52c42b5d781b5c07481cdce598d2ebc340d57850
* | | TIF: introduce TvContract.buildChannelUriForPassthroughTvInput()Dongwon Kang2014-07-182-35/+87
|/ / | | | | | | | | | | | | | | This change adds a way to get a dummy channel for starting pass-through TV inputs which don't have real channels in TvProvider. Bug: 15496325 Change-Id: I7a6b99964319f12a0f8692b4e307e03480119a69
* | Merge "TIF: change onCreateSession() method signature" into lmp-devWonsik Kim2014-07-171-14/+1
|\ \
| * | TIF: change onCreateSession() method signatureWonsik Kim2014-07-181-14/+1
| | | | | | | | | | | | | | | Bug: 16138420 Change-Id: I73f4992bd76b888c7e5bc6260b3ed849760ee707
* | | Merge "TIF: Change the parameter of TvInputInfo.loadLabel/Icon" into lmp-devYoungsang Cho2014-07-171-6/+6
|\ \ \
| * | | TIF: Change the parameter of TvInputInfo.loadLabel/IconYoungsang Cho2014-07-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Labels and icons will be extracted from URI in the future. To acheive it, we need Context rather than PackageManager. Bug: 16166859 Change-Id: I20f0506fba5876a6cf21b70e44bb3a2265f723d7
* | | | Merge "TIF: Hide TvContract.Channels.COLUMN_BROWSABLE" into lmp-devYoungsang Cho2014-07-171-2/+4
|\ \ \ \
| * | | | TIF: Hide TvContract.Channels.COLUMN_BROWSABLEYoungsang Cho2014-07-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TODO: Remove BROWSABLE in TvContract, TvProvider and TV app. Bug: 16195951 Change-Id: I20e8e1e2f93e0133eba3694e0c1724d443250e59
* | | | | Merge "TIF: Add a notification for surface change from TvView to ↵Youngsang Cho2014-07-176-15/+100
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | TvInputService" into lmp-dev
| * | | | | TIF: Add a notification for surface change from TvView to TvInputServiceYoungsang Cho2014-07-176-15/+102
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Bug: 15447352 Change-Id: I3e91609c5eb03be84cc7c88507457b9e74750de8
* | | | | TIF: Add a method to get TvInputInfo for a given TV inputJae Seo2014-07-172-0/+15
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is going to be needed by applications to get information about the inputs that are just added thus not included in the previously retrieved input list. Bug: 16166859, Bug: 15838097 Change-Id: Icecd03fcea208a0c4d41caab1eec64e574f40877