/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeParameters.java | 43 SystemProperties.getBoolean("debug.force_no_blanking", false); 45 SystemProperties.getBoolean("debug.force_blanking", false); 94 return getBoolean("doze.display.supported", R.bool.doze_display_state_supported); in getDisplayStateSupported() 98 return mContext.getResources().getBoolean(R.bool.doze_suspend_display_state_supported); in getDozeSuspendDisplayStateSupported() 123 return getBoolean("doze.pulse.sigmotion", R.bool.doze_pulse_on_significant_motion); in getPulseOnSigMotion() 127 return SystemProperties.getBoolean("doze.vibrate.sigmotion", false); in getVibrateOnSigMotion() 131 return SystemProperties.getBoolean("doze.vibrate.pickup", false); in getVibrateOnPickup() 135 return getBoolean("doze.pulse.proxcheck", R.bool.doze_proximity_check_before_pulse); in getProxCheckBeforePulse() 176 return FORCE_BLANKING || !FORCE_NO_BLANKING && mContext.getResources().getBoolean( in getDisplayNeedsBlanking() 197 private boolean getBoolean(String propName, int resId) { in getBoolean() method in DozeParameters [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassificationConstants.java | 211 return mConfigParser.getBoolean( in isLocalTextClassifierEnabled() 217 return mConfigParser.getBoolean( in isSystemTextClassifierEnabled() 223 return mConfigParser.getBoolean( in isModelDarkLaunchEnabled() 229 return mConfigParser.getBoolean( in isSmartSelectionEnabled() 235 return mConfigParser.getBoolean( in isSmartTextShareEnabled() 241 return mConfigParser.getBoolean( in isSmartLinkifyEnabled() 247 return mConfigParser.getBoolean( in isSmartSelectionAnimationEnabled() 313 return mConfigParser.getBoolean( in isTemplateIntentFactoryEnabled() 319 return mConfigParser.getBoolean( in isTranslateInClassificationEnabled() 325 return mConfigParser.getBoolean( in isDetectLanguagesFromTextEnabled()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RoSystemProperties.java | 45 SystemProperties.getBoolean("ro.config.avoid_gfx_accel", false); 47 SystemProperties.getBoolean("ro.config.low_ram", false); 49 SystemProperties.getBoolean("ro.config.small_battery", false); 53 SystemProperties.getBoolean("ro.fw.system_user_split", false); 55 SystemProperties.getBoolean("ro.fw.mu.headless_system_user", false);
|
/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/core/java/android/hardware/display/ |
D | AmbientDisplayConfiguration.java | 43 mAlwaysOnByDefault = mContext.getResources().getBoolean(R.bool.config_dozeAlwaysOnEnabled); in AmbientDisplayConfiguration() 77 return mContext.getResources().getBoolean(R.bool.config_dozePulsePickup); in dozePickupSensorAvailable() 105 .getBoolean(R.bool.config_dozeWakeLockScreenSensorAvailable); in wakeScreenGestureAvailable() 198 return mContext.getResources().getBoolean(R.bool.config_dozeAlwaysOnDisplayAvailable); in alwaysOnDisplayAvailable() 202 return SystemProperties.getBoolean("debug.doze.aod", false) && Build.IS_DEBUGGABLE; in alwaysOnDisplayDebuggingEnabled()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccOperation.java | 274 resolutionExtras.getBoolean(EuiccService.EXTRA_RESOLUTION_CONSENT), in continueOperation() 279 resolutionExtras.getBoolean(EuiccService.EXTRA_RESOLUTION_CONSENT), in continueOperation() 284 resolutionExtras.getBoolean(EuiccService.EXTRA_RESOLUTION_CONSENT), in continueOperation() 289 resolutionExtras.getBoolean(EuiccService.EXTRA_RESOLUTION_CONSENT), in continueOperation() 302 resolutionExtras.getBoolean(EuiccService.EXTRA_RESOLUTION_CONSENT), in continueOperation() 307 resolutionExtras.getBoolean(EuiccService.EXTRA_RESOLUTION_CONSENT), in continueOperation() 312 resolutionExtras.getBoolean(EuiccService.EXTRA_RESOLUTION_CONSENT), in continueOperation() 440 if (!resolvedBundle.getBoolean(EuiccService.EXTRA_RESOLUTION_ALLOW_POLICY_RULES)) { in resolvedDownloadResolvableErrors()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | AutoAddTrackerTest.java | 61 assertTrue(Prefs.getBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true )); in testMigration() 62 assertFalse(Prefs.getBoolean(mContext, Key.QS_DATA_SAVER_ADDED, false)); in testMigration() 63 assertTrue(Prefs.getBoolean(mContext, Key.QS_WORK_ADDED, true)); in testMigration() 64 assertFalse(Prefs.getBoolean(mContext, Key.QS_WORK_ADDED, false)); in testMigration()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 715 boolean advertiseIsEnabled = parser.getBoolean(KEY_ADVERTISE_IS_ENABLED, in fromSettings() 717 boolean deferFullBackup = parser.getBoolean(KEY_FULLBACKUP_DEFERRED, in fromSettings() 719 boolean deferKeyValueBackup = parser.getBoolean(KEY_KEYVALUE_DEFERRED, in fromSettings() 721 boolean disableAnimation = parser.getBoolean(KEY_ANIMATION_DISABLED, in fromSettings() 723 boolean disableAod = parser.getBoolean(KEY_AOD_DISABLED, defaultPolicy.disableAod); in fromSettings() 724 boolean disableLaunchBoost = parser.getBoolean(KEY_LAUNCH_BOOST_DISABLED, in fromSettings() 726 boolean disableOptionalSensors = parser.getBoolean(KEY_OPTIONAL_SENSORS_DISABLED, in fromSettings() 728 boolean disableSoundTrigger = parser.getBoolean(KEY_SOUNDTRIGGER_DISABLED, in fromSettings() 730 boolean disableVibrationConfig = parser.getBoolean(KEY_VIBRATION_DISABLED, in fromSettings() 732 boolean enableAdjustBrightness = !parser.getBoolean(KEY_ADJUST_BRIGHTNESS_DISABLED, in fromSettings() [all …]
|
/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 91 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in tagSocketFd() 113 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in unTagSocketFd() 127 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in setKernelCounterSet() 137 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in resetKernelUidStats()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageArgs.java | 69 return b.getBoolean(KEY_CHECK_PERMS); in checkPerms() 73 return b.getBoolean(KEY_SKIP_IF_SAME_VERSION); in skipIfSameVersion() 93 return b.getBoolean(KEY_SKIP_IF_LOWER_VERSION, false); in skipIfLowerVersion()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 262 if (!jobExtras.getBoolean("SyncManagerJob", false)) { in maybeCreateFromJobExtras() 274 allowParallelSyncs = jobExtras.getBoolean("allowParallelSyncs", false); in maybeCreateFromJobExtras() 275 isPeriodic = jobExtras.getBoolean("isPeriodic", false); in maybeCreateFromJobExtras() 392 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false)) { in dump() 471 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false); in isInitialization() 475 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false); in isExpedited() 479 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false); in ignoreBackoff() 483 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_DISALLOW_METERED, false); in isNotAllowedOnMetered() 487 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, false); in isManual() 491 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, false); in isIgnoreSettings()
|
/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/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsController.java | 562 config.getBoolean(SmsManager.MMS_CONFIG_APPEND_TRANSACTION_ID)); in getMmsConfig() 565 config.getBoolean(SmsManager.MMS_CONFIG_MMS_ENABLED)); in getMmsConfig() 568 config.getBoolean(SmsManager.MMS_CONFIG_GROUP_MMS_ENABLED)); in getMmsConfig() 571 config.getBoolean(SmsManager.MMS_CONFIG_NOTIFY_WAP_MMSC_ENABLED)); in getMmsConfig() 574 config.getBoolean(SmsManager.MMS_CONFIG_ALIAS_ENABLED)); in getMmsConfig() 577 config.getBoolean(SmsManager.MMS_CONFIG_ALLOW_ATTACH_AUDIO)); in getMmsConfig() 580 config.getBoolean(SmsManager.MMS_CONFIG_MULTIPART_SMS_ENABLED)); in getMmsConfig() 583 config.getBoolean(SmsManager.MMS_CONFIG_SMS_DELIVERY_REPORT_ENABLED)); in getMmsConfig() 586 config.getBoolean(SmsManager.MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION)); in getMmsConfig() 589 config.getBoolean(SmsManager.MMS_CONFIG_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES)); in getMmsConfig() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManagerTest.java | 155 .getBoolean(Notification.EXTRA_SHOW_REMOTE_INPUT_SPINNER, false)); in testRebuildWithRemoteInput_noExistingInputNoSpinner() 157 .getBoolean(Notification.EXTRA_HIDE_SMART_REPLIES, false)); in testRebuildWithRemoteInput_noExistingInputNoSpinner() 169 .getBoolean(Notification.EXTRA_SHOW_REMOTE_INPUT_SPINNER, false)); in testRebuildWithRemoteInput_noExistingInputWithSpinner() 171 .getBoolean(Notification.EXTRA_HIDE_SMART_REPLIES, false)); in testRebuildWithRemoteInput_noExistingInputWithSpinner() 196 .getBoolean(Notification.EXTRA_SHOW_REMOTE_INPUT_SPINNER, false)); in testRebuildNotificationForCanceledSmartReplies() 198 .getBoolean(Notification.EXTRA_HIDE_SMART_REPLIES, false)); in testRebuildNotificationForCanceledSmartReplies()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyConstants.java | 74 mDefaultEnabled = resources.getBoolean( in SmartReplyConstants() 76 mDefaultRequiresP = resources.getBoolean( in SmartReplyConstants() 80 mDefaultEditChoicesBeforeSending = resources.getBoolean( in SmartReplyConstants() 82 mDefaultShowInHeadsUp = resources.getBoolean( in SmartReplyConstants()
|
/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/core/java/android/provider/ |
D | BlockedNumberContract.java | 331 boolean isBlocked = res != null && res.getBoolean(RES_NUMBER_IS_BLOCKED, false); in isBlocked() 378 return res != null && res.getBoolean(RES_CAN_BLOCK_NUMBERS, false); in canCurrentUserBlockNumbers() 515 res.getBoolean(RES_IS_BLOCKING_SUPPRESSED, false), in getBlockSuppressionStatus() 532 return res != null && res.getBoolean(RES_SHOW_EMERGENCY_CALL_NOTIFICATION, false); in shouldShowEmergencyCallNotification() 559 return res != null && res.getBoolean(RES_ENHANCED_SETTING_IS_ENABLED, false); in getEnhancedBlockSetting()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardLayout.java | 136 showBackButton = attrArray.getBoolean( in init() 138 showToolbarTitle = attrArray.getBoolean( in init() 142 showPrimaryToolbarButton = attrArray.getBoolean( in init() 146 primaryToolbarButtonEnabled = attrArray.getBoolean( in init() 148 mPrimaryToolbarButtonFlat = attrArray.getBoolean( in init() 150 showSecondaryToolbarButton = attrArray.getBoolean( in init() 154 secondaryToolbarButtonEnabled = attrArray.getBoolean( in init() 156 showProgressBar = attrArray.getBoolean( in init() 158 indeterminateProgressBar = attrArray.getBoolean( in init()
|
/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/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 300 if (restrictions.getBoolean(key)) { in writeRestrictions() 342 return in != null && in.getBoolean(restriction); in contains() 363 if (in.getBoolean(key, false)) { in merge() 435 if (!in.getBoolean(key)) { in sortToGlobalAndLocal() 471 if (a.getBoolean(key) != b.getBoolean(key)) { in areEqual() 476 if (a.getBoolean(key) != b.getBoolean(key)) { in areEqual() 492 final boolean newValue = newRestrictions.getBoolean(key); in applyUserRestrictions() 493 final boolean prevValue = prevRestrictions.getBoolean(key); in applyUserRestrictions() 833 if (restrictions.getBoolean(key, false)) { in dumpRestrictions() 883 if (oldRestrictions.getBoolean(restriction, false) != in restrictionsChanged() [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/content/ |
D | SyncAdaptersCache.java | 73 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true); in parseServiceAttributes() 75 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading, in parseServiceAttributes() 78 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, in parseServiceAttributes() 81 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs, in parseServiceAttributes()
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeyCharacteristics.java | 154 public boolean getBoolean(int tag) { in getBoolean() method in KeyCharacteristics 156 return hwEnforced.getBoolean(tag); in getBoolean() 158 return swEnforced.getBoolean(tag); in getBoolean()
|
/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/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierText.java | 72 useAllCaps = a.getBoolean(R.styleable.CarrierText_allCaps, false); in CarrierText() 73 mShowAirplaneMode = a.getBoolean(R.styleable.CarrierText_showAirplaneMode, false); in CarrierText() 74 mShowMissingSim = a.getBoolean(R.styleable.CarrierText_showMissingSim, false); in CarrierText()
|