Home
last modified time | relevance | path

Searched refs:DATABASE_TABLE (Results 1 – 6 of 6) sorted by relevance

/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
DNotesDbAdapter.java55 private static final String DATABASE_TABLE = "notes"; field in NotesDbAdapter
125 return mDb.insert(DATABASE_TABLE, null, initialValues); in createNote()
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote()
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
DNotesDbAdapter.java55 private static final String DATABASE_TABLE = "notes"; field in NotesDbAdapter
125 return mDb.insert(DATABASE_TABLE, null, initialValues); in createNote()
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote()
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
DNotesDbAdapter.java55 private static final String DATABASE_TABLE = "notes"; field in NotesDbAdapter
125 return mDb.insert(DATABASE_TABLE, null, initialValues); in createNote()
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote()
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNotesDbAdapter.java55 private static final String DATABASE_TABLE = "notes"; field in NotesDbAdapter
125 return mDb.insert(DATABASE_TABLE, null, initialValues); in createNote()
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote()
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNotesDbAdapter.java55 private static final String DATABASE_TABLE = "notes"; field in NotesDbAdapter
125 return mDb.insert(DATABASE_TABLE, null, initialValues); in createNote()
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote()
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNotesDbAdapter.java55 private static final String DATABASE_TABLE = "notes"; field in NotesDbAdapter
125 return mDb.insert(DATABASE_TABLE, null, initialValues); in createNote()
136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0; in deleteNote()
146 return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, in fetchAllNotes()
161 mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, in fetchNote()
186 return mDb.update(DATABASE_TABLE, args, KEY_ROWID + "=" + rowId, null) > 0; in updateNote()