Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/java/android/content/
DSyncAdaptersCache.java59 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true); in parseServiceAttributes()
61 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading, in parseServiceAttributes()
64 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, in parseServiceAttributes()
67 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs, in parseServiceAttributes()
/frameworks/base/core/java/com/android/server/
DNetworkManagementSocketTagger.java79 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/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/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java648 boolean getBoolean(int criterion) { in getBoolean() method in UiSelector
671 if (node.isChecked() != getBoolean(criterion)) { in isMatchFor()
688 if (node.isClickable() != getBoolean(criterion)) { in isMatchFor()
693 if (node.isCheckable() != getBoolean(criterion)) { in isMatchFor()
698 if (node.isLongClickable() != getBoolean(criterion)) { in isMatchFor()
755 if (node.isEnabled() != getBoolean(criterion)) { in isMatchFor()
760 if (node.isFocusable() != getBoolean(criterion)) { in isMatchFor()
765 if (node.isFocused() != getBoolean(criterion)) { in isMatchFor()
784 if (node.isScrollable() != getBoolean(criterion)) { in isMatchFor()
789 if (node.isSelected() != getBoolean(criterion)) { in isMatchFor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDoNotDisturb.java40 mDoNotDisturb = mPrefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF, Prefs.DO_NOT_DISTURB_DEFAULT); in DoNotDisturb()
45 final boolean val = prefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF, in onSharedPreferenceChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java70 restrictions.getBoolean(UserManager.DISALLOW_CONFIG_WIFI)); in testAddUser()
154 assertEquals(stored.getBoolean(UserManager.DISALLOW_CONFIG_WIFI), false); in testRestrictions()
155 assertEquals(stored.getBoolean(UserManager.DISALLOW_UNINSTALL_APPS), false); in testRestrictions()
156 assertEquals(stored.getBoolean(UserManager.DISALLOW_INSTALL_APPS), true); in testRestrictions()
/frameworks/base/services/java/com/android/server/content/
DSyncOperation.java98 if (!extras.getBoolean(extraName, false)) { in removeFalseExtra()
174 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false); in isInitialization()
178 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false); in isExpedited()
182 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false); in ignoreBackoff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDoNotDisturbController.java44 mDoNotDisturb = mPrefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF, Prefs.DO_NOT_DISTURB_DEFAULT); in DoNotDisturbController()
65 final boolean val = prefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF, in onSharedPreferenceChanged()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DSupportMenuInflater.java337 groupVisible = a.getBoolean(R.styleable.MenuGroup_android_visible, defaultItemVisible); in readGroup()
338 groupEnabled = a.getBoolean(R.styleable.MenuGroup_android_enabled, defaultItemEnabled); in readGroup()
364 itemCheckable = a.getBoolean(R.styleable.MenuItem_android_checkable, false) ? 1 : 0; in readItem()
370 itemChecked = a.getBoolean(R.styleable.MenuItem_android_checked, defaultItemChecked); in readItem()
371 itemVisible = a.getBoolean(R.styleable.MenuItem_android_visible, groupVisible); in readItem()
372 itemEnabled = a.getBoolean(R.styleable.MenuItem_android_enabled, groupEnabled); in readItem()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java61 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs); in hasEmbeddedTabs()
66 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs_pre_jb); in hasEmbeddedTabs()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java374 return getBoolean(PATTERN_EVER_CHOSEN_KEY, false); in isPatternEverChosen()
384 return getBoolean(BIOMETRIC_WEAK_EVER_CHOSEN_KEY, false); in isBiometricWeakEverChosen()
546 return getBoolean(LOCK_SCREEN_OWNER_INFO_ENABLED, false); in isOwnerInfoEnabled()
893 return getBoolean(Settings.Secure.LOCK_PATTERN_ENABLED, false) in isLockPatternEnabled()
956 return getBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE, false); in isVisiblePatternEnabled()
1005 return getBoolean(LOCKOUT_PERMANENT_KEY, false); in isPermanentlyLocked()
1021 return mContext.getResources().getBoolean( in isEmergencyCallCapable()
1026 return mContext.getResources().getBoolean( in isPukUnlockScreenEnable()
1031 return mContext.getResources().getBoolean( in isEmergencyCallEnabledWhileSimLocked()
1048 private boolean getBoolean(String secureSettingKey, boolean defaultValue) { in getBoolean() method in LockPatternUtils
[all …]
/frameworks/base/core/java/android/service/dreams/
DSandman.java109 int def = context.getResources().getBoolean( in isScreenSaverEnabled()
117 int def = context.getResources().getBoolean( in isScreenSaverActivatedOnDock()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java91 if (SystemProperties.getBoolean(DEPRECATED_CHROMIUM_PROPERTY, false)) { in isExperimentalWebViewEnabled()
96 return SystemProperties.getBoolean(WEBVIEW_EXPERIMENTAL_PROPERTY, false); in isExperimentalWebViewEnabled()
DHTML5VideoFullScreen.java205 || data.getBoolean(Metadata.PAUSE_AVAILABLE); in onPrepared()
207 || data.getBoolean(Metadata.SEEK_BACKWARD_AVAILABLE); in onPrepared()
209 || data.getBoolean(Metadata.SEEK_FORWARD_AVAILABLE); in onPrepared()
/frameworks/base/core/java/android/view/
DMenuInflater.java330 …groupVisible = a.getBoolean(com.android.internal.R.styleable.MenuGroup_visible, defaultItemVisible… in readGroup()
331 …groupEnabled = a.getBoolean(com.android.internal.R.styleable.MenuGroup_enabled, defaultItemEnabled… in readGroup()
357 … itemCheckable = a.getBoolean(com.android.internal.R.styleable.MenuItem_checkable, false) ? 1 : 0; in readItem()
363 … itemChecked = a.getBoolean(com.android.internal.R.styleable.MenuItem_checked, defaultItemChecked); in readItem()
364 … itemVisible = a.getBoolean(com.android.internal.R.styleable.MenuItem_visible, groupVisible); in readItem()
365 … itemEnabled = a.getBoolean(com.android.internal.R.styleable.MenuItem_enabled, groupEnabled); in readItem()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerDialog.java68 hideFilterSearch = savedInstanceState.getBoolean(KEY_HIDE_FILTER_SEARCH); in onCreateView()
72 if (savedInstanceState != null && savedInstanceState.getBoolean(KEY_HAS_RESULTS, false)) { in onCreateView()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1057 if (sa.getBoolean( in parsePackage()
1065 if (sa.getBoolean( in parsePackage()
1088 if (sa.getBoolean( in parsePackage()
1714 a.info.handleProfiling = sa.getBoolean( in parseInstrumentation()
1718 a.info.functionalTest = sa.getBoolean( in parseInstrumentation()
1768 boolean allowBackup = sa.getBoolean( in parseApplication()
1784 if (sa.getBoolean( in parseApplication()
1789 if (sa.getBoolean( in parseApplication()
1813 if (sa.getBoolean( in parseApplication()
1820 if (sa.getBoolean( in parseApplication()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java287 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()
/frameworks/base/core/java/android/view/animation/
DAnimation.java94 = SystemProperties.getBoolean("log.closeguard.Animation", false);
237 …setFillEnabled(a.getBoolean(com.android.internal.R.styleable.Animation_fillEnabled, mFillEnabled)); in Animation()
238 … setFillBefore(a.getBoolean(com.android.internal.R.styleable.Animation_fillBefore, mFillBefore)); in Animation()
239 … setFillAfter(a.getBoolean(com.android.internal.R.styleable.Animation_fillAfter, mFillAfter)); in Animation()
248 …setDetachWallpaper(a.getBoolean(com.android.internal.R.styleable.Animation_detachWallpaper, false)… in Animation()
/frameworks/base/graphics/java/android/graphics/drawable/
DStateListDrawable.java123 mStateListState.setVariablePadding(a.getBoolean( in inflate()
125 mStateListState.setConstantSize(a.getBoolean( in inflate()
132 setDither(a.getBoolean(com.android.internal.R.styleable.StateListDrawable_dither, in inflate()
DBitmapDrawable.java501 setMipMap(a.getBoolean(com.android.internal.R.styleable.BitmapDrawable_mipMap, in inflate()
505 paint.setAntiAlias(a.getBoolean(com.android.internal.R.styleable.BitmapDrawable_antialias, in inflate()
507 paint.setFilterBitmap(a.getBoolean(com.android.internal.R.styleable.BitmapDrawable_filter, in inflate()
509 paint.setDither(a.getBoolean(com.android.internal.R.styleable.BitmapDrawable_dither, in inflate()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java188 return getPreferences().getBoolean(NETWORK_PREF, true); in trackNetwork()
192 return getPreferences().getBoolean(GPS_PREF, true); in trackGPS()
196 return getPreferences().getBoolean(DEBUG_PREF, false); in doDebugLogging()
200 return getPreferences().getBoolean(SIGNAL_PREF, false); in trackSignalStrength()
/frameworks/base/services/java/com/android/server/location/
DGpsLocationProvider.java978 if (extras.getBoolean("ephemeris")) flags |= GPS_DELETE_EPHEMERIS; in deleteAidingData()
979 if (extras.getBoolean("almanac")) flags |= GPS_DELETE_ALMANAC; in deleteAidingData()
980 if (extras.getBoolean("position")) flags |= GPS_DELETE_POSITION; in deleteAidingData()
981 if (extras.getBoolean("time")) flags |= GPS_DELETE_TIME; in deleteAidingData()
982 if (extras.getBoolean("iono")) flags |= GPS_DELETE_IONO; in deleteAidingData()
983 if (extras.getBoolean("utc")) flags |= GPS_DELETE_UTC; in deleteAidingData()
984 if (extras.getBoolean("health")) flags |= GPS_DELETE_HEALTH; in deleteAidingData()
985 if (extras.getBoolean("svdir")) flags |= GPS_DELETE_SVDIR; in deleteAidingData()
986 if (extras.getBoolean("svsteer")) flags |= GPS_DELETE_SVSTEER; in deleteAidingData()
987 if (extras.getBoolean("sadata")) flags |= GPS_DELETE_SADATA; in deleteAidingData()
[all …]
/frameworks/base/core/java/android/preference/
DRingtonePreference.java60 mShowDefault = a.getBoolean(com.android.internal.R.styleable.RingtonePreference_showDefault, in RingtonePreference()
62 mShowSilent = a.getBoolean(com.android.internal.R.styleable.RingtonePreference_showSilent, in RingtonePreference()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarActivityDelegate.java106 mHasActionBar = a.getBoolean(R.styleable.ActionBarWindow_windowActionBar, false); in onCreate()
107 mOverlayActionBar = a.getBoolean(R.styleable.ActionBarWindow_windowActionBarOverlay, false); in onCreate()

12345678910