/hardware/google/pixel/health/test/ |
D | TestBatteryDefender.cpp | 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() [all …]
|
/hardware/google/pixel/health/ |
D | BatteryThermalControl.cpp | 27 using android::base::GetIntProperty; 49 int bcl_disable = GetIntProperty("persist.vendor.disable.bcl.control", 0); in updateThermalState() 60 int bcl_disable = GetIntProperty("persist.vendor.disable.bcl.control", 0); in updateThermalState()
|
D | BatteryDefender.cpp | 139 const int newDefenderLevelStart = android::base::GetIntProperty( in writeChargeLevelsToFile() 141 const int newDefenderLevelStop = android::base::GetIntProperty( in writeChargeLevelsToFile() 261 android::base::GetIntProperty(kPropBatteryDefenderThreshold, kTimeToActivateSecs, in getTimeToActivate() 270 return android::base::GetIntProperty(kPropBatteryDefenderCtrlActivateTime, in getTimeToActivate() 294 const int triggerLevel = android::base::GetIntProperty( in stateMachine_runAction() 350 const int timeToClear = android::base::GetIntProperty( in stateMachine_getNextState() 353 const int bdClear = android::base::GetIntProperty(kPropBatteryDefenderCtrlClear, 0); in stateMachine_getNextState() 467 android::base::GetIntProperty(kPropChargeLevelVendorStart, kChargeLevelDefaultStart); in update() 469 android::base::GetIntProperty(kPropChargeLevelVendorStop, kChargeLevelDefaultStop); in update()
|
/hardware/interfaces/bluetooth/aidl/vts/ |
D | VtsHalBluetoothTargetTest.cpp | 89 ::android::base::GetIntProperty("ro.vendor.api_level", -1); in get_vsr_api_level() 95 vendor_api_level = ::android::base::GetIntProperty("ro.board.api_level", -1); in get_vsr_api_level() 98 ::android::base::GetIntProperty("ro.board.first_api_level", -1); in get_vsr_api_level() 102 ::android::base::GetIntProperty("ro.product.first_api_level", -1); in get_vsr_api_level() 105 ::android::base::GetIntProperty("ro.build.version.sdk", -1); in get_vsr_api_level() 1118 int max_connections = ::android::base::GetIntProperty( in TEST_P()
|
/hardware/google/pixel/vibrator/common/ |
D | utils.h | 97 return ::android::base::GetIntProperty(key, def); in getProperty()
|
/hardware/interfaces/audio/aidl/vts/ |
D | VtsHalVolumeTargetTest.cpp | 145 android::base::GetIntProperty("ro.vendor.api_level", __ANDROID_API_FUTURE__)) { in VolumeDataTest()
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.cpp | 1726 int vendor_api_level = ::android::base::GetIntProperty("ro.vendor.api_level", -1); in get_vsr_api_level() 1732 vendor_api_level = ::android::base::GetIntProperty("ro.board.api_level", -1); in get_vsr_api_level() 1734 vendor_api_level = ::android::base::GetIntProperty("ro.board.first_api_level", -1); in get_vsr_api_level() 1737 int product_api_level = ::android::base::GetIntProperty("ro.product.first_api_level", -1); in get_vsr_api_level() 1739 product_api_level = ::android::base::GetIntProperty("ro.build.version.sdk", -1); in get_vsr_api_level()
|
/hardware/interfaces/graphics/mapper/3.0/vts/functional/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 334 if (base::GetIntProperty("ro.vendor.api_level", __ANDROID_API_FUTURE__) < __ANDROID_API_T__) { in TEST_P()
|
/hardware/interfaces/thermal/aidl/vts/ |
D | VtsHalThermalTargetTest.cpp | 354 auto apiLevel = ::android::base::GetIntProperty<int32_t>("ro.vendor.api_level", 0); in TEST_P()
|
/hardware/interfaces/media/omx/1.0/vts/functional/store/ |
D | VtsHalMediaOmxV1_0TargetStoreTest.cpp | 383 static int sBoardFirstApiLevel = android::base::GetIntProperty("ro.board.first_api_level", 0); in TEST_P()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | BurstUtils.cpp | 49 base::GetIntProperty(property, kDefaultPollingTimeWindow, kMinPollingTimeWindow); in getPollingTimeWindow()
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 365 int vendor_api_level = ::android::base::GetIntProperty("ro.vendor.api_level", -1); in get_vsr_api_level() 371 vendor_api_level = ::android::base::GetIntProperty("ro.board.api_level", -1); in get_vsr_api_level() 373 vendor_api_level = ::android::base::GetIntProperty("ro.board.first_api_level", -1); in get_vsr_api_level() 376 int product_api_level = ::android::base::GetIntProperty("ro.product.first_api_level", -1); in get_vsr_api_level() 378 product_api_level = ::android::base::GetIntProperty("ro.build.version.sdk", -1); in get_vsr_api_level()
|
/hardware/interfaces/radio/1.5/vts/functional/ |
D | radio_hidl_hal_api.cpp | 1291 int32_t firstApiLevel = android::base::GetIntProperty<int32_t>("ro.product.first_api_level", 0); in TEST_P() 1292 int32_t boardApiLevel = android::base::GetIntProperty<int32_t>("ro.board.first_api_level", 0); in TEST_P()
|
/hardware/google/pixel/pixelstats/ |
D | SysfsCollector.cpp | 1114 int fsck_time_ms = android::base::GetIntProperty("ro.boottime.init.fsck.data", 0); in logBootStats() 1115 int checkpoint_time_ms = android::base::GetIntProperty("ro.boottime.init.mount.data", 0); in logBootStats()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/ |
D | FakeVehicleHardware.cpp | 93 using ::android::base::GetIntProperty; 399 int config = GetIntProperty(POWER_STATE_REQ_CONFIG_PROPERTY, /*default_value=*/0); in init()
|
/hardware/interfaces/security/keymint/support/ |
D | remote_prov_utils.cpp | 975 int vendor_api_level = ::android::base::GetIntProperty("ro.vendor.api_level", -1); in getDiceChainKind()
|
/hardware/interfaces/graphics/mapper/4.0/vts/functional/ |
D | VtsHalGraphicsMapperV4_0TargetTest.cpp | 1003 if (base::GetIntProperty("ro.vendor.api_level", __ANDROID_API_FUTURE__) < __ANDROID_API_T__) { in TEST_P() 2226 if (base::GetIntProperty("ro.vendor.api_level", __ANDROID_API_FUTURE__) >= __ANDROID_API_T__) { in TEST_P()
|