Searched refs:ApnDatabase (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleApnSettingsLoader.java | 248 final SQLiteDatabase database = ApnDatabase.getApnDatabase().getWritableDatabase(); in setCurrentInDatabase() 254 database.update(ApnDatabase.APN_TABLE, CURRENT_NULL_VALUE, in setCurrentInDatabase() 257 database.update(ApnDatabase.APN_TABLE, CURRENT_SET_VALUE, SET_UPDATE_SELECTION, in setCurrentInDatabase() 496 final SQLiteDatabase database = ApnDatabase.getApnDatabase().getWritableDatabase(); in loadFromLocalDatabase() 547 cursor = db.query(ApnDatabase.APN_TABLE, APN_PROJECTION_LOCAL, selection, selectionArgs, in queryLocalDatabase() 551 ApnDatabase.forceBuildAndLoadApnTables(); in queryLocalDatabase() 552 cursor = db.query(ApnDatabase.APN_TABLE, APN_PROJECTION_LOCAL, selection, selectionArgs, in queryLocalDatabase() 635 key = cursor.getString(ApnDatabase.COLUMN_ID); in getFirstTryApn()
|
D | ApnDatabase.java | 45 public class ApnDatabase extends SQLiteOpenHelper { class 53 private static ApnDatabase sApnDatabase; 152 private ApnDatabase() { in ApnDatabase() method in ApnDatabase 159 public static ApnDatabase getApnDatabase() { in getApnDatabase() 161 sApnDatabase = new ApnDatabase(); in getApnDatabase()
|
D | MmsUtils.java | 1565 final SQLiteDatabase database = ApnDatabase.getApnDatabase().getWritableDatabase(); in setUseSystemApnTable() 1570 cursor = database.query(ApnDatabase.APN_TABLE, in setUseSystemApnTable() 1571 ApnDatabase.APN_PROJECTION, in setUseSystemApnTable() 1575 ApnDatabase.forceBuildAndLoadApnTables(); in setUseSystemApnTable()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApnSettingsActivity.java | 48 import com.android.messaging.sms.ApnDatabase; 152 mDatabase = ApnDatabase.getApnDatabase().getWritableDatabase(); in onCreate() 226 final Cursor cursor = mDatabase.query(ApnDatabase.APN_TABLE, APN_PROJECTION, in fillList() 333 mDatabase.update(ApnDatabase.APN_TABLE, sCurrentNullMap, in setSelectedApnKey() 340 mDatabase.update(ApnDatabase.APN_TABLE, sCurrentSetMap, in setSelectedApnKey() 398 ApnDatabase.forceBuildAndLoadApnTables(); in handleMessage()
|
D | ApnEditorActivity.java | 40 import com.android.messaging.sms.ApnDatabase; 199 mDatabase = ApnDatabase.getApnDatabase().getWritableDatabase(); in onActivityCreated() 211 mCursor = mDatabase.query(ApnDatabase.APN_TABLE, sProjection, selection, in onActivityCreated() 390 mDatabase.insert(ApnDatabase.APN_TABLE, null, values); in validateAndSave() 395 int updated = mDatabase.update(ApnDatabase.APN_TABLE, values, in validateAndSave() 414 mDatabase.delete(ApnDatabase.APN_TABLE, where, whereArgs); in deleteApn()
|
D | PerSubscriptionSettingsActivity.java | 39 import com.android.messaging.sms.ApnDatabase; 164 if (MmsUtils.useSystemApnTable() && !ApnDatabase.doesDatabaseExist()) { in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/ |
D | BugleApplication.java | 33 import com.android.messaging.sms.ApnDatabase; 117 ApnDatabase.initializeAppContext(context); in initializeSync()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeFactory.java | 31 import com.android.messaging.sms.ApnDatabase; 86 ApnDatabase.initializeAppContext(context); in registerWithFakeContext()
|