Home
last modified time | relevance | path

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

12345678910>>...48

/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, false); 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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java288 .getBoolean(ANY_PREFERENCE_CHANGED_BY_USER, false); in hasAnyPreferenceChanged()
431 mDisableSevereWhenExtremeDisabled = res.getBoolean( in onCreatePreferences()
529 if (!sp.getBoolean(KEY_OVERRIDE_DND_SETTINGS_CHANGED, false)) { in onCreatePreferences()
532 mOverrideDndCheckBox.setChecked(res.getBoolean(R.bool.override_dnd_default)); in onCreatePreferences()
553 updateVibrationPreference(sp.getBoolean(CellBroadcastSettings.KEY_OVERRIDE_DND, in onCreatePreferences()
586 mMasterToggle.setVisible(res.getBoolean(R.bool.show_main_switch_settings)); in updatePreferenceVisibility()
591 res.getBoolean(R.bool.show_presidential_alerts_settings)); in updatePreferenceVisibility()
595 mExtremeCheckBox.setVisible(res.getBoolean(R.bool.show_extreme_alert_settings) in updatePreferenceVisibility()
601 mSevereCheckBox.setVisible(res.getBoolean(R.bool.show_severe_alert_settings) in updatePreferenceVisibility()
607 mAmberCheckBox.setVisible(res.getBoolean(R.bool.show_amber_alert_settings) in updatePreferenceVisibility()
[all …]
DCellBroadcastAlertService.java212 .getBoolean(CellBroadcastSettings.KEY_ENABLE_PUBLIC_SAFETY_MESSAGES_FULL_SCREEN, in shouldDisplayFullScreenMessage()
230 mContext, message.getSubscriptionId()).getBoolean(R.bool.ignore_messages_in_ecbm)) { in shouldDisplayMessage()
263 boolean receiveInSecondLanguage = prefs.getBoolean( in shouldDisplayMessage()
373 .getBoolean(R.bool.enable_write_alerts_to_sms_inbox)) { in handleCellBroadcastIntent()
412 .getBoolean(R.bool.enable_alert_handling_during_call)) { in showNewAlert()
425 if (res.getBoolean(R.bool.show_alert_dialog_with_notification) || in showNewAlert()
428 (res.getBoolean(R.bool.show_notification_if_connected_to_companion_devices) in showNewAlert()
465 prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in isChannelEnabled()
476 .getBoolean(CellBroadcastSettings.KEY_ENABLE_TEST_ALERTS, false); in isChannelEnabled()
506 .getBoolean(CellBroadcastSettings.KEY_ENABLE_TEST_ALERTS, in isChannelEnabled()
[all …]
DCellBroadcastConfigService.java173 boolean enableAlertsMasterToggle = prefs.getBoolean( in enableCellBroadcastChannels()
182 boolean enableCmasExtremeAlerts = enableAlertsMasterToggle && prefs.getBoolean( in enableCellBroadcastChannels()
185 boolean enableCmasSevereAlerts = enableAlertsMasterToggle && prefs.getBoolean( in enableCellBroadcastChannels()
188 boolean enableCmasAmberAlerts = enableAlertsMasterToggle && prefs.getBoolean( in enableCellBroadcastChannels()
193 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_TEST_ALERTS, false); in enableCellBroadcastChannels()
196 && res.getBoolean(R.bool.show_separate_exercise_settings) in enableCellBroadcastChannels()
197 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_EXERCISE_ALERTS, false); in enableCellBroadcastChannels()
200 && res.getBoolean(R.bool.show_separate_operator_defined_settings) in enableCellBroadcastChannels()
201 && prefs.getBoolean(CellBroadcastSettings.KEY_OPERATOR_DEFINED_ALERTS, false); in enableCellBroadcastChannels()
203 boolean enableAreaUpdateInfoAlerts = res.getBoolean( in enableCellBroadcastChannels()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DSystemBarConfigsTest.java108 when(mResources.getBoolean(R.bool.config_hideBottomSystemBarForKeyboard)).thenReturn(false); in onInit_hideBottomSystemBarForKeyboardValueDoNotSync_throwsRuntimeException()
109 when(mResources.getBoolean( in onInit_hideBottomSystemBarForKeyboardValueDoNotSync_throwsRuntimeException()
118 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(true); in onInit_topNotifPanelViewMediatorUsed_topBarEnabled_doesNotThrowException()
127 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in onInit_topNotifPanelViewMediatorUsed_topBarNotEnabled_throwsRuntimeException()
136 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in onInit_notificationPanelViewMediatorUsed_topBarNotEnabled_doesNotThrowException()
154 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in getTopSystemBarLayoutParams_topBarNotEnabled_returnsNull()
164 when(mResources.getBoolean(R.bool.config_hideTopSystemBarForKeyboard)).thenReturn(true); in getTopSystemBarHideForKeyboard_hideBarForKeyboard_returnsTrue()
174 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in getTopSystemBarHideForKeyboard_topBarNotEnabled_returnsFalse()
241 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(true); in setDefaultValidConfig()
242 when(mResources.getBoolean(R.bool.config_enableBottomSystemBar)).thenReturn(true); in setDefaultValidConfig()
[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/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()
61 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MTP) in onReceive()
62 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
65 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_PTP) in onReceive()
66 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
69 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MIDI)) { in onReceive()
72 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_RNDIS)) { in onReceive()
75 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_ACCESSORY)) { in onReceive()
78 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_NCM)) { in onReceive()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DMultiActionPreferenceTest.java98 when(mTypedArray.getBoolean(eq(R.styleable.MultiActionPreference_action_item_one_shown), in onBindViewHolder_toggleButtons_attributesVisible()
100 when(mTypedArray.getBoolean(eq(R.styleable.MultiActionPreference_action_item_two_shown), in onBindViewHolder_toggleButtons_attributesVisible()
102 when(mTypedArray.getBoolean(eq(R.styleable.MultiActionPreference_action_item_three_shown), in onBindViewHolder_toggleButtons_attributesVisible()
124 when(mTypedArray.getBoolean( in onBindViewHolder_toggleButtons_attributesEnabled()
127 when(mTypedArray.getBoolean( in onBindViewHolder_toggleButtons_attributesEnabled()
130 when(mTypedArray.getBoolean( in onBindViewHolder_toggleButtons_attributesEnabled()
153 when(mTypedArray.getBoolean(eq(R.styleable.MultiActionPreference_action_item_one_shown), in onBindViewHolder_toggleButtons_attributesNotVisible()
155 when(mTypedArray.getBoolean(eq(R.styleable.MultiActionPreference_action_item_two_shown), in onBindViewHolder_toggleButtons_attributesNotVisible()
157 when(mTypedArray.getBoolean(eq(R.styleable.MultiActionPreference_action_item_three_shown), in onBindViewHolder_toggleButtons_attributesNotVisible()
179 when(mTypedArray.getBoolean( in onBindViewHolder_toggleButtons_attributesNotEnabled()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItemXmlParserUtil.java90 boolean isSearch = a.getBoolean(R.styleable.CarUiToolbarMenuItem_search, false); in readMenuItem()
91 boolean isSettings = a.getBoolean(R.styleable.CarUiToolbarMenuItem_settings, false); in readMenuItem()
92 boolean tinted = a.getBoolean(R.styleable.CarUiToolbarMenuItem_tinted, true); in readMenuItem()
93 boolean visible = a.getBoolean(R.styleable.CarUiToolbarMenuItem_visible, true); in readMenuItem()
94 boolean showIconAndTitle = a.getBoolean( in readMenuItem()
96 boolean checkable = a.getBoolean(R.styleable.CarUiToolbarMenuItem_checkable, false); in readMenuItem()
97 boolean checked = a.getBoolean(R.styleable.CarUiToolbarMenuItem_checked, false); in readMenuItem()
99 boolean activatable = a.getBoolean(R.styleable.CarUiToolbarMenuItem_activatable, false); in readMenuItem()
100 boolean activated = a.getBoolean(R.styleable.CarUiToolbarMenuItem_activated, false); in readMenuItem()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java359 if (mContext.getResources().getBoolean(R.bool.config_pstnCanPlaceEmergencyCalls)) { in buildPstnPhoneAccount()
419 final boolean isHandoverFromSupported = mContext.getResources().getBoolean( in buildPstnPhoneAccount()
428 final boolean isTelephonyAudioDeviceSupported = mContext.getResources().getBoolean( in buildPstnPhoneAccount()
437 .getBoolean(R.bool.config_support_video_calling_fallback)); in buildPstnPhoneAccount()
452 if (isEmergency && mContext.getResources().getBoolean( in buildPstnPhoneAccount()
529 final boolean gnssSuplRequiresDefaultData = mContext.getResources().getBoolean( in isEmergencyPreferredAccount()
579 b.getBoolean(CarrierConfigManager.KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL); in isCarrierVideoPauseSupported()
592 && (b.getBoolean(CarrierConfigManager.KEY_USE_RCS_PRESENCE_BOOL) in isCarrierVideoPresenceSupported()
593 || b.getBoolean( in isCarrierVideoPresenceSupported()
621 b.getBoolean(CarrierConfigManager.KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL); in isCarrierInstantLetteringSupported()
[all …]
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsConfig.java204 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLED_TRANS_ID, in getTransIdEnabled()
236 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLE_MULTIPART_SMS, in getMultipartSmsEnabled()
241 return mValues.getBoolean( in getSendMultipartSmsAsSeparateMessages()
247 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLE_SMS_DELIVERY_REPORTS, in getSMSDeliveryReportsEnabled()
252 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLED_NOTIFY_WAP_MMSC, in getNotifyWapMMSC()
257 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ALIAS_ENABLED, in isAliasEnabled()
272 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ALLOW_ATTACH_AUDIO, in getAllowAttachAudio()
282 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLE_GROUP_MMS, in getGroupMmsEnabled()
287 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION, in getSupportMmsContentDisposition()
292 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_CELL_BROADCAST_APP_LINKS, in getShowCellBroadcast()
/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/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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDtmfLocalTonePlayerTest.java64 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testSupportedStart()
74 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testUnsupportedStart()
84 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testPlayToneWhenUninitialized()
95 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testPlayToneWhenInitialized()
106 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false); in testStopToneWhenUninitialized()
117 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testStopToneWhenInitialized()
128 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true); in testProperTeardown()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java700 return context.getResources().getBoolean( in isApMacRandomizationSupported()
711 return SdkLevel.isAtLeastS() && context.getResources().getBoolean( in isBridgedModeSupported()
722 return context.getResources().getBoolean( in isClientForceDisconnectSupported()
733 return context.getResources().getBoolean( in isWpa3SaeSupported()
744 return context.getResources().getBoolean( in isAcsSupported()
755 return context.getResources().getBoolean( in isMacCustomizationSupported()
766 return context.getResources().getBoolean(R.bool.config_wifi24ghzSupport) in isSoftAp24GhzSupported()
767 && context.getResources().getBoolean( in isSoftAp24GhzSupported()
778 return context.getResources().getBoolean(R.bool.config_wifi5ghzSupport) in isSoftAp5GhzSupported()
779 && context.getResources().getBoolean( in isSoftAp5GhzSupported()
[all …]
/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/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/modules/Wifi/service/java/com/android/server/wifi/
DWifiGlobals.java72 .getBoolean(R.bool.config_wifiSaeUpgradeEnabled); in WifiGlobals()
74 .getBoolean(R.bool.config_wifiSaeUpgradeOffloadEnabled); in WifiGlobals()
76 .getBoolean(R.bool.config_wifiOweUpgradeEnabled); in WifiGlobals()
78 .getBoolean(R.bool.config_wifiFlushAnqpCacheOnWifiToggleOffEvent); in WifiGlobals()
80 .getBoolean(R.bool.config_wifiSaeH2eSupported); in WifiGlobals()
144 return mContext.getResources().getBoolean( in isConnectedMacRandomizationEnabled()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java458 builder.setUseMobileData(bundle.getBoolean(EXTRA_PROVISIONING_USE_MOBILE_DATA)); in createBuilderFromPersistableBundle()
476 builder.setStartedByTrustedSource(bundle.getBoolean(TAG_STARTED_BY_TRUSTED_SOURCE)); in createBuilderFromPersistableBundle()
477 builder.setIsNfc(bundle.getBoolean(TAG_IS_NFC)); in createBuilderFromPersistableBundle()
478 builder.setIsQrProvisioning(bundle.getBoolean(TAG_IS_QR_PROVISIONING)); in createBuilderFromPersistableBundle()
479 builder.setSkipEncryption(bundle.getBoolean(EXTRA_PROVISIONING_SKIP_ENCRYPTION)); in createBuilderFromPersistableBundle()
480 builder.setLeaveAllSystemAppsEnabled(bundle.getBoolean( in createBuilderFromPersistableBundle()
482 … builder.setSkipEducationScreens(bundle.getBoolean(EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS)); in createBuilderFromPersistableBundle()
483 builder.setKeepAccountMigrated(bundle.getBoolean( in createBuilderFromPersistableBundle()
485 builder.setIsOrganizationOwnedProvisioning(bundle.getBoolean( in createBuilderFromPersistableBundle()
492 builder.setAllowProvisioningAfterUserSetupComplete(bundle.getBoolean( in createBuilderFromPersistableBundle()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionConfigProvider.java35 .getBoolean("voicemail_transcription_available", false); in isVoicemailTranscriptionAvailable()
61 .getBoolean("voicemail_transcription_server_use_plaintext", false); in shouldUsePlaintext()
67 .getBoolean("voicemail_transcription_server_use_sync_api", false); in shouldUseSyncApi()
102 .getBoolean("voicemail_transcription_donation_available", false); in isVoicemailDonationAvailable()
108 .getBoolean("voicemail_transcription_client_generated_voicemail_ids", false); in useClientGeneratedVoicemailIds()
/packages/services/Mtp/src/com/android/mtp/
DMtpReceiver.java49 boolean configured = extras.getBoolean(UsbManager.USB_CONFIGURED); in handleUsbState()
50 boolean connected = extras.getBoolean(UsbManager.USB_CONNECTED); in handleUsbState()
51 boolean mtpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_MTP); in handleUsbState()
52 boolean ptpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_PTP); in handleUsbState()
53 boolean unlocked = extras.getBoolean(UsbManager.USB_DATA_UNLOCKED); in handleUsbState()
/packages/services/Telephony/src/com/android/phone/
DGsmUmtsCallForwardOptions.java76 mReplaceInvalidCFNumbers = b.getBoolean( in onCreate()
78 mCallForwardByUssd = b.getBoolean( in onCreate()
80 supportCFB = b.getBoolean( in onCreate()
82 supportCFNRc = b.getBoolean( in onCreate()
84 supportCFNRy = b.getBoolean( in onCreate()
155 pref.setToggled(bundle.getBoolean(KEY_TOGGLE)); in onResume()
156 pref.setEnabled(bundle.getBoolean(KEY_ENABLE)); in onResume()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DSystemBarConfigs.java202 mTopNavBarEnabled = mResources.getBoolean(R.bool.config_enableTopSystemBar); in readConfigs()
203 mBottomNavBarEnabled = mResources.getBoolean(R.bool.config_enableBottomSystemBar); in readConfigs()
204 mLeftNavBarEnabled = mResources.getBoolean(R.bool.config_enableLeftSystemBar); in readConfigs()
205 mRightNavBarEnabled = mResources.getBoolean(R.bool.config_enableRightSystemBar); in readConfigs()
215 .setHideForKeyboard(mResources.getBoolean( in readConfigs()
230 .setHideForKeyboard(mResources.getBoolean( in readConfigs()
244 .setHideForKeyboard(mResources.getBoolean( in readConfigs()
258 .setHideForKeyboard(mResources.getBoolean( in readConfigs()
316 boolean actual = mResources.getBoolean(R.bool.config_hideBottomSystemBarForKeyboard); in checkHideBottomBarForKeyboardConfigSync()
317 boolean expected = mResources.getBoolean( in checkHideBottomBarForKeyboardConfigSync()

12345678910>>...48