Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/android/test/
DProviderTestCase.java41 private IsolatedContext mProviderContext;
68 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp()
91 public IsolatedContext getMockContext() { in getMockContext()
105 Context context = new IsolatedContext( in newResolverWithContentProviderFromSql()
DProviderTestCase2.java75 private IsolatedContext mProviderContext;
141 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp()
185 public IsolatedContext getMockContext() { in getMockContext()
229 Context context = new IsolatedContext(resolver, targetContextWrapper); in newResolverWithContentProviderFromSql()
DIsolatedContext.java49 public class IsolatedContext extends ContextWrapper { class
56 public IsolatedContext( in IsolatedContext() method in IsolatedContext
125 super(IsolatedContext.this, null /* IAccountManager */, null /* handler */); in MockAccountManager()
/frameworks/base/docs/html/tools/testing/
Dcontentprovider_testing.jd35 <li>{@link android.test.IsolatedContext}</li>
89 isolated environment. Android mock objects such as {@link android.test.IsolatedContext} and
125 constructor creates an {@link android.test.IsolatedContext} object that allows file and
140 from the {@link android.test.IsolatedContext}, so it is restricted to
146 {@link android.test.ProviderTestCase2} uses {@link android.test.IsolatedContext} and
Dtesting_android.jd449 {@link android.test.IsolatedContext} provides an isolated {@link android.content.Context},
461 file and database operations are handled by a {@link android.test.IsolatedContext}.
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java30 import android.test.IsolatedContext;
54 Context context = new IsolatedContext(resolver, targetContextWrapper); in setUp()
/frameworks/base/docs/html/
Dsitemap.txt1063 http://developer.android.com/reference/android/test/IsolatedContext.html
/frameworks/base/api/
Dcurrent.txt28802 public class IsolatedContext extends android.content.ContextWrapper {
28803 ctor public IsolatedContext(android.content.ContentResolver, android.content.Context);
28867 method public android.test.IsolatedContext getMockContext();
28875 method public android.test.IsolatedContext getMockContext();