/packages/apps/Email/provider_src/com/android/email/provider/ |
DBHelper.java | 82 "create trigger mailbox_delete before delete on " + Mailbox.TABLE_NAME + 84 " delete from " + Message.TABLE_NAME + 93 "create trigger account_delete before delete on " + Account.TABLE_NAME + 94 " begin delete from " + Mailbox.TABLE_NAME + 96 "; delete from " + HostAuth.TABLE_NAME + 98 "; delete from " + HostAuth.TABLE_NAME + 100 "; delete from " + Policy.TABLE_NAME + 105 "create trigger host_auth_delete after delete on " + HostAuth.TABLE_NAME + 106 " begin delete from " + Credential.TABLE_NAME + 108 " and (select count(*) from " + HostAuth.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,
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
QuickResponse.java | 30 public static final String TABLE_NAME = "QuickResponse";
|
/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...] |
/developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/ |
LocationDbHelper.java | 41 public static final String TABLE_NAME = "location"; 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); 120 TABLE_NAME, // The table to query 155 return db.delete(TABLE_NAME, selection, selectionArgs);
|
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/ |
LocationDbHelper.java | 41 public static final String TABLE_NAME = "location"; 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); 120 TABLE_NAME, // The table to query 155 return db.delete(TABLE_NAME, selection, selectionArgs);
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/ |
LocationDbHelper.java | 41 public static final String TABLE_NAME = "location"; 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); 120 TABLE_NAME, // The table to query 155 return db.delete(TABLE_NAME, selection, selectionArgs);
|
/packages/apps/FMRadio/src/com/android/fmradio/ |
FmProvider.java | 47 private static final String TABLE_NAME = "StationList"; 87 "CREATE TABLE " + TABLE_NAME + "(" 110 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); 130 rows = mSqlDb.delete(TABLE_NAME, selection, selectionArgs); 136 rows = mSqlDb.delete(TABLE_NAME, 166 long rowId = mSqlDb.insert(TABLE_NAME, null, v); 203 qb.setTables(TABLE_NAME); 235 rows = mSqlDb.update(TABLE_NAME, values, selection, selectionArgs); 240 rows = mSqlDb.update(TABLE_NAME,
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/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;
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/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;
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.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 | 78 private static final String TABLE_NAME = "results"; 103 db.execSQL("CREATE TABLE " + TABLE_NAME + " (" 114 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); 123 query.setTables(TABLE_NAME); 153 long id = db.insert(TABLE_NAME, null, values); 190 int numUpdated = db.update(TABLE_NAME, values, selection, selectionArgs); 201 int numDeleted = db.delete(TABLE_NAME, selection, selectionArgs);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
SavedWallpaperImages.java | 75 Cursor result = db.query(ImageDb.TABLE_NAME, 123 Cursor result = db.query(ImageDb.TABLE_NAME, 150 db.delete(ImageDb.TABLE_NAME, 175 db.insert(ImageDb.TABLE_NAME, null, values); 183 final static String TABLE_NAME = "saved_wallpaper_images"; 209 database.execSQL("CREATE TABLE IF NOT EXISTS " + TABLE_NAME + " (" + 221 db.execSQL("DELETE FROM " + TABLE_NAME);
|
/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.
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-shape-complex-arabic-win1256.hh | 42 #define OT_TABLE_START static const struct TABLE_NAME { 50 #define OT_TABLE_START TABLE_NAME = { 56 #define OT_COUNT(Name, ItemSize) ((unsigned int) sizeof(((struct TABLE_NAME*)0)->Name) \ 60 ((char*)(&((struct TABLE_NAME*)0)->To) - \ 61 (char*)(&((struct TABLE_NAME*)0)->From)) \ 173 #define TABLE_NAME arabic_win1256_gsub_lookups
|
/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);
|