Home
last modified time | relevance | path

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

12345678910>>...67

/packages/modules/Uwb/service/java/com/android/server/uwb/
DDeviceConfigFacade.java122 mDeviceErrorBugreportEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_UWB, in updateDeviceConfigFlags()
124 mSessionInitErrorBugreportEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_UWB, in updateDeviceConfigFlags()
130 mEnableFilters = DeviceConfig.getBoolean( in updateDeviceConfigFlags()
133 mContext.getResources().getBoolean(R.bool.enable_filters) in updateDeviceConfigFlags()
160 mEnablePrimerEstElevation = DeviceConfig.getBoolean( in updateDeviceConfigFlags()
163 mContext.getResources().getBoolean(R.bool.enable_primer_est_elevation) in updateDeviceConfigFlags()
165 mEnablePrimerAoA = DeviceConfig.getBoolean( in updateDeviceConfigFlags()
168 mContext.getResources().getBoolean(R.bool.enable_primer_aoa) in updateDeviceConfigFlags()
180 mEnableBackAzimuth = DeviceConfig.getBoolean( in updateDeviceConfigFlags()
183 mContext.getResources().getBoolean(R.bool.enable_azimuth_mirroring) in updateDeviceConfigFlags()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/
DWifiResourceCacheTest.java54 when(mResources.getBoolean(TEST_ID)).thenReturn(true); in testGetBooleanResource()
55 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testGetBooleanResource()
56 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testGetBooleanResource()
57 verify(mResources).getBoolean(TEST_ID); in testGetBooleanResource()
70 when(mResources.getBoolean(TEST_ID)).thenReturn(true); in testOverrideBooleanResource()
71 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testOverrideBooleanResource()
73 assertFalse(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testOverrideBooleanResource()
75 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testOverrideBooleanResource()
76 verify(mResources, times(2)).getBoolean(TEST_ID); in testOverrideBooleanResource()
92 when(mResources.getBoolean(TEST_ID)).thenReturn(true); in testReset()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DDeviceConfigFacadeTest.java74 when(DeviceConfig.getBoolean(anyString(), anyString(), anyBoolean())) in setUp()
99 when(mResources.getBoolean(R.bool.enable_filters)).thenReturn(true); in setUp()
100 when(mResources.getBoolean(R.bool.enable_primer_est_elevation)).thenReturn(true); in setUp()
101 when(mResources.getBoolean(R.bool.enable_primer_aoa)).thenReturn(true); in setUp()
116 when(mResources.getBoolean(R.bool.enable_azimuth_mirroring)).thenReturn(true); in setUp()
117 when(mResources.getBoolean(R.bool.predict_rear_azimuths)).thenReturn(true); in setUp()
144 when(mResources.getBoolean(R.bool.background_ranging_enabled)) in setUp()
146 when(mResources.getBoolean(R.bool.ranging_error_streak_timer_enabled)) in setUp()
148 when(mResources.getBoolean(R.bool.ccc_ranging_stopped_params_send_enabled)) in setUp()
150 when(mResources.getBoolean(R.bool.ccc_absolute_uwb_initiation_time_enabled)) in setUp()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPolicy.java230 batteryTipEnabled = mParser.getBoolean(KEY_BATTERY_TIP_ENABLED, true); in BatteryTipPolicy()
231 summaryEnabled = mParser.getBoolean(KEY_SUMMARY_ENABLED, false); in BatteryTipPolicy()
232 batterySaverTipEnabled = mParser.getBoolean(KEY_BATTERY_SAVER_TIP_ENABLED, true); in BatteryTipPolicy()
233 highUsageEnabled = mParser.getBoolean(KEY_HIGH_USAGE_ENABLED, true); in BatteryTipPolicy()
238 appRestrictionEnabled = mParser.getBoolean(KEY_APP_RESTRICTION_ENABLED, true); in BatteryTipPolicy()
240 reducedBatteryEnabled = mParser.getBoolean(KEY_REDUCED_BATTERY_ENABLED, false); in BatteryTipPolicy()
242 lowBatteryEnabled = mParser.getBoolean(KEY_LOW_BATTERY_ENABLED, true); in BatteryTipPolicy()
247 testBatterySaverTip = mParser.getBoolean(KEY_TEST_BATTERY_SAVER_TIP, false); in BatteryTipPolicy()
248 testHighUsageTip = mParser.getBoolean(KEY_TEST_HIGH_USAGE_TIP, false); in BatteryTipPolicy()
249 testSmartBatteryTip = mParser.getBoolean(KEY_TEST_SMART_BATTERY_TIP, false); in BatteryTipPolicy()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiGlobals.java109 .getBoolean(R.bool.config_wifiSaeUpgradeEnabled); in WifiGlobals()
111 .getBoolean(R.bool.config_wifiSaeUpgradeOffloadEnabled); in WifiGlobals()
113 .getBoolean(R.bool.config_wifiOweUpgradeEnabled); in WifiGlobals()
115 .getBoolean(R.bool.config_wifiFlushAnqpCacheOnWifiToggleOffEvent); in WifiGlobals()
117 .getBoolean(R.bool.config_wifiSaeH2eSupported); in WifiGlobals()
125 .getBoolean(R.bool.config_wifiSaveFactoryMacToWifiConfigStore); in WifiGlobals()
130 mWifiAllowInsecureEnterpriseConfiguration = mContext.getResources().getBoolean( in WifiGlobals()
132 mIsP2pMacRandomizationSupported = mContext.getResources().getBoolean( in WifiGlobals()
144 mAdjustPollRssiIntervalEnabled = mContext.getResources().getBoolean( in WifiGlobals()
147 .getBoolean(R.bool.config_wifiDisableFirmwareRoamingInIdleMode); in WifiGlobals()
[all …]
DDeviceConfigFacade.java242 mIsAbnormalConnectionBugreportEnabled = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
337 mIsAbnormalConnectionFailureBugreportEnabled = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
339 mIsAbnormalDisconnectionBugreportEnabled = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
350 mIsOverlappingConnectionBugreportEnabled = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
361 mWifiBatterySaverEnabled = DeviceConfig.getBoolean(NAMESPACE, "battery_saver_enabled", in updateDeviceConfigFlags()
396 mInterfaceFailureBugreportEnabled = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
398 mP2pFailureBugreportEnabled = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
400 mApmEnhancementEnabled = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
402 mAwareSuspensionEnabled = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
404 mHighPerfLockDeprecated = DeviceConfig.getBoolean(NAMESPACE, in updateDeviceConfigFlags()
[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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java182 if (isMasterToggleEnabled() != res.getBoolean(R.bool.master_toggle_enabled_default) in onHandleIntent()
183 || (isSpeechAlertMessageEnabled() != res.getBoolean( in onHandleIntent()
282 ? res.getBoolean(R.bool.extreme_threat_alerts_enabled_default) in getCellBroadcastChannelsConfig()
283 : prefs.getBoolean( in getCellBroadcastChannelsConfig()
287 ? res.getBoolean(R.bool.severe_threat_alerts_enabled_default) in getCellBroadcastChannelsConfig()
288 : prefs.getBoolean( in getCellBroadcastChannelsConfig()
292 ? res.getBoolean(R.bool.amber_alerts_enabled_default) in getCellBroadcastChannelsConfig()
293 : prefs.getBoolean( in getCellBroadcastChannelsConfig()
299 && res.getBoolean(R.bool.test_alerts_enabled_default)) in getCellBroadcastChannelsConfig()
301 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_TEST_ALERTS, in getCellBroadcastChannelsConfig()
[all …]
DCellBroadcastAlertService.java238 .getBoolean(CellBroadcastSettings.KEY_ENABLE_PUBLIC_SAFETY_MESSAGES_FULL_SCREEN, in shouldDisplayFullScreenMessage()
259 .getBoolean(R.bool.ignore_messages_in_ecbm)) { in shouldDisplayMessage()
309 boolean receiveInSecondLanguage = prefs.getBoolean( in shouldDisplayMessage()
430 .getBoolean(R.bool.enable_write_alerts_to_sms_inbox); in handleCellBroadcastIntent()
475 .getBoolean(R.bool.enable_alert_handling_during_call)) { in showNewAlert()
494 if (res.getBoolean(R.bool.show_alert_dialog_with_notification) || in showNewAlert()
497 (res.getBoolean(R.bool.show_notification_if_connected_to_companion_devices) in showNewAlert()
538 .getBoolean(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, in isChannelEnabled()
539 res.getBoolean(R.bool.master_toggle_enabled_default)); in isChannelEnabled()
552 res.getBoolean(R.bool.test_alerts_enabled_default)); in isChannelEnabled()
[all …]
DCellBroadcastSettings.java293 .getBoolean(ANY_PREFERENCE_CHANGED_BY_USER, false); in hasAnyPreferenceChanged()
437 mDisableSevereWhenExtremeDisabled = res.getBoolean( in onCreatePreferences()
550 if (!sp.getBoolean(KEY_OVERRIDE_DND_SETTINGS_CHANGED, false)) { in onCreatePreferences()
553 mOverrideDndCheckBox.setChecked(res.getBoolean(R.bool.override_dnd_default)); in onCreatePreferences()
574 updateVibrationPreference(sp.getBoolean(CellBroadcastSettings.KEY_OVERRIDE_DND, in onCreatePreferences()
612 mMasterToggle.setVisible(res.getBoolean(R.bool.show_main_switch_settings)); in updatePreferenceVisibility()
617 res.getBoolean(R.bool.show_presidential_alerts_settings)); in updatePreferenceVisibility()
624 mExtremeCheckBox.setVisible(res.getBoolean(R.bool.show_extreme_alert_settings) in updatePreferenceVisibility()
633 mSevereCheckBox.setVisible(res.getBoolean(R.bool.show_severe_alert_settings) in updatePreferenceVisibility()
642 mAmberCheckBox.setVisible(res.getBoolean(R.bool.show_amber_alert_settings) in updatePreferenceVisibility()
[all …]
/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.java66 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in updateState()
69 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in updateState()
81 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in onDeveloperOptionsSwitchDisabled()
90 SystemProperties.getBoolean(A2DP_OFFLOAD_SUPPORTED_PROPERTY, false); in isDefaultValue()
92 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in isDefaultValue()
104 SystemProperties.getBoolean(A2DP_OFFLOAD_DISABLED_PROPERTY, false); in onRebootDialogConfirmed()
/packages/apps/Settings/tests/unit/src/com/android/settings/display/
DScreenSaverPreferenceControllerTest.java67 when(mResources.getBoolean( in isAvailable_dreamsEnabledForAllUsers_shouldBeTrueForMainUser()
69 when(mResources.getBoolean( in isAvailable_dreamsEnabledForAllUsers_shouldBeTrueForMainUser()
78 when(mResources.getBoolean( in isAvailable_dreamsEnabledForAllUsers_shouldBeTrueForNonMainUser()
80 when(mResources.getBoolean( in isAvailable_dreamsEnabledForAllUsers_shouldBeTrueForNonMainUser()
89 when(mResources.getBoolean( in isAvailable_dreamsDisabled_shouldBeFalseForMainUser()
91 when(mResources.getBoolean( in isAvailable_dreamsDisabled_shouldBeFalseForMainUser()
100 when(mResources.getBoolean( in isAvailable_dreamsOnlyEnabledForDockUser_shouldBeTrueForMainUser()
102 when(mResources.getBoolean( in isAvailable_dreamsOnlyEnabledForDockUser_shouldBeTrueForMainUser()
111 when(mResources.getBoolean( in isAvailable_dreamsOnlyEnabledForDockUser_shouldBeFalseForNonMainUser()
113 when(mResources.getBoolean( in isAvailable_dreamsOnlyEnabledForDockUser_shouldBeFalseForNonMainUser()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DFeatureUtils.kt59 DeviceConfig.getBoolean( in isSessionTypesEnabled()
65 DeviceConfig.getBoolean(HEALTH_FITNESS_FLAGS_NAMESPACE, PROPERTY_ENTRY_POINTS_ENABLED, true) in isSessionTypesEnabled()
70 DeviceConfig.getBoolean( in isSessionTypesEnabled()
145 properties.getBoolean(PROPERTY_EXERCISE_ROUTE_READ_ALL_ENABLED, true) in isSessionTypesEnabled()
149 properties.getBoolean(PROPERTY_SESSIONS_TYPE_ENABLED, true) in isSessionTypesEnabled()
152 properties.getBoolean(PROPERTY_ENTRY_POINTS_ENABLED, true) in isSessionTypesEnabled()
156 properties.getBoolean( in isSessionTypesEnabled()
159 properties.getBoolean(PROPERTY_PERSONAL_HEALTH_RECORD_ENABLED, false) in isSessionTypesEnabled()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DSystemBarConfigsTest.java113 when(mResources.getBoolean(R.bool.config_hideBottomSystemBarForKeyboard)).thenReturn(false); in onInit_hideBottomSystemBarForKeyboardValueDoNotSync_throwsRuntimeException()
114 when(mResources.getBoolean( in onInit_hideBottomSystemBarForKeyboardValueDoNotSync_throwsRuntimeException()
123 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(true); in onInit_topNotifPanelViewMediatorUsed_topBarEnabled_doesNotThrowException()
132 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in onInit_topNotifPanelViewMediatorUsed_topBarNotEnabled_throwsRuntimeException()
141 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in onInit_notificationPanelViewMediatorUsed_topBarNotEnabled_doesNotThrowException()
169 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in getTopSystemBarLayoutParams_topBarNotEnabled_returnsNull()
179 when(mResources.getBoolean(R.bool.config_hideTopSystemBarForKeyboard)).thenReturn(true); in getTopSystemBarHideForKeyboard_hideBarForKeyboard_returnsTrue()
189 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(false); in getTopSystemBarHideForKeyboard_topBarNotEnabled_returnsFalse()
287 when(mResources.getBoolean(R.bool.config_enableTopSystemBar)).thenReturn(true); in updateInsetPaddings_overlappingBars_addsPaddingsByOrders()
288 when(mResources.getBoolean(R.bool.config_enableBottomSystemBar)).thenReturn(true); in updateInsetPaddings_overlappingBars_addsPaddingsByOrders()
[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/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/
DPhFlags.java159 return DeviceConfig.getBoolean( in getGlobalKillSwitch()
171 return DeviceConfig.getBoolean( in isPersonalizationStatusOverrideEnabled()
182 return DeviceConfig.getBoolean( in getPersonalizationStatusOverrideValue()
262 return SdkLevel.isAtLeastU() && DeviceConfig.getBoolean( in isSharedIsolatedProcessFeatureEnabled()
270 return DeviceConfig.getBoolean( in isIsolatedServiceDebuggingEnabled()
310 return DeviceConfig.getBoolean( in getEnableClientErrorLogging()
323 return DeviceConfig.getBoolean( in getBackgroundJobsLoggingEnabled()
340 return DeviceConfig.getBoolean( in getJobSchedulingLoggingEnabled()
364 return DeviceConfig.getBoolean( in getSpePilotJobEnabled()
372 return DeviceConfig.getBoolean( in isArtImageLoadingOptimizationEnabled()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/common/
DPhFlags.java120 return SystemProperties.getBoolean( in getGlobalKillSwitch()
122 DeviceConfig.getBoolean( in getGlobalKillSwitch()
143 return DeviceConfig.getBoolean( in getEnableBackgroundEncryptionKeyFetch()
158 return DeviceConfig.getBoolean( in isEncryptionEnabled()
230 return DeviceConfig.getBoolean( in isEligibilityTaskEnabled()
270 return DeviceConfig.getBoolean( in getEnableClientErrorLogging()
283 return DeviceConfig.getBoolean( in getBackgroundJobsLoggingEnabled()
300 return DeviceConfig.getBoolean( in getJobSchedulingLoggingEnabled()
324 return DeviceConfig.getBoolean( in getSpePilotJobEnabled()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectDeviceConfigManager.java149 DeviceConfig.getBoolean(
156 DeviceConfig.getBoolean(
163 DeviceConfig.getBoolean(
233 DeviceConfig.getBoolean(
240 DeviceConfig.getBoolean(
247 DeviceConfig.getBoolean(
324 DeviceConfig.getBoolean(
526 properties.getBoolean( in onPropertiesChanged()
532 properties.getBoolean( in onPropertiesChanged()
538 properties.getBoolean( in onPropertiesChanged()
[all …]
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DSetupParameters.java147 bundle.getBoolean(EXTRA_KIOSK_DISABLE_OUTGOING_CALLS)); in populatePreferencesLocked()
149 bundle.getBoolean(EXTRA_KIOSK_ENABLE_NOTIFICATIONS_IN_LOCK_TASK_MODE)); in populatePreferencesLocked()
153 editor.putBoolean(KEY_MANDATORY_PROVISION, bundle.getBoolean(EXTRA_MANDATORY_PROVISION)); in populatePreferencesLocked()
154 editor.putBoolean(KEY_ALLOW_DEBUGGING, bundle.getBoolean(EXTRA_ALLOW_DEBUGGING)); in populatePreferencesLocked()
158 bundle.getBoolean(EXTRA_DISALLOW_INSTALLING_FROM_UNKNOWN_SOURCES)); in populatePreferencesLocked()
184 .getBoolean(KEY_KIOSK_DISABLE_OUTGOING_CALLS, false /* defValue */); in getOutgoingCallsDisabled()
208 .getBoolean(KEY_KIOSK_ENABLE_NOTIFICATIONS_IN_LOCK_TASK_MODE, false /* defValue */); in isNotificationsInLockTaskModeEnabled()
218 return getSharedPreferences(context).getBoolean(KEY_ALLOW_DEBUGGING, false /* defValue */); in isDebuggingAllowed()
239 return getSharedPreferences(context).getBoolean(KEY_MANDATORY_PROVISION, false); in isProvisionMandatory()
261 return getSharedPreferences(context).getBoolean( in isInstallingFromUnknownSourcesDisallowed()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DFrameworkServiceAppSearchConfig.java235 return DeviceConfig.getBoolean( in getUseFixedExecutorService()
456 return mBundleLocked.getBoolean( in getDocumentStoreNamespaceIdFingerprint()
494 return mBundleLocked.getBoolean( in getUseReadOnlySearch()
503 return mBundleLocked.getBoolean( in getUsePreMappingWithFileBackedVector()
513 return mBundleLocked.getBoolean( in getUsePersistentHashMap()
533 return mBundleLocked.getBoolean(KEY_RATE_LIMIT_ENABLED, DEFAULT_RATE_LIMIT_ENABLED); in getCachedRateLimitEnabled()
577 return mBundleLocked.getBoolean( in getLiteIndexSortAtIndexing()
595 return mBundleLocked.getBoolean( in getUseNewQualifiedIdJoinIndex()
616 return mBundleLocked.getBoolean( in shouldRetrieveParentInfo()
731 key, properties.getBoolean(key, DEFAULT_RATE_LIMIT_ENABLED)); in updateCachedValue()
[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/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapConfigTest.java56 when(mResources.getBoolean(R.bool.pbap_use_profile_for_owner_vcard)).thenReturn(true); in testInit_whenUseProfileForOwnerVcardIsTrue()
64 when(mResources.getBoolean(R.bool.pbap_use_profile_for_owner_vcard)).thenReturn(false); in testInit_whenUseProfileForOwnerVcardIsFalse()
72 when(mResources.getBoolean(R.bool.pbap_use_profile_for_owner_vcard)) in testInit_whenUseProfileForOwnerVcardThrowsException()
81 when(mResources.getBoolean(R.bool.pbap_include_photos_in_vcard)).thenReturn(true); in testInit_whenIncludePhotosInVcardIsTrue()
89 when(mResources.getBoolean(R.bool.pbap_include_photos_in_vcard)).thenReturn(false); in testInit_whenIncludePhotosInVcardIsFalse()
97 when(mResources.getBoolean(R.bool.pbap_include_photos_in_vcard)) in testInit_whenIncludePhotosInVcardThrowsException()

12345678910>>...67