Home
last modified time | relevance | path

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

/hardware/google/pixel/usb/aidl/
DUsbGadgetAidlUtils.cpp33 using ::android::base::GetBoolProperty;
114 if (!GetBoolProperty(kUvcEnabled, false)) { in addGenericAndroidFunctions()
/hardware/google/pixel/health/test/
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()
145 EXPECT_CALL(*mock, GetBoolProperty(_, _)).Times(AnyNumber()); in SetUp()
164 ON_CALL(*mock, GetBoolProperty(kPropBatteryDefenderDisable, _)).WillByDefault(Return(false)); in enableDefender()
166 ON_CALL(*mock, GetBoolProperty(kPropBatteryDefenderCtrlEnable, _)).WillByDefault(Return(true)); in enableDefender()
249 EXPECT_CALL(*mock, GetBoolProperty(kPropBatteryDefenderDisable, _)).WillOnce(Return(true)); in TEST_F()
/hardware/interfaces/audio/aidl/default/primary/
DStreamPrimary.cpp35 using android::base::GetBoolProperty;
116 GetBoolProperty("ro.boot.audio.tinyalsa.simulate_input", false); in useStubStream()
189 GetBoolProperty("ro.boot.audio.tinyalsa.ignore_output", false); in useStubStream()
/hardware/interfaces/dumpstate/aidl/default/
DDumpstate.cpp83 return ::android::base::GetBoolProperty(kVerboseLoggingProperty, false); in getVerboseLoggingEnabledImpl()
/hardware/interfaces/boot/1.1/vts/functional/
DVtsHalBootV1_1TargetTest.cpp50 return android::base::GetBoolProperty("ro.virtual_ab.enabled", false); in IsVirtualAbEnabled()
/hardware/interfaces/dumpstate/1.1/default/
Dmain.cpp106 return ::android::base::GetBoolProperty(kVerboseLoggingProperty, false); in getVerboseLoggingEnabledImpl()
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DFileNode.cc40 warn_timeout_(android::base::GetBoolProperty("ro.debuggable", false) ? 5ms : 50ms) {} in FileNode()
DNodeLooperThread.cc44 !android::base::GetBoolProperty(a.enable_property, true)) { in Request()
DHintManager.cc129 !android::base::GetBoolProperty(action.enable_property, true)) { in DoHintAction()
288 if (android::base::GetBoolProperty(kConfigDebugPathProperty.data(), false)) { in Reload()
496 bool truncate = android::base::GetBoolProperty(kPowerHalTruncateProp, true); in ParseNodes()
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraPerf.cpp404 mIsPerfdEnabled = android::base::GetBoolProperty("persist.camera.perfd.enable", false); in QCameraPerfLock()
677 … bool IsPerfdEnabled = android::base::GetBoolProperty("persist.camera.perfd.enable", false); in createSingleton()
/hardware/google/pixel/health/
DBatteryDefender.cpp235 android::base::GetBoolProperty(kPropBatteryDefenderDisable, false); in isBatteryDefenderDisabled()
237 android::base::GetBoolProperty(kPropBatteryDefenderCtrlEnable, kDefaultEnable); in isBatteryDefenderDisabled()
/hardware/google/pixel/power-libperfmgr/disp-power/
DInteractionHandler.cpp50 ::android::base::GetBoolProperty("vendor.powerhal.disp.idle_support", true);
/hardware/google/pixel/vibrator/common/
Dutils.h121 return ::android::base::GetBoolProperty(key, def);
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultVehicleHalServer.cpp466 if (android::base::GetBoolProperty("persist.vendor.vhal_init_value_override", false)) { in maybeOverrideProperties()
/hardware/google/pixel/thermal/
Dthermal-helper.cpp153 ::android::base::GetBoolProperty(kThermalDisabledProperty.data(), false); in ThermalHelperImpl()
342 ::android::base::GetBoolProperty(kThermalGenlProperty.data(), false); in ThermalHelperImpl()
/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp755 ::android::base::GetBoolProperty(kPowerLinkDisabledProperty.data(), false); in ParseBindedCdevInfo()
/hardware/google/pixel/pixelstats/
DSysfsCollector.cpp897 bool smart_idle_enabled = android::base::GetBoolProperty( in logF2fsSmartIdleMaintEnabled()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp374 android::base::GetBoolProperty(OVERRIDE_PROPERTY, /*default_value=*/false); in UseOverrideConfigDir()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDisplay.cpp749 base::GetBoolProperty(std::string("debug.hwc.trace_hint_sessions"), false);
752 base::GetBoolProperty(std::string("debug.hwc.normalize_hint_session_durations"), false);
755 base::GetBoolProperty(std::string("debug.hwc.use_rate_limiter"), true);