/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 121 SQLiteDatabase db = null; in writeToDatabase() local 124 db = new TestDatabaseOpenHelper(mContext).getWritableDatabase(); in writeToDatabase() 127 assertTrue(db.insert(DB_TABLE_NAME, null, values) != -1); in writeToDatabase() 129 cursor = db.query(DB_TABLE_NAME, new String[] {DB_COLUMN}, in writeToDatabase() 136 if (db != null) { in writeToDatabase() 137 db.close(); in writeToDatabase() 159 SQLiteDatabase db = null; in assertDatabaseDataDoesNotExist() local 162 db = new TestDatabaseOpenHelper(mContext).getWritableDatabase(); in assertDatabaseDataDoesNotExist() 163 cursor = db.query(DB_TABLE_NAME, new String[] {DB_COLUMN}, in assertDatabaseDataDoesNotExist() 170 if (db != null) { in assertDatabaseDataDoesNotExist() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | DummyProvider.java | 83 public void onCreate(SQLiteDatabase db) { in onCreate() argument 85 db.execSQL("CREATE TABLE " + NAME_VALUE_TABLE + " (" + _ID + " INTEGER PRIMARY KEY," in onCreate() 90 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 105 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local 106 db.insert(tbName, VALUE, values); in insert() 124 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query() local 125 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder); in query() 170 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in update() local 171 int count = db.update(tbName, values, selection, selectionArgs); in update() 187 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 | ContextWrapperTest.java | 324 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, in testAccessDatabase() 326 return new android.database.sqlite.SQLiteCursor(db, masterQuery, editTable, query) { in testAccessDatabase() 337 for (String db : mContextWrapper.databaseList()) { in testAccessDatabase() 338 File f = mContextWrapper.getDatabasePath(db); in testAccessDatabase() 340 mContextWrapper.deleteDatabase(db); in testAccessDatabase()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 102 public void onCreate(SQLiteDatabase db) { in onCreate() argument 103 db.execSQL("CREATE TABLE " + TABLE_NAME + " (" in onCreate() 113 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade() argument 114 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); in onUpgrade() 115 onCreate(db); in onUpgrade() 146 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local 147 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query() 152 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local 153 long id = db.insert(TABLE_NAME, null, values); in insert() 189 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:
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 341 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataWrite() local 344 db.execSQL("DROP TABLE IF EXISTS my_table"); in testDataWrite() 345 db.execSQL("CREATE TABLE my_table(value INTEGER)"); in testDataWrite() 346 db.execSQL("INSERT INTO my_table VALUES (101), (102), (103)"); in testDataWrite() 348 db.close(); in testDataWrite() 359 final SQLiteDatabase db = getContext().openOrCreateDatabase("my_db", in testDataRead() local 362 final Cursor cursor = db.query("my_table", null, null, null, null, null, "value ASC"); in testDataRead() 375 db.close(); in testDataRead()
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 94 final int db = ((p1 & 0x00FF0000) - (p2 & 0x00FF0000)) >> 16; in compare() local 97 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/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
|