Home
last modified time | relevance | path

Searched refs:MockContentProvider (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DContentProviderTest.java96 MockContentProvider mockContentProvider = new MockContentProvider(); in testOpenAssetFile()
115 MockContentProvider mockContentProvider = new MockContentProvider(); in testAttachInfo()
133 mockContentProvider = new MockContentProvider(); in testAttachInfo()
152 MockContentProvider mockContentProvider = new MockContentProvider(); in testBulkInsert()
163 mockContentProvider = new MockContentProvider(); in testBulkInsert()
173 MockContentProvider mockContentProvider = new MockContentProvider(); in testGetContext()
184 MockContentProvider mockContentProvider = new MockContentProvider(); in testAccessReadPermission()
201 MockContentProvider mockContentProvider = new MockContentProvider(); in testAccessWritePermission()
214 MockContentProvider mockContentProvider = new MockContentProvider(); in testIsTemporary()
220 MockContentProvider mockContentProvider = new MockContentProvider(); in testOpenFile()
[all …]
DMockRemoteContentProvider.java19 public class MockRemoteContentProvider extends MockContentProvider {
DContentResolverTest.java129 MockContentProvider.setCrashOnLaunch(mContext, false); in setUp()
195 MockContentProvider.setCrashOnLaunch(mContext, true); in testCrashOnLaunch()
197 assertFalse(MockContentProvider.getCrashOnLaunch(mContext)); in testCrashOnLaunch()
200 MockContentProvider.setCrashOnLaunch(mContext, false); in testCrashOnLaunch()
561 MockContentProvider.setCrashOnLaunch(mContext, true); in testCrashingQuery()
563 assertFalse(MockContentProvider.getCrashOnLaunch(mContext)); in testCrashingQuery()
565 MockContentProvider.setCrashOnLaunch(mContext, false); in testCrashingQuery()
778 MockContentProvider.setCrashOnLaunch(mContext, true); in testCrashingOpenAssetFileDescriptor()
780 assertFalse(MockContentProvider.getCrashOnLaunch(mContext)); in testCrashingOpenAssetFileDescriptor()
786 MockContentProvider.setCrashOnLaunch(mContext, false); in testCrashingOpenAssetFileDescriptor()
[all …]
DMockContentProvider.java55 public class MockContentProvider extends ContentProvider implements PipeDataWriter<String> { class
106 public MockContentProvider() { in MockContentProvider() method in MockContentProvider
110 public MockContentProvider(String authority, String dbName) { in MockContentProvider() method in MockContentProvider
/cts/tests/tests/webkit/src/android/webkit/cts/
DMockContentProvider.java35 public class MockContentProvider extends ContentProvider class
38 public static final String AUTHORITY = MockContentProvider.class.getName();
DWebViewTest.java376 .authority(MockContentProvider.AUTHORITY); in testLoadUrlDoesNotStripParamsWhenLoadingContentUrls()
/cts/tests/tests/content/
DAndroid.bp317 "src/android/content/cts/MockContentProvider.java",
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java103 import android.content.cts.MockContentProvider;
1569 final ComponentName componentName = new ComponentName(mContext, MockContentProvider.class); in testGetInfo_noMetaData_InContentProvider()
1650 final ComponentName componentName = new ComponentName(mContext, MockContentProvider.class); in testGetInfo_checkMetaData_InContentProvider()