Home
last modified time | relevance | path

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

12345678910>>...53

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java178 boolean enableAlertsMasterToggle = prefs.getBoolean( in enableCellBroadcastChannels()
187 boolean enableCmasExtremeAlerts = enableAlertsMasterToggle && prefs.getBoolean( in enableCellBroadcastChannels()
190 boolean enableCmasSevereAlerts = enableAlertsMasterToggle && prefs.getBoolean( in enableCellBroadcastChannels()
193 boolean enableCmasAmberAlerts = enableAlertsMasterToggle && prefs.getBoolean( in enableCellBroadcastChannels()
198 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_TEST_ALERTS, false); in enableCellBroadcastChannels()
201 && res.getBoolean(R.bool.show_separate_exercise_settings) in enableCellBroadcastChannels()
202 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_EXERCISE_ALERTS, false); in enableCellBroadcastChannels()
205 && res.getBoolean(R.bool.show_separate_operator_defined_settings) in enableCellBroadcastChannels()
206 && prefs.getBoolean(CellBroadcastSettings.KEY_OPERATOR_DEFINED_ALERTS, false); in enableCellBroadcastChannels()
208 boolean enableAreaUpdateInfoAlerts = res.getBoolean( in enableCellBroadcastChannels()
[all …]
DCellBroadcastSettings.java283 .getBoolean(ANY_PREFERENCE_CHANGED_BY_USER, false); in hasAnyPreferenceChanged()
407 mDisableSevereWhenExtremeDisabled = res.getBoolean( in onCreatePreferences()
501 if (!sp.getBoolean(KEY_OVERRIDE_DND_SETTINGS_CHANGED, false)) { in onCreatePreferences()
504 mOverrideDndCheckBox.setChecked(res.getBoolean(R.bool.override_dnd_default)); in onCreatePreferences()
525 updateVibrationPreference(sp.getBoolean(CellBroadcastSettings.KEY_OVERRIDE_DND, in onCreatePreferences()
559 mMasterToggle.setVisible(res.getBoolean(R.bool.show_main_switch_settings)); in updatePreferenceVisibility()
564 res.getBoolean(R.bool.show_presidential_alerts_settings)); in updatePreferenceVisibility()
568 mExtremeCheckBox.setVisible(res.getBoolean(R.bool.show_extreme_alert_settings) in updatePreferenceVisibility()
574 mSevereCheckBox.setVisible(res.getBoolean(R.bool.show_severe_alert_settings) in updatePreferenceVisibility()
580 mAmberCheckBox.setVisible(res.getBoolean(R.bool.show_amber_alert_settings) in updatePreferenceVisibility()
[all …]
DCellBroadcastAlertService.java213 .getBoolean(CellBroadcastSettings.KEY_ENABLE_PUBLIC_SAFETY_MESSAGES_FULL_SCREEN, in shouldDisplayFullScreenMessage()
231 mContext, message.getSubscriptionId()).getBoolean(R.bool.ignore_messages_in_ecbm)) { in shouldDisplayMessage()
264 boolean receiveInSecondLanguage = prefs.getBoolean( in shouldDisplayMessage()
374 .getBoolean(R.bool.enable_write_alerts_to_sms_inbox)) { in handleCellBroadcastIntent()
413 .getBoolean(R.bool.enable_alert_handling_during_call)) { in showNewAlert()
430 if (res.getBoolean(R.bool.show_alert_dialog_with_notification) || in showNewAlert()
433 (res.getBoolean(R.bool.show_notification_if_connected_to_companion_devices) in showNewAlert()
542 && res.getBoolean(R.bool.show_separate_exercise_settings)) { in isChannelEnabled()
548 && res.getBoolean(R.bool.show_separate_operator_defined_settings)) { in isChannelEnabled()
570 || (!res.getBoolean(R.bool.show_state_local_test_settings) in isChannelEnabled()
[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, 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/Settings/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java65 ? intent.getExtras().getBoolean(UsbManager.USB_CONFIGURED) : false; in onReceive()
67 mConnected = intent.getExtras().getBoolean(UsbManager.USB_CONNECTED) in onReceive()
68 || intent.getExtras().getBoolean(UsbManager.USB_HOST_CONNECTED); in onReceive()
70 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MTP) in onReceive()
71 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
74 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_PTP) in onReceive()
75 && intent.getExtras().getBoolean(UsbManager.USB_DATA_UNLOCKED, false)) { in onReceive()
78 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_MIDI)) { in onReceive()
81 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_RNDIS)) { in onReceive()
84 if (intent.getExtras().getBoolean(UsbManager.USB_FUNCTION_ACCESSORY)) { in onReceive()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/display/
DScreenSaverPreferenceControllerTest.java62 when(mResources.getBoolean( in isAvailable_dreamsEnabledForAllUsers_shouldBeTrueForSystemUser()
64 when(mResources.getBoolean( in isAvailable_dreamsEnabledForAllUsers_shouldBeTrueForSystemUser()
73 when(mResources.getBoolean( in isAvailable_dreamsEnabledForAllUsers_shouldBeTrueForNonSystemUser()
75 when(mResources.getBoolean( in isAvailable_dreamsEnabledForAllUsers_shouldBeTrueForNonSystemUser()
84 when(mResources.getBoolean( in isAvailable_dreamsDisabled_shouldBeFalseForSystemUser()
86 when(mResources.getBoolean( in isAvailable_dreamsDisabled_shouldBeFalseForSystemUser()
95 when(mResources.getBoolean( in isAvailable_dreamsOnlyEnabledForSystemUser_shouldBeTrueForSystemUser()
97 when(mResources.getBoolean( in isAvailable_dreamsOnlyEnabledForSystemUser_shouldBeTrueForSystemUser()
106 when(mResources.getBoolean( in isAvailable_dreamsOnlyEnabledForSystemUser_shouldBeFalseForNonSystemUser()
108 when(mResources.getBoolean( in isAvailable_dreamsOnlyEnabledForSystemUser_shouldBeFalseForNonSystemUser()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothLeAudioHwOffloadPreferenceController.java84 SystemProperties.getBoolean(LE_AUDIO_OFFLOAD_SUPPORTED_PROPERTY, false); in updateState()
86 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in updateState()
89 SystemProperties.getBoolean(LE_AUDIO_OFFLOAD_DISABLED_PROPERTY, true); in updateState()
107 SystemProperties.getBoolean(LE_AUDIO_OFFLOAD_SUPPORTED_PROPERTY, false); in onDeveloperOptionsSwitchDisabled()
109 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in onDeveloperOptionsSwitchDisabled()
123 !SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false) in isDefaultValue()
124 && SystemProperties.getBoolean(LE_AUDIO_OFFLOAD_SUPPORTED_PROPERTY, false); in isDefaultValue()
126 SystemProperties.getBoolean(LE_AUDIO_OFFLOAD_DISABLED_PROPERTY, false); in isDefaultValue()
139 SystemProperties.getBoolean(LE_AUDIO_OFFLOAD_DISABLED_PROPERTY, in onRebootDialogConfirmed()
DBluetoothA2dpHwOffloadPreferenceController.java65 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in updateState()
68 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in updateState()
80 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in onDeveloperOptionsSwitchDisabled()
89 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in isDefaultValue()
91 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in isDefaultValue()
103 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in onRebootDialogConfirmed()
/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/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DSystemBarConfigsTest.java111 when(mResources.getBoolean(R.bool.config_hideBottomSystemBarForKeyboard)).thenReturn(false); in onInit_hideBottomSystemBarForKeyboardValueDoNotSync_throwsRuntimeException()
112 when(mResources.getBoolean( in onInit_hideBottomSystemBarForKeyboardValueDoNotSync_throwsRuntimeException()
121 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(true); in onInit_topNotifPanelViewMediatorUsed_topBarEnabled_doesNotThrowException()
130 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in onInit_topNotifPanelViewMediatorUsed_topBarNotEnabled_throwsRuntimeException()
139 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in onInit_notificationPanelViewMediatorUsed_topBarNotEnabled_doesNotThrowException()
167 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in getTopSystemBarLayoutParams_topBarNotEnabled_returnsNull()
177 when(mResources.getBoolean(R.bool.config_hideTopSystemBarForKeyboard)).thenReturn(true); in getTopSystemBarHideForKeyboard_hideBarForKeyboard_returnsTrue()
187 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in getTopSystemBarHideForKeyboard_topBarNotEnabled_returnsFalse()
254 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(true); in setDefaultValidConfig()
255 when(mResources.getBoolean(R.bool.config_enableBottomSystemBar)).thenReturn(true); in setDefaultValidConfig()
[all …]
/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/modules/Wifi/service/java/com/android/server/wifi/
DWifiGlobals.java80 .getBoolean(R.bool.config_wifiSaeUpgradeEnabled); in WifiGlobals()
82 .getBoolean(R.bool.config_wifiSaeUpgradeOffloadEnabled); in WifiGlobals()
84 .getBoolean(R.bool.config_wifiOweUpgradeEnabled); in WifiGlobals()
86 .getBoolean(R.bool.config_wifiFlushAnqpCacheOnWifiToggleOffEvent); in WifiGlobals()
88 .getBoolean(R.bool.config_wifiSaeH2eSupported); in WifiGlobals()
96 .getBoolean(R.bool.config_wifiSaveFactoryMacToWifiConfigStore); in WifiGlobals()
101 mWifiAllowInsecureEnterpriseConfiguration = mContext.getResources().getBoolean( in WifiGlobals()
160 return mContext.getResources().getBoolean( in isConnectedMacRandomizationEnabled()
/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/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapConfigTest.java55 when(mResources.getBoolean(R.bool.pbap_use_profile_for_owner_vcard)) in testInit_whenUseProfileForOwnerVcardIsTrue()
64 when(mResources.getBoolean(R.bool.pbap_use_profile_for_owner_vcard)) in testInit_whenUseProfileForOwnerVcardIsFalse()
73 when(mResources.getBoolean(R.bool.pbap_use_profile_for_owner_vcard)) in testInit_whenUseProfileForOwnerVcardThrowsException()
82 when(mResources.getBoolean(R.bool.pbap_include_photos_in_vcard)) in testInit_whenIncludePhotosInVcardIsTrue()
91 when(mResources.getBoolean(R.bool.pbap_include_photos_in_vcard)) in testInit_whenIncludePhotosInVcardIsFalse()
100 when(mResources.getBoolean(R.bool.pbap_include_photos_in_vcard)) in testInit_whenIncludePhotosInVcardThrowsException()
/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/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java360 if (mContext.getResources().getBoolean(R.bool.config_pstnCanPlaceEmergencyCalls)) { in buildPstnPhoneAccount()
420 final boolean isHandoverFromSupported = mContext.getResources().getBoolean( in buildPstnPhoneAccount()
429 final boolean isTelephonyAudioDeviceSupported = mContext.getResources().getBoolean( in buildPstnPhoneAccount()
438 .getBoolean(R.bool.config_support_video_calling_fallback)); in buildPstnPhoneAccount()
453 if (isEmergency && mContext.getResources().getBoolean( in buildPstnPhoneAccount()
530 final boolean gnssSuplRequiresDefaultData = mContext.getResources().getBoolean( in isEmergencyPreferredAccount()
580 b.getBoolean(CarrierConfigManager.KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL); in isCarrierVideoPauseSupported()
597 return b.getBoolean( in isCarrierVideoPresenceSupported()
599 || (b.getBoolean(CarrierConfigManager.KEY_USE_RCS_PRESENCE_BOOL) in isCarrierVideoPresenceSupported()
626 b.getBoolean(CarrierConfigManager.KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL); in isCarrierInstantLetteringSupported()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java390 if (resources.getBoolean(R.bool.config_wifiSoftapAcsIncludeDfs) in addDfsChannelsIfNeeded()
910 return context.getResources().getBoolean( in isIeee80211axSupported()
921 return context.getResources().getBoolean( in isIeee80211beSupported()
932 return context.getResources().getBoolean( in isApMacRandomizationSupported()
943 return SdkLevel.isAtLeastS() && context.getResources().getBoolean( in isBridgedModeSupported()
954 return SdkLevel.isAtLeastS() && context.getResources().getBoolean( in isStaWithBridgedModeSupported()
965 return context.getResources().getBoolean( in isClientForceDisconnectSupported()
976 return context.getResources().getBoolean( in isWpa3SaeSupported()
987 return context.getResources().getBoolean( in isAcsSupported()
998 return context.getResources().getBoolean( in isMacCustomizationSupported()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java510 builder.setUseMobileData(bundle.getBoolean(EXTRA_PROVISIONING_USE_MOBILE_DATA)); in createBuilderFromPersistableBundle()
528 builder.setStartedByTrustedSource(bundle.getBoolean(TAG_STARTED_BY_TRUSTED_SOURCE)); in createBuilderFromPersistableBundle()
529 builder.setIsNfc(bundle.getBoolean(TAG_IS_NFC)); in createBuilderFromPersistableBundle()
530 builder.setIsQrProvisioning(bundle.getBoolean(TAG_IS_QR_PROVISIONING)); in createBuilderFromPersistableBundle()
531 builder.setSkipEncryption(bundle.getBoolean(EXTRA_PROVISIONING_SKIP_ENCRYPTION)); in createBuilderFromPersistableBundle()
532 builder.setLeaveAllSystemAppsEnabled(bundle.getBoolean( in createBuilderFromPersistableBundle()
534 … builder.setSkipEducationScreens(bundle.getBoolean(EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS)); in createBuilderFromPersistableBundle()
535 builder.setKeepAccountMigrated(bundle.getBoolean( in createBuilderFromPersistableBundle()
537 builder.setIsOrganizationOwnedProvisioning(bundle.getBoolean( in createBuilderFromPersistableBundle()
544 builder.setAllowProvisioningAfterUserSetupComplete(bundle.getBoolean( in createBuilderFromPersistableBundle()
[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/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DDashboardUtils.kt65 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, in isPermissionsHub2FlagEnabled()
83 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, in is7DayToggleEnabled()
93 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, in isPermissionsHubSubattributionFlagEnabled()
111 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, in isCameraMicIconsFlagEnabled()
131 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, in isLocationIndicatorsFlagEnabled()
147 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, in isLocationAccuracyEnabled()
157 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, in getDefaultPrecision()
/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()

12345678910>>...53