Searched refs:mProviderContext (Results 1 – 4 of 4) sorted by relevance
41 private IsolatedContext mProviderContext; field in ProviderTestCase68 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp()71 mProviderContext, mProviderClass, mProviderAuthority); in setUp()92 return mProviderContext; in getMockContext()
75 private IsolatedContext mProviderContext; field in ProviderTestCase2141 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp()142 mProvider = createProviderForTest(mProviderContext, mProviderClass, mProviderAuthority); in setUp()186 return mProviderContext; in getMockContext()
70 private final Context mProviderContext; field in SuggestionsAdapter111 mProviderContext = mSearchable.getProviderContext(mContext, activityContext); in SuggestionsAdapter()557 + "://" + mProviderContext.getPackageName() + "/" + resourceId; in getDrawableFromResourceValue()564 drawable = mProviderContext.getDrawable(resourceId); in getDrawableFromResourceValue()596 mProviderContext.getContentResolver().getResourceId(uri); in getDrawable()598 return r.r.getDrawable(r.id, mProviderContext.getTheme()); in getDrawable()604 InputStream stream = mProviderContext.getContentResolver().openInputStream(uri); in getDrawable()671 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
71 private final Context mProviderContext; field in SuggestionsAdapter103 mProviderContext = context; in SuggestionsAdapter()491 + "://" + mProviderContext.getPackageName() + "/" + resourceId; in getDrawableFromResourceValue()498 drawable = ContextCompat.getDrawable(mProviderContext, resourceId); in getDrawableFromResourceValue()536 InputStream stream = mProviderContext.getContentResolver().openInputStream(uri); in getDrawable()605 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()