HomeSort by relevance Sort by last modified time
    Searched defs:TABLE_NAME (Results 1 - 21 of 21) sorted by null

  /development/samples/NotePad/src/com/example/android/notepad/
NotePad.java 46 public static final String TABLE_NAME = "notes";
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
TrackerProvider.java 41 private static final String TABLE_NAME = "tracking";
58 queryBuilder.append(String.format("CREATE TABLE %s (", TABLE_NAME));
72 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME);
88 int result = db.delete(TABLE_NAME, selection, selectionArgs);
101 long rowId = db.insert(TABLE_NAME, null, values);
115 Cursor cursor = db.query(TABLE_NAME, projection, selection,
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
QuickResponse.java 38 public static final String TABLE_NAME = "QuickResponse";
HostAuth.java 36 public static final String TABLE_NAME = "HostAuth";
Policy.java 42 public static final String TABLE_NAME = "Policy";
Mailbox.java 35 public static final String TABLE_NAME = "Mailbox";
Account.java 42 public static final String TABLE_NAME = "Account";
    [all...]
EmailContent.java 280 public static final String TABLE_NAME = "Body";
534 public static final String TABLE_NAME = "Message";
652 + "SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME + ""
660 + "SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME
668 + "SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME
676 + "SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java 69 private static final String TABLE_NAME = "results";
94 db.execSQL("CREATE TABLE " + TABLE_NAME + " ("
104 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME);
113 query.setTables(TABLE_NAME);
143 long id = db.insert(TABLE_NAME, null, values);
180 int numUpdated = db.update(TABLE_NAME, values, selection, selectionArgs);
191 int numDeleted = db.delete(TABLE_NAME, selection, selectionArgs);
  /frameworks/base/core/tests/coretests/src/android/database/sqlite/
SQLiteCursorTest.java 32 private static final String TABLE_NAME = "testCursor";
45 mDatabase.execSQL("CREATE TABLE " + TABLE_NAME + " (i int, j int);");
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastDatabaseHelper.java 44 static final String TABLE_NAME = "broadcasts";
63 db.execSQL("CREATE TABLE " + TABLE_NAME + " ("
89 db.execSQL("CREATE INDEX IF NOT EXISTS deliveryTimeIndex ON " + TABLE_NAME
128 db.execSQL("ALTER TABLE " + TABLE_NAME + " RENAME TO " + TEMP_TABLE_NAME);
324 db.insert(TABLE_NAME, null, cv);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderThrottle.java 78 public static final String TABLE_NAME = "main";
136 db.execSQL("CREATE TABLE " + MainTable.TABLE_NAME + " ("
187 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME, MAIN);
188 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID);
216 qb.setTables(MainTable.TABLE_NAME);
289 long rowId = db.insert(MainTable.TABLE_NAME, null, values);
314 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
325 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs);
349 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
357 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs)
    [all...]
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderThrottleSupport.java 79 public static final String TABLE_NAME = "main";
137 db.execSQL("CREATE TABLE " + MainTable.TABLE_NAME + " ("
188 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME, MAIN);
189 mUriMatcher.addURI(AUTHORITY, MainTable.TABLE_NAME + "/#", MAIN_ID);
217 qb.setTables(MainTable.TABLE_NAME);
290 long rowId = db.insert(MainTable.TABLE_NAME, null, values);
315 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
326 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs);
350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
358 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs)
    [all...]
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteCursorTest.java 39 private static final String TABLE_NAME = "test";
51 createTable(TABLE_NAME, TABLE_COLUMNS);
52 addValuesIntoTable(TABLE_NAME, DEFAULT_TABLE_VALUE_BEGINS, TEST_COUNT);
64 TEST_SQL, TABLE_NAME, null);
66 new SQLiteCursor(mDatabase, cursorDriver, TABLE_NAME, null);
143 final String DELETE = "DELETE FROM " + TABLE_NAME + " WHERE number_1 =";
205 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, SELECTION,
232 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, null,
SQLiteDatabaseTest.java 54 private static final String TABLE_NAME = "test";
374 int count = mDatabase.delete(TABLE_NAME, "name = 'Mike'", null);
377 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null,
393 count = mDatabase.delete(TABLE_NAME, "name = ?", new String[] { "Jack" });
396 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null,
411 count = mDatabase.delete(TABLE_NAME, null, null);
414 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null);
427 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null,
440 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null);
456 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null)
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
FileCache.java 37 private static final String TABLE_NAME = FileEntry.SCHEMA.getTableName();
151 TABLE_NAME, ID_WHERE, new String[] {String.valueOf(file.id)});
168 Cursor cursor = mDbHelper.getReadableDatabase().query(TABLE_NAME,
185 mDbHelper.getWritableDatabase().update(TABLE_NAME,
204 TABLE_NAME, PROJECTION_SIZE_SUM,
220 TABLE_NAME, FREESPACE_PROJECTION,
238 mDbHelper.getWritableDatabase().delete(TABLE_NAME,
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DownloadCache.java 46 private static final String TABLE_NAME = DownloadEntry.SCHEMA.getTableName();
92 Cursor cursor = mDatabase.query(TABLE_NAME, QUERY_PROJECTION,
154 mDatabase.update(TABLE_NAME, values,
160 Cursor cursor = mDatabase.query(TABLE_NAME,
177 mDatabase.delete(TABLE_NAME,
199 return mDatabase.insert(TABLE_NAME, "", values);
211 TABLE_NAME, SUM_PROJECTION, null, null, null, null, null);
  /cts/tests/tests/database/src/android/database/cts/
DatabaseUtilsTest.java 51 private static final String TABLE_NAME = "test";
63 mDatabase.execSQL("CREATE TABLE " + TABLE_NAME + " (_id INTEGER PRIMARY KEY, " +
116 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION,
121 String sql = "INSERT INTO " + TABLE_NAME + " (name, age, address) VALUES (?, ?, ?);";
129 cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, null, null, null, null);
140 String sqls = "CREATE TABLE " + TABLE_NAME + " (_id INTEGER PRIMARY KEY, name TEXT);\n"
141 + "INSERT INTO " + TABLE_NAME + " (name) VALUES ('Mike');\n";
149 Cursor cursor = db.query(TABLE_NAME, PROJECTION, null, null, null, null, null);
158 mDatabase.execSQL("INSERT INTO " + TABLE_NAME + " (name, age, address)" +
160 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
WidgetPreviewLoader.java 260 final static String TABLE_NAME = "shortcut_and_widget_previews";
274 database.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (" +
286 db.execSQL("DELETE FROM " + TABLE_NAME);
334 db.insert(CacheDb.TABLE_NAME, null, values);
344 db.delete(CacheDb.TABLE_NAME,
365 Cursor result = db.query(CacheDb.TABLE_NAME,
  /frameworks/base/core/java/android/provider/
CalendarContract.java     [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
ShortcutRepositoryImplLog.java 65 "SELECT " + Shortcuts.intent_key.fullName + " FROM " + Shortcuts.TABLE_NAME;
114 private static final String TABLES = ClickLog.TABLE_NAME + " INNER JOIN " +
115 Shortcuts.TABLE_NAME + " ON " + ClickLog.intent_key.fullName + " = " +
153 ClickLog.TABLE_NAME + " WHERE ";
188 final String tables = SourceStats.TABLE_NAME;
236 db.delete(Shortcuts.TABLE_NAME, Shortcuts.intent_key.fullName + " = ?",
247 db.delete(ClickLog.TABLE_NAME, null, null);
248 db.delete(Shortcuts.TABLE_NAME, null, null);
249 db.delete(SourceStats.TABLE_NAME, null, null);
362 db.delete(Shortcuts.TABLE_NAME, SHORTCUT_BY_ID_WHERE, whereArgs)
    [all...]

Completed in 1089 milliseconds