Searched refs:sIsolatedContext (Results 1 – 3 of 3) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 63 private static Context sIsolatedContext; field in DatabaseHelperTest 69 sIsolatedContext = new IsolatedContext(context, TAG, /*asFuseThread*/ false); in setUp() 70 sIsolatedResolver = sIsolatedContext.getContentResolver(); in setUp() 75 try (DatabaseHelper helper = new DatabaseHelperR(sIsolatedContext, TEST_CLEAN_DB)) { in testFilterVolumeNames() 157 try (DatabaseHelper helper = new DatabaseHelperR(sIsolatedContext, TEST_CLEAN_DB)) { in testTransactions() 189 .newInstance(sIsolatedContext, TEST_DOWNGRADE_DB)) { in assertDowngrade() argument 208 .newInstance(sIsolatedContext, TEST_DOWNGRADE_DB)) { in assertDowngrade() argument 236 .newInstance(sIsolatedContext, TEST_RECOMPUTE_DB)) { in assertRecompute() argument 300 .newInstance(sIsolatedContext, TEST_RECOMPUTE_DB)) { in assertRecompute() argument 370 .newInstance(sIsolatedContext, TEST_UPGRADE_DB)) { in assertUpgrade() argument [all …]
|
D | MediaProviderForFuseTest.java | 49 private static Context sIsolatedContext; field in MediaProviderForFuseTest 64 sIsolatedContext = new IsolatedContext(context, "modern", /*asFuseThread*/ true); in setUp() 65 sIsolatedResolver = sIsolatedContext.getContentResolver(); in setUp()
|
D | MediaProviderTest.java | 93 private static Context sIsolatedContext; field in MediaProviderTest 103 sIsolatedContext = new IsolatedContext(context, "modern", /*asFuseThread*/ false); in setUp() 104 sIsolatedResolver = sIsolatedContext.getContentResolver(); in setUp() 248 sIsolatedContext = new IsolatedContext(context, "modern", /*asFuseThread*/ false); in testCanonicalize() 249 sIsolatedResolver = sIsolatedContext.getContentResolver(); in testCanonicalize() 277 assertNotNull(MediaStore.getVersion(sIsolatedContext, in testMetadata()
|