Home
last modified time | relevance | path

Searched refs:createPackageContext (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
DResourceHelper.java40 Context packageContext = context.createPackageContext(packageName, 0); in getThemeColor()
/frameworks/base/core/java/android/security/
DNetworkSecurityPolicy.java114 Context appContext = context.createPackageContext(packageName, 0); in getApplicationConfigForPackage()
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DVersionDialog.java43 context = activity.createPackageContext(SharedLibraryMain.LIBRARY_PACKAGE, 0); in onCreateDialog()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java263 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in SearchablesTest.MyMockContext
265 return mRealContext.createPackageContext(packageName, flags); in createPackageContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java79 Context appContext = mContext.createPackageContext( in inflateWidgetView()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java142 return createPackageContext(desc.packageName, 0).getString(desc.labelId); in getAccountLabel()
DChooseAccountActivity.java104 Context authContext = createPackageContext(desc.packageName, 0); in getDrawableForType()
DChooseAccountTypeActivity.java131 Context authContext = createPackageContext(desc.packageName, 0); in buildTypeToAuthDescriptionMap()
/frameworks/base/core/java/android/app/
DSearchableInfo.java262 theirContext = context.createPackageContext(activity.getPackageName(), 0); in createActivityContext()
288 theirContext = context.createPackageContext(mSuggestProviderPackage, 0); in getProviderContext()
DContextImpl.java2012 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in ContextImpl
DActivityThread.java6249 c = context.createPackageContext(ai.packageName, in installProvider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java226 return context.createPackageContext(mPackage, 0).getDrawable(mResId); in getDrawable()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java285 context = mContext.createPackageContext(activityInfo.packageName, 0); in inflateFromIntent()
/frameworks/base/core/java/android/content/
DRestrictionsManager.java557 appContext = mContext.createPackageContext(packageName, 0 /* flags */); in loadManifestRestrictions()
DContextWrapper.java830 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in ContextWrapper
832 return mBase.createPackageContext(packageName, flags); in createPackageContext()
DContext.java4469 public abstract Context createPackageContext(String packageName, in createPackageContext() method in Context
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java437 final Resources res = context.createPackageContext(getPackageName(), 0).getResources(); in isDefault()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java698 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in MockContext
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java513 c = baseContext.createPackageContext(packageName, 0); in idDebugString()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1305 public Context createPackageContext(String arg0, int arg1) { in createPackageContext() method in BridgeContext
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouter.java2011 return mApplicationContext.createPackageContext( in getProviderContext()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2277 Context c = mContext.createPackageContext(pkg, Context.CONTEXT_RESTRICTED); in restoreNamedResourceLocked()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2856 context = context.createPackageContext(packageName, CONTEXT_RESTRICTED); in addSplashScreen()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2099 Context context = mContext.createPackageContext(process.info.packageName, 0); in handleMessage()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7130 …method public abstract android.content.Context createPackageContext(java.lang.String, int) throws …
7304 …method public android.content.Context createPackageContext(java.lang.String, int) throws android.c…
29195 …method public android.content.Context createPackageContext(java.lang.String, int) throws android.c…

12