Home
last modified time | relevance | path

Searched refs:mDbHelper (Results 1 – 14 of 14) sorted by relevance

/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DLocationDataManager.java37 private LocationDbHelper mDbHelper; field in LocationDataManager
40 mDbHelper = dbHelper; in LocationDataManager()
54 List<LocationEntry> points = mDbHelper.read(calendar); in getPoints()
69 return mDbHelper.delete(day); in clearPoints()
81 mDbHelper.insert(entry); in addPoint()
89 mDbHelper.insert(entry); in addPoint()
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
DNotepadv1.java30 private NotesDbAdapter mDbHelper; field in Notepadv1
37 mDbHelper = new NotesDbAdapter(this); in onCreate()
38 mDbHelper.open(); in onCreate()
61 mDbHelper.createNote(noteName, ""); in createNote()
67 Cursor c = mDbHelper.fetchAllNotes(); in fillData()
DNotesDbAdapter.java44 private DatabaseHelper mDbHelper; field in NotesDbAdapter
101 mDbHelper = new DatabaseHelper(mCtx); in open()
102 mDb = mDbHelper.getWritableDatabase(); in open()
107 mDbHelper.close(); in close()
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNoteEdit.java31 private NotesDbAdapter mDbHelper; field in NoteEdit
36 mDbHelper = new NotesDbAdapter(this); in onCreate()
37 mDbHelper.open(); in onCreate()
69 Cursor note = mDbHelper.fetchNote(mRowId); in populateFields()
102 long id = mDbHelper.createNote(title, body); in saveState()
107 mDbHelper.updateNote(mRowId, title, body); in saveState()
DNotepadv3.java39 private NotesDbAdapter mDbHelper; field in Notepadv3
46 mDbHelper = new NotesDbAdapter(this); in onCreate()
47 mDbHelper.open(); in onCreate()
53 Cursor notesCursor = mDbHelper.fetchAllNotes(); in fillData()
98 mDbHelper.deleteNote(info.id); in onContextItemSelected()
DNotesDbAdapter.java44 private DatabaseHelper mDbHelper; field in NotesDbAdapter
101 mDbHelper = new DatabaseHelper(mCtx); in open()
102 mDb = mDbHelper.getWritableDatabase(); in open()
107 mDbHelper.close(); in close()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNotepadv2.java39 private NotesDbAdapter mDbHelper; field in Notepadv2
47 mDbHelper = new NotesDbAdapter(this); in onCreate()
48 mDbHelper.open(); in onCreate()
55 mNotesCursor = mDbHelper.fetchAllNotes(); in fillData()
100 mDbHelper.deleteNote(info.id); in onContextItemSelected()
134 mDbHelper.createNote(title, body); in onActivityResult()
142 mDbHelper.updateNote(rowId, editTitle, editBody); in onActivityResult()
DNotesDbAdapter.java44 private DatabaseHelper mDbHelper; field in NotesDbAdapter
101 mDbHelper = new DatabaseHelper(mCtx); in open()
102 mDb = mDbHelper.getWritableDatabase(); in open()
107 mDbHelper.close(); in close()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNotepadv3.java39 private NotesDbAdapter mDbHelper; field in Notepadv3
47 mDbHelper = new NotesDbAdapter(this); in onCreate()
48 mDbHelper.open(); in onCreate()
55 mNotesCursor = mDbHelper.fetchAllNotes(); in fillData()
100 mDbHelper.deleteNote(info.id); in onContextItemSelected()
134 mDbHelper.createNote(title, body); in onActivityResult()
142 mDbHelper.updateNote(rowId, editTitle, editBody); in onActivityResult()
DNotesDbAdapter.java44 private DatabaseHelper mDbHelper; field in NotesDbAdapter
101 mDbHelper = new DatabaseHelper(mCtx); in open()
102 mDb = mDbHelper.getWritableDatabase(); in open()
107 mDbHelper.close(); in close()
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
DNotepadv2.java38 private NotesDbAdapter mDbHelper; field in Notepadv2
46 mDbHelper = new NotesDbAdapter(this); in onCreate()
47 mDbHelper.open(); in onCreate()
53 mNotesCursor = mDbHelper.fetchAllNotes(); in fillData()
DNotesDbAdapter.java44 private DatabaseHelper mDbHelper; field in NotesDbAdapter
101 mDbHelper = new DatabaseHelper(mCtx); in open()
102 mDb = mDbHelper.getWritableDatabase(); in open()
107 mDbHelper.close(); in close()
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
DNotesDbAdapter.java44 private DatabaseHelper mDbHelper; field in NotesDbAdapter
101 mDbHelper = new DatabaseHelper(mCtx); in open()
102 mDb = mDbHelper.getWritableDatabase(); in open()
107 mDbHelper.close(); in close()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssContentProvider.java39 private DatabaseHelper mDbHelper = new DatabaseHelper(); field in RssContentProvider
106 mDb = mDbHelper.openDatabase(getContext(), DATABASE_NAME, null, DB_VERSION); in onCreate()