/aosp12/frameworks/base/libs/hwui/ |
H A D | Properties.cpp | 39 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 D | main.cpp | 64 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 D | F2fs.cpp | 81 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 D | Ext4.cpp | 175 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 D | fs_avb_device_test.cpp | 63 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 D | hardware_android.cc | 44 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 D | run_dex2oat.cpp | 272 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 D | HidlInternal.cpp | 79 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 D | snapshot_utils.cpp | 30 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 D | property_fetcher.h | 28 virtual bool GetBoolProperty(const std::string& key, bool defaultValue) = 0; 38 bool GetBoolProperty(const std::string& key, bool defaultValue) override;
|
H A D | mock_property_fetcher.h | 30 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 D | property_fetcher.cpp | 30 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 D | device_test.cpp | 38 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 D | log_read_test.cpp | 33 using android::base::GetBoolProperty; 60 if (name == "kernel" && !GetBoolProperty("ro.logd.kernel", false)) { in TEST()
|
/aosp12/system/core/llkd/tests/ |
H A D | llkd_test.cpp | 72 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 D | watchdog.cpp | 71 bool watchdog_enabled = android::base::GetBoolProperty( in UpdateWatchdog() 72 kAdbWatchdogProperty, android::base::GetBoolProperty(kTestHarnessProperty, false)); in UpdateWatchdog()
|
/aosp12/frameworks/native/libs/gui/ |
H A D | DebugEGLImageTracker.cpp | 24 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 D | test_helpers.h | 127 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 D | Entry.cpp | 26 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 D | apex_shared_libraries_test.cpp | 31 using android::base::GetBoolProperty; 43 if (!GetBoolProperty("ro.apex.updatable", false)) { in TEST()
|
/aosp12/hardware/google/pixel/health/test/ |
H A D | TestBatteryDefender.cpp | 35 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 D | apexd_loop.cpp | 46 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 D | fs_mgr_format.cpp | 169 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 D | egl.cpp | 51 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 D | recovery_main.cpp | 69 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()
|