Home
last modified time | relevance | path

Searched refs:TABLE_NAME (Results 1 – 8 of 8) 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/Support4Demos/src/com/example/android/supportv4/app/
DLoaderThrottleSupport.java79 public static final String TABLE_NAME = "main"; field in LoaderThrottleSupport.MainTable
137 db.execSQL("CREATE TABLE " + MainTable.TABLE_NAME + " (" in onCreate()
188 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME, MAIN); in SimpleProvider()
189 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID); in SimpleProvider()
217 qb.setTables(MainTable.TABLE_NAME); in query()
290 long rowId = db.insert(MainTable.TABLE_NAME, null, values); in insert()
315 count = db.delete(MainTable.TABLE_NAME, where, whereArgs); in delete()
326 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs); in delete()
350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); in update()
358 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); in update()
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java194 db.execSQL("CREATE TABLE " + NotePad.Notes.TABLE_NAME + " (" in onCreate()
257 qb.setTables(NotePad.Notes.TABLE_NAME); in query()
548 NotePad.Notes.TABLE_NAME, // The table to insert into. in insert()
598 NotePad.Notes.TABLE_NAME, // The database table name in delete()
627 NotePad.Notes.TABLE_NAME, // The database table name. in delete()
685 NotePad.Notes.TABLE_NAME, // The database table name. in update()
718 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()