Searched refs:mDb (Results 1 – 5 of 5) sorted by relevance
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | AppSearchSchemaMigrationCtsTestBase.java | 122 private AppSearchSessionShim mDb; field in AppSearchSchemaMigrationCtsTestBase 129 mDb = createSearchSession(DB_NAME).get(); in setUp() 147 mDb.setSchema( in setUp() 160 mDb.put( in setUp() 171 mDb.setSchema(new SetSchemaRequest.Builder().setForceOverride(true).build()).get(); in tearDown() 192 mDb.setSchema( in testSchemaMigration_A_B_C_D() 220 mDb.setSchema( in testSchemaMigration_A_B_NC_D() 234 mDb.setSchema( in testSchemaMigration_A_NB_C_D() 249 mDb.setSchema( in testSchemaMigration_A_NB_C_ND() 264 mDb.setSchema( in testSchemaMigration_A_NB_NC_D() [all …]
|
/cts/tests/appsearch/src/com/android/cts/appsearch/app/ |
D | GlobalSearchSessionPlatformCtsTest.java | 120 private AppSearchSessionShim mDb; field in GlobalSearchSessionPlatformCtsTest 127 mDb = in setUp() 141 mDb.setSchema(new SetSchemaRequest.Builder().setForceOverride(true).build()).get(); in cleanup() 149 mDb.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testNoPackageAccess_default() 152 mDb.put( in testNoPackageAccess_default() 164 mDb.setSchema( in testNoPackageAccess_wrongPackageName() 175 mDb.put( in testNoPackageAccess_wrongPackageName() 185 mDb.setSchema( in testNoPackageAccess_wrongCertificate() 195 mDb.put( in testNoPackageAccess_wrongCertificate() 205 mDb.setSchema( in testAllowPackageAccess() [all …]
|
D | AppSearchSessionPlatformCtsTest.java | 47 private AppSearchSessionShim mDb; field in AppSearchSessionPlatformCtsTest 51 mDb = in setUp() 68 mDb.setSchema(new SetSchemaRequest.Builder().setForceOverride(true).build()).get(); in cleanup() 84 mDb.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testStorageAttributedToSelf_withDocument() 98 mDb.put(new PutDocumentsRequest.Builder().addGenericDocuments(emails).build()).get(); in testStorageAttributedToSelf_withDocument() 122 mDb.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testStorageAttributedToSelf_withoutDocument()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/a/ |
D | AppSearchDeviceTest.java | 87 private AppSearchSessionShim mDb; field in AppSearchDeviceTest 92 mDb = AppSearchSessionShimImpl.createSearchSession( in setUp() 100 mDb.setSchema(new SetSchemaRequest.Builder().addSchemas(SCHEMA) in testPutDocuments() 106 mDb.put(new PutDocumentsRequest.Builder().addGenericDocuments(DOCUMENT).build())); in testPutDocuments() 113 List<GenericDocument> outDocuments = doGet(mDb, NAMESPACE, ID); in testGetDocuments_exist() 119 mDb.close(); in closeAndFlush() 124 AppSearchBatchResult<String, GenericDocument> getResult = mDb.getByDocumentId( in testGetDocuments_nonexist() 138 mDb.setSchema(new SetSchemaRequest.Builder().setForceOverride(true).build()).get(); in clearTestData()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderTest.java | 446 private SQLiteDatabase mDb; field in ContentProviderTest.OpenFileContentProvider 451 mDb = sContext.openOrCreateDatabase(dbName, Context.MODE_PRIVATE, null); in OpenFileContentProvider() 452 mDb.execSQL("CREATE TABLE files ( _data TEXT );"); in OpenFileContentProvider() 453 mDb.execSQL("INSERT INTO files VALUES ( \"" + fileName + "\");"); in OpenFileContentProvider() 479 return mDb.query("files", projection, selection, selectionArgs, null, null, null); in query()
|