Home
last modified time | relevance | path

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

123456789

/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()
DSyncOperation.java73 if (!extras.getBoolean(extraName, false)) { in removeFalseExtra()
116 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false); in isInitialization()
120 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false); in isExpedited()
124 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false); in ignoreBackoff()
/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/src/com/android/uiautomator/core/
DUiSelector.java231 boolean getBoolean(int criterion) { in getBoolean() method in UiSelector
250 if (node.isChecked() != getBoolean(criterion)) { in isMatchFor()
261 if (node.isClickable() != getBoolean(criterion)) { in isMatchFor()
306 if(node.isEnabled() != getBoolean(criterion)) { in isMatchFor()
311 if(node.isFocusable() != getBoolean(criterion)) { in isMatchFor()
316 if(node.isFocused() != getBoolean(criterion)) { in isMatchFor()
329 if(node.isScrollable() != getBoolean(criterion)) { in isMatchFor()
334 if(node.isSelected() != getBoolean(criterion)) { in isMatchFor()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java341 return getBoolean(PATTERN_EVER_CHOSEN_KEY, false); in isPatternEverChosen()
351 return getBoolean(BIOMETRIC_WEAK_EVER_CHOSEN_KEY, false); in isBiometricWeakEverChosen()
825 return getBoolean(Settings.Secure.LOCK_PATTERN_ENABLED, false) in isLockPatternEnabled()
888 return getBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE, false); in isVisiblePatternEnabled()
902 return getBoolean(Settings.Secure.LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED, false); in isTactileFeedbackEnabled()
943 return getBoolean(LOCKOUT_PERMANENT_KEY, false); in isPermanentlyLocked()
959 return mContext.getResources().getBoolean( in isEmergencyCallCapable()
964 return mContext.getResources().getBoolean( in isPukUnlockScreenEnable()
969 return mContext.getResources().getBoolean( in isEmergencyCallEnabledWhileSimLocked()
986 private boolean getBoolean(String secureSettingKey, boolean defaultValue) { in getBoolean() method in LockPatternUtils
[all …]
DILockSettings.aidl24 boolean getBoolean(in String key, in boolean defaultValue, in int userId); in getBoolean() method
/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/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/base/core/java/android/server/
DBluetoothAdapterStateMachine.java230 } else if (mContext.getResources().getBoolean in processMessage()
469 if (mContext.getResources().getBoolean in processMessage()
478 if (mContext.getResources().getBoolean in processMessage()
497 if (mContext.getResources().getBoolean in processMessage()
508 if (mContext.getResources().getBoolean in processMessage()
640 if (!mContext.getResources().getBoolean in processMessage()
659 if (mContext.getResources().getBoolean in processMessage()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java57 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs); in hasEmbeddedTabs()
62 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs_pre_jb); in hasEmbeddedTabs()
/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/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/core/java/android/content/pm/
DPackageParser.java1030 if (sa.getBoolean( in parsePackage()
1038 if (sa.getBoolean( in parsePackage()
1061 if (sa.getBoolean( in parsePackage()
1636 a.info.handleProfiling = sa.getBoolean( in parseInstrumentation()
1640 a.info.functionalTest = sa.getBoolean( in parseInstrumentation()
1690 boolean allowBackup = sa.getBoolean( in parseApplication()
1706 if (sa.getBoolean( in parseApplication()
1711 if (sa.getBoolean( in parseApplication()
1735 if (sa.getBoolean( in parseApplication()
1742 if (sa.getBoolean( in parseApplication()
[all …]
/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()
/frameworks/base/services/java/com/android/server/location/
DGpsLocationProvider.java971 if (extras.getBoolean("ephemeris")) flags |= GPS_DELETE_EPHEMERIS; in deleteAidingData()
972 if (extras.getBoolean("almanac")) flags |= GPS_DELETE_ALMANAC; in deleteAidingData()
973 if (extras.getBoolean("position")) flags |= GPS_DELETE_POSITION; in deleteAidingData()
974 if (extras.getBoolean("time")) flags |= GPS_DELETE_TIME; in deleteAidingData()
975 if (extras.getBoolean("iono")) flags |= GPS_DELETE_IONO; in deleteAidingData()
976 if (extras.getBoolean("utc")) flags |= GPS_DELETE_UTC; in deleteAidingData()
977 if (extras.getBoolean("health")) flags |= GPS_DELETE_HEALTH; in deleteAidingData()
978 if (extras.getBoolean("svdir")) flags |= GPS_DELETE_SVDIR; in deleteAidingData()
979 if (extras.getBoolean("svsteer")) flags |= GPS_DELETE_SVSTEER; in deleteAidingData()
980 if (extras.getBoolean("sadata")) flags |= GPS_DELETE_SADATA; in deleteAidingData()
[all …]
/frameworks/base/location/java/android/location/
DLocationManager.java270 provider.setRequiresNetwork(info.getBoolean("network")); in createProvider()
271 provider.setRequiresSatellite(info.getBoolean("satellite")); in createProvider()
272 provider.setRequiresCell(info.getBoolean("cell")); in createProvider()
273 provider.setHasMonetaryCost(info.getBoolean("cost")); in createProvider()
274 provider.setSupportsAltitude(info.getBoolean("altitude")); in createProvider()
275 provider.setSupportsSpeed(info.getBoolean("speed")); in createProvider()
276 provider.setSupportsBearing(info.getBoolean("bearing")); in createProvider()
/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/telephony/java/android/telephony/
DServiceState.java596 mRoaming = m.getBoolean("roaming"); in setFromNotifierBundle()
600 mIsManualNetworkSelection = m.getBoolean("manual"); in setFromNotifierBundle()
602 mCssIndicator = m.getBoolean("cssIndicator"); in setFromNotifierBundle()
607 mIsEmergencyOnly = m.getBoolean("emergencyOnly"); in setFromNotifierBundle()
/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()
DPreference.java244 mEnabled = a.getBoolean(attr, true); in Preference()
248 mSelectable = a.getBoolean(attr, true); in Preference()
252 mPersistent = a.getBoolean(attr, mPersistent); in Preference()
264 mShouldDisableView = a.getBoolean(attr, mShouldDisableView); in Preference()
1630 return mPreferenceManager.getSharedPreferences().getBoolean(mKey, defaultReturnValue); in getPersistedBoolean()
/frameworks/base/core/java/android/webkit/
DHTML5VideoFullScreen.java188 || data.getBoolean(Metadata.PAUSE_AVAILABLE); in onPrepared()
190 || data.getBoolean(Metadata.SEEK_BACKWARD_AVAILABLE); in onPrepared()
192 || data.getBoolean(Metadata.SEEK_FORWARD_AVAILABLE); in onPrepared()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java434 public boolean getBoolean(String property, boolean def) { in getBoolean() method in TypedProperties
599 public boolean getBoolean(String property) { in getBoolean() method in TypedProperties
600 return getBoolean(property, false); in getBoolean()
/frameworks/support/v4/java/android/support/v4/app/
DDialogFragment.java281 mCancelable = savedInstanceState.getBoolean(SAVED_CANCELABLE, true); in onCreate()
282 mShowsDialog = savedInstanceState.getBoolean(SAVED_SHOWS_DIALOG, mShowsDialog); in onCreate()

123456789