OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mOpenHelper
(Results
1 - 25
of
34
) sorted by null
1
2
/cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteOpenHelperTest.java
36
private MockOpenHelper
mOpenHelper
;
47
mOpenHelper
= getOpenHelper();
66
assertFalse(
mOpenHelper
.hasCalledOnOpen());
68
database =
mOpenHelper
.getReadableDatabase();
71
assertTrue(
mOpenHelper
.hasCalledOnOpen());
74
mOpenHelper
.resetStatus();
75
assertFalse(
mOpenHelper
.hasCalledOnOpen());
77
SQLiteDatabase database2 =
mOpenHelper
.getWritableDatabase();
80
assertFalse(
mOpenHelper
.hasCalledOnOpen());
82
mOpenHelper
.close()
[
all
...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
TrackerProvider.java
77
private DatabaseHelper
mOpenHelper
;
81
mOpenHelper
= new DatabaseHelper(getContext());
87
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
100
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
113
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
/packages/apps/Browser/src/com/android/browser/
AutoFillProfileDatabase.java
33
private AutoFillProfileDatabaseHelper
mOpenHelper
;
83
mOpenHelper
= new AutoFillProfileDatabaseHelper(context);
94
return writable ?
mOpenHelper
.getWritableDatabase() :
mOpenHelper
.getReadableDatabase();
123
mOpenHelper
.close();
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
MetaData.java
53
private final SQLiteOpenHelper
mOpenHelper
;
70
mOpenHelper
= openHelper;
81
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
115
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
171
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
203
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
227
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
SQLiteContentProvider.java
42
private SQLiteOpenHelper
mOpenHelper
;
54
mOpenHelper
= getDatabaseHelper(context);
81
return
mOpenHelper
;
94
mDb =
mOpenHelper
.getWritableDatabase();
122
mDb =
mOpenHelper
.getWritableDatabase();
149
mDb =
mOpenHelper
.getWritableDatabase();
182
mDb =
mOpenHelper
.getWritableDatabase();
222
mDb =
mOpenHelper
.getWritableDatabase();
CalendarCache.java
59
private final SQLiteOpenHelper
mOpenHelper
;
74
mOpenHelper
= openHelper;
148
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
201
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
/frameworks/ex/common/java/com/android/common/content/
SQLiteContentProvider.java
40
private SQLiteOpenHelper
mOpenHelper
;
62
mOpenHelper
= getDatabaseHelper(context);
87
return
mOpenHelper
;
99
mDb =
mOpenHelper
.getWritableDatabase();
124
mDb =
mOpenHelper
.getWritableDatabase();
152
mDb =
mOpenHelper
.getWritableDatabase();
180
mDb =
mOpenHelper
.getWritableDatabase();
207
mDb =
mOpenHelper
.getWritableDatabase();
225
mDb =
mOpenHelper
.getWritableDatabase();
/packages/apps/Browser/src/com/android/browser/provider/
SQLiteContentProvider.java
41
private SQLiteOpenHelper
mOpenHelper
;
56
mOpenHelper
= getDatabaseHelper(context);
99
return
mOpenHelper
;
112
mDb =
mOpenHelper
.getWritableDatabase();
132
mDb =
mOpenHelper
.getWritableDatabase();
154
mDb =
mOpenHelper
.getWritableDatabase();
178
mDb =
mOpenHelper
.getWritableDatabase();
200
mDb =
mOpenHelper
.getWritableDatabase();
SnapshotProvider.java
64
SnapshotDatabaseHelper
mOpenHelper
;
138
mOpenHelper
= new SnapshotDatabaseHelper(getContext());
143
return
mOpenHelper
.getWritableDatabase();
147
return
mOpenHelper
.getReadableDatabase();
/packages/apps/Gallery2/src/com/android/photos/data/
SQLiteContentProvider.java
43
private SQLiteOpenHelper
mOpenHelper
;
57
mOpenHelper
= getDatabaseHelper(context);
108
return
mOpenHelper
;
121
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
141
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
164
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
188
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
210
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastContentProvider.java
68
private SQLiteOpenHelper
mOpenHelper
;
76
mOpenHelper
= new CellBroadcastDatabaseHelper(getContext());
119
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
190
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
216
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
234
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
255
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/packages/apps/DeskClock/src/com/android/deskclock/provider/
ClockProvider.java
32
private ClockDatabaseHelper
mOpenHelper
;
56
mOpenHelper
= new ClockDatabaseHelper(getContext());
96
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
134
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
167
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
170
rowId =
mOpenHelper
.fixAlarmInsert(initialValues);
191
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/frameworks/base/core/tests/coretests/src/android/app/activity/
LocalProvider.java
32
private SQLiteOpenHelper
mOpenHelper
;
79
mOpenHelper
= new DatabaseHelper(getContext());
103
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
134
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java
71
private SQLiteOpenHelper
mOpenHelper
;
77
mOpenHelper
= new TestResultsOpenHelper(getContext());
136
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
142
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
179
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
190
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java
115
private DatabaseHelper
mOpenHelper
;
119
mOpenHelper
= new DatabaseHelper(getContext());
154
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
208
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
222
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
246
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/frameworks/base/core/java/android/content/
SearchRecentSuggestionsProvider.java
83
private SQLiteOpenHelper
mOpenHelper
;
226
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
273
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
308
mOpenHelper
= new DatabaseHelper(getContext(), mWorkingDbVersion);
321
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
SearchRecentSuggestionsProvider.java
47
private SQLiteOpenHelper
mOpenHelper
;
154
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
201
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
236
mOpenHelper
= new DatabaseHelper(getContext(), mWorkingDbVersion);
289
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
/frameworks/base/core/tests/coretests/src/android/content/
MemoryFileProvider.java
47
private SQLiteOpenHelper
mOpenHelper
;
101
mOpenHelper
= new DatabaseHelper(getContext());
158
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsProvider.java
280
private SQLiteOpenHelper
mOpenHelper
;
287
mOpenHelper
= MmsSmsDatabaseHelper.getInstance(getContext());
297
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
508
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
517
db =
mOpenHelper
.getWritableDatabase();
608
long result =
mOpenHelper
.getWritableDatabase().insert(TABLE_THREADS, null, values);
648
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
721
return
mOpenHelper
.getReadableDatabase().query(TABLE_THREADS, projection,
774
return
mOpenHelper
.getReadableDatabase().rawQuery(outerQuery, EMPTY_STRING_ARRAY);
[
all
...]
/development/samples/NotePad/src/com/example/android/notepad/
NotePadProvider.java
108
private DatabaseHelper
mOpenHelper
;
236
mOpenHelper
= new DatabaseHelper(getContext());
302
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
544
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
586
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
672
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
750
return
mOpenHelper
;
/cts/tests/src/android/content/cts/
MockContentProvider.java
49
private SQLiteOpenHelper
mOpenHelper
;
124
mOpenHelper
= new DatabaseHelper(getContext(), mDbName);
139
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
227
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
304
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
315
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderThrottle.java
179
private DatabaseHelper
mOpenHelper
;
202
mOpenHelper
= new DatabaseHelper(getContext());
241
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
287
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
306
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
342
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderThrottleSupport.java
180
private DatabaseHelper
mOpenHelper
;
203
mOpenHelper
= new DatabaseHelper(getContext());
242
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
288
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
307
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
343
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppProvider.java
112
private SQLiteOpenHelper
mOpenHelper
= null;
233
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
298
mOpenHelper
= new DatabaseHelper(getContext());
305
SQLiteDatabase db =
mOpenHelper
.getReadableDatabase();
391
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
435
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherProvider.java
104
private DatabaseHelper
mOpenHelper
;
110
mOpenHelper
= new DatabaseHelper(context);
116
return
mOpenHelper
.wasNewDbCreated();
137
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
166
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
168
final long rowId = dbInsertAndCheck(
mOpenHelper
, db, args.table, null, initialValues);
181
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
187
if (dbInsertAndCheck(
mOpenHelper
, db, args.table, null, values[i]) < 0) {
203
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase();
218
SQLiteDatabase db =
mOpenHelper
.getWritableDatabase()
[
all
...]
Completed in 212 milliseconds
1
2