Home
last modified time | relevance | path

Searched refs:WatchedPrograms (Results 1 – 11 of 11) sorted by relevance

/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DDatabaseHelperTest.java87 TvContract.WatchedPrograms.CONTENT_URI, null, null, null, null)) { in testUpgradeDatabase()
184 + TvContract.WatchedPrograms._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," in onCreate()
185 + TvContract.WatchedPrograms.COLUMN_PACKAGE_NAME + " TEXT NOT NULL," in onCreate()
186 + TvContract.WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS in onCreate()
188 + TvContract.WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS in onCreate()
190 + TvContract.WatchedPrograms.COLUMN_CHANNEL_ID + " INTEGER," in onCreate()
191 + TvContract.WatchedPrograms.COLUMN_TITLE + " TEXT," in onCreate()
192 + TvContract.WatchedPrograms.COLUMN_START_TIME_UTC_MILLIS + " INTEGER," in onCreate()
193 + TvContract.WatchedPrograms.COLUMN_END_TIME_UTC_MILLIS + " INTEGER," in onCreate()
194 + TvContract.WatchedPrograms.COLUMN_DESCRIPTION + " TEXT," in onCreate()
[all …]
DEpgDataCleanupServiceTests.java29 import android.media.tv.TvContract.WatchedPrograms;
180 values.put(WatchedPrograms.COLUMN_PACKAGE_NAME, getContext().getPackageName()); in insertWatchedPrograms()
181 values.put(WatchedPrograms.COLUMN_CHANNEL_ID, channelId); in insertWatchedPrograms()
183 values.put(WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS, program.startTime); in insertWatchedPrograms()
184 values.put(WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS, program.endTime); in insertWatchedPrograms()
193 WatchedPrograms._ID, in queryWatchedPrograms()
194 WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS, in queryWatchedPrograms()
195 WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS, in queryWatchedPrograms()
198 Cursor cursor = mResolver.query(WatchedPrograms.CONTENT_URI, projection, null, null, null); in queryWatchedPrograms()
DUtils.java301 values.put(TvContract.WatchedPrograms.COLUMN_PACKAGE_NAME, packageName); in insertWatchedPrograms()
302 values.put(TvContract.WatchedPrograms.COLUMN_CHANNEL_ID, channelId); in insertWatchedPrograms()
303 values.put(TvContract.WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS, 1000); in insertWatchedPrograms()
304 values.put(TvContract.WatchedPrograms.COLUMN_INTERNAL_SESSION_TOKEN, FAKE_SESSION_TOKEN); in insertWatchedPrograms()
307 Uri uri = resolver.insert(TvContract.WatchedPrograms.CONTENT_URI, values); in insertWatchedPrograms()
315 TvContract.WatchedPrograms._ID, in queryWatchedPrograms()
321 TvContract.WatchedPrograms.CONTENT_URI, projection, null, null, null); in queryWatchedPrograms()
DTvProviderForTesting.java73 values.put(TvContract.WatchedPrograms.COLUMN_INTERNAL_SESSION_TOKEN, FAKE_SESSION_TOKEN); in insertWatchedProgramSync()
/packages/apps/TV/src/com/android/tv/dialog/
DRecentlyWatchedDialogFragment.java55 TvContract.WatchedPrograms._ID, in onCreateDialog()
56 TvContract.WatchedPrograms.COLUMN_CHANNEL_ID, in onCreateDialog()
57 TvContract.WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS, in onCreateDialog()
58 TvContract.WatchedPrograms.COLUMN_TITLE in onCreateDialog()
74 if (TvContract.WatchedPrograms.COLUMN_CHANNEL_ID.equals(name)) { in onCreateDialog()
92 } else if (TvContract.WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS in onCreateDialog()
131 TvContract.WatchedPrograms._ID, in onCreateLoader()
132 TvContract.WatchedPrograms.COLUMN_CHANNEL_ID, in onCreateLoader()
133 TvContract.WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS, in onCreateLoader()
134 TvContract.WatchedPrograms.COLUMN_TITLE in onCreateLoader()
[all …]
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java47 import android.media.tv.TvContract.WatchedPrograms;
116 WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS + " DESC";
302 sWatchedProgramProjectionMap.put(WatchedPrograms._ID, WatchedPrograms._ID); in initProjectionMaps()
303 sWatchedProgramProjectionMap.put(WatchedPrograms._COUNT, COUNT_STAR); in initProjectionMaps()
304 sWatchedProgramProjectionMap.put(WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS, in initProjectionMaps()
305 WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS); in initProjectionMaps()
306 sWatchedProgramProjectionMap.put(WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS, in initProjectionMaps()
307 WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS); in initProjectionMaps()
308 sWatchedProgramProjectionMap.put(WatchedPrograms.COLUMN_CHANNEL_ID, in initProjectionMaps()
309 WatchedPrograms.COLUMN_CHANNEL_ID); in initProjectionMaps()
[all …]
DEpgDataCleanupService.java23 import android.media.tv.TvContract.WatchedPrograms;
99 WatchedPrograms.CONTENT_URI, in clearOldWatchHistory()
100 WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS + "<?", in clearOldWatchHistory()
118 WatchedPrograms.CONTENT_URI, in clearOverflowWatchHistory()
119 new String[] { WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS }, null, null, in clearOverflowWatchHistory()
120 WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS); in clearOverflowWatchHistory()
143 WatchedPrograms.CONTENT_URI, in clearOverflowWatchHistory()
144 WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS + "<?", in clearOverflowWatchHistory()
DBootCompletedReceiver.java130 if (TvContract.WatchedPrograms.CONTENT_URI.equals(uri)) { in getTableName()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java104 WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS + " DESC";
308 sWatchedProgramProjectionMap.put(WatchedPrograms._ID, WatchedPrograms._ID); in sWatchedProgramProjectionMap.put()
310 WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS, in sWatchedProgramProjectionMap.put()
311 WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS); in sWatchedProgramProjectionMap.put()
313 WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS, in sWatchedProgramProjectionMap.put()
314 WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS); in sWatchedProgramProjectionMap.put()
316 WatchedPrograms.COLUMN_CHANNEL_ID, WatchedPrograms.COLUMN_CHANNEL_ID); in sWatchedProgramProjectionMap.put()
318 WatchedPrograms.COLUMN_TITLE, WatchedPrograms.COLUMN_TITLE); in sWatchedProgramProjectionMap.put()
320 WatchedPrograms.COLUMN_START_TIME_UTC_MILLIS, in sWatchedProgramProjectionMap.put()
321 WatchedPrograms.COLUMN_START_TIME_UTC_MILLIS); in sWatchedProgramProjectionMap.put()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java278 TvContract.WatchedPrograms.CONTENT_URI, true, mContentObserver); in onStart()
280 MSG_UPDATE_WATCH_HISTORY, TvContract.WatchedPrograms.CONTENT_URI) in onStart()
405 cursor.getColumnIndex(TvContract.WatchedPrograms.COLUMN_CHANNEL_ID); in createWatchedProgramFromWatchedProgramCursor()
406 mIndexProgramTitle = cursor.getColumnIndex(TvContract.WatchedPrograms.COLUMN_TITLE); in createWatchedProgramFromWatchedProgramCursor()
408 cursor.getColumnIndex(TvContract.WatchedPrograms.COLUMN_START_TIME_UTC_MILLIS); in createWatchedProgramFromWatchedProgramCursor()
410 cursor.getColumnIndex(TvContract.WatchedPrograms.COLUMN_END_TIME_UTC_MILLIS); in createWatchedProgramFromWatchedProgramCursor()
413 TvContract.WatchedPrograms.COLUMN_WATCH_START_TIME_UTC_MILLIS); in createWatchedProgramFromWatchedProgramCursor()
416 TvContract.WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS); in createWatchedProgramFromWatchedProgramCursor()
495 MSG_UPDATE_WATCH_HISTORY, TvContract.WatchedPrograms.CONTENT_URI)) { in onChange()
/packages/apps/TV/src/com/android/tv/search/
DTvProviderSearch.java27 import android.media.tv.TvContract.WatchedPrograms;
604 Uri uri = WatchedPrograms.CONTENT_URI; in getMaxWatchStartTime()
608 + WatchedPrograms.COLUMN_START_TIME_UTC_MILLIS in getMaxWatchStartTime()
611 String selection = WatchedPrograms.COLUMN_CHANNEL_ID + "=?"; in getMaxWatchStartTime()