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

1234567891011>>

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DTetherUtil.java34 return configManager.getConfig().getBoolean(CarrierConfigManager
43 if (SystemProperties.getBoolean("net.tethering.noprovisioning", false)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeParameters.java68 return getBoolean("doze.display.supported", R.bool.doze_display_state_supported);
90 return getBoolean("doze.pulse.sigmotion", R.bool.doze_pulse_on_significant_motion);
94 return SystemProperties.getBoolean("doze.vibrate.sigmotion", false);
98 return getBoolean("doze.pulse.pickup", R.bool.doze_pulse_on_pick_up);
102 return SystemProperties.getBoolean("doze.vibrate.pickup", false);
106 return getBoolean("doze.pulse.proxcheck", R.bool.doze_proximity_check_before_pulse);
110 return getBoolean("doze.pickup.proxcheck", R.bool.doze_pickup_performs_proximity_check);
114 return getBoolean("doze.pulse.notifications", R.bool.doze_pulse_on_notifications);
133 private boolean getBoolean(String propName, int resId) { method in class:DozeParameters
134 return SystemProperties.getBoolean(propNam
[all...]
H A DAutoTileManager.java42 if (!Prefs.getBoolean(context, Key.QS_HOTSPOT_ADDED, false)) {
45 if (!Prefs.getBoolean(context, Key.QS_DATA_SAVER_ADDED, false)) {
48 if (!Prefs.getBoolean(context, Key.QS_INVERT_COLORS_ADDED, false)) {
67 if (!Prefs.getBoolean(context, Key.QS_WORK_ADDED, false)) {
70 if (!Prefs.getBoolean(context, Key.QS_NIGHT_ADDED, false)) {
/frameworks/support/v4/java/android/support/v4/content/res/
H A DTypedArrayUtils.java31 public static boolean getBoolean(TypedArray a, @StyleableRes int index, method in class:TypedArrayUtils
33 boolean val = a.getBoolean(fallbackIndex, defaultValue);
34 return a.getBoolean(index, val);
/frameworks/base/core/java/android/provider/
H A DBlockedNumberContract.java247 return res != null && res.getBoolean(RES_NUMBER_IS_BLOCKED, false);
283 return res != null && res.getBoolean(RES_CAN_BLOCK_NUMBERS, false);
352 return res != null && res.getBoolean(RES_NUMBER_IS_BLOCKED, false);
361 return new BlockSuppressionStatus(res.getBoolean(RES_IS_BLOCKING_SUPPRESSED, false),
/frameworks/base/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java79 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) {
101 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) {
115 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) {
125 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
H A DSettings.java76 public boolean getBoolean(String key) { method in class:Settings
99 mPreferStaticShadows = customizations.getBoolean(
119 public boolean getBoolean(String resourceName, boolean defaultValue) { method in class:Settings.Customizations
121 return resId > 0 ? mResources.getBoolean(resId) : defaultValue;
/frameworks/support/v4/java/android/support/v4/app/
H A DAppLaunchChecker.java52 .getBoolean(KEY_STARTED_FROM_LAUNCHER, false);
68 if (sp.getBoolean(KEY_STARTED_FROM_LAUNCHER, false)) {
/frameworks/base/core/java/android/security/keymaster/
H A DKeyCharacteristics.java143 public boolean getBoolean(int tag) { method in class:KeyCharacteristics
145 return hwEnforced.getBoolean(tag);
147 return swEnforced.getBoolean(tag);
/frameworks/base/core/java/android/content/
H A DSyncAdaptersCache.java70 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true);
72 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading,
75 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable,
78 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs,
H A DSharedPreferences.java332 boolean getBoolean(String key, boolean defValue); method in interface:SharedPreferences
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DSimpleInflater.java139 itemCheckable = a.getBoolean(R.styleable.MenuItem_android_checkable, false) ? 1 : 0;
141 boolean itemChecked = a.getBoolean(R.styleable.MenuItem_android_checked, false);
142 boolean itemVisible = a.getBoolean(R.styleable.MenuItem_android_visible, false);
143 boolean itemEnabled = a.getBoolean(R.styleable.MenuItem_android_enabled, false);
/frameworks/base/core/java/android/service/dreams/
H A DSandman.java110 int def = context.getResources().getBoolean(
118 int def = context.getResources().getBoolean(
/frameworks/base/core/java/com/android/internal/app/
H A DResolverTargetActionsDialogFragment.java61 final int itemRes = args.getBoolean(PINNED_KEY, false)
79 boolean currentVal = sp.getBoolean(name.flattenToString(), false);
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncOperation.java249 if (!jobExtras.getBoolean("SyncManagerJob", false)) {
261 allowParallelSyncs = jobExtras.getBoolean("allowParallelSyncs", false);
262 isPeriodic = jobExtras.getBoolean("isPeriodic", false);
366 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false)) {
414 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false);
418 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false);
422 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false);
426 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_DISALLOW_METERED, false);
430 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, false);
434 return extras.getBoolean(ContentResolve
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java176 if (restrictions.getBoolean(key)) {
225 if (in.getBoolean(key, false)) {
258 if (!in.getBoolean(key)) {
284 if (a.getBoolean(key) != b.getBoolean(key)) {
289 if (a.getBoolean(key) != b.getBoolean(key)) {
305 final boolean newValue = newRestrictions.getBoolean(key);
306 final boolean prevValue = prevRestrictions.getBoolean(key);
437 if (restrictions.getBoolean(ke
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
H A DDreamBackend.java84 .getBoolean(com.android.internal.R.bool.config_dreamsEnabledByDefault);
86 .getBoolean(com.android.internal.R.bool.config_dreamsActivatedOnSleepByDefault);
88 .getBoolean(com.android.internal.R.bool.config_dreamsActivatedOnDockByDefault);
142 return getBoolean(Settings.Secure.SCREENSAVER_ENABLED, mDreamsEnabledByDefault);
151 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK,
161 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP,
170 private boolean getBoolean(String key, boolean def) { method in class:DreamBackend
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionServiceInfo.java120 mSupportsAssist = array.getBoolean(
123 mSupportsLaunchFromKeyguard = array.getBoolean(com.android.internal.
126 mSupportsLocalInteraction = array.getBoolean(com.android.internal.
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DLocalPreferences.java41 return getPrefs(context).getBoolean(KEY_FILE_SIZE, false);
54 return getPrefs(context).getBoolean(INCLUDE_DEVICE_ROOT + action, false);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZonePickerDialog.java70 hideFilterSearch = savedInstanceState.getBoolean(KEY_HIDE_FILTER_SEARCH);
74 if (savedInstanceState != null && savedInstanceState.getBoolean(KEY_HAS_RESULTS, false)) {
/frameworks/base/core/java/android/preference/
H A DCheckBoxPreference.java49 setDisableDependentsState(a.getBoolean(
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityModel.java49 mIsPukScreenAvailable = mContext.getResources().getBoolean(
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsConfiguration.java67 fakeShadows = res.getBoolean(R.bool.config_recents_fake_shadows);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerSwitch.java22 mDefault = a.getBoolean(R.styleable.TunerSwitch_defValue, false);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumePrefs.java63 return prefs(context).getBoolean(key, def);

Completed in 2456 milliseconds

1234567891011>>