Searched refs:getBoolean (Results 1 - 25 of 596) sorted by relevance

1234567891011>>

/packages/apps/Dialer/java/com/android/dialer/common/
H A DConfigProvider.java26 boolean getBoolean(String key, boolean defaultValue); method in interface:ConfigProvider
/packages/apps/TV/src/com/android/tv/config/
H A DRemoteConfig.java47 boolean getBoolean(String key); method in interface:RemoteConfig
H A DDefaultConfigManager.java47 public boolean getBoolean(String key) { method in class:DefaultConfigManager.StubRemoteConfig
H A DRemoteConfigFeature.java41 return TvApplication.getSingletons(context).getRemoteConfig().getBoolean(mKey);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapConfig.java33 sUseProfileForOwnerVcard = r.getBoolean(R.bool.pbap_use_profile_for_owner_vcard);
38 sIncludePhotosInVcard = r.getBoolean(R.bool.pbap_include_photos_in_vcard);
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
H A DShortcuts.java30 return ConfigProviderBindings.get(context).getBoolean(DYNAMIC_SHORTCUTS_ENABLED, true);
/packages/apps/Dialer/java/com/android/dialer/oem/
H A DMotorolaUtils.java69 .getBoolean(CONFIG_HD_CODEC_BLINKING_ICON_WHEN_CONNECTING_CALL_ENABLED, true)
75 .getBoolean(CONFIG_HD_CODEC_SHOW_ICON_IN_NOTIFICATION_ENABLED, true)
81 .getBoolean(CONFIG_HD_CODEC_SHOW_ICON_IN_CALL_LOG_ENABLED, true)
88 .getBoolean(CONFIG_WIFI_CALL_SHOW_ICON_IN_CALL_LOG_ENABLED, true)
107 && context.getResources().getBoolean(R.bool.motorola_sprint_hd_codec)
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DConfirmLockdownFragment.java76 final boolean replacing = getArguments().getBoolean(ARG_REPLACING);
77 final boolean alwaysOn = getArguments().getBoolean(ARG_ALWAYS_ON);
78 final boolean wasLockdown = getArguments().getBoolean(ARG_LOCKDOWN_SRC);
79 final boolean nowLockdown = getArguments().getBoolean(ARG_LOCKDOWN_DST);
110 getArguments().getBoolean(ARG_ALWAYS_ON),
111 getArguments().getBoolean(ARG_LOCKDOWN_DST));
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMtpReceiver.java55 boolean configured = extras.getBoolean(UsbManager.USB_CONFIGURED);
56 boolean connected = extras.getBoolean(UsbManager.USB_CONNECTED);
57 boolean mtpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_MTP);
58 boolean ptpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_PTP);
59 boolean unlocked = extras.getBoolean(UsbManager.USB_DATA_UNLOCKED);
60 boolean configChanged = extras.getBoolean(UsbManager.USB_CONFIG_CHANGED);
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcBackupAgent.java43 if (prefs.getBoolean(NfcService.PREF_NDEF_PUSH_ON,
50 if (prefs.getBoolean(NfcService.PREF_NFC_ON,
/packages/apps/Messaging/src/com/android/messaging/util/
H A DBugleGservices.java57 public abstract boolean getBoolean(final String key, final boolean defaultValue); method in class:BugleGservices
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DAdditionalSystemUpdatePreferenceController.java33 return mContext.getResources().getBoolean(
H A DManualPreferenceController.java34 return mContext.getResources().getBoolean(R.bool.config_show_manual);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
H A DWearPackageArgs.java69 return b.getBoolean(KEY_CHECK_PERMS);
73 return b.getBoolean(KEY_SKIP_IF_SAME_VERSION);
93 return b.getBoolean(KEY_SKIP_IF_LOWER_VERSION, false);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DDtmfLocalTonePlayerTest.java50 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true);
59 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false);
68 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false);
78 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true);
88 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(false);
98 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true);
108 when(mContext.getResources().getBoolean(R.bool.allow_local_dtmf_tones)).thenReturn(true);
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
H A DTelephonyMonitorPreferenceControllerTest.java68 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor))
79 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor))
90 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor))
101 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor))
112 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor))
123 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor))
134 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor))
150 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor))
166 when(mContext.getResources().getBoolean(R.bool.config_show_telephony_monitor))
182 when(mContext.getResources().getBoolean(
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSettings.java206 return prefs.getBoolean(PREF_SOUND_ON,
207 res.getBoolean(R.bool.config_default_sound_enabled));
213 return hasVibrator && prefs.getBoolean(PREF_VIBRATE_ON,
214 res.getBoolean(R.bool.config_default_vibration_enabled));
219 return prefs.getBoolean(PREF_AUTO_CORRECTION, true);
228 return prefs.getBoolean(PREF_BLOCK_POTENTIALLY_OFFENSIVE,
229 res.getBoolean(R.bool.config_block_potentially_offensive));
233 return res.getBoolean(R.bool.config_gesture_input_enabled_by_build_config);
239 && prefs.getBoolean(PREF_GESTURE_INPUT, true);
243 return res.getBoolean(
[all...]
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
H A DRotationPreferenceTest.java30 mOriginalRotationValue = mPrefs.getBoolean(Utilities.ALLOW_ROTATION_PREFERENCE_KEY, false);
40 if (mTargetContext.getResources().getBoolean(R.bool.allow_rotation)) {
54 if (mTargetContext.getResources().getBoolean(R.bool.allow_rotation)) {
/packages/apps/Contacts/src-bind/com/android/contactsbind/experiments/
H A DFlags.java42 public boolean getBoolean(String flagName) { method in class:Flags
/packages/apps/Dialer/java/com/android/dialer/app/bindings/
H A DDialerBindingsStub.java41 public boolean getBoolean(String key, boolean defaultValue) {
/packages/apps/Messaging/tests/src/com/android/messaging/util/
H A DFakeBugleGservices.java41 public boolean getBoolean(final String key, final boolean defaultValue) { method in class:FakeBugleGservices
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DConfig.java268 return mContext.getResources().getBoolean(R.bool.show_zero_query_suggestions);
273 return mContext.getResources().getBoolean(R.bool.show_zero_query_shortcuts);
277 return mContext.getResources().getBoolean(R.bool.show_scrolling_suggestions);
281 return mContext.getResources().getBoolean(R.bool.show_scrolling_results);
/packages/apps/Settings/src/com/android/settings/
H A DAppHeader.java32 if (args != null && args.getBoolean(EXTRA_HIDE_INFO_BUTTON, false)) {
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DToggleScreenMagnificationPreferenceFragmentForSetupWizard.java37 if (mToggleSwitch.isChecked() != args.getBoolean(AccessibilitySettings.EXTRA_CHECKED)) {
/packages/apps/Settings/src/com/android/settings/display/
H A DScreenSaverPreferenceController.java32 return mContext.getResources().getBoolean(

Completed in 1340 milliseconds

1234567891011>>