Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DInstalledTilesComponentRepository.kt53 @Application private val applicationContext: Context, in getInstalledTilesComponents() constant in com.android.systemui.qs.pipeline.data.repository.InstalledTilesComponentRepositoryImpl
63 if (applicationContext.userId == userId) { in getInstalledTilesComponents()
64 applicationContext.packageManager in getInstalledTilesComponents()
66 applicationContext in getInstalledTilesComponents()
80 applicationContext.registerReceiverAsUser( in getInstalledTilesComponents()
88 awaitClose { applicationContext.unregisterReceiver(receiver) } in getInstalledTilesComponents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DBouncerInteractor.kt48 @Application private val applicationContext: Context, in <lambda>() constant in com.android.systemui.bouncer.domain.interactor.BouncerInteractor
186 applicationContext.getString(R.string.keyguard_enter_your_pin) in <lambda>()
188 applicationContext.getString(R.string.keyguard_enter_your_password) in <lambda>()
190 applicationContext.getString(R.string.keyguard_enter_your_pattern) in <lambda>()
197 is AuthenticationMethodModel.Pin -> applicationContext.getString(R.string.kg_wrong_pin) in <lambda>()
199 applicationContext.getString(R.string.kg_wrong_password) in <lambda>()
201 applicationContext.getString(R.string.kg_wrong_pattern) in <lambda>()
213 applicationContext.getString( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModel.kt46 @Application private val applicationContext: Context, in <lambda>() constant in com.android.systemui.bouncer.ui.viewmodel.BouncerViewModel
63 applicationContext = applicationContext, in <lambda>()
80 applicationContext = applicationContext, in <lambda>()
119 applicationContext.getString( in <lambda>()
DPinBouncerViewModel.kt33 applicationContext: Context, in <lambda>()
42 val pinShapes = PinShapeAdapter(applicationContext) in <lambda>()
DPatternBouncerViewModel.kt38 private val applicationContext: Context, in <lambda>() constant in com.android.systemui.bouncer.ui.viewmodel.PatternBouncerViewModel
179 applicationContext.resources.getValue( in <lambda>()
/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/user/domain/interactor/
DUserInteractor.kt90 @Application private val applicationContext: Context, in <lambda>() constant in com.android.systemui.user.domain.interactor.UserInteractor
121 applicationContext.getString( in <lambda>()
469 applicationContext, in <lambda>()
570 context = applicationContext, in <lambda>()
585 context = applicationContext, in <lambda>()
644 val intent = Intent(applicationContext, SystemUISecondaryUserService::class.java) in <lambda>()
648 applicationContext.stopServiceAsUser( in <lambda>()
658 applicationContext.startServiceAsUser( in <lambda>()
779 return checkNotNull(applicationContext.getDrawable(R.drawable.ic_account_circle)) in <lambda>()
787 applicationContext.resources.getDimensionPixelSize( in <lambda>()
[all …]
DGuestUserInteractor.kt53 @Application private val applicationContext: Context, in <lambda>() constant in com.android.systemui.user.domain.interactor.GuestUserInteractor
280 applicationContext, in <lambda>()
323 val guestUser = manager.createGuest(applicationContext) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DCredentialViewModel.kt29 @Application private val applicationContext: Context, in <lambda>() constant in com.android.systemui.biometrics.ui.viewmodel.CredentialViewModel
43 icon = applicationContext.asLockIcon(request.userInfo.deviceCredentialOwnerId), in <lambda>()
75 ?: applicationContext.asBadCredentialErrorMessage(p) in <lambda>()
99 applicationContext.asBadCredentialErrorMessage( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewBinder.kt130 applicationContext = view.context.applicationContext, in <lambda>()
449 private val applicationContext: Context, constant in com.android.systemui.biometrics.ui.binder.Spaghetti
466 .map { FaceManager.getErrorString(applicationContext, it, 0 /* vendorCode */) } in <lambda>()
496 viewModel.showAuthenticating(modalities.asDefaultHelpMessage(applicationContext)) in onDialogAnimatedIn()
509 helpMessage = if (msgId != null) applicationContext.getString(msgId) else "" in onAuthenticationSucceeded()
536 messageAfterError = modalities.asDefaultHelpMessage(applicationContext), in onAuthenticationFailed()
557 messageAfterError = modalities.asDefaultHelpMessage(applicationContext), in onError()
574 messageAfterError = modalities.asDefaultHelpMessage(applicationContext), in onHelp()
/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>()
231 Intent(applicationContext, ControlsActivity::class.java), in <lambda>()
DControlsEditingActivity.kt179 applicationContext, in bindButtons()
212 Intent(applicationContext, ControlsActivity::class.java), in bindButtons()
/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/biometrics/domain/interactor/
DCredentialInteractor.kt48 @Application private val applicationContext: Context, in isStealthModeActive() constant in com.android.systemui.biometrics.domain.interactor.CredentialInteractorImpl
103 applicationContext.getString( in isStealthModeActive()
123 applicationContext.getString( in isStealthModeActive()
142 applicationContext.getFinalAttemptMessageOrBlank( in isStealthModeActive()
/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
82 context = applicationContext, in <lambda>()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DDeviceStateRotationLockSettingsManager.java82 Context applicationContext = context.getApplicationContext(); in getInstance() local
83 ContentResolver contentResolver = applicationContext.getContentResolver(); in getInstance()
86 new DeviceStateRotationLockSettingsManager(applicationContext, secureSettings); in getInstance()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
DSpaEnvironment.kt76 val appContext: Context = context.applicationContext ?: context
/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/base/packages/SystemUI/tests/src/com/android/systemui/power/data/repository/
DPowerRepositoryImplTest.kt74 context.applicationContext, in setUp()
193 assertThat(reasonCaptor.value).contains(context.applicationContext.packageName) in wakeUp_usesApplicationPackageName()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/
DSceneTestUtils.kt171 applicationContext = context, in bouncerInteractor()
184 applicationContext = context, in bouncerViewModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/data/repository/
DPowerRepository.kt49 @Application private val applicationContext: Context, in wakeUp() constant in com.android.systemui.power.data.repository.PowerRepositoryImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/ui/viewmodel/
DAuthMethodBouncerViewModelTest.kt44 applicationContext = context, in <lambda>()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DSettingsAwareViewCapture.kt93 context.applicationContext, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/ui/activity/
DSwitchToManagedProfileForCallActivity.kt94 applicationContext.startActivityAsUser( in switchToManagedProfile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/
DStatusBarUserChipViewModelTest.kt118 applicationContext = context, in <lambda>()
249 applicationContext = context, in <lambda>()

12