HomeSort by relevance Sort by last modified time
    Searched refs:TABLE_NAME (Results 1 - 25 of 30) sorted by null

1 2

  /packages/apps/Email/src/com/android/email/provider/
DBHelper.java 61 "create trigger mailbox_delete before delete on " + Mailbox.TABLE_NAME +
63 " delete from " + Message.TABLE_NAME +
72 "create trigger account_delete before delete on " + Account.TABLE_NAME +
73 " begin delete from " + Mailbox.TABLE_NAME +
75 "; delete from " + HostAuth.TABLE_NAME +
77 "; delete from " + HostAuth.TABLE_NAME +
79 "; delete from " + Policy.TABLE_NAME +
145 * + " on " + Message.TABLE_NAME + " (" + MessageColumns.FLAG_READ + ");"
193 db.execSQL("create table " + Message.TABLE_NAME + createString);
206 db.execSQL(createIndex(Message.TABLE_NAME, columnName))
    [all...]
EmailProvider.java 224 Account.TABLE_NAME,
225 Mailbox.TABLE_NAME,
226 Message.TABLE_NAME,
227 Attachment.TABLE_NAME,
228 HostAuth.TABLE_NAME,
231 Policy.TABLE_NAME,
232 QuickResponse.TABLE_NAME,
234 Body.TABLE_NAME,
278 Message.UPDATED_TABLE_NAME + " select * from " + Message.TABLE_NAME + " where " +
285 Message.DELETED_TABLE_NAME + " select * from " + Message.TABLE_NAME + " where "
    [all...]
  /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,
  /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/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...]
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapter/src/main/java/com/example/android/network/sync/basicsyncadapter/provider/
FeedContract.java 70 public static final String TABLE_NAME = "entry";
FeedProvider.java 104 builder.table(FeedContract.Entry.TABLE_NAME)
129 long id = db.insertOrThrow(FeedContract.Entry.TABLE_NAME, null, values);
155 count = builder.table(FeedContract.Entry.TABLE_NAME)
161 count = builder.table(FeedContract.Entry.TABLE_NAME)
187 count = builder.table(FeedContract.Entry.TABLE_NAME)
193 count = builder.table(FeedContract.Entry.TABLE_NAME)
224 "CREATE TABLE " + FeedContract.Entry.TABLE_NAME + " (" +
233 "DROP TABLE IF EXISTS " + FeedContract.Entry.TABLE_NAME;
  /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...]
  /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);
  /development/samples/NotePad/src/com/example/android/notepad/
NotePad.java 46 public static final String TABLE_NAME = "notes";
NotePadProvider.java 194 db.execSQL("CREATE TABLE " + NotePad.Notes.TABLE_NAME + " ("
257 qb.setTables(NotePad.Notes.TABLE_NAME);
548 NotePad.Notes.TABLE_NAME, // The table to insert into.
598 NotePad.Notes.TABLE_NAME, // The database table name
627 NotePad.Notes.TABLE_NAME, // The database table name.
685 NotePad.Notes.TABLE_NAME, // The database table name.
718 NotePad.Notes.TABLE_NAME, // The database table name.
  /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...]
  /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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastContentProvider.java 94 qb.setTables(CellBroadcastDatabaseHelper.TABLE_NAME);
198 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv);
218 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME,
236 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, null, null);
263 int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs);
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);
  /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);
  /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/Email/src/com/android/email/activity/
RecentMailboxManager.java 53 + " FROM " + Mailbox.TABLE_NAME
64 + " FROM " + Mailbox.TABLE_NAME
  /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,
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
QuickResponse.java 38 public static final String TABLE_NAME = "QuickResponse";
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...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarAlarmManager.java 289 CalendarAlerts.TABLE_NAME, INVALID_CALENDARALERTS_SELECTOR, selectArg);
493 db.delete(CalendarAlerts.TABLE_NAME, CalendarAlerts.STATE + "="
  /development/samples/NotePad/tests/src/com/example/android/notepad/
NotePadProviderTest.java 151 NotePad.Notes.TABLE_NAME, // the table name for the insert
    [all...]

Completed in 440 milliseconds

1 2