Home
last modified time | relevance | path

Searched refs:TvProvider (Results 1 – 10 of 10) sorted by relevance

/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DDatabaseHelperTest.java76 new DatabaseHelperForTesting(getContext(), TvProvider.DATABASE_VERSION), true); in testUpgradeDatabase()
104 private static class DatabaseHelperForTesting extends TvProvider.DatabaseHelper {
114 db.execSQL("CREATE TABLE " + TvProvider.CHANNELS_TABLE + " (" in onCreate()
136 + TvProvider.CHANNELS_COLUMN_LOGO + " BLOB," in onCreate()
142 db.execSQL("CREATE TABLE " + TvProvider.PROGRAMS_TABLE + " (" in onCreate()
167 + ") REFERENCES " + TvProvider.CHANNELS_TABLE + "(" in onCreate()
171 db.execSQL("CREATE INDEX " + TvProvider.PROGRAMS_TABLE_PACKAGE_NAME_INDEX + " ON " in onCreate()
172 + TvProvider.PROGRAMS_TABLE in onCreate()
174 db.execSQL("CREATE INDEX " + TvProvider.PROGRAMS_TABLE_CHANNEL_ID_INDEX + " ON " in onCreate()
175 + TvProvider.PROGRAMS_TABLE in onCreate()
[all …]
DTvProviderForTesting.java26 class TvProviderForTesting extends TvProvider {
34 mDatabaseHelper = new DatabaseHelperForTesting(getContext(), TvProvider.DATABASE_VERSION); in onCreate()
82 private static class DatabaseHelperForTesting extends TvProvider.DatabaseHelper {
DTransientRowHelperTests.java45 import com.android.providers.tv.TvProvider.DatabaseHelper;
DUtils.java305 values.put(TvProvider.WATCHED_PROGRAMS_COLUMN_CONSOLIDATED, 1); in insertWatchedPrograms()
/packages/providers/TvProvider/src/com/android/providers/tv/
DBootCompletedReceiver.java32 import com.android.providers.tv.TvProvider.DatabaseHelper;
122 return TvProvider.CHANNELS_TABLE; in getTableName()
125 return TvProvider.PROGRAMS_TABLE; in getTableName()
128 return TvProvider.PREVIEW_PROGRAMS_TABLE; in getTableName()
131 return TvProvider.WATCHED_PROGRAMS_TABLE; in getTableName()
134 return TvProvider.RECORDED_PROGRAMS_TABLE; in getTableName()
137 return TvProvider.WATCH_NEXT_PROGRAMS_TABLE; in getTableName()
DTransientRowHelper.java29 import com.android.providers.tv.TvProvider.DatabaseHelper;
87 db.delete(TvProvider.PREVIEW_PROGRAMS_TABLE, PreviewPrograms.COLUMN_TRANSIENT + "=1", null); in ensureOldTransientRowsDeleted()
88 db.delete(TvProvider.CHANNELS_TABLE, Channels.COLUMN_TRANSIENT + "=1", null); in ensureOldTransientRowsDeleted()
89 db.delete(TvProvider.WATCH_NEXT_PROGRAMS_TABLE, WatchNextPrograms.COLUMN_TRANSIENT + "=1", in ensureOldTransientRowsDeleted()
DTvProviderUpgradeReceiver.java29 import com.android.providers.tv.TvProvider.DatabaseHelper;
58 if (prefVersion != TvProvider.DATABASE_VERSION) { in onReceive()
63 prefs.edit().putInt(PREF_DB_VERSION, TvProvider.DATABASE_VERSION).commit(); in onReceive()
DTvProvider.java88 public class TvProvider extends ContentProvider { class
/packages/providers/TvProvider/
DAndroid.bp18 name: "TvProvider",
/packages/providers/TvProvider/tests/
DAndroid.bp27 instrumentation_for: "TvProvider",