OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mDbHelper
(Results
1 - 25
of
39
) sorted by null
1
2
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsDatabaseHelperTest.java
28
private ContactsDatabaseHelper
mDbHelper
;
33
mDbHelper
= getContactsProvider().getDatabaseHelper(getContext());
44
assertNull(
mDbHelper
.getAccountIdOrNull(a1));
45
assertNull(
mDbHelper
.getAccountIdOrNull(a2));
46
assertNull(
mDbHelper
.getAccountIdOrNull(a3));
47
assertNull(
mDbHelper
.getAccountIdOrNull(a4));
48
assertNull(
mDbHelper
.getAccountIdOrNull(a5));
51
final long a1id =
mDbHelper
.getOrCreateAccountIdInTransaction(a1);
52
final long a2id =
mDbHelper
.getOrCreateAccountIdInTransaction(a2);
53
final long a3id =
mDbHelper
.getOrCreateAccountIdInTransaction(a3)
[
all
...]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarCacheTest.java
31
private SQLiteOpenHelper
mDbHelper
;
40
mDbHelper
= CalendarDatabaseHelper.getInstance(getContext());
41
mCalendarCache = new CalendarCache(
mDbHelper
);
46
if (
mDbHelper
!= null) {
47
mDbHelper
.close();
48
mDbHelper
= null;
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
Notepadv1.java
30
private NotesDbAdapter
mDbHelper
;
37
mDbHelper
= new NotesDbAdapter(this);
38
mDbHelper
.open();
61
mDbHelper
.createNote(noteName, "");
67
Cursor c =
mDbHelper
.fetchAllNotes();
NotesDbAdapter.java
44
private DatabaseHelper
mDbHelper
;
101
mDbHelper
= new DatabaseHelper(mCtx);
102
mDb =
mDbHelper
.getWritableDatabase();
107
mDbHelper
.close();
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
NoteEdit.java
31
private NotesDbAdapter
mDbHelper
;
36
mDbHelper
= new NotesDbAdapter(this);
37
mDbHelper
.open();
69
Cursor note =
mDbHelper
.fetchNote(mRowId);
102
long id =
mDbHelper
.createNote(title, body);
107
mDbHelper
.updateNote(mRowId, title, body);
Notepadv3.java
39
private NotesDbAdapter
mDbHelper
;
46
mDbHelper
= new NotesDbAdapter(this);
47
mDbHelper
.open();
53
Cursor notesCursor =
mDbHelper
.fetchAllNotes();
98
mDbHelper
.deleteNote(info.id);
NotesDbAdapter.java
44
private DatabaseHelper
mDbHelper
;
101
mDbHelper
= new DatabaseHelper(mCtx);
102
mDb =
mDbHelper
.getWritableDatabase();
107
mDbHelper
.close();
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
Notepadv2.java
38
private NotesDbAdapter
mDbHelper
;
46
mDbHelper
= new NotesDbAdapter(this);
47
mDbHelper
.open();
53
mNotesCursor =
mDbHelper
.fetchAllNotes();
NotesDbAdapter.java
44
private DatabaseHelper
mDbHelper
;
101
mDbHelper
= new DatabaseHelper(mCtx);
102
mDb =
mDbHelper
.getWritableDatabase();
107
mDbHelper
.close();
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
Notepadv2.java
39
private NotesDbAdapter
mDbHelper
;
47
mDbHelper
= new NotesDbAdapter(this);
48
mDbHelper
.open();
55
mNotesCursor =
mDbHelper
.fetchAllNotes();
100
mDbHelper
.deleteNote(info.id);
134
mDbHelper
.createNote(title, body);
142
mDbHelper
.updateNote(rowId, editTitle, editBody);
NotesDbAdapter.java
44
private DatabaseHelper
mDbHelper
;
101
mDbHelper
= new DatabaseHelper(mCtx);
102
mDb =
mDbHelper
.getWritableDatabase();
107
mDbHelper
.close();
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
Notepadv3.java
39
private NotesDbAdapter
mDbHelper
;
47
mDbHelper
= new NotesDbAdapter(this);
48
mDbHelper
.open();
55
mNotesCursor =
mDbHelper
.fetchAllNotes();
100
mDbHelper
.deleteNote(info.id);
134
mDbHelper
.createNote(title, body);
142
mDbHelper
.updateNote(rowId, editTitle, editBody);
NotesDbAdapter.java
44
private DatabaseHelper
mDbHelper
;
101
mDbHelper
= new DatabaseHelper(mCtx);
102
mDb =
mDbHelper
.getWritableDatabase();
107
mDbHelper
.close();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandler.java
76
protected final ContactsDatabaseHelper
mDbHelper
;
86
mDbHelper
= dbHelper;
101
mMimetypeId =
mDbHelper
.getMimeTypeId(mMimetype);
117
mDbHelper
.setIsPrimary(rawContactId, dataId, mimeTypeId);
123
mDbHelper
.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
125
mDbHelper
.clearSuperPrimary(rawContactId, mimeTypeId);
130
if (
mDbHelper
.rawContactHasSuperPrimary(rawContactId, mimeTypeId)) {
131
mDbHelper
.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
205
final Cursor c =
mDbHelper
.getReadableDatabase().query(Tables.DATA,
213
mDbHelper
.clearSuperPrimary(rawContactId, mimeTypeId)
[
all
...]
VoicemailStatusTable.java
51
private final SQLiteOpenHelper
mDbHelper
;
58
mDbHelper
= dbHelper;
64
SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
78
SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
93
SQLiteDatabase db =
mDbHelper
.getReadableDatabase();
104
SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
DataRowHandlerForEmail.java
45
String address =
mDbHelper
.insertNameLookupForEmail(rawContactId, dataId, email);
64
mDbHelper
.deleteNameLookup(dataId);
65
mDbHelper
.insertNameLookupForEmail(rawContactId, dataId, address);
80
mDbHelper
.deleteNameLookup(dataId);
DataRowHandlerForNickname.java
48
mDbHelper
.insertNameLookupForNickname(rawContactId, dataId, nickname);
66
mDbHelper
.deleteNameLookup(dataId);
67
mDbHelper
.insertNameLookupForNickname(rawContactId, dataId, nickname);
82
mDbHelper
.deleteNameLookup(dataId);
SearchIndexManager.java
239
private final ContactsDatabaseHelper
mDbHelper
;
247
mDbHelper
= (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper();
258
SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
278
mDbHelper
.createSearchIndexTable(db, true);
323
final SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
343
mSb.append(
mDbHelper
.getMimeTypeId(Nickname.CONTENT_ITEM_TYPE));
346
mSb.append(
mDbHelper
.getMimeTypeId(Organization.CONTENT_ITEM_TYPE));
349
mSb.append(
mDbHelper
.getMimeTypeId(StructuredPostal.CONTENT_ITEM_TYPE));
352
mSb.append(
mDbHelper
.getMimeTypeId(Email.CONTENT_ITEM_TYPE));
400
return Integer.parseInt(
mDbHelper
.getProperty(PROPERTY_SEARCH_INDEX_VERSION, "0"))
[
all
...]
VoicemailContentTable.java
76
private final SQLiteOpenHelper
mDbHelper
;
86
mDbHelper
= dbHelper;
138
SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
179
final SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
221
SQLiteDatabase db =
mDbHelper
.getReadableDatabase();
236
final SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
/cts/tests/src/android/content/cts/
DummyProvider.java
43
private DatabaseHelper
mDbHelper
;
71
mDbHelper
= new DatabaseHelper(getContext());
105
SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
124
SQLiteDatabase db =
mDbHelper
.getReadableDatabase();
170
SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
187
SQLiteDatabase db =
mDbHelper
.getWritableDatabase();
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
NotesDbAdapter.java
44
private DatabaseHelper
mDbHelper
;
101
mDbHelper
= new DatabaseHelper(mCtx);
102
mDb =
mDbHelper
.getWritableDatabase();
107
mDbHelper
.close();
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
FileCache.java
60
private DatabaseHelper
mDbHelper
;
92
mDbHelper
= new DatabaseHelper(context, dbName);
97
mDbHelper
.close();
124
mDbHelper
.getWritableDatabase(), entry);
150
mDbHelper
.getWritableDatabase().delete(
168
Cursor cursor =
mDbHelper
.getReadableDatabase().query(TABLE_NAME,
185
mDbHelper
.getWritableDatabase().update(TABLE_NAME,
203
Cursor cursor =
mDbHelper
.getReadableDatabase().query(
219
Cursor cursor =
mDbHelper
.getReadableDatabase().query(
238
mDbHelper
.getWritableDatabase().delete(TABLE_NAME
[
all
...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
AggregatorStorage.java
31
protected DBHelper
mDbHelper
;
BordeauxSessionStorage.java
52
private SessionDBHelper
mDbHelper
;
57
mDbHelper
= new SessionDBHelper(context);
58
mDbSessions =
mDbHelper
.getWritableDatabase();
AggregatorRecordStorage.java
71
mDbHelper
= new DBHelper(context, tableName, tableCmd);
72
mDatabase =
mDbHelper
.getWritableDatabase();
Completed in 731 milliseconds
1
2