History log of /frameworks/base/media/java/android/media/tv/TvContract.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d6ae33bd6abfe2ec7f6ec6279711f625d75d0924 02-Sep-2014 Jae Seo <jaeseo@google.com> TIF: Allow ISO 639-1 code for Channels.COLUMN_AUDIO_LANGUAGE

Bug: 17331873
Change-Id: Idabeb056ae2105125174d7392dbe4fae614752fc
/frameworks/base/media/java/android/media/tv/TvContract.java
4c4eadc33dcfe75c32b28fb3fce3f3b02b8708bd 29-Aug-2014 Dongwon Kang <dwkang@google.com> TIF: update the default value documentation of Channels.COLUMN_BROWSABLE.

Bug: 17310177
Change-Id: Ibd765675983082f63fde3586b7c7cf6cd399c80d
/frameworks/base/media/java/android/media/tv/TvContract.java
8d0b268e42077bab8948de08963cc499e7ad1030 25-Aug-2014 Wonsik Kim <wonsik@google.com> TIF: define hidden channels columns as @SystemApi

Bug: 17165479
Change-Id: Ic0b0bdbc440eb15e68e4a1a5fa15a4875b17d061
/frameworks/base/media/java/android/media/tv/TvContract.java
c22d0c0941ab65ca69977d002c4431394a735c7d 15-Aug-2014 Jae Seo <jaeseo@google.com> TIF: Make passthrough related method names consistent

Bug: 17063792
Change-Id: Id76b37ae1507db5d78319b8786b395353ded70e1
/frameworks/base/media/java/android/media/tv/TvContract.java
81d1b4def076ff3788c4f0e9a57a3a319dfd4b32 13-Aug-2014 Chulwoo Lee <chulwoo@google.com> TIF: Enable to build uri for browsableOnly channels

BUG: 16966138
Change-Id: Idf3a349547a269777a8336b6bbbf933b52f5582a
/frameworks/base/media/java/android/media/tv/TvContract.java
7eb75dff7a0fb4b19c3e801cd388483d7d471f41 09-Aug-2014 Jae Seo <jaeseo@google.com> TIF: Move watch history logging to TvProvider

There are only two kinds of watch events that can happen on the system:
1. The current TV input session is tuned to a new channel.
2. The session is released for some reason.
The former indicates the end of the previous log entry, if any, followed by the
start of a new entry. The latter indicates the end of the most recent entry for
the given session. Here the system supplies the database the smallest set of
information only that is sufficient to consolidate the log entries while
minimizing database operations in the system service.

Bug: 14791151, Bug: 15921205, Bug: 15988715, Bug: 16831555
Change-Id: Ifcb1a1273c14ee234919d819d082b1004eb92ebc
/frameworks/base/media/java/android/media/tv/TvContract.java
156aeecef2cf7b522e290b293484a24521b7b86e 05-Aug-2014 Ji-Hwan Lee <jihwan@google.com> TIF: Make TvContract URI consistent

