Searched refs:IsolatedContext (Results 1 – 8 of 8) sorted by relevance
41 private IsolatedContext mProviderContext;68 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp()91 public IsolatedContext getMockContext() { in getMockContext()105 Context context = new IsolatedContext( in newResolverWithContentProviderFromSql()
75 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()
49 public class IsolatedContext extends ContextWrapper { class56 public IsolatedContext( in IsolatedContext() method in IsolatedContext125 super(IsolatedContext.this, null /* IAccountManager */, null /* handler */); in MockAccountManager()
35 <li>{@link android.test.IsolatedContext}</li>89 isolated environment. Android mock objects such as {@link android.test.IsolatedContext} and125 constructor creates an {@link android.test.IsolatedContext} object that allows file and140 from the {@link android.test.IsolatedContext}, so it is restricted to146 {@link android.test.ProviderTestCase2} uses {@link android.test.IsolatedContext} and
449 {@link android.test.IsolatedContext} provides an isolated {@link android.content.Context},461 file and database operations are handled by a {@link android.test.IsolatedContext}.
30 import android.test.IsolatedContext;54 Context context = new IsolatedContext(resolver, targetContextWrapper); in setUp()
1063 http://developer.android.com/reference/android/test/IsolatedContext.html
28802 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();