Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/settings/
DControlsSettingsDialogManagerImplTest.kt172 assertThat(secureSettings.getBool(SETTING_ACTION, false)).isFalse() in <lambda>()
209 assertThat(secureSettings.getBool(SETTING_ACTION, false)).isTrue() in <lambda>()
243 doAnswer { assertThat(secureSettings.getBool(SETTING_ACTION, false)).isTrue() } in <lambda>()
276 assertThat(secureSettings.getBool(SETTING_ACTION, false)).isFalse() in <lambda>()
326 assertThat(secureSettings.getBool(SETTING_SHOW)).isTrue() in <lambda>()
327 assertThat(secureSettings.getBool(SETTING_ACTION)).isTrue() in <lambda>()
340 secureSettings.getBool(SETTING_SHOW, false) in <lambda>()
351 secureSettings.getBool(SETTING_ACTION, false) in <lambda>()
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerProperties.cpp62 return getBool<ISurfaceFlingerConfigs, &ISurfaceFlingerConfigs::useContextPriority>( in use_context_priority()
96 return getBool<ISurfaceFlingerConfigs, &ISurfaceFlingerConfigs::hasWideColorDisplay>( in has_wide_color_display()
105 return getBool<ISurfaceFlingerConfigs, &ISurfaceFlingerConfigs::hasSyncFramework>(defaultValue); in running_without_sync_framework()
113 return getBool<ISurfaceFlingerConfigs, &ISurfaceFlingerConfigs::hasHDRDisplay>(defaultValue); in has_HDR_display()
130 return getBool<ISurfaceFlingerConfigs, &ISurfaceFlingerConfigs::useHwcForRGBtoYUV>( in force_hwc_copy_for_virtual_displays()
148 return getBool<ISurfaceFlingerConfigs, &ISurfaceFlingerConfigs::useVrFlinger>(defaultValue); in use_vr_flinger()
156 return getBool<ISurfaceFlingerConfigs, &ISurfaceFlingerConfigs::startGraphicsAllocatorService>( in start_graphics_allocator_service()
Dmain_surfaceflinger.cpp45 using android::hardware::configstore::getBool; in startGraphicsAllocatorService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DSettingsProxyTest.kt133 assertThat(mSettings.getBool(TEST_SETTING)).isTrue() in getBool_keyPresent_returnValidValue()
140 mSettings.getBool(TEST_SETTING) in getBool_keyPresent_nonBooleanValue_throwException()
146 assertThrows(SettingNotFoundException::class.java) { mSettings.getBool(TEST_SETTING) } in getBool_keyAbsent_throwException()
151 assertThat(mSettings.getBool(TEST_SETTING, false)).isEqualTo(false) in getBool_keyAbsent_returnDefaultValue()
DUserSettingsProxyTest.kt199 assertThat(mSettings.getBool(TEST_SETTING)).isTrue() in getBool_keyPresent_returnValidValue()
206 mSettings.getBool(TEST_SETTING) in getBool_keyPresent_nonBooleanValue_throwException()
213 mSettings.getBool(TEST_SETTING) in getBool_keyAbsent_throwException()
219 assertThat(mSettings.getBool(TEST_SETTING, false)).isEqualTo(false) in getBool_keyAbsent_returnDefaultValue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DRestartDozeListenerTest.kt67 assertThat(settings.getBool(RestartDozeListener.RESTART_SLEEP_KEY)).isTrue() in testStoreDreamState_onDozingStarted()
74 assertThat(settings.getBool(RestartDozeListener.RESTART_SLEEP_KEY)).isFalse() in testStoreDozeState_onDozingStopped()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DSettingsProxy.kt208 fun getBool(name: String, def: Boolean): Boolean { in getBool() method
226 fun getBool(name: String): Boolean { in getBool() method
DUserSettingsProxy.kt212 override fun getBool(name: String, def: Boolean) = getBoolForUser(name, def, userId) in putInt() method
219 override fun getBool(name: String) = getBoolForUser(name, userId) in putInt() method
/frameworks/base/core/java/com/android/internal/os/
DZygoteConfig.java106 public static boolean getBool(String name, boolean defaultValue) { in getBool() method in ZygoteConfig
/frameworks/native/libs/input/
DKeyboard.cpp168 return config->getBool("keyboard.specialFunction").value_or(false); in isKeyboardSpecialFunction()
181 if (deviceConfiguration->getBool("keyboard.builtIn").value_or(false)) { in isEligibleBuiltInKeyboard()
DPropertyMap.cpp68 std::optional<bool> PropertyMap::getBool(const std::string& key) const { in getBool() function in android::PropertyMap
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DRestartDozeListener.kt70 if (settings.getBool(RESTART_SLEEP_KEY, false)) { in maybeRestartSleep()
/frameworks/native/include/input/
DPropertyMap.h72 std::optional<bool> getBool(const std::string& key) const;
/frameworks/base/services/flags/java/com/android/server/flags/
DSettingsProxy.java148 default boolean getBool(String name, boolean def) { in getBool() method
174 default boolean getBool(String name) throws Settings.SettingNotFoundException { in getBool() method
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp218 mParameters.orientationAware = config.getBool("keyboard.orientationAware").value_or(false); in configureParameters()
219 mParameters.handlesKeyRepeat = config.getBool("keyboard.handlesKeyRepeat").value_or(false); in configureParameters()
220 mParameters.doNotWakeByDefault = config.getBool("keyboard.doNotWakeByDefault").value_or(false); in configureParameters()
DCursorInputMapper.cpp184 parameters.orientationAware = config.getBool("cursor.orientationAware").value_or(false); in computeParameters()
DTouchInputMapper.cpp393 config.getBool("touch.orientationAware") in computeParameters()
432 parameters.wake = config.getBool("touch.wake").value_or(deviceContext.isExternal()); in computeParameters()
444 config.getBool("touch.enableForInactiveViewport").value_or(false); in computeParameters()
1182 out.sizeIsSummed = in.getBool("touch.size.isSummed"); in parseCalibration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/
DRegisteredComplicationsModule.java159 return systemSettings.getBool(OPEN_HUB_CHIP_REPLACE_HOME_CONTROLS, false); in providesOpenHubChipReplaceHomeControls()
/frameworks/base/core/java/android/os/
DHwBlob.java50 public native final boolean getBool(long offset); in getBool() method in HwBlob
DZygoteProcess.java797 mUsapPoolEnabled = ZygoteConfig.getBool( in fetchUsapPoolEnabledProp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceLocalUserSelectionManager.kt80 if (systemSettings.getBool("open_hub_chip_replace_home_controls", false)) { in <lambda>()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DPropertyProvider.cpp265 if (std::optional<bool> value = idcProperties.getBool(propertyName); value) { in trySetFromIdcProperty()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp265 mIsWaking = mConfiguration.getBool("device.wake").value_or(false); in configureInternal()
266 mShouldSmoothScroll = mConfiguration.getBool("device.viewBehavior_smoothScroll"); in configureInternal()
DEventHub.cpp717 std::optional<bool> isInternal = configuration->getBool("device.internal"); in isExternalDeviceLocked()
727 std::optional<bool> hasMic = configuration->getBool("audio.mic"); in deviceHasMicLocked()
/frameworks/base/core/api/
Dsystem-current.txt10743 method public final boolean getBool(long);