/frameworks/base/core/java/android/security/ |
D | NetworkSecurityPolicy.java | 129 Context appContext = context.createPackageContext(packageName, 0); in getApplicationConfigForPackage()
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
D | VersionDialog.java | 43 context = activity.createPackageContext(SharedLibraryMain.LIBRARY_PACKAGE, 0); in onCreateDialog()
|
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/ |
D | SimpleService.java | 135 pkgContext = createPackageContext(targetPkg, in onBind()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AppLocaleStore.java | 47 localeConfig = new LocaleConfig(context.createPackageContext(packageName, 0)); in getAppSupportedLocales()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | Utils.java | 97 return context.createPackageContext(packageName, /* flags= */ 0).getDrawable(resId); in getVendorHeaderIcon()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | RoundedCornerResDelegateTest.kt | 128 return mContext.createPackageContext("com.android.systemui.tests", 0) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
D | ImageLoaderTest.kt | 44 val context = context.createPackageContext("com.android.systemui.tests", 0) in setUp() 108 val context = context.createPackageContext("com.android.systemui.tests", 0) in validBitmapResource_loadDrawable_returnsBitmapDrawable()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ModuleInfoProvider.java | 111 Context packageContext = mContext.createPackageContext(mPackageName, 0); in systemReady()
|
/frameworks/base/core/java/android/accounts/ |
D | GrantCredentialsPermissionActivity.java | 157 return createPackageContext(desc.packageName, 0).getString(desc.labelId); in getAccountLabel()
|
D | ChooseAccountTypeActivity.java | 135 Context authContext = createPackageContext(desc.packageName, 0); in buildTypeToAuthDescriptionMap()
|
D | ChooseAccountActivity.java | 124 Context authContext = createPackageContext(desc.packageName, 0); in getDrawableForType()
|
/frameworks/base/core/java/android/app/ |
D | SearchableInfo.java | 264 theirContext = context.createPackageContext(activity.getPackageName(), 0); in createActivityContext() 291 theirContext = context.createPackageContext(mSuggestProviderPackage, 0); in getProviderContext()
|
/frameworks/base/services/core/java/com/android/server/gpu/ |
D | GpuService.java | 250 final Context driverContext = mContext.createPackageContext(mProdDriverPackageName, in fetchProductionDriverPackageProperties()
|
/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 621 appContext = mContext.createPackageContext(packageName, 0 /* flags */); in loadManifestRestrictions()
|
D | ContextWrapper.java | 1088 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in ContextWrapper 1090 return mBase.createPackageContext(packageName, flags); in createPackageContext()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceManager.java | 303 context = mContext.createPackageContext(activityInfo.packageName, 0); in inflateFromIntent()
|
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/ |
D | RavenwoodBaseContext.java | 688 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in RavenwoodBaseContext
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | ApplicationContext.java | 1118 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in ApplicationContext 1122 return context.createPackageContext(packageName, flags); in createPackageContext()
|
/frameworks/base/core/tests/overlaytests/device_self_targeting/src/com/android/overlaytest/ |
D | OverlayManagerImplTest.java | 449 mContext.createPackageContext("com.android.systemui", 0 /* flags */); in ensureBaseDir_forOtherPackage_shouldFail()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 793 public Context createPackageContext(String packageName, int flags) in createPackageContext() method in MockContext
|
/frameworks/base/core/java/android/os/ |
D | GraphicsEnvironment.java | 887 context.createPackageContext(driverPackageName, Context.CONTEXT_RESTRICTED); in getSphalLibraries()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperDataParser.java | 606 Context c = mContext.createPackageContext(pkg, Context.CONTEXT_RESTRICTED); in restoreNamedResourceLocked()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodInfo.java | 813 final Resources res = context.createPackageContext(getPackageName(), 0).getResources(); in isDefault()
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | LocaleManagerService.java | 617 mContext.createPackageContext(appPackageName, 0)); in setOverrideLocaleConfigUnchecked()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionUsageHelper.java | 429 Context pkgContext = userContext.createPackageContext(packageInfo.packageName, 0); in getSubattributionLabelsForPackage()
|