Home
last modified time | relevance | path

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

/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarHelperRegistry.java57 final Context applicationContext = context.getApplicationContext(); in getRegistry() local
58 if (applicationContext instanceof CarHelperInjectionContext) { in getRegistry()
59 return ((CarHelperInjectionContext) applicationContext).getCarHelperRegistry(); in getRegistry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsProviderSelectorActivity.kt108 recyclerView.layoutManager = LinearLayoutManager(applicationContext) in <lambda>()
129 component = ComponentName(applicationContext, ControlsActivity::class.java) in <lambda>()
209 val intent = Intent(applicationContext, ControlsFavoritingActivity::class.java) in <lambda>()
229 Intent(applicationContext, ControlsActivity::class.java), in <lambda>()
DControlsFavoritingActivity.kt320 applicationContext, in <lambda>()
352 Intent(applicationContext, ControlsActivity::class.java), in <lambda>()
411 return Prefs.getInt(applicationContext, TOOLTIP_PREFS_KEY, 0) < TOOLTIP_MAX_SHOWN in <lambda>()
DControlsEditingActivity.kt174 Intent(applicationContext, ControlsActivity::class.java), in bindButtons()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DUserInteractor.kt84 @Application private val applicationContext: Context, in <lambda>() constant in com.android.systemui.user.domain.interactor.UserInteractor
114 applicationContext.getString( in <lambda>()
541 context = applicationContext, in <lambda>()
556 context = applicationContext, in <lambda>()
615 val intent = Intent(applicationContext, SystemUISecondaryUserService::class.java) in <lambda>()
619 applicationContext.stopServiceAsUser( in <lambda>()
629 applicationContext.startServiceAsUser( in <lambda>()
750 return checkNotNull(applicationContext.getDrawable(R.drawable.ic_account_circle)) in <lambda>()
761 applicationContext.resources, in <lambda>()
DGuestUserInteractor.kt53 @Application private val applicationContext: Context, in <lambda>() constant in com.android.systemui.user.domain.interactor.GuestUserInteractor
263 applicationContext, in <lambda>()
306 val guestUser = manager.createGuest(applicationContext) in <lambda>()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DAbstractService.java56 Context applicationContext = getApplicationContext(); in run() local
57 File resultFile = new File(applicationContext.getFilesDir(), getId()); in run()
73 MultiDex.install(applicationContext); in run()
90 new File(applicationContext.getFilesDir(), getId() + ".complete"), "rw"); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.kt43 @Application private val applicationContext: Context, constant in com.android.systemui.statusbar.policy.UserSwitcherController
79 context = applicationContext, in <lambda>()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DDeviceStateRotationLockSettingsManager.java83 Context applicationContext = context.getApplicationContext(); in getInstance() local
84 ContentResolver contentResolver = applicationContext.getContentResolver(); in getInstance()
87 new DeviceStateRotationLockSettingsManager(applicationContext, secureSettings); in getInstance()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/footer/
DFooterActionsTestUtils.kt82 @Application context: Context = this.context.applicationContext, in footerActionsViewModel()
148 @Application context: Context = this.context.applicationContext, in userSwitcherRepository()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DSettingsAwareViewCapture.kt72 context.applicationContext, Choreographer.getInstance(), in getInstance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/ui/activity/
DSwitchToManagedProfileForCallActivity.kt68 applicationContext.startActivityAsUser( in switchToManagedProfile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/
DStatusBarUserChipViewModelTest.kt122 applicationContext = context, in <lambda>()
249 applicationContext = context, in <lambda>()
DUserSwitcherViewModelTest.kt124 applicationContext = context, in <lambda>()
147 applicationContext = context, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIAppComponentFactoryBase.kt61 val initializer = createSystemUIInitializer(context.applicationContext) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DBaseScreenSharePermissionDialog.kt89 context.applicationContext, in initScreenShareSpinner()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DMainActivity.kt62 mSurfaceView = createSurfaceView(applicationContext, size, surfaceReadyLatch) in addSurfaceView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardLongPressInteractor.kt66 private val appContext = unsafeContext.applicationContext in <lambda>()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
DDomainVerifier.kt52 val appContext = context.applicationContext in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfig.kt53 private val appContext = context.applicationContext in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt65 val context: Context = c.applicationContext in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DGuestUserInteractorTest.kt79 applicationContext = context, in setUp()
DUserInteractorTest.kt140 applicationContext = context, in <lambda>()
164 applicationContext = context, in <lambda>()
/frameworks/base/core/java/android/hardware/
DCamera.java496 Context applicationContext = ActivityThread.currentApplication().getApplicationContext(); in shouldForceSlowJpegMode() local
497 String[] slowJpegPackageNames = applicationContext.getResources().getStringArray( in shouldForceSlowJpegMode()
499 String callingPackageName = applicationContext.getPackageName(); in shouldForceSlowJpegMode()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java2399 Context applicationContext = getContext().getApplicationContext(); in generateDecor() local
2400 if (applicationContext == null) { in generateDecor()
2403 context = new DecorContext(applicationContext, this); in generateDecor()