Searched refs:props (Results 1 – 12 of 12) sorted by relevance
/hardware/google/pixel/health/ |
D | BatteryThermalControl.cpp | 43 void BatteryThermalControl::updateThermalState(const struct android::BatteryProperties *props) { in updateThermalState() argument 44 setThermalMode(props->batteryStatus != android::BATTERY_STATUS_CHARGING && in updateThermalState() 45 props->batteryStatus != android::BATTERY_STATUS_FULL, in updateThermalState() 46 props->maxChargingCurrent * props->maxChargingVoltage < 37500000); in updateThermalState()
|
D | BatteryMetricsLogger.cpp | 141 bool BatteryMetricsLogger::recordSample(struct android::BatteryProperties *props) { in recordSample() argument 164 [CURR] = props->batteryCurrent, in recordSample() 165 [VOLT] = props->batteryVoltage, in recordSample() 166 [TEMP] = props->batteryTemperature, in recordSample() 167 [SOC] = props->batteryLevel, in recordSample() 169 if (props->batteryStatus != android::BATTERY_STATUS_CHARGING) { in recordSample() 177 if ((metric == RES && props->batteryStatus == android::BATTERY_STATUS_CHARGING) || in recordSample() 199 void BatteryMetricsLogger::logBatteryProperties(struct android::BatteryProperties *props) { in logBatteryProperties() argument 202 recordSample(props); in logBatteryProperties()
|
D | DeviceHealth.cpp | 33 void DeviceHealth::update(struct android::BatteryProperties *props) { in update() argument 37 props->batteryTemperature = 200; in update()
|
D | LowBatteryShutdownMetrics.cpp | 93 void LowBatteryShutdownMetrics::logShutdownVoltage(struct android::BatteryProperties *props) { in logShutdownVoltage() argument 95 if (!prop_written_ && props->batteryLevel == 0 && in logShutdownVoltage() 96 props->batteryStatus == android::BATTERY_STATUS_DISCHARGING) { in logShutdownVoltage()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | SubscriptionManager.cpp | 78 std::vector<int32_t> props; in getSubscribedProperties() local 81 props.push_back(subscription.first); in getSubscribedProperties() 83 return props; in getSubscribedProperties() 278 std::vector<int32_t> props; in onCallbackDead() local 286 props = halClient->getSubscribedProperties(); in onCallbackDead() 289 for (int32_t propId : props) { in onCallbackDead()
|
/hardware/qcom/sdm845/display/libhistogram/ |
D | histogram_collector.cpp | 127 auto props = drmModeObjectGetProperties(fd, (*crtc)->crtc_id, DRM_MODE_OBJECT_CRTC); in find_histogram_supporting_crtc() local 128 for (auto j = 0u; j < props->count_props; j++) { in find_histogram_supporting_crtc() 129 auto info = drmModeGetProperty(fd, props->props[j]); in find_histogram_supporting_crtc() 131 hist_ctl_found = props->props[j]; in find_histogram_supporting_crtc() 134 hist_irq_found = props->props[j]; in find_histogram_supporting_crtc() 138 drmModeFreeObjectProperties(props); in find_histogram_supporting_crtc()
|
/hardware/google/pixel/health/include/pixelhealth/ |
D | BatteryMetricsLogger.h | 44 void logBatteryProperties(struct android::BatteryProperties *props); 88 bool recordSample(struct android::BatteryProperties *props);
|
D | DeviceHealth.h | 29 void update(struct android::BatteryProperties *props);
|
D | LowBatteryShutdownMetrics.h | 40 void logShutdownVoltage(struct android::BatteryProperties *props);
|
D | BatteryThermalControl.h | 40 void updateThermalState(const struct android::BatteryProperties *props);
|
/hardware/interfaces/audio/effect/all-versions/vts/functional/ |
D | VtsHalAudioEffectTargetTest.cpp | 735 AllProperties props; in TEST_F() local 736 props.bandLevels.resize(numBands); in TEST_F() 738 props.bandLevels[i] = 0; in TEST_F() 745 props.curPreset = -1; in TEST_F() 746 Return<Result> ret = equalizer->setAllProperties(props); in TEST_F() 757 EXPECT_EQ(props.bandLevels, actualProps.bandLevels); in TEST_F() 760 props.curPreset = 0; // Assuming there is at least one preset. in TEST_F() 761 ret = equalizer->setAllProperties(props); in TEST_F() 772 EXPECT_EQ(props.curPreset, actualProps.curPreset); in TEST_F()
|
/hardware/interfaces/automotive/vehicle/2.0/ |
D | IVehicle.hal | 35 getPropConfigs(vec<int32_t> props)
|