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);
142 EXPECT_CALL(*mock, GetIntProperty(_, _, _, _)).Times(AnyNumber()); in SetUp()
160 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStart, _, _, _)).WillByDefault(Return(0)); in enableDefender()
161 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStop, _, _, _)).WillByDefault(Return(100)); in enableDefender()
188 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderThreshold, _, _, _)) in defaultThresholds()
191 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlActivateTime, _, _, _)) in defaultThresholds()
193 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlResumeTime, _, _, _)) in defaultThresholds()
196 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStartSOC, _, _, _)) in defaultThresholds()
198 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStopSOC, _, _, _)) in defaultThresholds()
201 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlTriggerSOC, _, _, _)) in defaultThresholds()
236 EXPECT_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStart, _, _, _)).WillOnce(Return(30)); in TEST_F()
237 EXPECT_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStop, _, _, _)).WillOnce(Return(35)); in TEST_F()
380 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderThreshold, _, _, _)) in TEST_F()
382 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlActivateTime, _, _, _)) in TEST_F()
384 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlResumeTime, _, _, _)) in TEST_F()
388 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStartSOC, _, _, _)) in TEST_F()
390 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStopSOC, _, _, _)) in TEST_F()
405 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderThreshold, _, _, _)) in TEST_F()
407 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlActivateTime, _, _, _)) in TEST_F()
409 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlResumeTime, _, _, _)) in TEST_F()
413 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStartSOC, _, _, _)) in TEST_F()
415 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlStopSOC, _, _, _)) in TEST_F()
490 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderThreshold, _, _, _)) in TEST_F()
492 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlActivateTime, _, _, _)) in TEST_F()
496 ON_CALL(*mock, GetIntProperty(kPropBatteryDefenderCtrlResumeTime, _, _, _)) in TEST_F()