Home
last modified time | relevance | path

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

12345678910>>...24

/frameworks/base/core/java/com/android/internal/os/
DRoSystemProperties.java40 SystemProperties.getBoolean(
53 SystemProperties.getBoolean("ro.config.avoid_gfx_accel", false);
55 SystemProperties.getBoolean("ro.config.low_ram", false);
57 SystemProperties.getBoolean("ro.config.small_battery", false);
61 SystemProperties.getBoolean("ro.fw.system_user_split", false);
63 SystemProperties.getBoolean("ro.fw.mu.headless_system_user", false);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java42 SystemProperties.getBoolean("debug.force_no_blanking", false);
44 SystemProperties.getBoolean("debug.force_blanking", false);
100 return "fallback: " + mContext.getResources().getBoolean( in dumpPickupSubtypePerformsProxCheck()
108 return getBoolean("doze.display.supported", R.bool.doze_display_state_supported); in getDisplayStateSupported()
112 return mContext.getResources().getBoolean(R.bool.doze_suspend_display_state_supported); in getDozeSuspendDisplayStateSupported()
137 return getBoolean("doze.pulse.sigmotion", R.bool.doze_pulse_on_significant_motion); in getPulseOnSigMotion()
141 return SystemProperties.getBoolean("doze.vibrate.sigmotion", false); in getVibrateOnSigMotion()
145 return SystemProperties.getBoolean("doze.vibrate.pickup", false); in getVibrateOnPickup()
149 return getBoolean("doze.pulse.proxcheck", R.bool.doze_proximity_check_before_pulse); in getProxCheckBeforePulse()
190 return FORCE_BLANKING || !FORCE_NO_BLANKING && mContext.getResources().getBoolean( in getDisplayNeedsBlanking()
[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/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()
76 return mContext.getResources().getBoolean(R.bool.config_dozePulsePickup); in dozePickupSensorAvailable()
104 .getBoolean(R.bool.config_dozeWakeLockScreenSensorAvailable); in wakeScreenGestureAvailable()
191 return mContext.getResources().getBoolean(R.bool.config_dozeAlwaysOnDisplayAvailable); in alwaysOnDisplayAvailable()
195 return SystemProperties.getBoolean("debug.doze.aod", false) && Build.IS_DEBUGGABLE; in alwaysOnDisplayDebuggingEnabled()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DBooleanArrayListTest.java125 assertEquals(true, TERTIARY_LIST.getBoolean(0)); in testGetBoolean()
126 assertEquals(false, TERTIARY_LIST.getBoolean(1)); in testGetBoolean()
127 assertEquals(true, TERTIARY_LIST.getBoolean(2)); in testGetBoolean()
167 assertEquals(true, list.getBoolean(0)); in testSet()
170 assertEquals(false, list.getBoolean(1)); in testSet()
192 assertEquals(false, list.getBoolean(0)); in testSetBoolean()
195 assertEquals(false, list.getBoolean(1)); in testSetBoolean()
261 assertEquals(true, list.getBoolean(0)); in testAddAll()
/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/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/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/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/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/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/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationRemoteInputManagerTest.java150 .getBoolean(Notification.EXTRA_SHOW_REMOTE_INPUT_SPINNER, false)); in testRebuildWithRemoteInput_noExistingInputNoSpinner()
152 .getBoolean(Notification.EXTRA_HIDE_SMART_REPLIES, false)); in testRebuildWithRemoteInput_noExistingInputNoSpinner()
164 .getBoolean(Notification.EXTRA_SHOW_REMOTE_INPUT_SPINNER, false)); in testRebuildWithRemoteInput_noExistingInputWithSpinner()
166 .getBoolean(Notification.EXTRA_HIDE_SMART_REPLIES, false)); in testRebuildWithRemoteInput_noExistingInputWithSpinner()
191 .getBoolean(Notification.EXTRA_SHOW_REMOTE_INPUT_SPINNER, false)); in testRebuildNotificationForCanceledSmartReplies()
193 .getBoolean(Notification.EXTRA_HIDE_SMART_REPLIES, false)); in testRebuildNotificationForCanceledSmartReplies()
/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/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/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/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/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransportParameters.java51 mFakeEncryptionFlag = parser.getBoolean(KEY_FAKE_ENCRYPTION_FLAG, false); in update()
52 mIsNonIncrementalOnly = parser.getBoolean(KEY_NON_INCREMENTAL_ONLY, false); in update()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java70 useAllCaps = a.getBoolean(R.styleable.CarrierText_allCaps, false); in CarrierText()
71 mShowAirplaneMode = a.getBoolean(R.styleable.CarrierText_showAirplaneMode, false); in CarrierText()
72 mShowMissingSim = a.getBoolean(R.styleable.CarrierText_showMissingSim, false); in CarrierText()
/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/SystemUI/src/com/android/systemui/assist/
DPhenotypeHelper.java42 boolean getBoolean(String name, boolean defaultValue) { in getBoolean() method in PhenotypeHelper
43 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SYSTEMUI, name, 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/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()
829 if (restrictions.getBoolean(key, false)) { in dumpRestrictions()
879 if (oldRestrictions.getBoolean(restriction, false) != in restrictionsChanged()
[all …]

12345678910>>...24