Home | History | Annotate | Download | only in test

Lines Matching refs:IsolatedContext

42  *          An {@link android.test.IsolatedContext} that stubs out Context methods that might
48 * regular content resolver, but uses {@link IsolatedContext}. It stubs out
53 * An instance of the provider under test, running in an {@link IsolatedContext}.
74 private IsolatedContext mProviderContext;
121 * {@link android.test.mock.MockContentResolver}, a new IsolatedContext
140 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper);
171 * Gets the {@link IsolatedContext} created by this class during initialization.
172 * @return The {@link IsolatedContext} instance
174 public IsolatedContext getMockContext() {
186 * Both the new provider and the new resolver are put into an {@link IsolatedContext}
188 * for everything else. The IsolatedContext prepends the filenamePrefix parameter to
195 * @param targetContext The context to use as the basis of the IsolatedContext
218 Context context = new IsolatedContext(resolver, targetContextWrapper);