Home
last modified time | relevance | path

Searched refs:createPackageContext (Results 1 – 25 of 30) 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/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java142 return createPackageContext(desc.packageName, 0).getString(desc.labelId); in getAccountLabel()
DChooseAccountTypeActivity.java131 Context authContext = createPackageContext(desc.packageName, 0); in buildTypeToAuthDescriptionMap()
DChooseAccountActivity.java130 Context authContext = createPackageContext(desc.packageName, 0); in getDrawableForType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java79 Context appContext = mContext.createPackageContext( in inflateWidgetView()
/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.java2028 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in ContextImpl
DActivityThread.java6203 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.java836 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in ContextWrapper
838 return mBase.createPackageContext(packageName, flags); in createPackageContext()
DContext.java4541 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.java704 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in MockContext
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java522 c = baseContext.createPackageContext(packageName, 0); in idDebugString()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1307 public Context createPackageContext(String arg0, int arg1) { in createPackageContext() method in BridgeContext
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouter.java2021 return mApplicationContext.createPackageContext( in getProviderContext()
/frameworks/base/test-runner/api/
Dandroid-test-mock-current.txt53 …method public android.content.Context createPackageContext(java.lang.String, int) throws android.c…
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2727 Context c = mContext.createPackageContext(pkg, Context.CONTEXT_RESTRICTED); in restoreNamedResourceLocked()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2881 context = context.createPackageContext(packageName, CONTEXT_RESTRICTED); in addSplashScreen()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2075 Context context = mContext.createPackageContext(process.info.packageName, 0); in handleMessage()

12