Home
last modified time | relevance | path

Searched refs:getBoolean (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java43 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/
DTextClassificationConstants.java211 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/
DRoSystemProperties.java45 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/
DShowWhenLockedActivity.java135 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/
DAmbientDisplayConfiguration.java43 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/
DEuiccOperation.java274 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/
DAutoAddTrackerTest.java61 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/
DBatterySaverPolicy.java715 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/
DNetworkManagementSocketTagger.java91 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/
DWearPackageArgs.java69 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/
DSyncOperation.java262 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/
DSimpleInflater.java139 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/
DSmsController.java562 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/
DNotificationRemoteInputManagerTest.java155 .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/
DSmartReplyConstants.java74 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/
DMockableSystemProperties.java31 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/
DBlockedNumberContract.java331 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/
DCarSetupWizardLayout.java136 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/
DUiSelector.java645 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/
DUserRestrictionsUtils.java300 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/
DSystemPropertyService.java32 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/
DSyncAdaptersCache.java73 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/
DKeyCharacteristics.java154 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/
DDreamBackend.java105 .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/
DCarrierText.java72 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()

12345678910>>...25