Home
last modified time | relevance | path

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

12345678910>>...46

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipPolicy.java232 batteryTipEnabled = mParser.getBoolean(KEY_BATTERY_TIP_ENABLED, true); in BatteryTipPolicy()
233 summaryEnabled = mParser.getBoolean(KEY_SUMMARY_ENABLED, true); in BatteryTipPolicy()
234 batterySaverTipEnabled = mParser.getBoolean(KEY_BATTERY_SAVER_TIP_ENABLED, true); in BatteryTipPolicy()
235 highUsageEnabled = mParser.getBoolean(KEY_HIGH_USAGE_ENABLED, true); in BatteryTipPolicy()
240 appRestrictionEnabled = mParser.getBoolean(KEY_APP_RESTRICTION_ENABLED, true); in BatteryTipPolicy()
242 reducedBatteryEnabled = mParser.getBoolean(KEY_REDUCED_BATTERY_ENABLED, false); in BatteryTipPolicy()
244 lowBatteryEnabled = mParser.getBoolean(KEY_LOW_BATTERY_ENABLED, true); in BatteryTipPolicy()
249 testBatterySaverTip = mParser.getBoolean(KEY_TEST_BATTERY_SAVER_TIP, false); in BatteryTipPolicy()
250 testHighUsageTip = mParser.getBoolean(KEY_TEST_HIGH_USAGE_TIP, false); in BatteryTipPolicy()
251 testSmartBatteryTip = mParser.getBoolean(KEY_TEST_SMART_BATTERY_TIP, false); in BatteryTipPolicy()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPolicy.java232 batteryTipEnabled = mParser.getBoolean(KEY_BATTERY_TIP_ENABLED, true); in BatteryTipPolicy()
233 summaryEnabled = mParser.getBoolean(KEY_SUMMARY_ENABLED, true); in BatteryTipPolicy()
234 batterySaverTipEnabled = mParser.getBoolean(KEY_BATTERY_SAVER_TIP_ENABLED, true); in BatteryTipPolicy()
235 highUsageEnabled = mParser.getBoolean(KEY_HIGH_USAGE_ENABLED, true); in BatteryTipPolicy()
240 appRestrictionEnabled = mParser.getBoolean(KEY_APP_RESTRICTION_ENABLED, true); in BatteryTipPolicy()
242 reducedBatteryEnabled = mParser.getBoolean(KEY_REDUCED_BATTERY_ENABLED, false); in BatteryTipPolicy()
244 lowBatteryEnabled = mParser.getBoolean(KEY_LOW_BATTERY_ENABLED, true); in BatteryTipPolicy()
249 testBatterySaverTip = mParser.getBoolean(KEY_TEST_BATTERY_SAVER_TIP, false); in BatteryTipPolicy()
250 testHighUsageTip = mParser.getBoolean(KEY_TEST_HIGH_USAGE_TIP, false); in BatteryTipPolicy()
251 testSmartBatteryTip = mParser.getBoolean(KEY_TEST_SMART_BATTERY_TIP, false); in BatteryTipPolicy()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsValues.java134 mAutoCap = prefs.getBoolean(Settings.PREF_AUTO_CAP, true); in SettingsValues()
138 mSlidingKeyInputPreviewEnabled = prefs.getBoolean( in SettingsValues()
144 ? prefs.getBoolean(Settings.PREF_INCLUDE_OTHER_IMES_IN_LANGUAGE_SWITCH_LIST, false) in SettingsValues()
148 mUseContactsDict = prefs.getBoolean(Settings.PREF_KEY_USE_CONTACTS_DICT, true); in SettingsValues()
149 mUsePersonalizedDicts = prefs.getBoolean(Settings.PREF_KEY_USE_PERSONALIZED_DICTS, true); in SettingsValues()
150 mUseDoubleSpacePeriod = prefs.getBoolean(Settings.PREF_KEY_USE_DOUBLE_SPACE_PERIOD, true) in SettingsValues()
160 mEnableMetricsLogging = prefs.getBoolean(Settings.PREF_ENABLE_METRICS_LOGGING, true); in SettingsValues()
161 mIsSplitKeyboardEnabled = prefs.getBoolean(Settings.PREF_ENABLE_SPLIT_KEYBOARD, false); in SettingsValues()
165 && prefs.getBoolean(DebugSettings.PREF_SHOULD_SHOW_LXX_SUGGESTION_UI, true); in SettingsValues()
171 mEnableEmojiAltPhysicalKey = prefs.getBoolean( in SettingsValues()
[all …]
DSettings.java206 return prefs.getBoolean(PREF_SOUND_ON, in readKeypressSoundEnabled()
207 res.getBoolean(R.bool.config_default_sound_enabled)); in readKeypressSoundEnabled()
213 return hasVibrator && prefs.getBoolean(PREF_VIBRATE_ON, in readVibrationEnabled()
214 res.getBoolean(R.bool.config_default_vibration_enabled)); in readVibrationEnabled()
219 return prefs.getBoolean(PREF_AUTO_CORRECTION, true); in readAutoCorrectEnabled()
228 return prefs.getBoolean(PREF_BLOCK_POTENTIALLY_OFFENSIVE, in readBlockPotentiallyOffensive()
229 res.getBoolean(R.bool.config_block_potentially_offensive)); in readBlockPotentiallyOffensive()
233 return res.getBoolean(R.bool.config_gesture_input_enabled_by_build_config); in readFromBuildConfigIfGestureInputEnabled()
239 && prefs.getBoolean(PREF_GESTURE_INPUT, true); in readGestureInputEnabled()
243 return res.getBoolean(R.bool.config_enable_show_key_preview_popup_option); in readFromBuildConfigIfToShowKeyPreviewPopupOption()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java131 boolean enableAlertsMasterToggle = enableForSub && prefs.getBoolean( in setCellBroadcastOnSub()
140 boolean enableCmasExtremeAlerts = enableAlertsMasterToggle && prefs.getBoolean( in setCellBroadcastOnSub()
143 boolean enableCmasSevereAlerts = enableAlertsMasterToggle && prefs.getBoolean( in setCellBroadcastOnSub()
146 boolean enableCmasAmberAlerts = enableAlertsMasterToggle && prefs.getBoolean( in setCellBroadcastOnSub()
150 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_TEST_ALERTS, false); in setCellBroadcastOnSub()
152 boolean enableAreaUpdateInfoAlerts = Resources.getSystem().getBoolean( in setCellBroadcastOnSub()
154 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_AREA_UPDATE_INFO_ALERTS, in setCellBroadcastOnSub()
158 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_PUBLIC_SAFETY_MESSAGES, in setCellBroadcastOnSub()
161 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_STATE_LOCAL_TEST_ALERTS, in setCellBroadcastOnSub()
164 boolean enableEmergencyAlerts = enableAlertsMasterToggle && prefs.getBoolean( in setCellBroadcastOnSub()
DCellBroadcastAlertService.java319 .getBoolean(R.bool.duplicate_compare_body); in handleCellBroadcastIntent()
428 prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in isChannelEnabled()
430 boolean enableAreaUpdateInfoAlerts = Resources.getSystem().getBoolean( in isChannelEnabled()
432 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_AREA_UPDATE_INFO_ALERTS, in isChannelEnabled()
438 .getBoolean(CellBroadcastSettings.KEY_ENABLE_TEST_ALERTS, false); in isChannelEnabled()
490 .getBoolean(CellBroadcastSettings.KEY_ENABLE_TEST_ALERTS, in isChannelEnabled()
502 && PreferenceManager.getDefaultSharedPreferences(this).getBoolean( in isChannelEnabled()
514 && PreferenceManager.getDefaultSharedPreferences(this).getBoolean( in isChannelEnabled()
520 && PreferenceManager.getDefaultSharedPreferences(this).getBoolean( in isChannelEnabled()
527 .getBoolean(CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, true); in isChannelEnabled()
[all …]
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java58 mConnected = intent.getExtras().getBoolean(UsbManager.USB_CONNECTED) in onReceive()
59 || intent.getExtras().getBoolean(UsbManager.USB_HOST_CONNECTED); in onReceive()
62 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MTP) in onReceive()
63 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
66 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_PTP) in onReceive()
67 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
70 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MIDI)) { in onReceive()
73 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_RNDIS)) { in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java58 mConnected = intent.getExtras().getBoolean(UsbManager.USB_CONNECTED) in onReceive()
59 || intent.getExtras().getBoolean(UsbManager.USB_HOST_CONNECTED); in onReceive()
62 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MTP) in onReceive()
63 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
66 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_PTP) in onReceive()
67 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
70 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MIDI)) { in onReceive()
73 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_RNDIS)) { in onReceive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogControllerTest.java139 when(mPersistableBundle.getBoolean( in setup()
193 when(mPersistableBundle.getBoolean( in initialize_updateServiceStateWithPowerOff_shouldUpdateTextAndResetSignalStrength()
207 when(mPersistableBundle.getBoolean( in initialize_updateVoiceDataOutOfService_shouldUpdateSettingAndResetSignalStrength()
221 when(mPersistableBundle.getBoolean( in initialize_updateVoiceOutOfServiceDataInService_shouldUpdateTextToBeInService()
236 when(mPersistableBundle.getBoolean( in initialize_updateSignalStrengthWith50_shouldUpdateSignalStrengthTo50()
250 when(mPersistableBundle.getBoolean( in initialize_updateVoiceOutOfServiceDataInService_shouldUpdateSignalStrengthTo50()
257 when(mPersistableBundle.getBoolean( in initialize_updateVoiceOutOfServiceDataInService_shouldUpdateSignalStrengthTo50()
311 when(mPersistableBundle.getBoolean( in initialize_doNotShowIccid_shouldRemoveIccidSetting()
322 when(mPersistableBundle.getBoolean( in initialize_doNotShowSignalStrength_shouldRemoveSignalStrengthSetting()
347 when(mPersistableBundle.getBoolean( in initialize_showIccid_shouldSetIccidToSetting()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java273 if (mContext.getResources().getBoolean(R.bool.config_pstnCanPlaceEmergencyCalls)) { in buildPstnPhoneAccount()
323 final boolean isHandoverFromSupported = mContext.getResources().getBoolean( in buildPstnPhoneAccount()
332 final boolean isTelephonyAudioDeviceSupported = mContext.getResources().getBoolean( in buildPstnPhoneAccount()
341 .getBoolean(R.bool.config_support_video_calling_fallback)); in buildPstnPhoneAccount()
357 if (isEmergency && mContext.getResources().getBoolean( in buildPstnPhoneAccount()
434 final boolean gnssSuplRequiresDefaultData = mContext.getResources().getBoolean( in isEmergencyPreferredAccount()
484 b.getBoolean(CarrierConfigManager.KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL); in isCarrierVideoPauseSupported()
497 b.getBoolean(CarrierConfigManager.KEY_USE_RCS_PRESENCE_BOOL); in isCarrierVideoPresenceSupported()
509 b.getBoolean(CarrierConfigManager.KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL); in isCarrierInstantLetteringSupported()
521 b.getBoolean(CarrierConfigManager.KEY_SUPPORT_CONFERENCE_CALL_BOOL); in isCarrierMergeCallSupported()
[all …]
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceUtils.java546 if (!context.getResources().getBoolean(R.bool.enable_services)) { in getServiceMap()
567 info.hide = ta.getBoolean(R.styleable.EmailServiceInfo_hide, false); in getServiceMap()
574 ta.getBoolean(R.styleable.EmailServiceInfo_defaultSsl, false); in getServiceMap()
577 info.offerTls = ta.getBoolean(R.styleable.EmailServiceInfo_offerTls, false); in getServiceMap()
579 ta.getBoolean(R.styleable.EmailServiceInfo_offerCerts, false); in getServiceMap()
581 ta.getBoolean(R.styleable.EmailServiceInfo_offerOAuth, false); in getServiceMap()
583 ta.getBoolean(R.styleable.EmailServiceInfo_offerLocalDeletes, false); in getServiceMap()
588 ta.getBoolean(R.styleable.EmailServiceInfo_offerPrefix, false); in getServiceMap()
589 info.usesSmtp = ta.getBoolean(R.styleable.EmailServiceInfo_usesSmtp, false); in getServiceMap()
591 ta.getBoolean(R.styleable.EmailServiceInfo_usesAutodiscover, false); in getServiceMap()
[all …]
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsConfig.java202 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLED_TRANS_ID, in getTransIdEnabled()
234 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLE_MULTIPART_SMS, in getMultipartSmsEnabled()
239 return mValues.getBoolean( in getSendMultipartSmsAsSeparateMessages()
245 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLE_SMS_DELIVERY_REPORTS, in getSMSDeliveryReportsEnabled()
250 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLED_NOTIFY_WAP_MMSC, in getNotifyWapMMSC()
255 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ALIAS_ENABLED, in isAliasEnabled()
270 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ALLOW_ATTACH_AUDIO, in getAllowAttachAudio()
280 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLE_GROUP_MMS, in getGroupMmsEnabled()
285 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION, in getSupportMmsContentDisposition()
290 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_CELL_BROADCAST_APP_LINKS, in getShowCellBroadcast()
/packages/apps/Email/provider_src/com/android/email/
DPreferences.java125 return mSharedPreferences.getBoolean(ENABLE_DEBUG_LOGGING, false); in getEnableDebugLogging()
133 return mSharedPreferences.getBoolean(ENABLE_EXCHANGE_LOGGING, false); in getEnableExchangeLogging()
141 return mSharedPreferences.getBoolean(ENABLE_EXCHANGE_FILE_LOGGING, false); in getEnableExchangeFileLogging()
149 return mSharedPreferences.getBoolean(ENABLE_STRICT_MODE, false); in getEnableStrictMode()
189 return mSharedPreferences.getBoolean(CONFIRM_DELETE, CONFIRM_DELETE_DEFAULT); in getConfirmDelete()
195 return mSharedPreferences.getBoolean(CONFIRM_SEND, CONFIRM_SEND_DEFAULT); in getConfirmSend()
207 return mSharedPreferences.getBoolean(SWIPE_DELETE, false); in getSwipeDelete()
219 return mSharedPreferences.getBoolean(REPLY_ALL, false); in getReplyAll()
/packages/apps/Contacts/tests/src/com/android/contacts/preference/
DContactsPreferencesTest.java77 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn( in testGetSortOrderDefault()
86 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn( in testGetSortOrder()
96 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn( in testGetDisplayOrderDefault()
105 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn( in testGetDisplayOrder()
115 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn( in testGetPhoneticNameDisplayDefault()
124 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn( in testGetPhoneticNameDisplay()
135 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn( in testRefreshPhoneticNameDisplay()
152 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn( in testRefreshSortOrder()
168 Mockito.when(mResources.getBoolean(Mockito.anyInt())).thenReturn( in testRefreshDisplayOrder()
/packages/apps/Dialer/java/com/android/dialer/oem/
DMotorolaUtils.java78 && context.getResources().getBoolean(R.bool.motorola_hidden_menu_enabled); in isSupportingHiddenMenu()
84 .getBoolean(CONFIG_HD_CODEC_BLINKING_ICON_WHEN_CONNECTING_CALL_ENABLED, true) in shouldBlinkHdIconWhenConnectingCall()
91 .getBoolean(CONFIG_HD_CODEC_SHOW_ICON_IN_NOTIFICATION_ENABLED, true) in shouldShowHdIconInNotification()
98 .getBoolean(CONFIG_WIFI_CALL_SHOW_ICON_IN_CALL_LOG_ENABLED, true) in shouldShowWifiIconInCallLog()
110 .getBoolean(CONFIG_DISABLE_PHONE_NUMBER_FORMATTING, true) in shouldDisablePhoneNumberFormatting()
111 && context.getResources().getBoolean(R.bool.motorola_disable_phone_number_formatting); in shouldDisablePhoneNumberFormatting()
144 && context.getResources().getBoolean(R.bool.motorola_sprint_hd_codec) in isSupportingSprintHdCodec()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DBluetoothA2dpHwOffloadPreferenceController.java58 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in updateState()
61 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in updateState()
73 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in onDeveloperOptionsSwitchDisabled()
82 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in isDefaultValue()
84 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in isDefaultValue()
90 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in onA2dpHwDialogConfirmed()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothA2dpHwOffloadPreferenceController.java58 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in updateState()
61 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in updateState()
73 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in onDeveloperOptionsSwitchDisabled()
82 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in isDefaultValue()
84 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in isDefaultValue()
90 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in onA2dpHwDialogConfirmed()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDtmfLocalTonePlayerTest.java56 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testSupportedStart()
66 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testUnsupportedStart()
76 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testPlayToneWhenUninitialized()
87 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testPlayToneWhenInitialized()
98 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testStopToneWhenUninitialized()
109 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testStopToneWhenInitialized()
120 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testProperTeardown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiInfoPreferenceControllerTest.java124 when(mResources.getBoolean( in updateWifiInfo_nullWifiInfoWithMacRandomizationOff_setMacUnavailable()
137 when(mResources.getBoolean( in updateWifiInfo_nullMacWithMacRandomizationOff_setMacUnavailable()
150 when(mResources.getBoolean( in updateWifiInfo_defaultMacWithMacRandomizationOff_setMacUnavailable()
163 when(mResources.getBoolean( in updateWifiInfo_validMacWithMacRandomizationOff_setValidMac()
176 when(mResources.getBoolean( in updateWifiInfo_nullWifiInfoWithMacRandomizationOn_setMacUnavailable()
189 when(mResources.getBoolean( in updateWifiInfo_nullMacWithMacRandomizationOn_setMacUnavailable()
202 when(mResources.getBoolean( in updateWifiInfo_defaultMacWithMacRandomizationOn_setMacRandomized()
215 when(mResources.getBoolean( in updateWifiInfo_validMacWithMacRandomizationOn_setValidMac()
/packages/apps/Dialer/java/com/android/dialer/calllog/config/
DCallLogConfigImpl.java87 configProvider.getBoolean("new_call_log_fragment_enabled", false); in update()
89 configProvider.getBoolean("new_voicemail_fragment_enabled", false); in update()
90 boolean newPeerEnabledInConfigProvider = configProvider.getBoolean("nui_peer_enabled", false); in update()
157 return sharedPreferences.getBoolean(NEW_CALL_LOG_FRAGMENT_ENABLED_PREF_KEY, false);
162 return sharedPreferences.getBoolean(NEW_VOICEMAIL_FRAGMENT_ENABLED_PREF_KEY, false);
167 return sharedPreferences.getBoolean(NEW_PEER_ENABLED_PREF_KEY, false);
176 return sharedPreferences.getBoolean(NEW_CALL_LOG_FRAMEWORK_ENABLED_PREF_KEY, false);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfirmLockdownFragment.java76 final boolean replacing = getArguments().getBoolean(ARG_REPLACING); in onCreateDialog()
77 final boolean alwaysOn = getArguments().getBoolean(ARG_ALWAYS_ON); in onCreateDialog()
78 final boolean wasLockdown = getArguments().getBoolean(ARG_LOCKDOWN_SRC); in onCreateDialog()
79 final boolean nowLockdown = getArguments().getBoolean(ARG_LOCKDOWN_DST); in onCreateDialog()
110 getArguments().getBoolean(ARG_ALWAYS_ON), in onClick()
111 getArguments().getBoolean(ARG_LOCKDOWN_DST)); in onClick()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfirmLockdownFragment.java76 final boolean replacing = getArguments().getBoolean(ARG_REPLACING); in onCreateDialog()
77 final boolean alwaysOn = getArguments().getBoolean(ARG_ALWAYS_ON); in onCreateDialog()
78 final boolean wasLockdown = getArguments().getBoolean(ARG_LOCKDOWN_SRC); in onCreateDialog()
79 final boolean nowLockdown = getArguments().getBoolean(ARG_LOCKDOWN_DST); in onCreateDialog()
110 getArguments().getBoolean(ARG_ALWAYS_ON), in onClick()
111 getArguments().getBoolean(ARG_LOCKDOWN_DST)); in onClick()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java63 } else if (carrierConfig.getBoolean( in getAvailabilityStatus()
66 } else if (carrierConfig.getBoolean( in getAvailabilityStatus()
72 } else if (carrierConfig.getBoolean(CarrierConfigManager.KEY_WORLD_PHONE_BOOL)) { in getAvailabilityStatus()
113 && carrierConfig.getBoolean(CarrierConfigManager.KEY_SHOW_CDMA_CHOICES_BOOL); in init()
115 ? carrierConfig.getBoolean( in init()
181 && !carrierConfig.getBoolean(CarrierConfigManager.KEY_PREFER_2G_BOOL) in updatePreferenceEntries()
182 && !carrierConfig.getBoolean(CarrierConfigManager.KEY_LTE_ENABLED_BOOL)) { in updatePreferenceEntries()
186 && !carrierConfig.getBoolean(CarrierConfigManager.KEY_PREFER_2G_BOOL)) { in updatePreferenceEntries()
194 && !carrierConfig.getBoolean(CarrierConfigManager.KEY_LTE_ENABLED_BOOL)) { in updatePreferenceEntries()
DMobileNetworkUtils.java223 SystemProperties.getBoolean(KEY_ENABLE_ESIM_UI_BY_DEFAULT, true); in showEuiccSettings()
276 && !carrierConfig.getBoolean( in isCdmaOptions()
278 && carrierConfig.getBoolean(CarrierConfigManager.KEY_WORLD_PHONE_BOOL)) { in isCdmaOptions()
335 && !carrierConfig.getBoolean( in isGsmBasicOptions()
337 && carrierConfig.getBoolean(CarrierConfigManager.KEY_WORLD_PHONE_BOOL)) { in isGsmBasicOptions()
353 : carrierConfig.getBoolean(CarrierConfigManager.KEY_WORLD_MODE_ENABLED_BOOL); in isWorldMode()
366 || !carrierConfig.getBoolean( in shouldDisplayNetworkSelectOptions()
368 || carrierConfig.getBoolean( in shouldDisplayNetworkSelectOptions()
370 || (carrierConfig.getBoolean(CarrierConfigManager.KEY_CSP_ENABLED_BOOL) in shouldDisplayNetworkSelectOptions()
417 if (carrierConfig.getBoolean(CarrierConfigManager.KEY_SUPPORT_TDSCDMA_BOOL)) { in isTdscdmaSupported()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DEnabledNetworkModePreferenceController.java63 } else if (carrierConfig.getBoolean( in getAvailabilityStatus()
66 } else if (carrierConfig.getBoolean( in getAvailabilityStatus()
72 } else if (carrierConfig.getBoolean(CarrierConfigManager.KEY_WORLD_PHONE_BOOL)) { in getAvailabilityStatus()
113 && carrierConfig.getBoolean(CarrierConfigManager.KEY_SHOW_CDMA_CHOICES_BOOL); in init()
115 ? carrierConfig.getBoolean( in init()
181 && !carrierConfig.getBoolean(CarrierConfigManager.KEY_PREFER_2G_BOOL) in updatePreferenceEntries()
182 && !carrierConfig.getBoolean(CarrierConfigManager.KEY_LTE_ENABLED_BOOL)) { in updatePreferenceEntries()
186 && !carrierConfig.getBoolean(CarrierConfigManager.KEY_PREFER_2G_BOOL)) { in updatePreferenceEntries()
194 && !carrierConfig.getBoolean(CarrierConfigManager.KEY_LTE_ENABLED_BOOL)) { in updatePreferenceEntries()

12345678910>>...46