/frameworks/base/vr/java/com/google/vr/platform/ |
H A D | DeviceInfo.java | 17 return SystemProperties.getBoolean(VR_MODE_BOOT, false);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | RoSystemProperties.java | 35 SystemProperties.getBoolean("ro.config.avoid_gfx_accel", false); 37 SystemProperties.getBoolean("ro.config.low_ram", false); 39 SystemProperties.getBoolean("ro.config.small_battery", false); 43 SystemProperties.getBoolean("ro.fw.system_user_split", false);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | MockableSystemProperties.java | 31 public boolean getBoolean(String key, boolean def) { method in class:MockableSystemProperties 32 return SystemProperties.getBoolean(key, def);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | SystemPropertyService.java | 32 public boolean getBoolean(String key, boolean defaultValue) { method in class:SystemPropertyService 33 return android.os.SystemProperties.getBoolean(key, defaultValue);
|
H A D | PropertyService.java | 44 boolean getBoolean(String key, boolean defaultValue); method in interface:PropertyService
|
/frameworks/base/tests/ShowWhenLockedApp/src/com/android/showwhenlocked/ |
H A D | ShowWhenLockedActivity.java | 135 boolean showWhenLocked = extras.getBoolean(EXTRA_SHOW_WHEN_LOCKED, true); 141 boolean turnScreenOn = extras.getBoolean(EXTRA_TURN_SCREEN_ON, true); 147 showWhenLockedAtStop = extras.getBoolean(EXTRA_SHOW_WHEN_LOCKED_STOP, true); 152 turnScreenOnAtStop = extras.getBoolean(EXTRA_TURN_SCREEN_ON_STOP, true); 157 if (extras.getBoolean(EXTRA_DISMISS_KEYGUARD, false)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DozeParameters.java | 42 SystemProperties.getBoolean("debug.force_no_blanking", false); 98 return "fallback: " + mContext.getResources().getBoolean( 106 return getBoolean("doze.display.supported", R.bool.doze_display_state_supported); 110 return mContext.getResources().getBoolean(R.bool.doze_suspend_display_state_supported); 135 return getBoolean("doze.pulse.sigmotion", R.bool.doze_pulse_on_significant_motion); 139 return SystemProperties.getBoolean("doze.vibrate.sigmotion", false); 143 return SystemProperties.getBoolean("doze.vibrate.pickup", false); 147 return getBoolean("doze.pulse.proxcheck", R.bool.doze_proximity_check_before_pulse); 186 return !FORCE_NO_BLANKING && mContext.getResources().getBoolean( 207 private boolean getBoolean(Strin method in class:DozeParameters [all...] |
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransportParameters.java | 51 mFakeEncryptionFlag = parser.getBoolean(KEY_FAKE_ENCRYPTION_FLAG, false); 52 mIsNonIncrementalOnly = parser.getBoolean(KEY_NON_INCREMENTAL_ONLY, false);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | TetherUtil.java | 33 return configManager.getConfig().getBoolean(CarrierConfigManager 42 if (SystemProperties.getBoolean("net.tethering.noprovisioning", false)
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | AppLaunchChecker.java | 52 .getBoolean(KEY_STARTED_FROM_LAUNCHER, false); 68 if (sp.getBoolean(KEY_STARTED_FROM_LAUNCHER, false)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SmartReplyConstants.java | 56 mDefaultEnabled = resources.getBoolean( 58 mDefaultRequiresP = resources.getBoolean( 82 mEnabled = mParser.getBoolean(KEY_ENABLED, mDefaultEnabled); 83 mRequiresTargetingP = mParser.getBoolean(KEY_REQUIRES_TARGETING_P, mDefaultRequiresP);
|
/frameworks/support/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/ |
H A D | CarAlertDialogDemo.java | 87 if (args.getBoolean(HAS_TITLE_KEY)) { 91 if (args.getBoolean(HAS_BODY_KEY)) { 95 if (args.getBoolean(HAS_SINGLE_LINE_BODY_KEY)) { 99 if (args.getBoolean(HAS_ACTION_1_KEY)) { 104 if (args.getBoolean(HAS_ACTION_2_KEY)) {
|
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/ |
H A D | CarAlertDialogDemo.java | 87 if (args.getBoolean(HAS_TITLE_KEY)) { 91 if (args.getBoolean(HAS_BODY_KEY)) { 95 if (args.getBoolean(HAS_SINGLE_LINE_BODY_KEY)) { 99 if (args.getBoolean(HAS_ACTION_1_KEY)) { 104 if (args.getBoolean(HAS_ACTION_2_KEY)) {
|
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | TextClassificationConstants.java | 136 mSystemTextClassifierEnabled = parser.getBoolean( 139 mLocalTextClassifierEnabled = parser.getBoolean( 142 mModelDarkLaunchEnabled = parser.getBoolean( 145 mSmartSelectionEnabled = parser.getBoolean( 148 mSmartTextShareEnabled = parser.getBoolean( 151 mSmartLinkifyEnabled = parser.getBoolean( 154 mSmartSelectionAnimationEnabled = parser.getBoolean(
|
/frameworks/base/core/java/android/provider/ |
H A D | BlockedNumberContract.java | 268 return res != null && res.getBoolean(RES_NUMBER_IS_BLOCKED, false); 311 return res != null && res.getBoolean(RES_CAN_BLOCK_NUMBERS, false); 421 return res != null && res.getBoolean(RES_NUMBER_IS_BLOCKED, false); 436 return new BlockSuppressionStatus(res.getBoolean(RES_IS_BLOCKING_SUPPRESSED, false), 450 return res != null && res.getBoolean(RES_SHOW_EMERGENCY_CALL_NOTIFICATION, false); 477 return res != null && res.getBoolean(RES_ENHANCED_SETTING_IS_ENABLED, false);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
H A D | AutoAddTrackerTest.java | 60 assertTrue(Prefs.getBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true )); 61 assertFalse(Prefs.getBoolean(mContext, Key.QS_DATA_SAVER_ADDED, false)); 62 assertTrue(Prefs.getBoolean(mContext, Key.QS_WORK_ADDED, true)); 63 assertFalse(Prefs.getBoolean(mContext, Key.QS_WORK_ADDED, false));
|
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | BatterySaverPolicy.java | 381 mVibrationDisabledConfig = parser.getBoolean(KEY_VIBRATION_DISABLED, true); 382 mAnimationDisabled = parser.getBoolean(KEY_ANIMATION_DISABLED, false); 383 mSoundTriggerDisabled = parser.getBoolean(KEY_SOUNDTRIGGER_DISABLED, true); 384 mFullBackupDeferred = parser.getBoolean(KEY_FULLBACKUP_DEFERRED, true); 385 mKeyValueBackupDeferred = parser.getBoolean(KEY_KEYVALUE_DEFERRED, true); 386 mFireWallDisabled = parser.getBoolean(KEY_FIREWALL_DISABLED, false); 387 mAdjustBrightnessDisabled = parser.getBoolean(KEY_ADJUST_BRIGHTNESS_DISABLED, true); 389 mDataSaverDisabled = parser.getBoolean(KEY_DATASAVER_DISABLED, true); 390 mLaunchBoostDisabled = parser.getBoolean(KEY_LAUNCH_BOOST_DISABLED, true); 391 mForceAllAppsStandby = parser.getBoolean(KEY_FORCE_ALL_APPS_STANDB [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/system/ |
H A D | Settings.java | 94 public boolean getBoolean(String key) { method in class:Settings 119 mPreferStaticShadows = customizations.getBoolean( 129 mOutlineClippingDisabled = customizations.getBoolean( 149 public boolean getBoolean(String resourceName, boolean defaultValue) { method in class:Settings.Customizations 151 return resId > 0 ? mResources.getBoolean(resId) : defaultValue;
|
/frameworks/base/core/java/android/security/keymaster/ |
H A D | KeyCharacteristics.java | 143 public boolean getBoolean(int tag) { method in class:KeyCharacteristics 145 return hwEnforced.getBoolean(tag); 147 return swEnforced.getBoolean(tag);
|
/frameworks/base/core/java/com/android/internal/hardware/ |
H A D | AmbientDisplayConfiguration.java | 66 return mContext.getResources().getBoolean(R.bool.config_dozePulsePickup); 130 return mContext.getResources().getBoolean(R.bool.config_dozeAlwaysOnDisplayAvailable); 134 return SystemProperties.getBoolean("debug.doze.aod", false) && Build.IS_DEBUGGABLE;
|
/frameworks/base/core/java/android/content/ |
H A D | SyncAdaptersCache.java | 71 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true); 73 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading, 76 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, 79 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs,
|
/frameworks/base/core/java/com/android/server/ |
H A D | NetworkManagementSocketTagger.java | 91 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { 113 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { 127 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { 137 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
H A D | PluginPrefs.java | 55 return context.getSharedPreferences(PREFS, 0).getBoolean(HAS_PLUGINS, false);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | CarStatusBarKeyguardViewManager.java | 20 .getBoolean(R.bool.config_hideNavWhenKeyguardBouncerShown);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | SimpleInflater.java | 139 itemCheckable = a.getBoolean(R.styleable.MenuItem_android_checkable, false) ? 1 : 0; 141 boolean itemChecked = a.getBoolean(R.styleable.MenuItem_android_checked, false); 142 boolean itemVisible = a.getBoolean(R.styleable.MenuItem_android_visible, false); 143 boolean itemEnabled = a.getBoolean(R.styleable.MenuItem_android_enabled, false);
|