/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeParameters.java | 69 return "fallback: " + mContext.getResources().getBoolean( in dumpPickupSubtypePerformsProxCheck() 77 return getBoolean("doze.display.supported", R.bool.doze_display_state_supported); in getDisplayStateSupported() 81 return mContext.getResources().getBoolean(R.bool.doze_suspend_display_state_supported); in getDozeSuspendDisplayStateSupported() 103 return getBoolean("doze.pulse.sigmotion", R.bool.doze_pulse_on_significant_motion); in getPulseOnSigMotion() 107 return SystemProperties.getBoolean("doze.vibrate.sigmotion", false); in getVibrateOnSigMotion() 111 return SystemProperties.getBoolean("doze.vibrate.pickup", false); in getVibrateOnPickup() 115 return getBoolean("doze.pulse.proxcheck", R.bool.doze_proximity_check_before_pulse); in getProxCheckBeforePulse() 126 private boolean getBoolean(String propName, int resId) { in getBoolean() method in DozeParameters 127 return SystemProperties.getBoolean(propName, mContext.getResources().getBoolean(resId)); in getBoolean() 145 return mContext.getResources().getBoolean(R.bool.doze_pickup_performs_proximity_check); in getPickupSubtypePerformsProxCheck() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | BatterySaverPolicy.java | 197 mVibrationDisabled = mParser.getBoolean(KEY_VIBRATION_DISABLED, true); in updateConstants() 198 mAnimationDisabled = mParser.getBoolean(KEY_ANIMATION_DISABLED, true); in updateConstants() 199 mSoundTriggerDisabled = mParser.getBoolean(KEY_SOUNDTRIGGER_DISABLED, true); in updateConstants() 200 mFullBackupDeferred = mParser.getBoolean(KEY_FULLBACKUP_DEFERRED, true); in updateConstants() 201 mKeyValueBackupDeferred = mParser.getBoolean(KEY_KEYVALUE_DEFERRED, true); in updateConstants() 202 mFireWallDisabled = mParser.getBoolean(KEY_FIREWALL_DISABLED, false); in updateConstants() 203 mAdjustBrightnessDisabled = mParser.getBoolean(KEY_ADJUST_BRIGHTNESS_DISABLED, false); in updateConstants() 205 mDataSaverDisabled = mParser.getBoolean(KEY_DATASAVER_DISABLED, true); in updateConstants()
|
/frameworks/base/tests/ShowWhenLockedApp/src/com/android/showwhenlocked/ |
D | ShowWhenLockedActivity.java | 135 boolean showWhenLocked = extras.getBoolean(EXTRA_SHOW_WHEN_LOCKED, true); in handleExtras() 141 boolean turnScreenOn = extras.getBoolean(EXTRA_TURN_SCREEN_ON, true); in handleExtras() 147 showWhenLockedAtStop = extras.getBoolean(EXTRA_SHOW_WHEN_LOCKED_STOP, true); in handleExtras() 152 turnScreenOnAtStop = extras.getBoolean(EXTRA_TURN_SCREEN_ON_STOP, true); in handleExtras() 157 if (extras.getBoolean(EXTRA_DISMISS_KEYGUARD, false)) { in handleExtras()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 212 if (restrictions.getBoolean(key)) { in writeRestrictions() 254 return in != null && in.getBoolean(restriction); in contains() 275 if (in.getBoolean(key, false)) { in merge() 346 if (!in.getBoolean(key)) { in sortToGlobalAndLocal() 381 if (a.getBoolean(key) != b.getBoolean(key)) { in areEqual() 386 if (a.getBoolean(key) != b.getBoolean(key)) { in areEqual() 402 final boolean newValue = newRestrictions.getBoolean(key); in applyUserRestrictions() 403 final boolean prevValue = prevRestrictions.getBoolean(key); in applyUserRestrictions() 531 if (restrictions.getBoolean(key, false)) { in dumpRestrictions() 581 if (oldRestrictions.getBoolean(restriction, false) != in restrictionsChanged() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RoSystemProperties.java | 35 SystemProperties.getBoolean("ro.config.low_ram", false); 37 SystemProperties.getBoolean("ro.config.small_battery", false); 41 SystemProperties.getBoolean("ro.fw.system_user_split", false);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/ |
D | Settings.java | 93 public boolean getBoolean(String key) { in getBoolean() method in Settings 118 mPreferStaticShadows = customizations.getBoolean( in generateSetting() 128 mOutlineClippingDisabled = customizations.getBoolean( in generateSetting() 148 public boolean getBoolean(String resourceName, boolean defaultValue) { in getBoolean() method in Settings.Customizations 150 return resId > 0 ? mResources.getBoolean(resId) : defaultValue; in getBoolean()
|
/frameworks/base/core/java/android/provider/ |
D | BlockedNumberContract.java | 247 return res != null && res.getBoolean(RES_NUMBER_IS_BLOCKED, false); in isBlocked() 283 return res != null && res.getBoolean(RES_CAN_BLOCK_NUMBERS, false); in canCurrentUserBlockNumbers() 352 return res != null && res.getBoolean(RES_NUMBER_IS_BLOCKED, false); in shouldSystemBlockNumber() 361 return new BlockSuppressionStatus(res.getBoolean(RES_IS_BLOCKING_SUPPRESSED, false), in getBlockSuppressionStatus()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccOperation.java | 195 resolutionExtras.getBoolean(EuiccService.RESOLUTION_EXTRA_CONSENT), in continueOperation() 200 resolutionExtras.getBoolean(EuiccService.RESOLUTION_EXTRA_CONSENT), in continueOperation() 205 resolutionExtras.getBoolean(EuiccService.RESOLUTION_EXTRA_CONSENT), in continueOperation() 210 resolutionExtras.getBoolean(EuiccService.RESOLUTION_EXTRA_CONSENT), in continueOperation() 215 resolutionExtras.getBoolean(EuiccService.RESOLUTION_EXTRA_CONSENT), in continueOperation() 220 resolutionExtras.getBoolean(EuiccService.RESOLUTION_EXTRA_CONSENT), in continueOperation()
|
/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 87 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in tagSocketFd() 109 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in unTagSocketFd() 123 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in setKernelCounterSet() 133 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in resetKernelUidStats()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 253 if (!jobExtras.getBoolean("SyncManagerJob", false)) { in maybeCreateFromJobExtras() 265 allowParallelSyncs = jobExtras.getBoolean("allowParallelSyncs", false); in maybeCreateFromJobExtras() 266 isPeriodic = jobExtras.getBoolean("isPeriodic", false); in maybeCreateFromJobExtras() 375 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false)) { in dump() 427 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false); in isInitialization() 431 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false); in isExpedited() 435 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false); in ignoreBackoff() 439 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_DISALLOW_METERED, false); in isNotAllowedOnMetered() 443 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, false); in isManual() 447 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, false); in isIgnoreSettings()
|
/frameworks/support/v7/mediarouter/tests/src/android/support/v7/app/ |
D | MediaRouteChooserDialogTest.java | 63 assertTrue(typedArray.getBoolean(R.styleable.AppCompatTheme_windowNoTitle, false)); in testWindowNoTitle() 69 assertFalse(typedArray.getBoolean(R.styleable.AppCompatTheme_windowNoTitle, false)); in testWindowNoTitle() 76 assertTrue(typedArray.getBoolean(R.styleable.AppCompatTheme_windowNoTitle, false)); in testWindowNoTitle() 82 assertFalse(typedArray.getBoolean(R.styleable.AppCompatTheme_windowNoTitle, false)); in testWindowNoTitle()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | SimpleInflater.java | 139 itemCheckable = a.getBoolean(R.styleable.MenuItem_android_checkable, false) ? 1 : 0; in readItem() 141 boolean itemChecked = a.getBoolean(R.styleable.MenuItem_android_checked, false); in readItem() 142 boolean itemVisible = a.getBoolean(R.styleable.MenuItem_android_visible, false); in readItem() 143 boolean itemEnabled = a.getBoolean(R.styleable.MenuItem_android_enabled, false); in readItem()
|
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/ |
D | Config.java | 57 mCompatEnabled = mSharedPref.getBoolean(KEY_ENABLED, false); in init() 58 mReplaceAll = mSharedPref.getBoolean(KEY_REPLACE_ALL, false); in init() 59 mDownloadable = mSharedPref.getBoolean(KEY_DOWNLOADABLE, false); in init() 60 mIndicator = mSharedPref.getBoolean(KEY_INDICATOR, false); in init()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MockableSystemProperties.java | 31 public boolean getBoolean(String key, boolean def) { in getBoolean() method in MockableSystemProperties 32 return SystemProperties.getBoolean(key, def); in getBoolean()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 1660 config.getBoolean(MMS_CONFIG_APPEND_TRANSACTION_ID)); in getMmsConfig() 1661 filtered.putBoolean(MMS_CONFIG_MMS_ENABLED, config.getBoolean(MMS_CONFIG_MMS_ENABLED)); in getMmsConfig() 1663 config.getBoolean(MMS_CONFIG_GROUP_MMS_ENABLED)); in getMmsConfig() 1665 config.getBoolean(MMS_CONFIG_NOTIFY_WAP_MMSC_ENABLED)); in getMmsConfig() 1666 filtered.putBoolean(MMS_CONFIG_ALIAS_ENABLED, config.getBoolean(MMS_CONFIG_ALIAS_ENABLED)); in getMmsConfig() 1668 config.getBoolean(MMS_CONFIG_ALLOW_ATTACH_AUDIO)); in getMmsConfig() 1670 config.getBoolean(MMS_CONFIG_MULTIPART_SMS_ENABLED)); in getMmsConfig() 1672 config.getBoolean(MMS_CONFIG_SMS_DELIVERY_REPORT_ENABLED)); in getMmsConfig() 1674 config.getBoolean(MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION)); in getMmsConfig() 1676 config.getBoolean(MMS_CONFIG_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES)); in getMmsConfig() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SystemPropertyService.java | 32 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() method in SystemPropertyService 33 return android.os.SystemProperties.getBoolean(key, defaultValue); in getBoolean()
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeyCharacteristics.java | 143 public boolean getBoolean(int tag) { in getBoolean() method in KeyCharacteristics 145 return hwEnforced.getBoolean(tag); in getBoolean() 147 return swEnforced.getBoolean(tag); in getBoolean()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 542 if (!SystemProperties.getBoolean("config.disable_noncore", false)) { in startBootstrapServices() 598 boolean disableOtaDexopt = SystemProperties.getBoolean("config.disable_otadexopt", in startBootstrapServices() 699 boolean disableStorage = SystemProperties.getBoolean("config.disable_storage", false); in startOtherServices() 700 boolean disableBluetooth = SystemProperties.getBoolean("config.disable_bluetooth", false); in startOtherServices() 701 boolean disableLocation = SystemProperties.getBoolean("config.disable_location", false); in startOtherServices() 702 boolean disableSystemUI = SystemProperties.getBoolean("config.disable_systemui", false); in startOtherServices() 703 … boolean disableNonCoreServices = SystemProperties.getBoolean("config.disable_noncore", false); in startOtherServices() 704 boolean disableNetwork = SystemProperties.getBoolean("config.disable_network", false); in startOtherServices() 705 … boolean disableNetworkTime = SystemProperties.getBoolean("config.disable_networktime", false); in startOtherServices() 706 boolean disableRtt = SystemProperties.getBoolean("config.disable_rtt", false); in startOtherServices() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiSelector.java | 645 boolean getBoolean(int criterion) { in getBoolean() method in UiSelector 668 if (node.isChecked() != getBoolean(criterion)) { in isMatchFor() 685 if (node.isClickable() != getBoolean(criterion)) { in isMatchFor() 690 if (node.isCheckable() != getBoolean(criterion)) { in isMatchFor() 695 if (node.isLongClickable() != getBoolean(criterion)) { in isMatchFor() 752 if (node.isEnabled() != getBoolean(criterion)) { in isMatchFor() 757 if (node.isFocusable() != getBoolean(criterion)) { in isMatchFor() 762 if (node.isFocused() != getBoolean(criterion)) { in isMatchFor() 781 if (node.isScrollable() != getBoolean(criterion)) { in isMatchFor() 786 if (node.isSelected() != getBoolean(criterion)) { in isMatchFor()
|
/frameworks/base/core/java/com/android/internal/hardware/ |
D | AmbientDisplayConfiguration.java | 62 return mContext.getResources().getBoolean(R.bool.config_dozePulsePickup) in pulseOnPickupAvailable() 123 return mContext.getResources().getBoolean(R.bool.config_dozeAlwaysOnDisplayAvailable); in alwaysOnDisplayAvailable() 127 return SystemProperties.getBoolean("debug.doze.aod", false) && Build.IS_DEBUGGABLE; in alwaysOnDisplayDebuggingEnabled()
|
/frameworks/base/core/java/android/content/ |
D | SyncAdaptersCache.java | 71 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true); in parseServiceAttributes() 73 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading, in parseServiceAttributes() 76 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, in parseServiceAttributes() 79 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs, in parseServiceAttributes()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | TetherUtil.java | 33 return configManager.getConfig().getBoolean(CarrierConfigManager in isEntitlementCheckRequired() 42 if (SystemProperties.getBoolean("net.tethering.noprovisioning", false) in isProvisioningNeeded()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierConstants.java | 71 mDarkLaunch = parser.getBoolean( in TextClassifierConstants() 74 mSuggestSelectionEnabledForEditableText = parser.getBoolean( in TextClassifierConstants()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/ |
D | DreamBackend.java | 105 .getBoolean(com.android.internal.R.bool.config_dreamsEnabledByDefault); in DreamBackend() 107 .getBoolean(com.android.internal.R.bool.config_dreamsActivatedOnSleepByDefault); in DreamBackend() 109 .getBoolean(com.android.internal.R.bool.config_dreamsActivatedOnDockByDefault); in DreamBackend() 199 return getBoolean(Settings.Secure.SCREENSAVER_ENABLED, mDreamsEnabledByDefault); in isEnabled() 208 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, in isActivatedOnDock() 218 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP, in isActivatedOnSleep() 227 private boolean getBoolean(String key, boolean def) { in getBoolean() method in DreamBackend
|
/frameworks/support/core-utils/java/android/support/v4/app/ |
D | AppLaunchChecker.java | 51 .getBoolean(KEY_STARTED_FROM_LAUNCHER, false); in hasStartedFromLauncher() 67 if (sp.getBoolean(KEY_STARTED_FROM_LAUNCHER, false)) { in onActivityCreate()
|