Home
last modified time | relevance | path

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

/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()
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()
/hardware/interfaces/dumpstate/1.1/default/
Dmain.cpp106 return ::android::base::GetBoolProperty(kVerboseLoggingProperty, false); in getVerboseLoggingEnabledImpl()
/hardware/google/pixel/health/
DBatteryDefender.cpp179 android::base::GetBoolProperty(kPropBatteryDefenderDisable, false); in isBatteryDefenderDisabled()
181 android::base::GetBoolProperty(kPropBatteryDefenderCtrlEnable, kDefaultEnable); in isBatteryDefenderDisabled()
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DFileNode.cc41 android::base::GetBoolProperty("ro.debuggable", false) ? 5ms : 50ms) { in FileNode()
/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/vibrator/common/
Dutils.h98 return ::android::base::GetBoolProperty(key, def);
/hardware/google/pixel/power-libperfmgr/disp-power/
DInteractionHandler.cpp50 ::android::base::GetBoolProperty("vendor.powerhal.disp.idle_support", true);
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DVehicleEmulator.cpp230 return android::base::GetBoolProperty("ro.boot.qemu", false); in isInEmulator()
DEmulatedVehicleHal.cpp113 android::base::GetBoolProperty("persist.vendor.vhal_init_value_override", false); in EmulatedVehicleHal()
/hardware/google/pixel/power-libperfmgr/aidl/
DPowerHintSession.cpp78 ::android::base::GetBoolProperty(kPowerHalAdpfUclampEnable, true); in sched_setattr()
/hardware/google/pixel/thermal/utils/
Dconfig_parser.cpp573 android::base::GetBoolProperty(kPowerLinkDisabledProperty.data(), false); in ParseSensorInfo()