- input/*/channel -> channel?input=*
- channel/#/program -> program?channel=#

Bug: 16806157, Bug: 16804331
Change-Id: Idbded032da166e789148c4b8e38ea521468fd9fa
/frameworks/base/media/java/android/media/tv/TvContract.java
546c635ad9a26421fbdf54efa765b5ab0a63c191 07-Aug-2014 Jae Seo <jaeseo@google.com> TIF: Change CEC specific names to more general ones

Now MHL device information is also a part of HdmiDeviceInfo (previously
HdmiCecDeviceInfo). This change adjusts method/variable names across our code
base to reflect that.

Bug: 16215362
Change-Id: I7a6692329f39842a4aec9a4ff036eca5474cfd33
/frameworks/base/media/java/android/media/tv/TvContract.java
579befecb248162021929ab58ffd23f1724cc6be 07-Aug-2014 Jae Seo <jaeseo@google.com> TIF: Do not log non-searchable channel watch history

Bug: 16798476
Change-Id: Ic131009ad65a661331e4f8f0820c5c183a9f4986
/frameworks/base/media/java/android/media/tv/TvContract.java
1a6b25eabcc1fb66e6e8d76f91fd413e18b793a9 09-Jul-2014 Sungsoo Lim <sungsoo@google.com> TIF: Add a parameter (Bundle params) of tune method

- tune(Uri, Bundle) is added as a system API.

Bug: 15809017
Change-Id: I50bc9b510f469ac3c157f095ccfe27d1cd1d9854
/frameworks/base/media/java/android/media/tv/TvContract.java
94a509b123d1a115756bab8facf5d0ca54b42ff5 24-Jul-2014 Dongwon Kang <dwkang@google.com> Remove COLUMN_CONDITIONAL_ACCESS from TvContract.

It turned out that having this flag in Channels table does not
make sense for some European countries because they scremble the signal
per program basis. Also, the current flag does not fit to the use-case
like 'pay per view'. Decided to remove this in L release because it's not
clear how we will handle the cases raised at this moment.

Change-Id: Ibbf829f331a307ac89a553e00ece18d5958e72b5
/frameworks/base/media/java/android/media/tv/TvContract.java
9adf3dfe194b2c31ddef39dfc7ec2bb76e65ad93 23-Jul-2014 Jae Seo <jaeseo@google.com> Merge "TIF: Use @SystemApi for APIs that we intend to open to OEMs" into lmp-dev
15bbf3b220fdd22df62f2bfa04452f4cdf11d2bb 21-Jul-2014 Jae Seo <jaeseo@google.com> TIF: Use @SystemApi for APIs that we intend to open to OEMs

Bug: 16374058
Change-Id: Ifdf8188d3791e7e8ab6cc0a30696bde24b16ac5c
/frameworks/base/media/java/android/media/tv/TvContract.java
008f6d4e326f6372e165bdf342178ecd1e834e2f 23-Jul-2014 Youngsang Cho <youngsang@google.com> Block logging watched histories for passthrough inputs

Added a system API TvContract.isChannelUriForPassthroughTvInput

Change-Id: I933482831ae2a8b4d6000c4d16520387b5b6a13f
/frameworks/base/media/java/android/media/tv/TvContract.java
8433ad9ec1ea8a043dbe6f661b8bc0f3b0dcd474 22-Jul-2014 Youngsang Cho <youngsang@google.com> Minor comment change of TvContract.Programs.COLUMN_TITLE

Change-Id: I6592a0708feafc84cd76585428a9743e8fb2af48
/frameworks/base/media/java/android/media/tv/TvContract.java
9f7c25ebeba866d0db696f5db0d29fa8c6a86768 22-Jul-2014 Dongwon Kang <dwkang@google.com> Merge "TIF: Revisit types in TvInputInfo and TvContract.Channels." into lmp-dev
fe9259e6a78ceb08efc43e8bca4981ee18a0a0ef 18-Jul-2014 Dongwon Kang <dwkang@google.com> TIF: Revisit types in TvInputInfo and TvContract.Channels.

For the types in TvInputInfo, TYPE_TUNER represents all the TV inputs
having channels in TvProvider. Also, String is used for the types in
TvContract.Channels for further extension.

Change-Id: Iee1163b449d9f9723ff665178f2967bb8c0ad71d
/frameworks/base/media/java/android/media/tv/TvContract.java
82992fb7919d2cdf08ebe31297e8b9254f60b1bb 22-Jul-2014 Youngsang Cho <youngsang@google.com> Add season/episode related constants in TvContract.Programs

Change-Id: I8d89157b1fbfea062bba73e2534ab0a27112f010
/frameworks/base/media/java/android/media/tv/TvContract.java
eea9743ba5c00ffff3750da40e9bab300ab1bc51 15-Jul-2014 Dongwon Kang <dwkang@google.com> TIF: introduce TvContract.buildChannelUriForPassthroughTvInput()

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
/frameworks/base/media/java/android/media/tv/TvContract.java
6440db358c6aac2c1b5752e25c9386bae824bfd4 17-Jul-2014 Youngsang Cho <youngsang@google.com> TIF: Hide TvContract.Channels.COLUMN_BROWSABLE

TODO: Remove BROWSABLE in TvContract, TvProvider and TV app.

Bug: 16195951
Change-Id: I20e8e1e2f93e0133eba3694e0c1724d443250e59
/frameworks/base/media/java/android/media/tv/TvContract.java
5507bd768893243b6f58a014bc33d0ea2030d493 18-Jul-2014 Jae Seo <jaeseo@google.com> TIF: Add buildInputId()

A recent change mandated that we should provide "input ID" instead of
ComponentName when building URIs for channels/programs while there is no
direct way to get one to use with. This CL added a method to build an ID
from a ComponentName.

Change-Id: Ia7f868cf241bb44ca0d4f689dc15326ce6944468
/frameworks/base/media/java/android/media/tv/TvContract.java
3b2f507910139d7f6dcfea89684196145431859e 17-Jul-2014 Chulwoo Lee <chulwoo@google.com> Merge "Introduce "input_id" column to the channels table" into lmp-dev
d0d02e22cef381d5ee884013d11adb078a76205a 15-Jul-2014 Chulwoo Lee <chulwoo@google.com> Introduce "input_id" column to the channels table

Until now, TvInputService has been providing the channels. But from now
on, a TvInputService can have several TV inputs and the TV input will
provide its channels.
So introduced "input_id" which is the ID of the TV input instead of
"service_name" which designates the TvInputService.
Also updated related APIs.

BUG: 16138420
Change-Id: I1d4dcad17c028384ab75a7f71ee0b305509ae952
/frameworks/base/media/java/android/media/tv/TvContract.java
e16873467cda89d905027458e2664c759465d463 10-Jul-2014 Sungsoo Lim <sungsoo@google.com> Implement TvContentRating

Added a class that represents TV content ratings that are used for
parental controls. TV input services are required to create
TvContentRating objects with rating/sub-rating constants for specific
countries (for now US and KR only) defined in this class and then
convert them into strings in order to store them in the EPG database.

Bug: 13172379
Change-Id: I6200cb12fbc274dd0a8bcb87a8ac3cd2d96791db
/frameworks/base/media/java/android/media/tv/TvContract.java
6e90e4ea4f816473d1941595d1b46b65ffed7bee 01-Jul-2014 Jae Seo <jaeseo@google.com> TvContract: Add a field for network affiliation to the Channels table

This is used to identify a channel that is commonly called by its
network affiliation instead of the display name.

Bug: 15993156
Change-Id: Ib5a15e0e44e815c98b762573b5a24289a86f9583
/frameworks/base/media/java/android/media/tv/TvContract.java
b973baca3b6d83bb29eb468edf3dffd7d7d32e64 01-Jul-2014 Dongwon Kang <dwkang@google.com> Merge "Add a column to TV channel metadata to enable a newly requested use case"
9e4a5ac7517cb0e32e0cf889988c92f640d9cad3 18-Jun-2014 Chulwoo Lee <chulwoo@google.com> Add a method to build channels uri for genre

BUG: 14069779
Change-Id: Ic4aa0f6a1ef154d680a5540140958cf4e735257c
/frameworks/base/media/java/android/media/tv/TvContract.java
2b53aae90cb265f6bc73e08feddc523ba1a0593a 23-Jun-2014 Dongwon Kang <dwkang@google.com> Add a column to TV channel metadata to enable a newly requested use case

conditional_access :
Used to let user know this channel is scrambled by a conditional access
system and need to contact the service provider to watch it.

Bug: 14073703
Change-Id: I62d744b92e31fbbb95ba10b2595686114f6fbb6f
/frameworks/base/media/java/android/media/tv/TvContract.java
3bbd9be166fecc5c333f49e18a2f46c7355472cd 19-Jun-2014 Jae Seo <jaeseo@google.com> Merge "TvContract: Change constants of canonical genres to all-caps values"
0e33c1286d984555802f6b2b81ace9b6021c2d9f 19-Jun-2014 Jae Seo <jaeseo@google.com> Merge "TvContract: Add columns for video format and resolution"
acc1957d78bb52f90c38751d139d8808e2124007 18-Jun-2014 Jae Seo <jaeseo@google.com> TvContract: Change constants of canonical genres to all-caps values

This is just for consistency with other constant values.

Change-Id: If226af08e66532c9110bc88e3c68d3958c67cdb6
/frameworks/base/media/java/android/media/tv/TvContract.java
68e0de81d5689d8f2b3c36cb067a43765557daa1 14-Jun-2014 Jae Seo <jaeseo@google.com> TvContract: Add columns for video format and resolution

Added COLUMN_VIDEO_FORMAT to the Channels table to indicate typical
video format for programs from a given TV channel, which can later be
used to filter out channels. Also defined common video formats and
resolutions and a utility method to get the video resolution for a given
format.

Added COLUMN_VIDEO_WIDTH and COLUMN_VIDEO_HEIGHT to the Programs table
to indicate the actual video dimension for each individual TV program,
which can be shown as a part of program information by applications.

Bug: 15351111, 15456031
Change-Id: Id72e25de40f06a1b615620365e06cf11e4cd9f81
/frameworks/base/media/java/android/media/tv/TvContract.java
5c80ad2077f3e755413ea47a35f51e9d25dbb083 13-Jun-2014 Jae Seo <jaeseo@google.com> Clean up the EPG data when a TV input package is removed

Also removed an unused parameter from sendSessionTokenToClientLocked().

Bug: 14981342
Change-Id: I5bcf6050386a2bc3e216f44420390c4b78282af4
/frameworks/base/media/java/android/media/tv/TvContract.java
cf9bec5bb6abfe134332d5004c1fee90901da62c 13-Jun-2014 Jae Seo <jaeseo@google.com> TvContract: Enable building programs URI also with channel ID

Bug: 15446137
Change-Id: I322c1b90c272e553b028af1f9011feecde124915
/frameworks/base/media/java/android/media/tv/TvContract.java
3a0f19980dcc3b9deba60b9b4f6b96dd3639dd45 12-Jun-2014 Jae Seo <jaeseo@google.com> Add channel types for NTSC, PAL and SECAM

Bug: 14451655, Bug: 15321686
Change-Id: I2618fb79a4b20898c95cea22154379738710da44
/frameworks/base/media/java/android/media/tv/TvContract.java
f30ea53306f6f581a454e12eb71be2d8c54bd366 09-Jun-2014 Jae Seo <jaeseo@google.com> Fix a typo in TvContract

Assigned a new value to TYPE_ATSC_M_H so that it differs from TYPE_ATSC_C.

Change-Id: I65494fdf625a3b4840c9e8cfa4b728214d63e6df
/frameworks/base/media/java/android/media/tv/TvContract.java
4c1959cc45e944a083d84b5326b30faa14e3d13f 05-Jun-2014 Ji-Hwan Lee <jihwan@google.com> TvContract: Add channel logo and program thumbnail

Channel logo is exposed via its own content URI,
"content://android.media.tv/channel/#/logo".

Program thumbnail is added as an URI column in existing program table.

Change-Id: I8dd636bbea9d3fa991ad42ccc03a198e8c1d051d
/frameworks/base/media/java/android/media/tv/TvContract.java
bd23fa0ba1460a8d5194fd7c700030bf9c3f6fcb 01-Jun-2014 Jae Seo <jaeseo@google.com> TvContract: Address the feedback from the API review

This change addresses the following comments from the council:
- Provider authority should be "android.media.tv"
- Rename COLUMN_DATA to COLUMN_INTERNAL_PROVIDER_DATA and add comment to
indicate data is internal to the provider that inserted it, and should
not be decoded by other apps. It would be nice to restrict read access
to this column, but not essential.
- Hide COLUMN_LOCKED since implementation isn't defined yet, also
questions about how it interacts with Unicorn.
- Fix typo in ORIGINAL_NETWORK documentation.
- All provider MIME types need to be changed to follow platform
conventions: "vnd.android.cursor.dir/channel",
"vnd.android.cursor.dir/program", etc. (Notice singular tense and no
package prefixes since they're part of the platform API.)
- Rename Programs.COLUMN_DATA to COLUMN_INTERNAL_PROVIDER_DATA, along
with docs update, for the same reasons as above.
- Rename COLUMN_DESCRIPTION to COLUMN_SHORT_DESCRIPTION and update docs
to indicate it's a recommended maximum length, not a hard cap.
- COLUMN_GENRE should be split into two columns: COLUMN_BROADCAST_GENRE
(from broadcast standard) and COLUMN_CANONICAL_GENRE (from an Android
standard). Define a subclass with the Android canonical genres, which
are simple strings that are comma-separated when inserted into
COLUMN_CANONICAL_GENRE.

Bug: 15345342
Change-Id: I7f8e70aef617475a59d096fd73a551e7df8a1d3a
/frameworks/base/media/java/android/media/tv/TvContract.java
d5cc4a281e7ce29d1e8687ff3394b57a3a549260 31-May-2014 Jae Seo <jaeseo@google.com> Put TV Input Framework under android.media.tv, including TvContract

Bug: 15345342
Change-Id: I665ca23f0f074ce29cb2e047109b209178532107
/frameworks/base/media/java/android/media/tv/TvContract.java