Home
last modified time | relevance | path

Searched refs:mProviderContext (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DProviderTestCase.java41 private IsolatedContext mProviderContext; field in ProviderTestCase
68 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp()
71 mProviderContext, mProviderClass, mProviderAuthority); in setUp()
92 return mProviderContext; in getMockContext()
DProviderTestCase2.java75 private IsolatedContext mProviderContext; field in ProviderTestCase2
141 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp()
142 mProvider = createProviderForTest(mProviderContext, mProviderClass, mProviderAuthority); in setUp()
186 return mProviderContext; in getMockContext()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java70 private final Context mProviderContext; field in SuggestionsAdapter
111 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()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java71 private final Context mProviderContext; field in SuggestionsAdapter
103 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()