Searched refs:getBoolean (Results 1 - 25 of 125) sorted by relevance

12345

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowSystemPropertiesTest.java104 assertThat(SystemProperties.getBoolean("newkey", false)).isFalse();
107 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue();
110 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue();
113 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue();
116 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue();
119 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue();
H A DShadowBundleTest.java57 public void getBoolean() { method in class:ShadowBundleTest
59 assertThat(bundle.getBoolean("foo")).isTrue();
60 assertThat(bundle.getBoolean("bar")).isFalse();
61 assertThat(bundle.getBoolean("bar", true)).isTrue();
81 assertThat(bundle.getBoolean("foo")).isFalse();
H A DShadowSharedPreferencesTest.java57 assertTrue(anotherSharedPreferences.getBoolean("boolean", false));
98 assertThat(anotherSharedPreferences.getBoolean("boolean", false)).isTrue();
118 assertTrue(anotherSharedPreferences.getBoolean("boolean", false));
161 assertFalse(anotherSharedPreferences.getBoolean("boolean", false));
/external/robolectric-shadows/resources/src/main/java/org/robolectric/
H A DRoboSettings.java15 useGlobalScheduler = Boolean.getBoolean("robolectric.scheduling.global");
/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DBooleanArrayListTest.java124 assertEquals(true, TERTIARY_LIST.getBoolean(0));
125 assertEquals(true, TERTIARY_LIST.getBoolean(1));
126 assertEquals(false, TERTIARY_LIST.getBoolean(2));
166 assertEquals(true, list.getBoolean(0));
169 assertEquals(false, list.getBoolean(1));
191 assertEquals(false, list.getBoolean(0));
194 assertEquals(false, list.getBoolean(1));
258 assertEquals(false, list.getBoolean(0));
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DTypedArrayTest.java32 assertThat(typedArray.getBoolean(0, true), equalTo(true));
33 assertThat(typedArray.getBoolean(0, false), equalTo(false));
/external/nist-sip/java/gov/nist/core/
H A DHost.java89 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES");
99 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES");
110 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES");
H A DHostNameParser.java69 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES");
80 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES");
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTypedArray.java18 public boolean getBoolean(int index, boolean defValue) { method in class:ShadowTypedArray
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/content/
H A DTestSharedPreferencesTest.java45 assertTrue(anotherSharedPreferences.getBoolean("boolean", false));
73 assertTrue(anotherSharedPreferences.getBoolean("boolean", false));
94 assertTrue(anotherSharedPreferences.getBoolean("boolean", false));
116 assertFalse(anotherSharedPreferences.getBoolean("boolean", false));
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
H A DTerminalManager.java91 wantKeyVibration = mPreferences.getBoolean(PreferenceConstants.BUMPY_ARROWS, true);
92 wantBellVibration = mPreferences.getBoolean(PreferenceConstants.BELL_VIBRATE, true);
93 wantAudible = mPreferences.getBoolean(PreferenceConstants.BELL, true);
268 wantAudible = sharedPreferences.getBoolean(PreferenceConstants.BELL, true);
282 wantBellVibration = sharedPreferences.getBoolean(PreferenceConstants.BELL_VIBRATE, true);
284 wantKeyVibration = sharedPreferences.getBoolean(PreferenceConstants.BUMPY_ARROWS, true);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowNotification.java89 ? realNotification.extras.getBoolean(Notification.EXTRA_SHOW_WHEN)
100 ? realNotification.extras.getBoolean(Notification.EXTRA_PROGRESS_INDETERMINATE)
118 ? realNotification.extras.getBoolean(Notification.EXTRA_SHOW_CHRONOMETER)
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
H A DWifiJsonParser.java87 if (j.has("is80211McRTTResponder") && j.getBoolean("is80211McRTTResponder")) {
90 if (j.has("passpointNetwork") && j.getBoolean("passpointNetwork")) {
100 scanResult.untrusted = j.getBoolean("untrusted");
/external/jarjar/src/main/com/tonicsystems/jarjar/
H A DMain.java91 boolean verbose = Boolean.getBoolean("verbose");
92 boolean skipManifest = Boolean.getBoolean("skipManifest");
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
H A DResourceLoaderTest.java29 assertThat(RuntimeEnvironment.application.getResources().getBoolean(R.bool.different_resource_boolean)).isEqualTo(false);
35 assertThat(RuntimeEnvironment.application.getResources().getBoolean(R.bool.different_resource_boolean)).isEqualTo(true);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
H A DBluetoothLeAdvertisingSetFacade.java148 builder.setIncludeDeviceName(params.getBoolean(key));
150 builder.setIncludeTxPowerLevel(params.getBoolean(key));
170 builder.setConnectable(params.getBoolean(key));
172 builder.setScannable(params.getBoolean(key));
174 builder.setLegacyMode(params.getBoolean(key));
176 builder.setAnonymous(params.getBoolean(key));
178 builder.setIncludeTxPower(params.getBoolean(key));
207 builder.setIncludeTxPower(params.getBoolean(key));
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
H A DBasicComponent.java30 boolean getBoolean(); method in interface:BasicComponent
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
H A DLogger.java89 return Boolean.getBoolean(LOGGING_ENABLED);
/external/swiftshader/src/Common/
H A DConfigurator.hpp34 bool getBoolean(std::string sectionName, std::string valueName, bool defaultValue = false) const;
/external/nist-sip/java/gov/nist/javax/sip/address/
H A DNetObject.java123 if (f.getBoolean(this) != g.getBoolean(that))
213 if (f.getBoolean(this) != g.getBoolean(that))
324 boolean booleanField = f.getBoolean(this);
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSIPObject.java125 if (f.getBoolean(this) != g.getBoolean(that))
215 if (f.getBoolean(this) != g.getBoolean(that))
331 boolean booleanField = f.getBoolean(this);
/external/swiftshader/src/Main/
H A DSwiftConfig.cpp730 config.perspectiveCorrection = ini.getBoolean("Quality", "PerspectiveCorrection", true);
734 config.enableSSE = ini.getBoolean("Processor", "EnableSSE", true);
735 config.enableSSE2 = ini.getBoolean("Processor", "EnableSSE2", true);
736 config.enableSSE3 = ini.getBoolean("Processor", "EnableSSE3", true);
737 config.enableSSSE3 = ini.getBoolean("Processor", "EnableSSSE3", true);
738 config.enableSSE4_1 = ini.getBoolean("Processor", "EnableSSE4_1", true);
745 config.disableServer = ini.getBoolean("Testing", "DisableServer", false);
746 config.forceWindowed = ini.getBoolean("Testing", "ForceWindowed", false);
747 config.complementaryDepthBuffer = ini.getBoolean("Testing", "ComplementaryDepthBuffer", false);
748 config.postBlendSRGB = ini.getBoolean("Testin
[all...]
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
H A DConnectActivity.java249 boolean videoCallEnabled = sharedPref.getBoolean(keyprefVideoCallEnabled,
259 boolean hwCodec = sharedPref.getBoolean(keyprefHwCodecAcceleration,
263 boolean captureToTexture = sharedPref.getBoolean(keyprefCaptureToTexture,
267 boolean noAudioProcessing = sharedPref.getBoolean(
272 boolean aecDump = sharedPref.getBoolean(
277 boolean useOpenSLES = sharedPref.getBoolean(
312 boolean captureQualitySlider = sharedPref.getBoolean(keyprefCaptureQualitySlider,
337 boolean displayHud = sharedPref.getBoolean(keyprefDisplayHud,
340 boolean tracing = sharedPref.getBoolean(
H A DCallFragment.java114 videoCallEnabled = args.getBoolean(CallActivity.EXTRA_VIDEO_CALL, true);
116 && args.getBoolean(CallActivity.EXTRA_VIDEO_CAPTUREQUALITYSLIDER_ENABLED, false);
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DBooleanArrayList.java124 return getBoolean(index);
128 public boolean getBoolean(int index) { method in class:BooleanArrayList

Completed in 558 milliseconds

12345