Home
last modified time | relevance | path

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

12

/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/telecomm/java/android/telecom/
DStatusHints.java122 packageContext = context.createPackageContext(mPackageName.getPackageName(), 0); in getIcon()
DPhoneAccount.java385 packageContext = context.createPackageContext( in getIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java126 return mContext.createPackageContext(pkg, 0).getDrawable(id); in getPackageDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java67 Context appContext = mContext.createPackageContext( in inflateWidgetView()
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java102 Context authContext = createPackageContext(desc.packageName, 0); in getDrawableForType()
DGrantCredentialsPermissionActivity.java140 return createPackageContext(desc.packageName, 0).getString(desc.labelId); in getAccountLabel()
DChooseAccountTypeActivity.java131 Context authContext = createPackageContext(desc.packageName, 0); in buildTypeToAuthDescriptionMap()
/frameworks/base/core/java/android/app/
DSearchableInfo.java261 theirContext = context.createPackageContext(activity.getPackageName(), 0); in createActivityContext()
287 theirContext = context.createPackageContext(mSuggestProviderPackage, 0); in getProviderContext()
DContextImpl.java2113 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in ContextImpl
DActivityThread.java4937 c = context.createPackageContext(ai.packageName, in installProvider()
/frameworks/base/core/java/android/content/
DContextWrapper.java656 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in ContextWrapper
658 return mBase.createPackageContext(packageName, flags); in createPackageContext()
DRestrictionsManager.java549 appContext = mContext.createPackageContext(packageName, 0 /* flags */); in loadManifestRestrictions()
DContext.java3336 public abstract Context createPackageContext(String packageName, in createPackageContext() method in Context
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java178 c = baseContext.createPackageContext(packageName, 0); in idDebugString()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java138 Context webViewContext = initialApplication.createPackageContext(packageName, in getFactoryClass()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java233 context = mContext.createPackageContext(activityInfo.packageName, 0); in inflateFromIntent()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java423 final Resources res = context.createPackageContext(getPackageName(), 0).getResources(); in isDefault()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java568 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in MockContext
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DCameraWidgetFrame.java192 Context cameraContext = context.createPackageContext( in inflateWidgetView()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java445 ctx = ams.mContext.createPackageContext( in postNotification()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java940 public Context createPackageContext(String arg0, int arg1) { in createPackageContext() method in BridgeContext
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouter.java1571 return mApplicationContext.createPackageContext( in getProviderContext()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java1341 Context c = mContext.createPackageContext(pkg, Context.CONTEXT_RESTRICTED); in restoreNamedResourceLocked()

12