Home
last modified time | relevance | path

Searched refs:ApnDatabase (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java248 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()
DApnDatabase.java45 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()
DMmsUtils.java1529 final SQLiteDatabase database = ApnDatabase.getApnDatabase().getWritableDatabase(); in setUseSystemApnTable()
1534 cursor = database.query(ApnDatabase.APN_TABLE, in setUseSystemApnTable()
1535 ApnDatabase.APN_PROJECTION, in setUseSystemApnTable()
1539 ApnDatabase.forceBuildAndLoadApnTables(); in setUseSystemApnTable()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnSettingsActivity.java48 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()
DApnEditorActivity.java40 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()
DPerSubscriptionSettingsActivity.java41 import com.android.messaging.sms.ApnDatabase;
168 || (MmsUtils.useSystemApnTable() && !ApnDatabase.doesDatabaseExist())) { in onCreate()
/packages/apps/Messaging/src/com/android/messaging/
DBugleApplication.java33 import com.android.messaging.sms.ApnDatabase;
117 ApnDatabase.initializeAppContext(context); in initializeSync()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeFactory.java31 import com.android.messaging.sms.ApnDatabase;
87 ApnDatabase.initializeAppContext(context); in registerWithFakeContext()