/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeParameters.java | 46 SystemProperties.getBoolean("debug.force_no_blanking", false); 48 SystemProperties.getBoolean("debug.force_blanking", false); 95 return getBoolean("doze.display.supported", R.bool.doze_display_state_supported); in getDisplayStateSupported() 99 return mResources.getBoolean(R.bool.doze_suspend_display_state_supported); in getDozeSuspendDisplayStateSupported() 124 return getBoolean("doze.pulse.sigmotion", R.bool.doze_pulse_on_significant_motion); in getPulseOnSigMotion() 128 return SystemProperties.getBoolean("doze.vibrate.sigmotion", false); in getVibrateOnSigMotion() 132 return SystemProperties.getBoolean("doze.vibrate.pickup", false); in getVibrateOnPickup() 136 return getBoolean("doze.pulse.proxcheck", R.bool.doze_proximity_check_before_pulse); in getProxCheckBeforePulse() 177 return FORCE_BLANKING || !FORCE_NO_BLANKING && mResources.getBoolean( in getDisplayNeedsBlanking() 193 private boolean getBoolean(String propName, int resId) { in getBoolean() method in DozeParameters [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RoSystemProperties.java | 40 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/CarSystemUI/tests/src/com/android/systemui/car/navigationbar/ |
D | SystemBarConfigsTest.java | 105 when(mResources.getBoolean(R.bool.config_hideBottomSystemBarForKeyboard)).thenReturn(false); in onInit_hideBottomSystemBarForKeyboardValueDoNotSync_throwsRuntimeException() 106 when(mResources.getBoolean( in onInit_hideBottomSystemBarForKeyboardValueDoNotSync_throwsRuntimeException() 115 when(mResources.getBoolean(R.bool.config_enableTopNavigationBar)).thenReturn(true); in onInit_topNotifPanelViewMediatorUsed_topBarEnabled_doesNotThrowException() 124 when(mResources.getBoolean(R.bool.config_enableTopNavigationBar)).thenReturn(false); in onInit_topNotifPanelViewMediatorUsed_topBarNotEnabled_throwsRuntimeException() 133 when(mResources.getBoolean(R.bool.config_enableTopNavigationBar)).thenReturn(false); in onInit_notificationPanelViewMediatorUsed_topBarNotEnabled_doesNotThrowException() 151 when(mResources.getBoolean(R.bool.config_enableTopNavigationBar)).thenReturn(false); in getTopSystemBarLayoutParams_topBarNotEnabled_returnsNull() 161 when(mResources.getBoolean(R.bool.config_hideTopSystemBarForKeyboard)).thenReturn(true); in getTopSystemBarHideForKeyboard_hideBarForKeyboard_returnsTrue() 171 when(mResources.getBoolean(R.bool.config_enableTopNavigationBar)).thenReturn(false); in getTopSystemBarHideForKeyboard_topBarNotEnabled_returnsFalse() 203 when(mResources.getBoolean(R.bool.config_enableTopNavigationBar)).thenReturn(true); in setDefaultValidConfig() 204 when(mResources.getBoolean(R.bool.config_enableBottomNavigationBar)).thenReturn(true); in setDefaultValidConfig() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassificationConstants.java | 103 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in isLocalTextClassifierEnabled() 108 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in isSystemTextClassifierEnabled() 114 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in isModelDarkLaunchEnabled() 119 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in isSmartSelectionEnabled() 124 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in isSmartTextShareEnabled() 129 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, SMART_LINKIFY_ENABLED, in isSmartLinkifyEnabled() 134 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_TEXTCLASSIFIER, in isSmartSelectionAnimationEnabled()
|
/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/content/ |
D | SyncOperation.java | 276 if (!jobExtras.getBoolean("SyncManagerJob", false)) { in maybeCreateFromJobExtras() 288 allowParallelSyncs = jobExtras.getBoolean("allowParallelSyncs", false); in maybeCreateFromJobExtras() 289 isPeriodic = jobExtras.getBoolean("isPeriodic", false); in maybeCreateFromJobExtras() 408 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false)) { in dump() 487 return mImmutableExtras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false); in isInitialization() 491 return mImmutableExtras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false); in isExpedited() 495 return mImmutableExtras.getBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, false); in isUpload() 506 return mImmutableExtras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false); in hasIgnoreBackoff() 521 return mImmutableExtras.getBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, false); in hasDoNotRetry() 525 return mImmutableExtras.getBoolean(ContentResolver.SYNC_EXTRAS_DISALLOW_METERED, false); in isNotAllowedOnMetered() [all …]
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/ |
D | SystemBarConfigs.java | 165 mTopNavBarEnabled = mResources.getBoolean(R.bool.config_enableTopNavigationBar); in readConfigs() 166 mBottomNavBarEnabled = mResources.getBoolean(R.bool.config_enableBottomNavigationBar); in readConfigs() 167 mLeftNavBarEnabled = mResources.getBoolean(R.bool.config_enableLeftNavigationBar); in readConfigs() 168 mRightNavBarEnabled = mResources.getBoolean(R.bool.config_enableRightNavigationBar); in readConfigs() 178 .setHideForKeyboard(mResources.getBoolean( in readConfigs() 193 .setHideForKeyboard(mResources.getBoolean( in readConfigs() 207 .setHideForKeyboard(mResources.getBoolean( in readConfigs() 221 .setHideForKeyboard(mResources.getBoolean( in readConfigs() 273 boolean actual = mResources.getBoolean(R.bool.config_hideBottomSystemBarForKeyboard); in checkHideBottomBarForKeyboardConfigSync() 274 boolean expected = mResources.getBoolean( in checkHideBottomBarForKeyboardConfigSync()
|
/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() 203 return mContext.getResources().getBoolean(R.bool.config_dozeAlwaysOnDisplayAvailable); in alwaysOnDisplayAvailable() 207 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/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiApConfigStore.java | 172 || mContext.getResources().getBoolean( in resetToDefaultForUnsupportedConfig() 182 || mContext.getResources().getBoolean( in resetToDefaultForUnsupportedConfig() 198 if (mContext.getResources().getBoolean(R.bool.config_wifiSoftapResetChannelConfig) in resetToDefaultForUnsupportedConfig() 208 if (!mContext.getResources().getBoolean(R.bool.config_wifi6ghzSupport) in resetToDefaultForUnsupportedConfig() 214 if (!mContext.getResources().getBoolean(R.bool.config_wifi5ghzSupport) in resetToDefaultForUnsupportedConfig() 227 if (mContext.getResources().getBoolean(R.bool.config_wifiSoftapResetHiddenConfig) in resetToDefaultForUnsupportedConfig() 233 if (mContext.getResources().getBoolean( in resetToDefaultForUnsupportedConfig() 338 if (config.getBssid() == null && context.getResources().getBoolean( in randomizeBssidIfUnset()
|
D | SystemPropertyService.java | 27 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() method in SystemPropertyService 28 return android.os.SystemProperties.getBoolean(key, defaultValue); in getBoolean()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 800 boolean advertiseIsEnabled = parser.getBoolean(KEY_ADVERTISE_IS_ENABLED, in fromSettings() 802 boolean deferFullBackup = parser.getBoolean(KEY_FULLBACKUP_DEFERRED, in fromSettings() 804 boolean deferKeyValueBackup = parser.getBoolean(KEY_KEYVALUE_DEFERRED, in fromSettings() 806 boolean disableAnimation = parser.getBoolean(KEY_ANIMATION_DISABLED, in fromSettings() 808 boolean disableAod = parser.getBoolean(KEY_AOD_DISABLED, defaultPolicy.disableAod); in fromSettings() 809 boolean disableLaunchBoost = parser.getBoolean(KEY_LAUNCH_BOOST_DISABLED, in fromSettings() 811 boolean disableOptionalSensors = parser.getBoolean(KEY_OPTIONAL_SENSORS_DISABLED, in fromSettings() 813 boolean disableSoundTrigger = parser.getBoolean(KEY_SOUNDTRIGGER_DISABLED, in fromSettings() 815 boolean disableVibrationConfig = parser.getBoolean(KEY_VIBRATION_DISABLED, in fromSettings() 817 boolean enableAdjustBrightness = !parser.getBoolean(KEY_ADJUST_BRIGHTNESS_DISABLED, in fromSettings() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | BlurUtils.java | 25 .getBoolean("ro.surface_flinger.supports_background_blur", false); 27 .getBoolean("persist.sys.sf.disable_blurs", false);
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | AutoAddTrackerTest.java | 65 assertTrue(Prefs.getBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true )); in testMigration() 66 assertFalse(Prefs.getBoolean(mContext, Key.QS_DATA_SAVER_ADDED, false)); in testMigration() 67 assertTrue(Prefs.getBoolean(mContext, Key.QS_WORK_ADDED, true)); in testMigration() 68 assertFalse(Prefs.getBoolean(mContext, Key.QS_WORK_ADDED, false)); in testMigration()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsController.java | 568 config.getBoolean(SmsManager.MMS_CONFIG_APPEND_TRANSACTION_ID)); in getMmsConfig() 571 config.getBoolean(SmsManager.MMS_CONFIG_MMS_ENABLED)); in getMmsConfig() 574 config.getBoolean(SmsManager.MMS_CONFIG_GROUP_MMS_ENABLED)); in getMmsConfig() 577 config.getBoolean(SmsManager.MMS_CONFIG_NOTIFY_WAP_MMSC_ENABLED)); in getMmsConfig() 580 config.getBoolean(SmsManager.MMS_CONFIG_ALIAS_ENABLED)); in getMmsConfig() 583 config.getBoolean(SmsManager.MMS_CONFIG_ALLOW_ATTACH_AUDIO)); in getMmsConfig() 586 config.getBoolean(SmsManager.MMS_CONFIG_MULTIPART_SMS_ENABLED)); in getMmsConfig() 589 config.getBoolean(SmsManager.MMS_CONFIG_SMS_DELIVERY_REPORT_ENABLED)); in getMmsConfig() 592 config.getBoolean(SmsManager.MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION)); in getMmsConfig() 595 config.getBoolean(SmsManager.MMS_CONFIG_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES)); in getMmsConfig() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyConstants.java | 77 mDefaultEnabled = resources.getBoolean( in SmartReplyConstants() 79 mDefaultRequiresP = resources.getBoolean( in SmartReplyConstants() 83 mDefaultEditChoicesBeforeSending = resources.getBoolean( in SmartReplyConstants() 85 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()
|
D | CarSetupWizardBaseLayout.java | 139 showBackButton = attrArray.getBoolean( in init() 141 showToolbarTitle = attrArray.getBoolean( in init() 145 showPrimaryToolbarButton = attrArray.getBoolean( in init() 149 primaryToolbarButtonEnabled = attrArray.getBoolean( in init() 151 mPrimaryToolbarButtonFlat = attrArray.getBoolean( in init() 153 showSecondaryToolbarButton = attrArray.getBoolean( in init() 157 secondaryToolbarButtonEnabled = attrArray.getBoolean( in init() 159 showProgressBar = attrArray.getBoolean( in init() 161 indeterminateProgressBar = attrArray.getBoolean( in init() 637 && mPartnerConfigHelper.getBoolean( in shouldMirrorNavIcons()
|
/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/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()
|