Home
last modified time | relevance | path

Searched refs:GetIntProperty (Results 1 – 5 of 5) sorted by relevance

/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp32 virtual int GetIntProperty(const std::string &key, int default_value, int min, int max);
45 MOCK_METHOD4(GetIntProperty, int(const std::string &key, int default_value, int min, int max));
66 T GetIntProperty(const std::string &key, T default_value, T min, T max) { in GetIntProperty() function
67 return (T)(mock->GetIntProperty(key, default_value, min, max)); in GetIntProperty()
74 template int8_t GetIntProperty(const std::string &, int8_t, int8_t, int8_t);
75 template int16_t GetIntProperty(const std::string &, int16_t, int16_t, int16_t);
76 template int32_t GetIntProperty(const std::string &, int32_t, int32_t, int32_t);
77 template int64_t GetIntProperty(const std::string &, int64_t, int64_t, int64_t);
114 EXPECT_CALL(*mock, GetIntProperty(_, _, _, _)).Times(AnyNumber()); in SetUp()
146 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStart, _, _, _)).WillByDefault(Return(0)); in enableDefender()
[all …]
/hardware/google/pixel/health/
DBatteryDefender.cpp173 return android::base::GetIntProperty(kPropBatteryDefenderThreshold, kTimeToActivateSecs, in getTimeToActivate()
292 android::base::GetIntProperty(kPropChargeLevelVendorStart, kChargeLevelDefaultStart); in update()
294 android::base::GetIntProperty(kPropChargeLevelVendorStop, kChargeLevelDefaultStop); in update()
/hardware/google/pixel/vibrator/common/
Dutils.h88 return ::android::base::GetIntProperty(key, def); in getProperty()
/hardware/google/pixel/pixelstats/
DSysfsCollector.cpp551 int fsck_time_ms = android::base::GetIntProperty("ro.boottime.init.fsck.data", 0); in logBootStats()
552 int checkpoint_time_ms = android::base::GetIntProperty("ro.boottime.init.mount.data", 0); in logBootStats()
/hardware/interfaces/radio/1.5/vts/functional/
Dradio_hidl_hal_api.cpp1245 int32_t firstApiLevel = android::base::GetIntProperty<int32_t>("ro.product.first_api_level", 0); in TEST_P()