Home
last modified time | relevance | path

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

12345

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSystemPropertiesTest.java113 assertThat(SystemProperties.getBoolean("newkey", false)).isFalse(); in getBoolean_returnsTrue_forAllSupportedValues()
116 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue(); in getBoolean_returnsTrue_forAllSupportedValues()
119 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue(); in getBoolean_returnsTrue_forAllSupportedValues()
122 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue(); in getBoolean_returnsTrue_forAllSupportedValues()
125 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue(); in getBoolean_returnsTrue_forAllSupportedValues()
128 assertThat(SystemProperties.getBoolean("newkey", false)).isTrue(); in getBoolean_returnsTrue_forAllSupportedValues()
DShadowSharedPreferencesTest.java58 assertTrue(anotherSharedPreferences.getBoolean("boolean", false)); in commit_shouldStoreValues()
99 assertThat(anotherSharedPreferences.getBoolean("boolean", false)).isTrue(); in commit_shouldRemoveValuesThenSetValues()
119 assertTrue(anotherSharedPreferences.getBoolean("boolean", false)); in commit_shouldClearThenSetValues()
162 assertFalse(anotherSharedPreferences.getBoolean("boolean", false)); in shouldReturnDefaultValues()
222 assertTrue(sharedPreferences.getBoolean("foo", false)); in commit_multipleTimes()
223 assertTrue(sharedPreferences.getBoolean("bar", false)); in commit_multipleTimes()
DShadowBundleTest.java57 public void getBoolean() { in getBoolean() method in ShadowBundleTest
59 assertThat(bundle.getBoolean("foo")).isTrue(); in getBoolean()
60 assertThat(bundle.getBoolean("bar")).isFalse(); in getBoolean()
61 assertThat(bundle.getBoolean("bar", true)).isTrue(); in getBoolean()
81 assertThat(bundle.getBoolean("foo")).isFalse(); in getWrongType()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DBooleanArrayListTest.java124 assertEquals(true, TERTIARY_LIST.getBoolean(0)); in testGetInt()
125 assertEquals(true, TERTIARY_LIST.getBoolean(1)); in testGetInt()
126 assertEquals(false, TERTIARY_LIST.getBoolean(2)); in testGetInt()
166 assertEquals(true, list.getBoolean(0)); in testSet()
169 assertEquals(false, list.getBoolean(1)); in testSet()
191 assertEquals(false, list.getBoolean(0)); in testSetInt()
194 assertEquals(false, list.getBoolean(1)); in testSetInt()
258 assertEquals(false, list.getBoolean(0)); in testAddAll()
/external/swiftshader/src/Main/
DSwiftConfig.cpp730 config.perspectiveCorrection = ini.getBoolean("Quality", "PerspectiveCorrection", true); in readConfiguration()
734 config.enableSSE = ini.getBoolean("Processor", "EnableSSE", true); in readConfiguration()
735 config.enableSSE2 = ini.getBoolean("Processor", "EnableSSE2", true); in readConfiguration()
736 config.enableSSE3 = ini.getBoolean("Processor", "EnableSSE3", true); in readConfiguration()
737 config.enableSSSE3 = ini.getBoolean("Processor", "EnableSSSE3", true); in readConfiguration()
738 config.enableSSE4_1 = ini.getBoolean("Processor", "EnableSSE4_1", true); in readConfiguration()
745 config.disableServer = ini.getBoolean("Testing", "DisableServer", false); in readConfiguration()
746 config.forceWindowed = ini.getBoolean("Testing", "ForceWindowed", false); in readConfiguration()
747 config.complementaryDepthBuffer = ini.getBoolean("Testing", "ComplementaryDepthBuffer", false); in readConfiguration()
748 config.postBlendSRGB = ini.getBoolean("Testing", "PostBlendSRGB", false); in readConfiguration()
[all …]
/external/swiftshader/src/Device/
DSwiftConfig.cpp730 config.perspectiveCorrection = ini.getBoolean("Quality", "PerspectiveCorrection", true); in readConfiguration()
734 config.enableSSE = ini.getBoolean("Processor", "EnableSSE", true); in readConfiguration()
735 config.enableSSE2 = ini.getBoolean("Processor", "EnableSSE2", true); in readConfiguration()
736 config.enableSSE3 = ini.getBoolean("Processor", "EnableSSE3", true); in readConfiguration()
737 config.enableSSSE3 = ini.getBoolean("Processor", "EnableSSSE3", true); in readConfiguration()
738 config.enableSSE4_1 = ini.getBoolean("Processor", "EnableSSE4_1", true); in readConfiguration()
745 config.disableServer = ini.getBoolean("Testing", "DisableServer", false); in readConfiguration()
746 config.forceWindowed = ini.getBoolean("Testing", "ForceWindowed", false); in readConfiguration()
747 config.complementaryDepthBuffer = ini.getBoolean("Testing", "ComplementaryDepthBuffer", false); in readConfiguration()
748 config.postBlendSRGB = ini.getBoolean("Testing", "PostBlendSRGB", false); in readConfiguration()
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalManager.java91 wantKeyVibration = mPreferences.getBoolean(PreferenceConstants.BUMPY_ARROWS, true); in TerminalManager()
92 wantBellVibration = mPreferences.getBoolean(PreferenceConstants.BELL_VIBRATE, true); in TerminalManager()
93 wantAudible = mPreferences.getBoolean(PreferenceConstants.BELL, true); in TerminalManager()
269 wantAudible = sharedPreferences.getBoolean(PreferenceConstants.BELL, true); in onSharedPreferenceChanged()
283 wantBellVibration = sharedPreferences.getBoolean(PreferenceConstants.BELL_VIBRATE, true); in onSharedPreferenceChanged()
285 wantKeyVibration = sharedPreferences.getBoolean(PreferenceConstants.BUMPY_ARROWS, true); in onSharedPreferenceChanged()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DConnectActivity.java249 boolean videoCallEnabled = sharedPref.getBoolean(keyprefVideoCallEnabled, in connectToRoom()
259 boolean hwCodec = sharedPref.getBoolean(keyprefHwCodecAcceleration, in connectToRoom()
263 boolean captureToTexture = sharedPref.getBoolean(keyprefCaptureToTexture, in connectToRoom()
267 boolean noAudioProcessing = sharedPref.getBoolean( in connectToRoom()
272 boolean aecDump = sharedPref.getBoolean( in connectToRoom()
277 boolean useOpenSLES = sharedPref.getBoolean( in connectToRoom()
312 boolean captureQualitySlider = sharedPref.getBoolean(keyprefCaptureQualitySlider, in connectToRoom()
337 boolean displayHud = sharedPref.getBoolean(keyprefDisplayHud, in connectToRoom()
340 boolean tracing = sharedPref.getBoolean( in connectToRoom()
DCallFragment.java114 videoCallEnabled = args.getBoolean(CallActivity.EXTRA_VIDEO_CALL, true); in onStart()
116 && args.getBoolean(CallActivity.EXTRA_VIDEO_CAPTUREQUALITYSLIDER_ENABLED, false); in onStart()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothLeAdvertisingSetFacade.java148 builder.setIncludeDeviceName(params.getBoolean(key)); in buildAdvData()
150 builder.setIncludeTxPowerLevel(params.getBoolean(key)); in buildAdvData()
170 builder.setConnectable(params.getBoolean(key)); in buildParameters()
172 builder.setScannable(params.getBoolean(key)); in buildParameters()
174 builder.setLegacyMode(params.getBoolean(key)); in buildParameters()
176 builder.setAnonymous(params.getBoolean(key)); in buildParameters()
178 builder.setIncludeTxPower(params.getBoolean(key)); in buildParameters()
207 builder.setIncludeTxPower(params.getBoolean(key)); in buildPeriodicParameters()
/external/nist-sip/java/gov/nist/core/
DHost.java89 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); in Host()
99 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); in Host()
110 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); in Host()
DGenericObject.java256 boolean booleanField = f.getBoolean(mergeObject); in merge()
450 if (f.getBoolean(this) != g.getBoolean(that)) in equals()
535 if (f.getBoolean(this) != g.getBoolean(that)) in match()
634 boolean booleanField = f.getBoolean(this); in debugDump()
DHostNameParser.java69 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); in HostNameParser()
80 = Boolean.getBoolean("gov.nist.core.STRIP_ADDR_SCOPES"); in HostNameParser()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPObject.java125 if (f.getBoolean(this) != g.getBoolean(that)) in equals()
215 if (f.getBoolean(this) != g.getBoolean(that)) in match()
331 boolean booleanField = f.getBoolean(this); in debugDump()
/external/nist-sip/java/gov/nist/javax/sip/address/
DNetObject.java123 if (f.getBoolean(this) != g.getBoolean(that)) in equals()
213 if (f.getBoolean(this) != g.getBoolean(that)) in match()
324 boolean booleanField = f.getBoolean(this); in debugDump()
/external/replicaisland/src/com/replica/replicaisland/
DAndouKun.java103 … final boolean debugLogs = prefs.getBoolean(PreferenceConstants.PREFERENCE_ENABLE_DEBUG, false); in onCreate()
167 mExtrasUnlocked = prefs.getBoolean(PreferenceConstants.PREFERENCE_EXTRAS_UNLOCKED, false); in onCreate()
237 … final boolean statsEnabled = prefs.getBoolean(PreferenceConstants.PREFERENCE_STATS_ENABLED, true); in onCreate()
290 … final boolean debugLogs = prefs.getBoolean(PreferenceConstants.PREFERENCE_ENABLE_DEBUG, false); in onResume()
303 … final boolean soundEnabled = prefs.getBoolean(PreferenceConstants.PREFERENCE_SOUND_ENABLED, true); in onResume()
304 final boolean safeMode = prefs.getBoolean(PreferenceConstants.PREFERENCE_SAFE_MODE, false); in onResume()
305 … final boolean clickAttack = prefs.getBoolean(PreferenceConstants.PREFERENCE_CLICK_ATTACK, true); in onResume()
306 …final boolean tiltControls = prefs.getBoolean(PreferenceConstants.PREFERENCE_TILT_CONTROLS, false); in onResume()
309 …final boolean onScreenControls = prefs.getBoolean(PreferenceConstants.PREFERENCE_SCREEN_CONTROLS, … in onResume()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiJsonParser.java87 if (j.has("is80211McRTTResponder") && j.getBoolean("is80211McRTTResponder")) { in getScanResult()
90 if (j.has("passpointNetwork") && j.getBoolean("passpointNetwork")) { in getScanResult()
100 scanResult.untrusted = j.getBoolean("untrusted"); in getScanResult()
DWifiManagerFacade.java502 config.hiddenSSID = j.getBoolean("hiddenSSID"); in genWifiConfig()
650 builder = builder.setIsHiddenSsid(j.getBoolean("hiddenSSID")); in genWifiNetworkSpecifier()
653 builder = builder.setIsEnhancedOpen(j.getBoolean("isEnhancedOpen")); in genWifiNetworkSpecifier()
656 if (j.has("isWpa3") && j.getBoolean("isWpa3")) { in genWifiNetworkSpecifier()
689 builder = builder.setIsHiddenSsid(j.getBoolean("hiddenSSID")); in genWifiNetworkSuggestion()
692 builder = builder.setIsEnhancedOpen(j.getBoolean("isEnhancedOpen")); in genWifiNetworkSuggestion()
695 if (j.has("isWpa3") && j.getBoolean("isWpa3")) { in genWifiNetworkSuggestion()
713 builder = builder.setIsAppInteractionRequired(j.getBoolean("isAppInteractionRequired")); in genWifiNetworkSuggestion()
717 j.getBoolean("isUserInteractionRequired")); in genWifiNetworkSuggestion()
720 builder = builder.setIsMetered(j.getBoolean("isMetered")); in genWifiNetworkSuggestion()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNotification.java91 ? realNotification.extras.getBoolean(Notification.EXTRA_SHOW_WHEN) in isWhenShown()
102 ? realNotification.extras.getBoolean(Notification.EXTRA_PROGRESS_INDETERMINATE) in isIndeterminate()
120 ? realNotification.extras.getBoolean(Notification.EXTRA_SHOW_CHRONOMETER) in usesChronometer()
/external/jarjar/src/main/com/tonicsystems/jarjar/
DMain.java91 boolean verbose = Boolean.getBoolean("verbose"); in process()
92 boolean skipManifest = Boolean.getBoolean("skipManifest"); in process()
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DStatusBarMixin.java91 a.getBoolean(R.styleable.SucStatusBarMixin_sucLightStatusBar, isLightStatusBar())); in StatusBarMixin()
150 .getBoolean(context, PartnerConfig.CONFIG_LIGHT_STATUS_BAR, false); in setLightStatusBar()
DSystemNavBarMixin.java84 a.getBoolean( in applyPartnerCustomizations()
129 .getBoolean(context, PartnerConfig.CONFIG_LIGHT_NAVIGATION_BAR, false); in setLightSystemNavBar()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceLoaderTest.java48 .getBoolean(R.bool.different_resource_boolean)) in checkDefaultBooleanValue()
58 .getBoolean(R.bool.different_resource_boolean)) in checkQualifiedBooleanValue()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DBooleanArrayList.java124 return getBoolean(index); in get()
128 public boolean getBoolean(int index) { in getBoolean() method in BooleanArrayList
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DItem.java56 enabled = a.getBoolean(R.styleable.SudItem_android_enabled, true); in Item()
61 visible = a.getBoolean(R.styleable.SudItem_android_visible, true); in Item()

12345