/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | TetherUtil.java | 34 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 D | DozeParameters.java | 68 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 D | AutoTileManager.java | 42 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 D | TypedArrayUtils.java | 31 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 D | BlockedNumberContract.java | 247 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 D | NetworkManagementSocketTagger.java | 79 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 D | Settings.java | 76 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 D | AppLaunchChecker.java | 52 .getBoolean(KEY_STARTED_FROM_LAUNCHER, false); 68 if (sp.getBoolean(KEY_STARTED_FROM_LAUNCHER, false)) {
|
/frameworks/base/core/java/android/security/keymaster/ |
H A D | KeyCharacteristics.java | 143 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 D | SyncAdaptersCache.java | 70 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 D | SharedPreferences.java | 332 boolean getBoolean(String key, boolean defValue); method in interface:SharedPreferences
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | SimpleInflater.java | 139 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 D | Sandman.java | 110 int def = context.getResources().getBoolean( 118 int def = context.getResources().getBoolean(
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverTargetActionsDialogFragment.java | 61 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 D | SyncOperation.java | 249 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 D | UserRestrictionsUtils.java | 176 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 D | DreamBackend.java | 84 .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 D | VoiceInteractionServiceInfo.java | 120 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 D | LocalPreferences.java | 41 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 D | TimeZonePickerDialog.java | 70 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 D | CheckBoxPreference.java | 49 setDisableDependentsState(a.getBoolean(
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityModel.java | 49 mIsPukScreenAvailable = mContext.getResources().getBoolean(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsConfiguration.java | 67 fakeShadows = res.getBoolean(R.bool.config_recents_fake_shadows);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | TunerSwitch.java | 22 mDefault = a.getBoolean(R.styleable.TunerSwitch_defValue, false);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumePrefs.java | 63 return prefs(context).getBoolean(key, def);
|