Home
last modified time | relevance | path

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

12

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/inputmethod/
DKeyboardState.java151 final Intent settingsIntent = AutofillHelper.getAutofillSettingsIntent(mContext, in updateAutofillSettings() local
153 if (settingsIntent == null) { in updateAutofillSettings()
161 preferenceCompat.setIntent(settingsIntent); in updateAutofillSettings()
176 final Intent settingsIntent = InputMethodHelper.getInputMethodSettingsIntent(info); in updateKeyboardsSettings() local
177 if (uri == null && settingsIntent == null) { in updateKeyboardsSettings()
193 prefCompat.setIntent(settingsIntent); in updateKeyboardsSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DKeyboardFragment.java186 final Intent settingsIntent = InputMethodHelper.getInputMethodSettingsIntent(info); in updateKeyboardsSettings() local
187 if (uri == null && settingsIntent == null) { in updateKeyboardsSettings()
210 preference.setIntent(settingsIntent); in updateKeyboardsSettings()
328 final Intent settingsIntent = AutofillHelper.getAutofillSettingsIntent(getContext(), in updateAutofillSettings() local
330 if (settingsIntent == null) { in updateAutofillSettings()
342 preference.setIntent(settingsIntent); in updateAutofillSettings()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt229 val settingsIntent = Intent(Settings.ACTION_TETHER_SETTINGS) in testRestrictedNotification() constant
240 RESTRICTED_NOTIFICATION_ID, ACTIVITY_PENDING_INTENT, settingsIntent, FLAG_IMMUTABLE) in testRestrictedNotification()
253 RESTRICTED_NOTIFICATION_ID, ACTIVITY_PENDING_INTENT, settingsIntent, FLAG_IMMUTABLE) in testRestrictedNotification()
367 val settingsIntent = Intent(Settings.ACTION_TETHER_SETTINGS) in testRoamingNotification() constant
382 ROAMING_NOTIFICATION_ID, ACTIVITY_PENDING_INTENT, settingsIntent, FLAG_IMMUTABLE) in testRoamingNotification()
395 ROAMING_NOTIFICATION_ID, ACTIVITY_PENDING_INTENT, settingsIntent, FLAG_IMMUTABLE) in testRoamingNotification()
/packages/apps/Settings/src/com/android/settings/nfc/
DNfcPaymentPreferenceController.java155 final Intent settingsIntent = new Intent(Intent.ACTION_MAIN); in onClick() local
156 settingsIntent.setComponent(defaultAppInfo.settingsComponent); in onClick()
157 settingsIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onClick()
159 mContext.startActivity(settingsIntent); in onClick()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenSuggestionActivity.java15 Intent settingsIntent = new Intent(Settings.ACTION_ZEN_MODE_SETTINGS); in onCreate() local
16 startActivity(settingsIntent); in onCreate()
/packages/apps/Settings/src/com/android/settings/notification/app/
DAppLinkPreferenceController.java48 return mAppRow.settingsIntent != null; in isAvailable()
58 preference.setIntent(mAppRow.settingsIntent); in updateState()
DNotificationSettings.java329 if (mAppRow.settingsIntent != null) { in collectConfigActivities()
337 mAppRow.settingsIntent = intent in collectConfigActivities()
342 mAppRow.settingsIntent.putExtra(Notification.EXTRA_CHANNEL_ID, mChannel.getId()); in collectConfigActivities()
345 mAppRow.settingsIntent.putExtra( in collectConfigActivities()
/packages/apps/Settings/src/com/android/settings/accessibility/
DLaunchAccessibilityActivityPreferenceFragment.java225 final Intent settingsIntent = new Intent(Intent.ACTION_MAIN).setComponent( in getSettingsIntent() local
227 if (getPackageManager().queryIntentActivities(settingsIntent, /* flags= */ 0).isEmpty()) { in getSettingsIntent()
231 return settingsIntent; in getSettingsIntent()
DToggleAccessibilityServicePreferenceFragment.java370 Intent settingsIntent = new Intent(Intent.ACTION_MAIN).setComponent( in onProcessArguments() local
372 if (!getPackageManager().queryIntentActivities(settingsIntent, 0).isEmpty()) { in onProcessArguments()
374 mSettingsIntent = settingsIntent; in onProcessArguments()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/dashboard/
DPreferenceThemeTest.java66 final Intent settingsIntent = new Intent("com.android.settings.SETUP_LOCK_SCREEN") in launchSetupWizardLockScreen() local
70 InstrumentationRegistry.getInstrumentation().startActivitySync(settingsIntent); in launchSetupWizardLockScreen()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/accounts/
DAccountsSettingsTest.java79 Intent settingsIntent = new Intent(Intent.ACTION_MAIN) in launchAccountsSettings() local
83 mContext.startActivity(settingsIntent); in launchAccountsSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DAppLinkPreferenceControllerTest.java112 appRow.settingsIntent = new Intent("test"); in testIsAvailable()
129 appRow.settingsIntent = intent; in testUpdateState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java150 final Intent settingsIntent = mEnginesHelper.getSettingsIntent(getEngineName()); in onCreatePreferences() local
151 mEngineSettingsPreference.setIntent(settingsIntent); in onCreatePreferences()
152 if (settingsIntent == null) { in onCreatePreferences()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DDeveloperOptionsFragment.java436 Intent settingsIntent = new Intent(ACTION_PLUGIN_SETTINGS).setPackage(mPackageName); in PluginPreference() local
439 pm.queryIntentActivities(settingsIntent, GET_RESOLVED_FILTER); in PluginPreference()
443 settingsIntent.addCategory(pluginInfo.filter.getAction(0)); in PluginPreference()
449 mSettingsInfo = pm.resolveActivity(settingsIntent, 0); in PluginPreference()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java304 Intent settingsIntent = new Intent(Intent.ACTION_MAIN); in onLoadFinished() local
306 settingsIntent.setComponent( in onLoadFinished()
311 settingsIntent, 0); in onLoadFinished()
315 mSettingsIntent = settingsIntent; in onLoadFinished()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/performance/
DPerfImpactingAppsPreferenceController.java116 Intent settingsIntent = new Intent(ACTION_APPLICATION_DETAILS_SETTINGS) in setOnPreferenceClickListeners()
118 getContext().startActivity(settingsIntent); in setOnPreferenceClickListeners()
/packages/services/BuiltInPrintService/src/com/android/bips/
DP2pPermissionManager.java177 Intent settingsIntent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, in redirectToSettings() local
179 activity.startActivityForResult(settingsIntent, REQUEST_P2P_PERMISSION_ENABLE); in redirectToSettings()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/auto/
DDrivingDecisionReminderService.kt305 val settingsIntent = Intent(Settings.ACTION_SETTINGS) in <lambda>() constant
306 val settingsComponent: ComponentName? = settingsIntent.resolveActivity(pm) in <lambda>()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPanelViewController.java283 Intent settingsIntent = new Intent(SETTINGS_ACTION).setPackage(SETTINGS_PKG); in getOverflowItems() local
284 OverflowItem settings = new OverflowItem(settingsLabel, () -> startIntent(settingsIntent)); in getOverflowItems()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppListChildFragment.java262 Intent settingsIntent = new Intent(Settings.ACTION_SETTINGS); in isIntentResolvedToSettings() local
263 String settingsPackageName = settingsIntent.resolveActivity(packageManager) in isIntentResolvedToSettings()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java259 final Intent settingsIntent = new Intent(Settings.ACTION_SETTINGS); in getSettingsPackageName() local
260 final ComponentName settingsComponent = settingsIntent.resolveActivity(pm); in getSettingsPackageName()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java802 final Intent settingsIntent = mEnginesHelper.getSettingsIntent(info.name); in onGearClick() local
803 if (settingsIntent != null) { in onGearClick()
804 startActivity(settingsIntent); in onGearClick()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java103 Intent settingsIntent = new Intent(c, CellBroadcastSettings.class); in onHandleIntent() local
105 CellBroadcastAlertService.SETTINGS_CHANGED_NOTIFICATION_ID, settingsIntent, in onHandleIntent()
/packages/apps/Settings/src/com/android/settings/slices/
DSettingsSliceProvider.java352 final Intent settingsIntent = new Intent(Settings.ACTION_SETTINGS) in onCreatePermissionRequest() local
355 0 /* requestCode */, settingsIntent, PendingIntent.FLAG_IMMUTABLE); in onCreatePermissionRequest()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DConnectedDevicesSliceProvider.java127 final Intent settingsIntent = new Intent(Settings.ACTION_SETTINGS); in onCreatePermissionRequest() local
129 getContext(), 0, settingsIntent, PendingIntent.FLAG_IMMUTABLE); in onCreatePermissionRequest()

12