HomeSort by relevance Sort by last modified time
    Searched defs:getBoolean (Results 126 - 150 of 602) sorted by null

1 2 3 4 56 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ArrayTest.java 45 assertEquals(booleans[0], Array.getBoolean(booleans, 0));
46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {}
47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {}
48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {}
50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {}
51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {}
52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
53 try { Array.getBoolean(null, 0); fail(); } catch (NullPointerException expected) {}
  /libcore/ojluni/src/main/java/sun/misc/
Unsafe.java 315 public native boolean getBoolean(Object obj, long offset);
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
AdapterServiceTest.java 111 when(mMockResources.getBoolean(R.bool.profile_supported_gatt)).thenReturn(true);
112 when(mMockResources.getBoolean(R.bool.profile_supported_pbap)).thenReturn(true);
113 when(mMockResources.getBoolean(R.bool.profile_supported_pan)).thenReturn(true);
267 when(mockResources.getBoolean(R.bool.profile_supported_gatt)).thenReturn(true);
431 SystemProperties.getBoolean(AdapterService.BLUETOOTH_BTSNOOP_ENABLE_PROPERTY,
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
SortingCursorWrapperTest.java 488 assertTrue(actual.getBoolean(DocumentsContract.EXTRA_LOADING, false));
  /packages/apps/LegacyCamera/src/com/android/camera/
ComboPreferences.java 116 public boolean getBoolean(String key, boolean defValue) {
118 return mPrefGlobal.getBoolean(key, defValue);
120 return mPrefLocal.getBoolean(key, defValue);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
ActionBatch.java 146 res.getBoolean(R.bool.dict_downloads_visible_in_download_UI));
  /packages/services/Telephony/src/com/android/phone/
GsmUmtsCallForwardOptions.java 65 mReplaceInvalidCFNumbers = carrierConfig.getConfig().getBoolean(
112 pref.setToggled(bundle.getBoolean(KEY_TOGGLE));
  /libcore/luni/src/test/java/libcore/java/util/prefs/
OldPreferencesTest.java 84 p.getBoolean(null, false);
199 pref.getBoolean(null, false);
206 assertFalse(pref.getBoolean("testGetBooleanKey", true));
207 assertTrue(pref.getBoolean("testGetBooleanKey2", true));
479 assertFalse(pref.getBoolean("testPutBooleanKey", true));
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
BundleTest.java 74 assertTrue(b2.getBoolean(KEY));
107 assertEquals(mBundle.getBoolean(BOOLEANKEY), cloneBundle.getBoolean(BOOLEANKEY));
132 assertFalse(mBundle.getBoolean(KEY));
134 assertTrue(mBundle.getBoolean(KEY));
136 assertTrue(mBundle.getBoolean(KEY));
140 assertTrue(mBundle.getBoolean(KEY, true));
142 assertFalse(mBundle.getBoolean(KEY, true));
144 assertFalse(mBundle.getBoolean(KEY, true));
    [all...]
  /art/test/100-reflect2/src/
Main.java 34 System.out.println(f.getBoolean(null));
68 System.out.println(f.getBoolean(null));
103 System.out.println(f.getBoolean(null));
  /cts/tests/tests/content/src/android/content/res/cts/
TypedArrayTest.java 119 assertTrue(t.getBoolean(R.styleable.style1_type1, false));
120 assertFalse(t.getBoolean(R.styleable.style1_type2, true));
  /developers/build/prebuilts/gradle/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
MovieView.java 131 attributes.getBoolean(R.styleable.MovieView_android_adjustViewBounds, false));
  /developers/samples/android/media/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
MovieView.java 131 attributes.getBoolean(R.styleable.MovieView_android_adjustViewBounds, false));
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
JSONObject.java 531 public boolean getBoolean(String key) throws JSONException {
810 return getBoolean(key);
    [all...]
  /external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
Extension.java 481 output.writeBoolNoTag(Array.getBoolean(array, i));
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBundle.java 133 public boolean getBoolean(String key) {
134 return getBoolean(key, false);
138 public boolean getBoolean(String key, boolean defaultValue) {
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
UiSelector.java 645 boolean getBoolean(int criterion) {
668 if (node.isChecked() != getBoolean(criterion)) {
685 if (node.isClickable() != getBoolean(criterion)) {
690 if (node.isCheckable() != getBoolean(criterion)) {
695 if (node.isLongClickable() != getBoolean(criterion)) {
752 if (node.isEnabled() != getBoolean(criterion)) {
757 if (node.isFocusable() != getBoolean(criterion)) {
762 if (node.isFocused() != getBoolean(criterion)) {
781 if (node.isScrollable() != getBoolean(criterion)) {
786 if (node.isSelected() != getBoolean(criterion))
    [all...]
  /frameworks/base/core/java/android/content/
RestrictionsManager.java 649 a.getBoolean(R.styleable.RestrictionEntry_defaultValue, false));
  /frameworks/base/core/java/android/content/res/
TypedArray.java 326 public boolean getBoolean(@StyleableRes int index, boolean defValue) {
348 throw new RuntimeException("getBoolean of bad type: 0x" + Integer.toHexString(type));
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/
NotificationTest.java 235 assertTrue(notification.extras.getBoolean(Notification.EXTRA_IS_GROUP_CONVERSATION));
251 assertTrue(notification.extras.getBoolean(Notification.EXTRA_IS_GROUP_CONVERSATION));
268 assertFalse(notification.extras.getBoolean(Notification.EXTRA_IS_GROUP_CONVERSATION));
285 assertTrue(notification.extras.getBoolean(Notification.EXTRA_IS_GROUP_CONVERSATION));
  /frameworks/base/media/java/android/media/
Metadata.java 458 public boolean getBoolean(final int key) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DreamBackend.java 105 .getBoolean(com.android.internal.R.bool.config_dreamsEnabledByDefault);
107 .getBoolean(com.android.internal.R.bool.config_dreamsActivatedOnSleepByDefault);
109 .getBoolean(com.android.internal.R.bool.config_dreamsActivatedOnDockByDefault);
199 return getBoolean(Settings.Secure.SCREENSAVER_ENABLED, mDreamsEnabledByDefault);
208 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK,
218 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP,
227 private boolean getBoolean(String key, boolean def) {
  /frameworks/layoutlib/bridge/src/android/content/res/
Resources_Delegate.java 674 static boolean getBoolean(Resources resources, int id) throws NotFoundException {
    [all...]
  /frameworks/support/preference/src/androidTest/java/androidx/preference/tests/
PreferenceDataStoreTest.java 168 when(mDataStore.getBoolean(anyString(), anyBoolean())).thenReturn(true);
186 when(mDataStore.getBoolean(anyString(), anyBoolean())).thenReturn(true);
484 verify(mDataStore, atLeast(0)).getBoolean(eq(KEY), anyBoolean());
489 assertEquals(false, mSharedPref.getBoolean(KEY, false));
498 mPreference.getBoolean(true);
500 verify(mDataStore, atLeastOnce()).getBoolean(eq(KEY), eq(true));
509 mPreference.getBoolean(true);
511 verify(mDataStore, atLeastOnce()).getBoolean(eq(KEY), eq(true));
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/graphics/drawable/
DrawerArrowDrawable.java 140 setSpinEnabled(a.getBoolean(R.styleable.DrawerArrowToggle_spinBars, true));

Completed in 783 milliseconds

1 2 3 4 56 7 8 91011>>