Home
last modified time | relevance | path

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

1234

/system/vold/fs/
DF2fs.cpp81 if (android::base::GetBoolProperty("vold.has_quota", false)) { in Format()
89 if (android::base::GetBoolProperty("vold.has_compress", false)) { in Format()
99 android::base::GetBoolProperty("external_storage.casefold.enabled", false); in Format()
101 android::base::GetBoolProperty("external_storage.projid.enabled", false); in Format()
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()
/system/logging/logd/
Dmain.cpp64 using android::base::GetBoolProperty;
81 if (!GetBoolProperty("ro.debuggable", false)) { in DropPrivs()
113 GetBoolProperty("ro.debuggable", false) && !GetBoolProperty("ro.config.low_ram", false); in GetBoolPropertyEngSvelteDefault()
115 return GetBoolProperty(name, default_value); in GetBoolPropertyEngSvelteDefault()
232 bool auditd = GetBoolProperty("ro.logd.auditd", true); in main()
290 int dmesg_fd = GetBoolProperty("ro.logd.auditd.dmesg", true) ? fdDmesg : -1; in main()
DLogSize.cpp63 if (android::base::GetBoolProperty("ro.config.low_ram", false)) { in GetBufferSizeFromProperties()
DLogAudit.cpp45 using android::base::GetBoolProperty;
55 main(GetBoolProperty("ro.logd.auditd.main", true)), in LogAudit()
56 events(GetBoolProperty("ro.logd.auditd.events", true)), in LogAudit()
/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/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/logging/liblog/tests/
Dlog_read_test.cpp33 using android::base::GetBoolProperty;
60 if (name == "kernel" && !GetBoolProperty("ro.logd.kernel", false)) { in TEST()
/system/update_engine/aosp/
Dhardware_android.cc44 using android::base::GetBoolProperty;
145 return GetBoolProperty("ro.secure", true); in IsOfficialBuild()
153 return !GetBoolProperty("ro.debuggable", false); in IsNormalBootMode()
260 return GetBoolProperty("ro.ota.allow_downgrade", false) && in AllowDowngrade()
261 GetBoolProperty("ro.debuggable", false); in AllowDowngrade()
Dmetrics_reporter_android.cc99 if (android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) { in ReportUpdateAttemptMetrics()
130 bool vab_compression_enabled = android::base::GetBoolProperty( in ReportUpdateAttemptMetrics()
/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/libhidl/base/
DHidlInternal.cpp79 bool enableCoverage = base::GetBoolProperty(kSysPropHalCoverage, false); in HidlInstrumentor()
86 if (base::GetBoolProperty("ro.vts.coverage", false)) { in HidlInstrumentor()
94 const bool enableCoverage = base::GetBoolProperty(kSysPropHalCoverage, false); in HidlInstrumentor()
123 mEnableInstrumentation = base::GetBoolProperty("hal.instrumentation.enable", false); in configureInstrumentation()
/system/iorap/src/common/
Dproperty.h42 return ::android::base::GetBoolProperty("iorapd.exclude_dex_files", default_value); in ExcludeDexFiles()
/system/apex/tests/native/
Dapex_shared_libraries_test.cpp31 using android::base::GetBoolProperty;
43 if (!GetBoolProperty("ro.apex.updatable", false)) { in TEST()
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h127 ON_CALL(*this, GetBoolProperty("ro.boot.dynamic_partitions", _)) in SnapshotTestPropertyFetcher()
129 ON_CALL(*this, GetBoolProperty("ro.boot.dynamic_partitions_retrofit", _)) in SnapshotTestPropertyFetcher()
131 ON_CALL(*this, GetBoolProperty("ro.virtual_ab.enabled", _)).WillByDefault(Return(true)); in SnapshotTestPropertyFetcher()
/system/linkerconfig/contents/common/
Dsystem_links.cc45 const bool debuggable = android::base::GetBoolProperty("ro.debuggable", false); in AddStandardSystemLinks()
/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/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/apex/apexd/
Dapexd_loop.cpp46 using android::base::GetBoolProperty;
282 bool cold_boot_done = GetBoolProperty("ro.cold_boot_done", false); in WaitForDevice()
285 cold_boot_done = GetBoolProperty("ro.cold_boot_done", false); in WaitForDevice()
/system/iorap/src/iorapd/
Dmain.cc42 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()

1234