Home
last modified time | relevance | path

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

123

/system/update_engine/
Dhardware_android.cc30 using android::base::GetBoolProperty;
81 return GetBoolProperty("ro.secure", true); in IsOfficialBuild()
89 return !GetBoolProperty("ro.debuggable", false); in IsNormalBootMode()
204 return GetBoolProperty("ro.ota.allow_downgrade", false) && in AllowDowngrade()
205 GetBoolProperty("ro.debuggable", false); in AllowDowngrade()
Dcleanup_previous_update_action.cc33 using android::base::GetBoolProperty;
133 !android::base::GetBoolProperty(kBootCompletedProp, false)) { in WaitBootCompletedOrSchedule()
342 if (GetBoolProperty("ro.gsid.image_running", false)) { in InitiateMergeAndWait()
/system/core/logd/
Dmain.cpp65 using android::base::GetBoolProperty;
87 if (!GetBoolProperty("ro.debuggable", false)) { in DropPrivs()
119 GetBoolProperty("ro.debuggable", false) && !GetBoolProperty("ro.config.low_ram", false); in GetBoolPropertyEngSvelteDefault()
121 return GetBoolProperty(name, default_value); in GetBoolPropertyEngSvelteDefault()
262 bool auditd = GetBoolProperty("ro.logd.auditd", true); in main()
320 int dmesg_fd = GetBoolProperty("ro.logd.auditd.dmesg", true) ? fdDmesg : -1; in main()
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_device_test.cpp63 if (android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) && in TEST()
64 !android::base::GetBoolProperty("ro.boot.dynamic_partitions_retrofit", false)) { in TEST()
102 if (android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) && in TEST()
103 !android::base::GetBoolProperty("ro.boot.dynamic_partitions_retrofit", false)) { in TEST()
/system/apex/apexd/
Dapexd_prop.cpp26 using android::base::GetBoolProperty;
35 while (!GetBoolProperty("sys.boot_completed", false)) { in waitForBootStatus()
/system/core/fs_mgr/liblp/include/liblp/
Dproperty_fetcher.h28 virtual bool GetBoolProperty(const std::string& key, bool defaultValue) = 0;
38 bool GetBoolProperty(const std::string& key, bool defaultValue) override;
Dmock_property_fetcher.h30 MOCK_METHOD2(GetBoolProperty, bool(const std::string&, bool));
39 ON_CALL(*this, GetBoolProperty(_, _)).WillByDefault(Invoke([](const auto&, auto def) { in MockPropertyFetcher()
/system/core/fs_mgr/liblp/
Dproperty_fetcher.cpp30 bool PropertyFetcher::GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() function in android::fs_mgr::PropertyFetcher
31 return android::base::GetBoolProperty(key, default_value); in GetBoolProperty()
Ddevice_test.cpp38 if (!IPropertyFetcher::GetInstance()->GetBoolProperty("ro.boot.dynamic_partitions", in SetUp()
69 if (IPropertyFetcher::GetInstance()->GetBoolProperty("ro.boot.dynamic_partitions_retrofit", in TEST_F()
/system/core/liblog/tests/
Dlog_read_test.cpp33 using android::base::GetBoolProperty;
60 if (name == "kernel" && !GetBoolProperty("ro.logd.kernel", false)) { in TEST()
/system/libhidl/base/
DHidlInternal.cpp69 bool enableCoverage = base::GetBoolProperty(kSysPropHalCoverage, false); in HidlInstrumentor()
76 if (base::GetBoolProperty("ro.vts.coverage", false)) { in HidlInstrumentor()
84 const bool enableCoverage = base::GetBoolProperty(kSysPropHalCoverage, false); in HidlInstrumentor()
113 mEnableInstrumentation = base::GetBoolProperty("hal.instrumentation.enable", false); in configureInstrumentation()
/system/core/llkd/tests/
Dllkd_test.cpp73 android::base::GetBoolProperty("ro.debuggable", false)) { in llkdSleepPeriod()
76 default_enable = android::base::GetBoolProperty(LLK_ENABLE_PROPERTY, default_enable); in llkdSleepPeriod()
112 android::base::GetBoolProperty("ro.debuggable", false)) { in llkdSleepPeriod()
115 default_enable = android::base::GetBoolProperty(LLK_ENABLE_PROPERTY, default_enable); in llkdSleepPeriod()
170 if (android::base::GetBoolProperty(LLK_KILLTEST_PROPERTY, LLK_KILLTEST_DEFAULT)) { in checkKill()
305 if (!android::base::GetBoolProperty("ro.debuggable", false)) { in TEST()
/system/vold/fs/
DExt4.cpp175 android::base::GetBoolProperty("external_storage.casefold.enabled", false); in Format()
176 bool needs_projid = android::base::GetBoolProperty("external_storage.projid.enabled", false); in Format()
184 if (android::base::GetBoolProperty("vold.has_quota", false)) { in Format()
DF2fs.cpp80 if (android::base::GetBoolProperty("vold.has_quota", false)) { in Format()
88 if (android::base::GetBoolProperty("vold.has_compress", false)) { in Format()
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h121 ON_CALL(*this, GetBoolProperty("ro.boot.dynamic_partitions", _)) in SnapshotTestPropertyFetcher()
123 ON_CALL(*this, GetBoolProperty("ro.boot.dynamic_partitions_retrofit", _)) in SnapshotTestPropertyFetcher()
125 ON_CALL(*this, GetBoolProperty("ro.virtual_ab.enabled", _)).WillByDefault(Return(true)); in SnapshotTestPropertyFetcher()
/system/core/fs_mgr/
Dfs_mgr_format.cpp169 needs_casefold = android::base::GetBoolProperty("external_storage.casefold.enabled", false); in fs_mgr_do_format()
170 needs_projid = android::base::GetBoolProperty("external_storage.projid.enabled", false); in fs_mgr_do_format()
/system/linkerconfig/contents/common/
Dsystem_links.cc45 const bool debuggable = android::base::GetBoolProperty("ro.debuggable", false); in AddStandardSystemLinks()
/system/libvintf/
DPropertyFetcher.cpp52 return android::base::GetBoolProperty(key, defaultValue); in getBoolProperty()
/system/core/init/
Daction_parser.cpp31 using android::base::GetBoolProperty;
40 static bool enabled = GetBoolProperty("ro.actionable_compatible_property.enabled", false); in IsActionableProperty()
/system/core/adb/daemon/
Dtransport_qemu.cpp135 if (android::base::GetBoolProperty("ro.kernel.qemu", false)) { in use_qemu_goldfish()
Dmain.cpp76 bool ro_secure = android::base::GetBoolProperty("ro.secure", true); in should_drop_privileges()
209 auth_required = android::base::GetBoolProperty("ro.adb.secure", false); in adbd_main()
/system/security/fsverity_init/
Dfsverity_init.cpp78 if (!android::base::GetBoolProperty("ro.debuggable", false)) { in main()
/system/iorap/src/iorapd/
Dmain.cc52 if (android::base::GetBoolProperty("iorapd.log.verbose", iorap::kIsDebugBuild)) { in main()
/system/vold/
Dmain.cpp100 if (android::base::GetBoolProperty("vold.debug", false)) { in main()
265 android::base::GetBoolProperty("vold.debug.default_primary", false)) { in process_config()
/system/libbase/include/android-base/
Dproperties.h37 bool GetBoolProperty(const std::string& key, bool default_value);

123