Home
last modified time | relevance | path

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

123456

/aosp12/frameworks/base/libs/hwui/
H A DProperties.cpp39 return base::GetBoolProperty("ro.hwui.use_vulkan", false); in use_vulkan()
120 debugLayersUpdates = base::GetBoolProperty(PROPERTY_DEBUG_LAYERS_UPDATES, false); in load()
123 showDirtyRegions = base::GetBoolProperty(PROPERTY_DEBUG_SHOW_DIRTY_REGIONS, false); in load()
127 skipEmptyFrames = base::GetBoolProperty(PROPERTY_SKIP_EMPTY_DAMAGE, true); in load()
128 useBufferAge = base::GetBoolProperty(PROPERTY_USE_BUFFER_AGE, true); in load()
129 enablePartialUpdates = base::GetBoolProperty(PROPERTY_ENABLE_PARTIAL_UPDATES, true); in load()
131 filterOutTestOverhead = base::GetBoolProperty(PROPERTY_FILTER_TEST_OVERHEAD, false); in load()
136 base::GetBoolProperty(PROPERTY_SKIA_ATRACE_ENABLED, false)); in load()
138 runningInEmulator = base::GetBoolProperty(PROPERTY_IS_EMULATOR, false); in load()
140 useHintManager = base::GetBoolProperty(PROPERTY_USE_HINT_MANAGER, true); in load()
[all …]
/aosp12/system/logging/logd/
H A 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()
/aosp12/system/vold/fs/
H A 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()
H A 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()
/aosp12/system/core/fs_mgr/libfs_avb/tests/
H A 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()
/aosp12/system/update_engine/aosp/
H A 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()
/aosp12/frameworks/native/cmds/installd/
H A Drun_dex2oat.cpp272 const bool generate_debug_info = GetBoolProperty("debug.generate-debug-info", false); in PrepareCompilerConfigFlags()
278 GetBoolProperty(kMinidebugInfoSystemProperty, in PrepareCompilerConfigFlags()
288 const bool trust_art_apex_data_files = GetBoolProperty("odsign.verification.success", false); in PrepareCompilerConfigFlags()
337 if (GetBoolProperty("ro.config.low_ram", false)) { in PrepareCompilerRuntimeAndPerfConfigFlags()
359 bool RunDex2Oat::GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() function in android::installd::RunDex2Oat
360 return android::base::GetBoolProperty(key, default_value); in GetBoolProperty()
/aosp12/system/libhidl/base/
H A 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()
/aosp12/bootable/recovery/install/
H A Dsnapshot_utils.cpp30 if (!android::base::GetBoolProperty("ro.virtual_ab.enabled", false)) { in FinishPendingSnapshotMerges()
54 if (!android::base::GetBoolProperty("ro.virtual_ab.enabled", false)) { in CreateSnapshotPartitions()
/aosp12/system/core/fs_mgr/liblp/include/liblp/
H A Dproperty_fetcher.h28 virtual bool GetBoolProperty(const std::string& key, bool defaultValue) = 0;
38 bool GetBoolProperty(const std::string& key, bool defaultValue) override;
H A 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()
/aosp12/system/core/fs_mgr/liblp/
H A 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()
H A 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()
/aosp12/system/logging/liblog/tests/
H A Dlog_read_test.cpp33 using android::base::GetBoolProperty;
60 if (name == "kernel" && !GetBoolProperty("ro.logd.kernel", false)) { in TEST()
/aosp12/system/core/llkd/tests/
H A Dllkd_test.cpp72 default_enable = android::base::GetBoolProperty(LLK_ENABLE_PROPERTY, default_enable); in llkdSleepPeriod()
107 default_enable = android::base::GetBoolProperty(LLK_ENABLE_PROPERTY, default_enable); in llkdSleepPeriod()
162 if (android::base::GetBoolProperty(LLK_KILLTEST_PROPERTY, LLK_KILLTEST_DEFAULT)) { in checkKill()
297 if (!android::base::GetBoolProperty("ro.debuggable", false)) { in TEST()
/aosp12/packages/modules/adb/daemon/
H A Dwatchdog.cpp71 bool watchdog_enabled = android::base::GetBoolProperty( in UpdateWatchdog()
72 kAdbWatchdogProperty, android::base::GetBoolProperty(kTestHarnessProperty, false)); in UpdateWatchdog()
/aosp12/frameworks/native/libs/gui/
H A DDebugEGLImageTracker.cpp24 using android::base::GetBoolProperty;
61 const bool enabled = GetBoolProperty("debug.sf.enable_egl_image_tracker", false); in getInstance()
/aosp12/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
H A 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()
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DEntry.cpp26 using android::base::GetBoolProperty;
174 if (!GetBoolProperty("ro.debuggable", false)) { in getDescription()
233 if (!GetBoolProperty("ro.debuggable", false)) { in getDescription()
282 if (!GetBoolProperty("ro.debuggable", false)) { in getDescription()
/aosp12/system/apex/tests/native/
H A Dapex_shared_libraries_test.cpp31 using android::base::GetBoolProperty;
43 if (!GetBoolProperty("ro.apex.updatable", false)) { in TEST()
/aosp12/hardware/google/pixel/health/test/
H A DTestBatteryDefender.cpp35 virtual bool GetBoolProperty(const std::string &key, bool default_value);
48 MOCK_METHOD2(GetBoolProperty, bool(const std::string &key, bool default_value));
72 bool GetBoolProperty(const std::string &key, bool default_value) { in GetBoolProperty() function
73 return mock->GetBoolProperty(key, default_value); in GetBoolProperty()
143 EXPECT_CALL(*mock, GetBoolProperty(_, _)).Times(AnyNumber()); in SetUp()
162 ON_CALL(*mock, GetBoolProperty(kPropBatteryDefenderDisable, _)).WillByDefault(Return(false)); in enableDefender()
164 ON_CALL(*mock, GetBoolProperty(kPropBatteryDefenderCtrlEnable, _)).WillByDefault(Return(true)); in enableDefender()
247 EXPECT_CALL(*mock, GetBoolProperty(kPropBatteryDefenderDisable, _)).WillOnce(Return(true)); in TEST_F()
/aosp12/system/apex/apexd/
H A 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()
/aosp12/system/core/fs_mgr/
H A 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()
/aosp12/frameworks/native/opengl/libs/EGL/
H A Degl.cpp51 if (base::GetBoolProperty("debug.egl.callstack", false)) { in gl_no_context()
178 if (base::GetBoolProperty("debug.egl.callstack", false)) { in gl_unimplemented()
/aosp12/bootable/recovery/
H A Drecovery_main.cpp69 return android::base::GetBoolProperty("ro.debuggable", false); in IsRoDebuggable()
379 android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) { in main()
425 if (android::base::GetBoolProperty("ro.boot.quiescent", false)) { in main()
443 if (!android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) { in main()

123456