/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSQLiteProgram.java | 18 protected SQLiteDatabase mDatabase; 22 mDatabase = db; 70 if (!mDatabase.isOpen()) { 71 throw new IllegalStateException("database " + mDatabase.getPath() + " already closed");
|
ShadowSQLiteStatement.java | 23 if (!mDatabase.isOpen()) { 24 throw new IllegalStateException("database " + mDatabase.getPath() + " already closed");
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
AggregatorRecordStorage.java | 72 mDatabase = mDbHelper.getWritableDatabase(); 86 mDatabase.insert(mTableName, null, content); 95 Cursor cursor = mDatabase.rawQuery("select * from " + mTableName + ";", null); 116 int nDeleteRows = mDatabase.delete(mTableName, "1", null);
|
AggregatorStorage.java | 32 protected SQLiteDatabase mDatabase;
|
/cts/tests/tests/database/src/android/database/cts/ |
MergeCursorTest.java | 41 private SQLiteDatabase mDatabase; 71 mDatabase.close(); 100 mDatabase.execSQL("CREATE TABLE " + TABLE5_NAME + " (_id INTEGER PRIMARY KEY," 103 mDatabase.execSQL(sql); 106 cursors[0] = mDatabase.query(TABLE5_NAME, null, null, null, null, null, null); 146 mCursors[i] = mDatabase.query(tableNames[i], null, null, null, null, null, null); 291 mDatabase.execSQL("INSERT INTO " + TABLE1_NAME + " (number_1) VALUES ('" + TEST_VALUE1 297 mDatabase.execSQL("INSERT INTO " + TABLE2_NAME + " (number_1) VALUES ('" + TEST_VALUE2 314 mDatabase.execSQL("CREATE TABLE " + tablename + " (_id INTEGER PRIMARY KEY," 320 mDatabase.execSQL(sql, args) [all...] |
CursorJoinerTest.java | 44 private SQLiteDatabase mDatabase; 55 mDatabase.close(); 212 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); 229 mDatabase.execSQL(sql); 234 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('" 240 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('" + value + "');"); 244 mDatabase.execSQL("DELETE FROM " + tableName + " WHERE number = '" + value + "';"); 248 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number");
|
AbstractCursorTest.java | 52 private SQLiteDatabase mDatabase; 69 mDatabase.close(); 405 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); 407 mDatabase.execSQL("CREATE TABLE test1 (_id INTEGER PRIMARY KEY, number TEXT);"); 409 mDatabaseCursor = (AbstractCursor) mDatabase.query("test1", null, null, null, null, null, 415 mDatabase.execSQL("INSERT INTO test1 (number) VALUES ('" + i + "');");
|
/frameworks/av/media/mtp/ |
MtpServer.cpp | 101 mDatabase(database), 239 mDatabase->sessionEnded(); 303 mDatabase->endSendObject((const char *)edit->mPath, edit->mHandle, edit->mFormat, true); 426 MtpObjectFormatList* playbackFormats = mDatabase->getSupportedPlaybackFormats(); 427 MtpObjectFormatList* captureFormats = mDatabase->getSupportedCaptureFormats(); 428 MtpDevicePropertyList* deviceProperties = mDatabase->getSupportedDeviceProperties(); 485 mDatabase->sessionStarted(); 495 mDatabase->sessionEnded(); 538 MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format); 555 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent) [all...] |
MtpServer.h | 40 MtpDatabase* mDatabase;
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MtpService.java | 112 private MtpDatabase mDatabase; 161 mDatabase = new MtpDatabase(this, MediaProvider.EXTERNAL_VOLUME, 188 mServer = new MtpServer(mDatabase, mPtpMode); 253 if (mDatabase != null) { 254 mDatabase.addStorage(storage); 269 if (mDatabase != null) { 270 mDatabase.removeStorage(storage);
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryDatabase.java | 163 private SQLiteDatabase mDatabase; 182 mDatabase = db; 183 mDatabase.execSQL(FTS_TABLE_CREATE); 233 return mDatabase.insert(FTS_VIRTUAL_TABLE, null, initialValues);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
CursorTreeAdapterTest.java | 58 private SQLiteDatabase mDatabase; 66 mDatabase.execSQL("CREATE TABLE group_table (_id INTEGER PRIMARY KEY, name TEXT);"); 67 mDatabase.execSQL("INSERT INTO group_table (name) VALUES ('" + GROUP_ONE + "');"); 68 mDatabase.execSQL("INSERT INTO group_table (name) VALUES ('" + GROUP_TWO + "');"); 69 return mDatabase.query("group_table", NAME_PROJECTION, null, null, null, null, null); 73 mDatabase.execSQL("CREATE TABLE child1 (_id INTEGER PRIMARY KEY, value TEXT);"); 74 mDatabase.execSQL("INSERT INTO child1 (value) VALUES ('" + CHILD_VALUE_ONE + "');"); 75 mDatabase.execSQL("INSERT INTO child1 (value) VALUES ('" + CHILD_VALUE_TWO + "');"); 80 return mDatabase.query("child1", VALUE_PROJECTION, null, null, null, null, null); 84 mDatabase.execSQL("CREATE TABLE child2 (_id INTEGER PRIMARY KEY, value TEXT);") [all...] |
CursorAdapterTest.java | 55 private SQLiteDatabase mDatabase; 69 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); 70 assertNotNull(mDatabase); 71 mDatabase.execSQL("CREATE TABLE test (_id INTEGER PRIMARY KEY, number TEXT);"); 72 mDatabase.execSQL("INSERT INTO test (number) VALUES ('" + FIRST_NUMBER + "');"); 73 mDatabase.execSQL("INSERT INTO test (number) VALUES ('" + SECOND_NUMBER + "');"); 74 mCursor = mDatabase.query("test", NUMBER_PROJECTION, null, null, null, null, null); 88 mDatabase.close(); 313 mDatabase.execSQL("INSERT INTO test (number) VALUES ('" + FIRST_NUMBER + "');");
|
/frameworks/base/media/jni/ |
android_mtp_MtpDatabase.cpp | 87 jobject mDatabase; 187 : mDatabase(env->NewGlobalRef(client)), 212 env->DeleteGlobalRef(mDatabase); 229 MtpObjectHandle result = env->CallIntMethod(mDatabase, method_beginSendObject, 243 env->CallVoidMethod(mDatabase, method_endSendObject, pathStr, 255 jintArray array = (jintArray)env->CallObjectMethod(mDatabase, method_getObjectList, 275 int result = env->CallIntMethod(mDatabase, method_getNumObjects, 284 jintArray array = (jintArray)env->CallObjectMethod(mDatabase, 302 jintArray array = (jintArray)env->CallObjectMethod(mDatabase, 320 jintArray array = (jintArray)env->CallObjectMethod(mDatabase, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadCache.java | 75 private final SQLiteDatabase mDatabase; 85 mDatabase = new DatabaseHelper(application.getAndroidContext()) 92 Cursor cursor = mDatabase.query(TABLE_NAME, QUERY_PROJECTION, 154 mDatabase.update(TABLE_NAME, values, 160 Cursor cursor = mDatabase.query(TABLE_NAME, 177 mDatabase.delete(TABLE_NAME, 199 return mDatabase.insert(TABLE_NAME, "", values); 210 Cursor cursor = mDatabase.query( 279 // should be used in synchronized block of mDatabase
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextWrapperTest.java | 320 SQLiteDatabase mDatabase; 345 mDatabase = mContextWrapper.openOrCreateDatabase(DATABASE_NAME1, 347 assertNotNull(mDatabase); 348 mDatabase.close(); 349 mDatabase = mContextWrapper.openOrCreateDatabase(DATABASE_NAME2, 351 assertNotNull(mDatabase); 352 mDatabase.close(); [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpPropertyGroup.java | 51 private final MtpDatabase mDatabase; 71 mDatabase = database;
|
/packages/apps/Email/src/com/android/email/provider/ |
EmailProvider.java | 348 private SQLiteDatabase mDatabase; 431 if (mDatabase != null) { 432 return mDatabase; 440 mDatabase = helper.getWritableDatabase(); 446 mDatabase.execSQL("attach \"" + bodyFileName + "\" as BodyDatabase"); 450 restoreIfNeeded(context, mDatabase); 452 deleteMessageOrphans(mDatabase, Message.UPDATED_TABLE_NAME); 453 deleteMessageOrphans(mDatabase, Message.DELETED_TABLE_NAME); 455 deleteUnlinked(mDatabase, Mailbox.TABLE_NAME, MailboxColumns.ACCOUNT_KEY, 457 deleteUnlinked(mDatabase, Message.TABLE_NAME, MessageColumns.ACCOUNT_KEY [all...] |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |