/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeParameters.java | 70 return getBoolean("doze.display.supported", R.bool.doze_display_state_supported); in getDisplayStateSupported() 98 return getBoolean("doze.pulse.sigmotion", R.bool.doze_pulse_on_significant_motion); in getPulseOnSigMotion() 102 return SystemProperties.getBoolean("doze.vibrate.sigmotion", false); in getVibrateOnSigMotion() 106 return getBoolean("doze.pulse.pickup", R.bool.doze_pulse_on_pick_up); in getPulseOnPickup() 110 return SystemProperties.getBoolean("doze.vibrate.pickup", false); in getVibrateOnPickup() 114 return getBoolean("doze.pulse.proxcheck", R.bool.doze_proximity_check_before_pulse); in getProxCheckBeforePulse() 118 return getBoolean("doze.pickup.proxcheck", R.bool.doze_pickup_performs_proximity_check); in getPickupPerformsProxCheck() 122 return getBoolean("doze.pulse.notifications", R.bool.doze_pulse_on_notifications); in getPulseOnNotifications() 141 private boolean getBoolean(String propName, int resId) { in getBoolean() method in DozeParameters 142 return SystemProperties.getBoolean(propName, mContext.getResources().getBoolean(resId)); in getBoolean()
|
/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 79 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in tagSocketFd() 101 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in unTagSocketFd() 115 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in setKernelCounterSet() 125 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in resetKernelUidStats()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/ |
D | Settings.java | 76 public boolean getBoolean(String key) { in getBoolean() method in Settings 99 mPreferStaticShadows = customizations.getBoolean( in generateShadowSetting() 119 public boolean getBoolean(String resourceName, boolean defaultValue) { in getBoolean() method in Settings.Customizations 121 return resId > 0 ? mResources.getBoolean(resId) : defaultValue; in getBoolean()
|
/frameworks/support/v4/java/android/support/v4/content/res/ |
D | TypedArrayUtils.java | 29 public static boolean getBoolean(TypedArray a, @StyleableRes int index, in getBoolean() method in TypedArrayUtils 31 boolean val = a.getBoolean(fallbackIndex, defaultValue); in getBoolean() 32 return a.getBoolean(index, val); in getBoolean()
|
/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/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 128 if (!this.extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false)) { in SyncOperation() 175 if (!bundle.getBoolean(extraName, false)) { in removeFalseExtra() 264 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false); in isInitialization() 272 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false); in ignoreBackoff() 276 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_DISALLOW_METERED, false); in isNotAllowedOnMetered() 280 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, false); in isManual() 284 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, false); in isIgnoreSettings()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsManager.java | 1597 config.getBoolean(MMS_CONFIG_APPEND_TRANSACTION_ID)); in getMmsConfig() 1598 filtered.putBoolean(MMS_CONFIG_MMS_ENABLED, config.getBoolean(MMS_CONFIG_MMS_ENABLED)); in getMmsConfig() 1600 config.getBoolean(MMS_CONFIG_GROUP_MMS_ENABLED)); in getMmsConfig() 1602 config.getBoolean(MMS_CONFIG_NOTIFY_WAP_MMSC_ENABLED)); in getMmsConfig() 1603 filtered.putBoolean(MMS_CONFIG_ALIAS_ENABLED, config.getBoolean(MMS_CONFIG_ALIAS_ENABLED)); in getMmsConfig() 1605 config.getBoolean(MMS_CONFIG_ALLOW_ATTACH_AUDIO)); in getMmsConfig() 1607 config.getBoolean(MMS_CONFIG_MULTIPART_SMS_ENABLED)); in getMmsConfig() 1609 config.getBoolean(MMS_CONFIG_SMS_DELIVERY_REPORT_ENABLED)); in getMmsConfig() 1611 config.getBoolean(MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION)); in getMmsConfig() 1613 config.getBoolean(MMS_CONFIG_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES)); in getMmsConfig() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatTextHelper.java | 52 setAllCaps(appearance.getBoolean(R.styleable.TextAppearance_textAllCaps, false)); in loadFromAttributes() 60 setAllCaps(a.getBoolean(0, false)); in loadFromAttributes() 91 setAllCaps(appearance.getBoolean(0, false)); in onSetTextAppearance()
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeyCharacteristics.java | 143 public boolean getBoolean(int tag) { in getBoolean() method in KeyCharacteristics 145 return hwEnforced.getBoolean(tag); in getBoolean() 147 return swEnforced.getBoolean(tag); in getBoolean()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | LocalPreferences.java | 28 .getBoolean(KEY_ADVANCED_DEVICES, false); in getDisplayAdvancedDevices() 33 .getBoolean(KEY_FILE_SIZE, false); in getDisplayFileSize()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiSelector.java | 642 boolean getBoolean(int criterion) { in getBoolean() method in UiSelector 665 if (node.isChecked() != getBoolean(criterion)) { in isMatchFor() 682 if (node.isClickable() != getBoolean(criterion)) { in isMatchFor() 687 if (node.isCheckable() != getBoolean(criterion)) { in isMatchFor() 692 if (node.isLongClickable() != getBoolean(criterion)) { in isMatchFor() 749 if (node.isEnabled() != getBoolean(criterion)) { in isMatchFor() 754 if (node.isFocusable() != getBoolean(criterion)) { in isMatchFor() 759 if (node.isFocused() != getBoolean(criterion)) { in isMatchFor() 778 if (node.isScrollable() != getBoolean(criterion)) { in isMatchFor() 783 if (node.isSelected() != getBoolean(criterion)) { in isMatchFor()
|
/frameworks/base/core/java/android/content/ |
D | SyncAdaptersCache.java | 70 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true); in parseServiceAttributes() 72 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading, in parseServiceAttributes() 75 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, in parseServiceAttributes() 78 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs, in parseServiceAttributes()
|
D | ContentResolver.java | 2052 if (extras.getBoolean(SYNC_EXTRAS_MANUAL, false) in addPeriodicSync() 2053 || extras.getBoolean(SYNC_EXTRAS_DO_NOT_RETRY, false) in addPeriodicSync() 2054 || extras.getBoolean(SYNC_EXTRAS_IGNORE_BACKOFF, false) in addPeriodicSync() 2055 || extras.getBoolean(SYNC_EXTRAS_IGNORE_SETTINGS, false) in addPeriodicSync() 2056 || extras.getBoolean(SYNC_EXTRAS_INITIALIZE, false) in addPeriodicSync() 2057 || extras.getBoolean(SYNC_EXTRAS_FORCE, false) in addPeriodicSync() 2058 || extras.getBoolean(SYNC_EXTRAS_EXPEDITED, false)) { in addPeriodicSync() 2077 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, false) in invalidPeriodicExtras() 2078 || extras.getBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, false) in invalidPeriodicExtras() 2079 || extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false) in invalidPeriodicExtras() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsConfiguration.java | 184 debugModeEnabled = Prefs.getBoolean(context, Prefs.Key.DEBUG_MODE_ENABLED, in update() 192 hasTransposedSearchBar = res.getBoolean(R.bool.recents_has_transposed_search_bar); in update() 193 hasTransposedNavBar = res.getBoolean(R.bool.recents_has_transposed_nav_bar); in update() 268 useHardwareLayers = res.getBoolean(R.bool.config_recents_use_hardware_layers); in update() 270 fakeShadows = res.getBoolean(R.bool.config_recents_fake_shadows); in update()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | ApplicationRestrictionsTest.java | 114 assertTrue(returned.getBoolean("KEY_BOOLEAN")); in testRestrictionTypes() 115 assertFalse(returned.getBoolean("KEY_BOOLEAN_2")); in testRestrictionTypes() 116 assertFalse(returned.getBoolean("KEY_BOOLEAN_3")); in testRestrictionTypes()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 56 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs); in hasEmbeddedTabs() 61 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs_pre_jb); in hasEmbeddedTabs()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
D | SupportMenuInflater.java | 356 groupVisible = a.getBoolean(R.styleable.MenuGroup_android_visible, defaultItemVisible); in readGroup() 357 groupEnabled = a.getBoolean(R.styleable.MenuGroup_android_enabled, defaultItemEnabled); in readGroup() 383 itemCheckable = a.getBoolean(R.styleable.MenuItem_android_checkable, false) ? 1 : 0; in readItem() 389 itemChecked = a.getBoolean(R.styleable.MenuItem_android_checked, defaultItemChecked); in readItem() 390 itemVisible = a.getBoolean(R.styleable.MenuItem_android_visible, groupVisible); in readItem() 391 itemEnabled = a.getBoolean(R.styleable.MenuItem_android_enabled, groupEnabled); in readItem()
|
D | ActionBarPolicy.java | 64 return mContext.getResources().getBoolean(R.bool.abc_action_bar_embed_tabs); in hasEmbeddedTabs() 69 return mContext.getResources().getBoolean(R.bool.abc_action_bar_embed_tabs_pre_jb); in hasEmbeddedTabs()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 91 restrictions.getBoolean(UserManager.DISALLOW_CONFIG_WIFI)); in testAddUser() 213 assertEquals(stored.getBoolean(UserManager.DISALLOW_CONFIG_WIFI), false); in testRestrictions() 214 assertEquals(stored.getBoolean(UserManager.DISALLOW_UNINSTALL_APPS), false); in testRestrictions() 215 assertEquals(stored.getBoolean(UserManager.DISALLOW_INSTALL_APPS), true); in testRestrictions()
|
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/ |
D | SampleTrustAgent.java | 188 return sharedPreferences.getBoolean(PREFERENCE_REPORT_UNLOCK_ATTEMPTS, false); in getReportUnlockAttempts() 200 return sharedPreferences.getBoolean(PREFERENCE_REPORT_DEVICE_LOCKED, false); in getReportDeviceLocked() 212 return sharedPreferences.getBoolean(PREFERENCE_MANAGING_TRUST, false); in getIsManagingTrust()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 1524 if (sa.getBoolean( in parseBaseApk() 1532 if (sa.getBoolean( in parseBaseApk() 1902 if (sa.getBoolean( in parseUsesFeature() 2371 a.info.handleProfiling = sa.getBoolean( in parseInstrumentation() 2375 a.info.functionalTest = sa.getBoolean( in parseInstrumentation() 2433 boolean allowBackup = sa.getBoolean( in parseBaseApplication() 2450 if (sa.getBoolean( in parseBaseApplication() 2455 if (sa.getBoolean( in parseBaseApplication() 2460 if (sa.getBoolean( in parseBaseApplication() 2500 if (sa.getBoolean( in parseBaseApplication() [all …]
|
/frameworks/base/core/java/android/service/dreams/ |
D | Sandman.java | 110 int def = context.getResources().getBoolean( in isScreenSaverEnabled() 118 int def = context.getResources().getBoolean( in isScreenSaverActivatedOnDock()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | StateListDrawable.java | 132 state.mVariablePadding = a.getBoolean( in updateStateFromTypedArray() 134 state.mConstantSize = a.getBoolean( in updateStateFromTypedArray() 140 state.mDither = a.getBoolean( in updateStateFromTypedArray() 142 state.mAutoMirrored = a.getBoolean( in updateStateFromTypedArray()
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 372 …groupVisible = a.getBoolean(com.android.internal.R.styleable.MenuGroup_visible, defaultItemVisible… in readGroup() 373 …groupEnabled = a.getBoolean(com.android.internal.R.styleable.MenuGroup_enabled, defaultItemEnabled… in readGroup() 399 … itemCheckable = a.getBoolean(com.android.internal.R.styleable.MenuItem_checkable, false) ? 1 : 0; in readItem() 405 … itemChecked = a.getBoolean(com.android.internal.R.styleable.MenuItem_checked, defaultItemChecked); in readItem() 406 … itemVisible = a.getBoolean(com.android.internal.R.styleable.MenuItem_visible, groupVisible); in readItem() 407 … itemEnabled = a.getBoolean(com.android.internal.R.styleable.MenuItem_enabled, groupEnabled); in readItem()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerMetadataParserTest.java | 287 assertEquals(true, mMetadata.getBoolean(Metadata.PAUSE_AVAILABLE)); in testGetBoolean() 288 assertEquals(true, mMetadata.getBoolean(Metadata.SEEK_AVAILABLE)); in testGetBoolean() 289 assertEquals(true, mMetadata.getBoolean(Metadata.SEEK_BACKWARD_AVAILABLE)); in testGetBoolean() 290 assertEquals(true, mMetadata.getBoolean(Metadata.SEEK_FORWARD_AVAILABLE)); in testGetBoolean()
|