/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | DummyJobContentProvider.java | 69 public void onCreate(SQLiteDatabase db) { in onCreate() argument 71 db.execSQL("CREATE TABLE " + NAME_VALUE_TABLE + " (" + _ID + " INTEGER PRIMARY KEY," in onCreate() 76 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 91 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local 92 db.insert(tbName, VALUE, values); in insert() 110 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query() local 111 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder); in query() 136 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() local 137 int count = db.update(tbName, values, selection, selectionArgs); in update() 153 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() local [all …]
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 117 SQLiteDatabase db = null; in writeToDatabase() local 120 db = new TestDatabaseOpenHelper(mContext).getWritableDatabase(); in writeToDatabase() 123 assertTrue(db.insert(DB_TABLE_NAME, null, values) != -1); in writeToDatabase() 125 cursor = db.query(DB_TABLE_NAME, new String[] {DB_COLUMN}, in writeToDatabase() 132 if (db != null) { in writeToDatabase() 133 db.close(); in writeToDatabase() 155 SQLiteDatabase db = null; in assertDatabaseDataDoesNotExist() local 158 db = new TestDatabaseOpenHelper(mContext).getWritableDatabase(); in assertDatabaseDataDoesNotExist() 159 cursor = db.query(DB_TABLE_NAME, new String[] {DB_COLUMN}, in assertDatabaseDataDoesNotExist() 166 if (db != null) { in assertDatabaseDataDoesNotExist() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | DummyProvider.java | 80 public void onCreate(SQLiteDatabase db) { in onCreate() argument 82 db.execSQL("CREATE TABLE " + NAME_VALUE_TABLE + " (" + _ID + " INTEGER PRIMARY KEY," in onCreate() 87 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 102 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local 103 db.insert(tbName, VALUE, values); in insert() 121 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query() local 122 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder); in query() 167 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() local 168 int count = db.update(tbName, values, selection, selectionArgs); in update() 184 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() local [all …]
|
D | MockContentProvider.java | 78 public void onCreate(SQLiteDatabase db) { in onCreate() argument 79 db.execSQL("CREATE TABLE TestTable1 (" in onCreate() 83 db.execSQL("CREATE TABLE TestTable2 (" in onCreate() 89 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 90 db.execSQL("DROP TABLE IF EXISTS TestTable1"); in onUpgrade() 91 db.execSQL("DROP TABLE IF EXISTS TestTable2"); in onUpgrade() 92 onCreate(db); in onUpgrade() 133 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local 143 count = db.delete("TestTable1", selection, selectionArgs); in delete() 147 count = db.delete("TestTable1", "_id=" + segment + in delete() [all …]
|
D | ContextTest.java | 151 SQLiteDatabase db = mContext.openOrCreateDatabase("test.db", in testMoveDatabaseFrom() local 153 db.execSQL("CREATE TABLE list(item TEXT);"); in testMoveDatabaseFrom() 154 db.execSQL("INSERT INTO list VALUES ('cat')"); in testMoveDatabaseFrom() 155 db.execSQL("INSERT INTO list VALUES ('dog')"); in testMoveDatabaseFrom() 156 db.close(); in testMoveDatabaseFrom() 160 db = deviceContext.openOrCreateDatabase("test.db", in testMoveDatabaseFrom() 162 Cursor c = db.query("list", null, null, null, null, null, null); in testMoveDatabaseFrom() 169 db.execSQL("INSERT INTO list VALUES ('mouse')"); in testMoveDatabaseFrom() 170 db.close(); in testMoveDatabaseFrom() 177 db = mContext.openOrCreateDatabase("test.db", in testMoveDatabaseFrom() [all …]
|
D | ContextWrapperTest.java | 327 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, in testAccessDatabase() 329 return new android.database.sqlite.SQLiteCursor(db, masterQuery, editTable, query) { in testAccessDatabase() 340 for (String db : mContextWrapper.databaseList()) { in testAccessDatabase() 341 File f = mContextWrapper.getDatabasePath(db); in testAccessDatabase() 343 mContextWrapper.deleteDatabase(db); in testAccessDatabase()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 116 public void onCreate(SQLiteDatabase db) { in onCreate() argument 117 db.execSQL("CREATE TABLE " + TABLE_NAME + " (" in onCreate() 127 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 128 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); in onUpgrade() 129 onCreate(db); in onUpgrade() 160 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local 161 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query() 166 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local 167 long id = db.insert(TABLE_NAME, null, values); in insert() 203 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local [all …]
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteOpenHelperTest.java | 38 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, 40 return new MockCursor(db, masterQuery, editTable, query); 109 public void onCreate(SQLiteDatabase db) { in onCreate() argument 113 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 117 public void onOpen(SQLiteDatabase db) { in onOpen() argument 131 public MockCursor(SQLiteDatabase db, SQLiteCursorDriver driver, String editTable, in MockCursor() argument 133 super(db, driver, editTable, query); in MockCursor()
|
D | SQLiteDatabaseTest.java | 92 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, in testOpenDatabase() 94 return new MockSQLiteCursor(db, masterQuery, editTable, query); in testOpenDatabase() 98 SQLiteDatabase db = SQLiteDatabase.openDatabase(mDatabaseFilePath, in testOpenDatabase() local 100 assertNotNull(db); in testOpenDatabase() 101 db.close(); in testOpenDatabase() 106 db = SQLiteDatabase.openOrCreateDatabase(dbFile.getPath(), factory); in testOpenDatabase() 107 assertNotNull(db); in testOpenDatabase() 108 db.close(); in testOpenDatabase() 112 db = SQLiteDatabase.openOrCreateDatabase(dbFile, factory); in testOpenDatabase() 113 assertNotNull(db); in testOpenDatabase() [all …]
|
D | SQLiteQueryBuilderTest.java | 141 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, in testSetCursorFactory() 143 return new MockCursor(db, masterQuery, editTable, query); in testSetCursorFactory() 155 public MockCursor(SQLiteDatabase db, SQLiteCursorDriver driver, in MockCursor() argument 157 super(db, driver, editTable, query); in MockCursor()
|
D | DatabaseStatementTest.java | 250 public StatementTestThread(SQLiteDatabase db, SQLiteStatement statement) { in StatementTestThread() argument 252 mDatabase = db; in StatementTestThread()
|
/cts/tests/tests/security/res/raw/ |
D | openssl_heartbleed_test_cert.pem | 47 df:22:80:99:30:58:2c:61:85:02:e7:4f:f8:7a:db: 48 1e:bb:07:df:f6:99:db:95:de:71:dc:8e:34:3f:fa: 69 7b:71:e1:4c:ac:bf:08:e3:08:72:e6:fd:8c:db:bd:84:01:ac: 79 03:0d:62:28:8a:93:62:2f:d9:b6:db:a9:30:10:f7:f7:12:85:
|
D | drm_uaf.dm | 239 …<���r<x�*�gΡvL����齷��m`<�h�_hawT�s�*�����m6A�� <�-W�h�?ÀO1���db[�jB��-� [��gp<��h�@…
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 388 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataWrite() local 391 db.execSQL("DROP TABLE IF EXISTS my_table"); in testDataWrite() 392 db.execSQL("CREATE TABLE my_table(value INTEGER)"); in testDataWrite() 393 db.execSQL("INSERT INTO my_table VALUES (101), (102), (103)"); in testDataWrite() 395 db.close(); in testDataWrite() 406 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataRead() local 409 final Cursor cursor = db.query("my_table", null, null, null, null, null, "value ASC"); in testDataRead() 422 db.close(); in testDataRead()
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 108 final int db = getAlphaScaledBlue(p1) - getAlphaScaledBlue(p2); in compare() local 110 if (Math.abs(db) > threshold || in compare()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseCursorTest.java | 474 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, in testRequeryWithAlteredSelectionArgs() 476 return new SQLiteCursor(db, masterQuery, editTable, query) { in testRequeryWithAlteredSelectionArgs()
|
D | DatabaseUtilsTest.java | 144 SQLiteDatabase db = getContext().openOrCreateDatabase(dbName, 0, null); in testCreateDbFromSqlStatements() local 149 Cursor cursor = db.query(TABLE_NAME, PROJECTION, null, null, null, null, null); in testCreateDbFromSqlStatements()
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 8 …������������������~tjVB1[��rswwz}}������������x%&&%%$%%! FrQErg`cfe``^Z]db\t|B!%&%' #5J\WXby���… 11 …SQRQNQTWWQMIF@EOU`TAATnpgdbafjo{�������������������hUNNNSVY\_^ZYWUWWY]_bb`db\Z]_\]^a^YXY\__`_`cde… 16 …db`^bmtw|������������~}{~qml^SKI^or}���~pm�������������������������ü�������������������������… 22 …edcb^\^_accghhfefhha__``beggfe^WZ[\\WQQSPMLB<CHJPUY]bemx�������������������db``gsvx���qj}���QT���… 30 …db���hDi����������������upobRS\dgmv���������rrxxx|������zunks~�������������{qkghijifdghhhfr��n@,2… 47 …db���������������������}vpke[SIC:-**))'&%&$$%"$!!#$#""#%%'*)),-+-//))19HWfr|�������������nXMNWXXYZ… 55 …URQNIHJOSTXZX\^_`bb``bbceeeefb_``^]ab_]\[WRTZclx������������������������[M^db`adefhjjhghgghe|�����… 58 …lnqsronmlmppmmonklkjhhhddc`ZXYUQQX]aceeecbaa`_`acfgikklljlnlihh������������db���������������������… 59 …ichy�������������������ƨ��y~���������wc`fda^\]^_\WPQRLIPUYcdJ/)L}l]_hfo~j[db[_cbf`X_a^_aa`bb__\Z[… 63 …@+"$Xrnmorqqsttqlkkoqqqng`]^`fhjkhddeeca__abdc`djjbVWaZIKVXYZZWV\\^db`\Y`q���������������… [all …]
|
/cts/tests/tests/media/assets/ |
D | segment000001.ts | 589 …���C��44��}xƁY�9�J�q���V�B�6�X�Y q��a�K�64��@6�^c���@U0��E��ll�7db�Ěd�Z�yw����aj��U�… 1248 �8��~3�]��5ߜL6��"}�������M�p�X�f��˥Gi����������������-�h��dbŷ'�� �`nx:$���\PŽ…
|
D | segment000000.ts | 1833 xS4ǟp Wsu�0�.���j���dbAh!�͔O��e�d5eP�A�Q|6�@ �����秂��*#�GVus��{7u�>8��ԩ]S��?bU ����'… 5082 …v���t.4�L ����P��Ji��EUW�(��^J�h�?�(z�0��6�3x�& ��tt\��XF����7�db+�JX�����M{�-muHv…
|
D | fileSequence1.ts | 1579 �8��~3�]��5ߜL6G��"}�������M�p�X�f��˥Gi����������������-�h��dbŷ'�� �`nx:$���\…
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 1008 protected SQLite.JDBC2y.DatabaseX db 4203 SQLite.Database db
|