Lines Matching refs:GetIntProperty

34     virtual int GetIntProperty(const std::string &key, int default_value, int min, int max);
47 MOCK_METHOD4(GetIntProperty, int(const std::string &key, int default_value, int min, int max));
68 T GetIntProperty(const std::string &key, T default_value, T min, T max) { in GetIntProperty() function
69 return (T)(mock->GetIntProperty(key, default_value, min, max)); in GetIntProperty()
76 template int8_t GetIntProperty(const std::string &, int8_t, int8_t, int8_t);
77 template int16_t GetIntProperty(const std::string &, int16_t, int16_t, int16_t);
78 template int32_t GetIntProperty(const std::string &, int32_t, int32_t, int32_t);
79 template int64_t GetIntProperty(const std::string &, int64_t, int64_t, int64_t);
144 EXPECT_CALL(*mock, GetIntProperty(_, _, _, _)).Times(AnyNumber()); in SetUp()
162 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStart, _, _, _)).WillByDefault(Return(0)); in enableDefender()
163 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStop, _, _, _)).WillByDefault(Return(100)); in enableDefender()
190 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderThreshold, _, _, _)) in defaultThresholds()
193 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlActivateTime, _, _, _)) in defaultThresholds()
195 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlResumeTime, _, _, _)) in defaultThresholds()
198 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStartSOC, _, _, _)) in defaultThresholds()
200 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStopSOC, _, _, _)) in defaultThresholds()
203 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlTriggerSOC, _, _, _)) in defaultThresholds()
238 EXPECT_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStart, _, _, _)).WillOnce(Return(30)); in TEST_F()
239 EXPECT_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStop, _, _, _)).WillOnce(Return(35)); in TEST_F()
382 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderThreshold, _, _, _)) in TEST_F()
384 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlActivateTime, _, _, _)) in TEST_F()
386 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlResumeTime, _, _, _)) in TEST_F()
390 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStartSOC, _, _, _)) in TEST_F()
392 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStopSOC, _, _, _)) in TEST_F()
407 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderThreshold, _, _, _)) in TEST_F()
409 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlActivateTime, _, _, _)) in TEST_F()
411 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlResumeTime, _, _, _)) in TEST_F()
415 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStartSOC, _, _, _)) in TEST_F()
417 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStopSOC, _, _, _)) in TEST_F()
492 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderThreshold, _, _, _)) in TEST_F()
494 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlActivateTime, _, _, _)) in TEST_F()
498 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlResumeTime, _, _, _)) in TEST_F()