Home
last modified time | relevance | path

Searched refs:property_get_bool (Results 1 – 12 of 12) sorted by relevance

/system/media/audio/include/system/
Daudio_config.h79 if (property_get_bool("ro.bluetooth.a2dp_offload.supported", false)) { in audio_get_audio_policy_config_file()
80 if (property_get_bool("persist.bluetooth.bluetooth_audio_hal.disabled", false) && in audio_get_audio_policy_config_file()
81 property_get_bool("persist.bluetooth.a2dp_offload.disabled", false)) { in audio_get_audio_policy_config_file()
86 } else if (property_get_bool("persist.bluetooth.a2dp_offload.disabled", false)) { in audio_get_audio_policy_config_file()
91 } else if (!property_get_bool("ro.bluetooth.leaudio_offload.supported", false) || in audio_get_audio_policy_config_file()
92 property_get_bool("persist.bluetooth.leaudio_offload.disabled", false)) { in audio_get_audio_policy_config_file()
97 } else if (property_get_bool("persist.bluetooth.bluetooth_audio_hal.disabled", false)) { in audio_get_audio_policy_config_file()
/system/core/libcutils/
Dproperties_test.cpp220 ASSERT_FALSE(property_get_bool(PROPERTY_TEST_KEY, true)); in TEST_F()
225 ASSERT_TRUE(property_get_bool(PROPERTY_TEST_KEY, false)); in TEST_F()
230 ASSERT_FALSE(property_get_bool(PROPERTY_TEST_KEY, true)); in TEST_F()
235 ASSERT_FALSE(property_get_bool(PROPERTY_TEST_KEY, true)); in TEST_F()
240 ASSERT_FALSE(property_get_bool(PROPERTY_TEST_KEY, true)); in TEST_F()
245 ASSERT_FALSE(property_get_bool(PROPERTY_TEST_KEY, true)); in TEST_F()
250 ASSERT_TRUE(property_get_bool(PROPERTY_TEST_KEY, false)); in TEST_F()
255 ASSERT_TRUE(property_get_bool(PROPERTY_TEST_KEY, false)); in TEST_F()
260 ASSERT_TRUE(property_get_bool(PROPERTY_TEST_KEY, false)); in TEST_F()
265 ASSERT_TRUE(property_get_bool(PROPERTY_TEST_KEY, false)); in TEST_F()
[all …]
Dproperties.cpp27 int8_t property_get_bool(const char* key, int8_t default_value) { in property_get_bool() function
/system/memory/lmkd/tests/
Dlmkd_tests.cpp77 if (!property_get_bool("ro.lmk.debug", true)) { in SetUp()
86 if (!property_get_bool("ro.lmk.debug", false)) { in SetUp()
110 if (property_get_bool("ro.config.low_ram", false)) { in SetupChild()
Dlmkd_test.cpp278 if (property_get_bool("ro.config.low_ram", false)) { in runMemStressTest()
/system/core/libcutils/include_outside_system/cutils/
Dproperties.h65 int8_t property_get_bool(const char *key, int8_t default_value);
/system/core/libcutils/include/cutils/
Dproperties.h65 int8_t property_get_bool(const char *key, int8_t default_value);
/system/core/healthd/
Dhealthd_mode_charger.cpp496 if (property_get_bool("ro.enable_boot_charger_mode", false)) { in ProcessKey()
624 if (property_get_bool("ro.charger_mode_autoboot", false)) { in OnHealthInfoChanged()
626 if (property_get_bool("ro.enable_boot_charger_mode", false)) { in OnHealthInfoChanged()
/system/core/sdcard/
Dsdcard.cpp76 if (property_get_bool(PROP_SDCARDFS_DEVICE, true)) { in should_use_sdcardfs()
/system/memory/lmkd/
Dstatslog.cpp47 static bool enable_stats_log = property_get_bool("ro.lmk.log_stats", true);
Dlmkd.cpp3754 low_ram_device = property_get_bool("ro.config.low_ram", false); in update_props()
3760 property_get_bool("ro.config.per_app_memcg", low_ram_device); in update_props()
/system/nfc/src/adaptation/
DNfcAdaptation.cc125 bool debug_enabled = property_get_bool("persist.nfc.debug_enabled", false); in initializeGlobalDebugEnabledFlag()