/packages/services/Car/service-builtin/src/com/android/car/ |
D | UpdatablePackageContext.java | 50 public static UpdatablePackageContext create(Context baseContext) { in create() argument 53 PackageInfo info = findUpdatableServicePackage(baseContext); in create() 62 enableRROForCarServiceUpdatable(baseContext); in create() 66 packageContext = baseContext.createPackageContext(info.packageName, in create() 72 return new UpdatablePackageContext(baseContext, packageContext); in create() 76 private static PackageInfo findUpdatableServicePackage(Context baseContext) { in findUpdatableServicePackage() argument 85 info = baseContext.getPackageManager().getPackageInfo(packageName, /* flags= */ 0); in findUpdatableServicePackage() 94 private static void enableRROForCarServiceUpdatable(Context baseContext) { in enableRROForCarServiceUpdatable() argument 95 List<String> packages = getEligibleRROPackages(baseContext); in enableRROForCarServiceUpdatable() 101 OverlayManager manager = baseContext.getSystemService(OverlayManager.class); in enableRROForCarServiceUpdatable() [all …]
|
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/ |
D | SandboxedSdkContext.java | 67 @NonNull Context baseContext, in SandboxedSdkContext() 75 baseContext, in SandboxedSdkContext() 87 @NonNull Context baseContext, in SandboxedSdkContext() 95 super(baseContext); in SandboxedSdkContext() 101 resources = baseContext.getPackageManager().getResourcesForApplication(info); in SandboxedSdkContext()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/ |
D | SandboxedSdkContextUnitTest.java | 89 Context baseContext = context; in setUp() local 97 baseContext = context.createContextForSdkInSandbox(info, 0); in setUp() 98 loader = baseContext.getClassLoader(); in setUp() 103 baseContext, in setUp() 282 TestContext baseContext = new TestContext(testService); in testCreateContextWithNewBase() local 285 baseContext, in testCreateContextWithNewBase() 292 assertThat(sdkContext.getBaseContext()).isEqualTo(baseContext); in testCreateContextWithNewBase()
|
/packages/modules/Permission/service/java/com/android/safetycenter/notifications/ |
D | SafetyCenterNotificationChannels.java | 60 Context baseContext, UserHandle userHandle) { in getNotificationManagerForUser() argument 61 Context contextAsUser = getContextAsUser(baseContext, userHandle); in getNotificationManagerForUser() 76 static Context getContextAsUser(Context baseContext, UserHandle userHandle) { in getContextAsUser() argument 80 return baseContext.createContextAsUser(userHandle, /* flags= */ 0); in getContextAsUser()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/di/ |
D | ServiceModule.kt | 54 val baseContext = service.createWindowContext( in provideUiContext() constant 59 return ContextThemeWrapper(baseContext, R.style.BaseTheme) in provideUiContext()
|
/packages/modules/AdServices/sdksandbox/SdkSandbox/src/com/android/sdksandbox/ |
D | SdkSandboxServiceImpl.java | 357 Context baseContext; in loadSdkInternal() local 359 baseContext = createBaseContext(customizedApplicationInfo); in loadSdkInternal() 373 ? baseContext.getClassLoader() in loadSdkInternal() 378 baseContext, in loadSdkInternal()
|
/packages/modules/NetworkStack/src/com/android/networkstack/ |
D | NetworkStackNotifier.java | 297 private static Context getContextAsUser(Context baseContext, UserHandle user) { in getContextAsUser() argument 299 return baseContext.createPackageContextAsUser( in getContextAsUser() 300 baseContext.getPackageName(), 0 /* flags */, user); in getContextAsUser()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | ReceiverTrackingContext.java | 46 ReceiverTrackingContext(Context baseContext) { in ReceiverTrackingContext() argument 47 super(baseContext); in ReceiverTrackingContext()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/navigation/utils/ |
D | DialogUtils.kt | 40 is ContextWrapper -> baseContext.getActivityWindow() in getActivityWindow()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | AndroidUtils.kt | 39 is ContextWrapper -> baseContext.application in <lambda>()
|
/packages/modules/Permission/tests/cts/permissionui/CreateNotificationChannelsApp31/src/android/permissionui/cts/usepermission/ |
D | CreateNotificationChannelsActivity.kt | 74 notificationManager = baseContext.getSystemService(NotificationManager::class.java)!! in handleIntent()
|
/packages/apps/Settings/src/com/android/settings/spa/network/ |
D | SimOnboardingPageProvider.kt | 91 is ContextWrapper -> baseContext.getActivity() in getRoute()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | LauncherInstrumentation.java | 487 final Context baseContext = mInstrumentation.getTargetContext(); in getNavBarCanMove() local 489 final Context ctx = getLauncherContext(baseContext); in getNavBarCanMove() 498 final Context baseContext = mInstrumentation.getTargetContext(); in getNavigationModel() local 500 final Context ctx = getLauncherContext(baseContext); in getNavigationModel() 2489 private Context getLauncherContext(Context baseContext) 2493 return baseContext.createPackageContext(getLauncherPackageName(), 0);
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/ |
D | WallpaperPreviewActivity.kt | 156 return !ActivityUtils.isSUWMode(baseContext) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/ |
D | ScrollableScreen.kt | 322 context = context.baseContext in findActivity()
|