Home
last modified time | relevance | path

Searched refs:IsolatedContext (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DProviderTestCase.java41 private IsolatedContext mProviderContext;
68 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp()
92 public IsolatedContext getMockContext() { in getMockContext()
106 Context context = new IsolatedContext( in newResolverWithContentProviderFromSql()
DProviderTestCase2.java74 private IsolatedContext mProviderContext;
140 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp()
174 public IsolatedContext getMockContext() { in getMockContext()
218 Context context = new IsolatedContext(resolver, targetContextWrapper); in newResolverWithContentProviderFromSql()
DIsolatedContext.java51 public class IsolatedContext extends ContextWrapper { class
58 public IsolatedContext( in IsolatedContext() method in IsolatedContext
127 super(IsolatedContext.this, null /* IAccountManager */, null /* handler */); in MockAccountManager()
/frameworks/base/docs/html/guide/topics/testing/
Dcontentprovider_testing.jd35 <li>{@link android.test.IsolatedContext}</li>
83 isolated environment. Android mock objects such as {@link android.test.IsolatedContext} and
119 constructor creates an {@link android.test.IsolatedContext} object that allows file and
134 from the {@link android.test.IsolatedContext}, so it is restricted to
140 {@link android.test.ProviderTestCase2} uses {@link android.test.IsolatedContext} and
Dtesting_android.jd453 {@link android.test.IsolatedContext} provides an isolated {@link android.content.Context},
465 file and database operations are handled by a {@link android.test.IsolatedContext}.
/frameworks/base/core/tests/coretests/src/android/accounts/
DAccountManagerServiceTest.java27 import android.test.IsolatedContext;
51 Context context = new IsolatedContext(resolver, targetContextWrapper); in setUp()
/frameworks/base/docs/html/
Dsitemap.txt1231 http://developer.android.com/reference/android/test/IsolatedContext.html
/frameworks/base/api/
Dcurrent.txt19381 public class IsolatedContext extends android.content.ContextWrapper {
19382 ctor public IsolatedContext(android.content.ContentResolver, android.content.Context);
19446 method public android.test.IsolatedContext getMockContext();
19454 method public android.test.IsolatedContext getMockContext();
D14.txt19381 public class IsolatedContext extends android.content.ContextWrapper {
19382 ctor public IsolatedContext(android.content.ContentResolver, android.content.Context);
19446 method public android.test.IsolatedContext getMockContext();
19454 method public android.test.IsolatedContext getMockContext();