Home
last modified time | relevance | path

Searched refs:TABLE_NAME (Results 1 – 7 of 7) sorted by relevance

/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DLocationDbHelper.java41 public static final String TABLE_NAME = "location"; field in LocationDbHelper
52 "CREATE TABLE " + TABLE_NAME + " ("
59 private static final String SQL_DELETE_ENTRIES = "DROP TABLE IF EXISTS " + TABLE_NAME;
98 return db.insert(TABLE_NAME, "null", values); in insert()
120 TABLE_NAME, // The table to query in read()
155 return db.delete(TABLE_NAME, selection, selectionArgs); in delete()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java104 builder.table(FeedContract.Entry.TABLE_NAME) in query()
129 long id = db.insertOrThrow(FeedContract.Entry.TABLE_NAME, null, values); in insert()
155 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
161 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
187 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
193 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
224 "CREATE TABLE " + FeedContract.Entry.TABLE_NAME + " (" +
233 "DROP TABLE IF EXISTS " + FeedContract.Entry.TABLE_NAME;
DFeedContract.java70 public static final String TABLE_NAME = "entry"; field in FeedContract.Entry
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderThrottle.java78 public static final String TABLE_NAME = "main"; field in LoaderThrottle.MainTable
136 db.execSQL("CREATE TABLE " + MainTable.TABLE_NAME + " (" in onCreate()
187 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME, MAIN); in SimpleProvider()
188 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID); in SimpleProvider()
216 qb.setTables(MainTable.TABLE_NAME); in query()
289 long rowId = db.insert(MainTable.TABLE_NAME, null, values); in insert()
314 count = db.delete(MainTable.TABLE_NAME, where, whereArgs); in delete()
325 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs); in delete()
349 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); in update()
357 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); in update()
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java168 db.execSQL("CREATE TABLE " + NotePad.Notes.TABLE_NAME + " (" in onCreate()
231 qb.setTables(NotePad.Notes.TABLE_NAME); in query()
515 NotePad.Notes.TABLE_NAME, // The table to insert into. in insert()
565 NotePad.Notes.TABLE_NAME, // The database table name in delete()
594 NotePad.Notes.TABLE_NAME, // The database table name. in delete()
652 NotePad.Notes.TABLE_NAME, // The database table name. in update()
685 NotePad.Notes.TABLE_NAME, // The database table name. in update()
DNotePad.java46 public static final String TABLE_NAME = "notes"; field in NotePad.Notes
/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadProviderTest.java151 NotePad.Notes.TABLE_NAME, // the table name for the insert in insertData()