Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/libs/hwui/
H A DProperties.cpp38 return base::GetBoolProperty("ro.hwui.use_vulkan", false); in use_vulkan()
126 debugLayersUpdates = base::GetBoolProperty(PROPERTY_DEBUG_LAYERS_UPDATES, false); in load()
129 showDirtyRegions = base::GetBoolProperty(PROPERTY_DEBUG_SHOW_DIRTY_REGIONS, false); in load()
133 skipEmptyFrames = base::GetBoolProperty(PROPERTY_SKIP_EMPTY_DAMAGE, true); in load()
134 useBufferAge = base::GetBoolProperty(PROPERTY_USE_BUFFER_AGE, true); in load()
135 enablePartialUpdates = base::GetBoolProperty(PROPERTY_ENABLE_PARTIAL_UPDATES, true); in load()
137 filterOutTestOverhead = base::GetBoolProperty(PROPERTY_FILTER_TEST_OVERHEAD, false); in load()
142 base::GetBoolProperty(PROPERTY_SKIA_TRACING_ENABLED, false)); in load()
144 base::GetBoolProperty(PROPERTY_SKIA_USE_PERFETTO_TRACK_EVENTS, false)); in load()
146 runningInEmulator = base::GetBoolProperty(PROPERTY_IS_EMULATOR, false); in load()
[all …]
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dvts_ota_config_test.cpp25 …if (!android::base::GetBoolProperty("ro.build.ab_update", false) && (GetVsrLevel() < __ANDROID_API… in TEST()
28 ASSERT_TRUE(android::base::GetBoolProperty("ro.virtual_ab.enabled", false)); in TEST()
32 ASSERT_TRUE(android::base::GetBoolProperty("ro.virtual_ab.userspace.snapshots.enabled", false)); in TEST()
H A Dutility.cpp225 return fetcher->GetBoolProperty("ro.virtual_ab.compression.enabled", false); in GetLegacyCompressionEnabledProperty()
230 return fetcher->GetBoolProperty("ro.virtual_ab.userspace.snapshots.enabled", false); in GetUserspaceSnapshotsEnabledProperty()
264 return fetcher->GetBoolProperty("ro.virtual_ab.io_uring.enabled", false); in GetIouringEnabledProperty()
269 return fetcher->GetBoolProperty("ro.virtual_ab.compression.xor.enabled", false); in GetXorCompressionEnabledProperty()
282 return fetcher->GetBoolProperty("snapuserd.test.dm.snapshots", false); in IsDmSnapshotTestingEnabled()
H A Dtest_helpers.cpp280 return android::base::GetBoolProperty("ro.virtual_ab.enabled", false); in IsVirtualAbEnabled()
301 bool SnapshotTestPropertyFetcher::GetBoolProperty(const std::string& key, bool defaultValue) { in GetBoolProperty() function in android::snapshot::SnapshotTestPropertyFetcher
304 return android::base::GetBoolProperty(key, defaultValue); in GetBoolProperty()
/aosp14/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()
/aosp14/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()
/aosp14/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()
/aosp14/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()
/aosp14/frameworks/base/core/jni/
H A Dfilesystem_utils.h40 android::base::GetBoolProperty(kExternalStorageSdcardfs, true); in IsSdcardfsUsed()
/aosp14/system/core/init/
H A Daction_parser.cpp31 using android::base::GetBoolProperty;
40 static bool enabled = GetBoolProperty("ro.actionable_compatible_property.enabled", false); in IsActionableProperty()
H A Dreboot.cpp74 using android::base::GetBoolProperty;
362 if (android::base::GetBoolProperty("ro.debuggable", false) == true) { in RebootMonitorThread()
669 bool do_shutdown_animation = GetBoolProperty("ro.init.shutdown_animation", false); in DoReboot()
1060 !android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) { in HandlePowerctlMessage()
H A Dreboot_utils.cpp130 if (android::base::GetBoolProperty("ro.thermal_warmreset", false)) { in RebootSystem()
H A Dservice.cpp64 using android::base::GetBoolProperty;
364 bool boot_completed = GetBoolProperty("sys.boot_completed", false); in Reap()
371 if (!GetBoolProperty("init.svc_debug.no_fatal." + name_, false)) { in Reap()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/
H A Dsnapuserd_daemon.cpp48 return android::base::GetBoolProperty("ro.virtual_ab.userspace.snapshots.enabled", false); in IsUserspaceSnapshotsEnabled()
52 return android::base::GetBoolProperty("snapuserd.test.dm.snapshots", false); in IsDmSnapshotTestingEnabled()
/aosp14/frameworks/base/cmds/bootanimation/
H A DBootAnimationUtil.cpp86 if (android::base::GetBoolProperty(BOOT_COMPLETED_PROP_NAME, false)) { in playSoundsAllowed()
/aosp14/system/core/fastboot/device/
H A Dusb.cpp229 android::base::GetBoolProperty("sys.usb.ffs.io_uring_enabled", false)) { in create_usb_handle()
233 } else if (android::base::GetBoolProperty("sys.usb.ffs.aio_compat", false)) { in create_usb_handle()
/aosp14/system/core/debuggerd/
H A Dtombstone_handler.cpp44 if (!android::base::GetBoolProperty("microdroid_manager.export_tombstones.enabled", false)) { in connect_tombstone_server_microdroid()
/aosp14/system/core/llkd/
H A Dlibllkd.cpp1281 auto debuggable = android::base::GetBoolProperty("ro.debuggable", false); in llkInit()
1282 llkLowRam = android::base::GetBoolProperty("ro.config.low_ram", false); in llkInit()
1290 llkEnableSysrqT = android::base::GetBoolProperty(LLK_ENABLE_SYSRQ_T_PROPERTY, llkEnableSysrqT); in llkInit()
1291 llkEnable = android::base::GetBoolProperty(LLK_ENABLE_PROPERTY, llkEnable); in llkInit()
1298 khtEnable = android::base::GetBoolProperty(KHT_ENABLE_PROPERTY, khtEnable); in llkInit()
1299 llkMlockall = android::base::GetBoolProperty(LLK_MLOCKALL_PROPERTY, llkMlockall); in llkInit()
1300 llkTestWithKill = android::base::GetBoolProperty(LLK_KILLTEST_PROPERTY, llkTestWithKill); in llkInit()
/aosp14/system/core/fs_mgr/
H A Dfs_mgr_remount.cpp163 if (!android::base::GetBoolProperty("ro.virtual_ab.enabled", false) && in VerifyCheckpointing()
164 !android::base::GetBoolProperty("ro.virtual_ab.retrofit", false)) { in VerifyCheckpointing()
628 if (!ALLOW_ADBD_DISABLE_VERITY || !android::base::GetBoolProperty("ro.debuggable", false)) { in main()
H A Dfs_mgr_format.cpp169 needs_casefold = android::base::GetBoolProperty("external_storage.casefold.enabled", false); in fs_mgr_do_format()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
H A Dsnapuserd_core.cpp436 if (android::base::GetBoolProperty("snapuserd.test.io_uring.force_disable", false)) { in IsIouringSupported()
465 return android::base::GetBoolProperty("ro.virtual_ab.io_uring.enabled", false); in IsIouringSupported()
/aosp14/system/core/libprocessgroup/
H A Dprocessgroup.cpp49 using android::base::GetBoolProperty;
140 bool low_ram_device = GetBoolProperty("ro.config.low_ram", false); in UsePerAppMemcg()
141 return GetBoolProperty("ro.config.per_app_memcg", low_ram_device); in UsePerAppMemcg()
/aosp14/system/core/run-as/
H A Drun-as.cpp178 if (android::base::GetBoolProperty("ro.boot.disable_runas", false)) { in main()

12