Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 39) sorted by relevance

12

/device/google/bonito/health/
DBatteryRechargingControl.cpp75 void BatteryRechargingControl::updateBatteryProperties(struct android::BatteryProperties *props) { in updateBatteryProperties() argument
86 props->batteryStatus = getBatteryStatus(charger_status.c_str()); in updateBatteryProperties()
88 if ((state_ == INACTIVE) && (props->batteryLevel < kFullSoc)) in updateBatteryProperties()
92 << " batteryLevel: " << props->batteryLevel; in updateBatteryProperties()
98 if (props->batteryLevel != kFullSoc) { in updateBatteryProperties()
103 props->batteryLevel = kFullSoc; in updateBatteryProperties()
108 props->batteryLevel = RemapSOC(props->batteryLevel); in updateBatteryProperties()
114 props->batteryLevel = kFullSoc; in updateBatteryProperties()
119 recharge_soc_ = props->batteryLevel; in updateBatteryProperties()
120 props->batteryLevel = kFullSoc; in updateBatteryProperties()
[all …]
DHealthService.cpp111 int healthd_board_battery_update(struct android::BatteryProperties *props) { in healthd_board_battery_update() argument
112 battRechargingControl.updateBatteryProperties(props); in healthd_board_battery_update()
113 deviceHealth.update(props); in healthd_board_battery_update()
114 battInfoUpdate.update(props); in healthd_board_battery_update()
115 battMetricsLogger.logBatteryProperties(props); in healthd_board_battery_update()
116 shutdownMetrics.logShutdownVoltage(props); in healthd_board_battery_update()
117 ccBackupRestoreBMS.Backup(props->batteryLevel); in healthd_board_battery_update()
DBatteryInfoUpdate.cpp31 void BatteryInfoUpdate::update(struct android::BatteryProperties *props) { in update() argument
32 if (props->batteryStatus == android::BATTERY_STATUS_NOT_CHARGING) in update()
33 props->batteryStatus = android::BATTERY_STATUS_DISCHARGING; in update()
DBatteryInfoUpdate.h30 void update(struct android::BatteryProperties *props);
DBatteryRechargingControl.h62 void updateBatteryProperties(struct android::BatteryProperties *props);
/device/google/crosshatch/health/
DBatteryRechargingControl.cpp76 void BatteryRechargingControl::updateBatteryProperties(struct android::BatteryProperties *props) { in updateBatteryProperties() argument
87 props->batteryStatus = getBatteryStatus(charger_status.c_str()); in updateBatteryProperties()
89 if ((state_ == INACTIVE) && (props->batteryLevel < kFullSoc)) in updateBatteryProperties()
93 << " batteryLevel: " << props->batteryLevel; in updateBatteryProperties()
101 props->batteryLevel = kFullSoc; in updateBatteryProperties()
106 props->batteryLevel = RemapSOC(props->batteryLevel); in updateBatteryProperties()
112 props->batteryLevel = kFullSoc; in updateBatteryProperties()
117 recharge_soc_ = props->batteryLevel; in updateBatteryProperties()
118 props->batteryLevel = kFullSoc; in updateBatteryProperties()
120 if (props->batteryLevel < recharge_soc_) { in updateBatteryProperties()
[all …]
DHealthService.cpp112 int healthd_board_battery_update(struct android::BatteryProperties *props) { in healthd_board_battery_update() argument
113 battRechargingControl.updateBatteryProperties(props); in healthd_board_battery_update()
114 deviceHealth.update(props); in healthd_board_battery_update()
115 battMetricsLogger.logBatteryProperties(props); in healthd_board_battery_update()
116 shutdownMetrics.logShutdownVoltage(props); in healthd_board_battery_update()
117 ccBackupRestoreBMS.Backup(props->batteryLevel); in healthd_board_battery_update()
118 ccBackupRestoreMAX.Backup(props->batteryLevel); in healthd_board_battery_update()
119 if (!android::base::WriteStringToFile(std::to_string(props->batteryLevel), in healthd_board_battery_update()
DBatteryRechargingControl.h64 void updateBatteryProperties(struct android::BatteryProperties *props);
/device/generic/goldfish/soundtrigger/
Dmain.cpp33 V2_0::ISoundTriggerHw::Properties props; in getProperties() local
35 props.implementor = "The Android Open Source Project"; in getProperties()
36 props.description = "The Andtoid Studio Emulator Soundtrigger no-op implementation"; in getProperties()
37 props.version = 0; in getProperties()
38 props.uuid = (Uuid){ in getProperties()
45 props.maxSoundModels = 42; in getProperties()
46 props.maxKeyPhrases = 4242; in getProperties()
47 props.maxUsers = 7; in getProperties()
48 props.recognitionModes = RecognitionMode::VOICE_TRIGGER in getProperties()
50 props.captureTransition = false; in getProperties()
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp1320 RboProps props; in addFreshRenderbuffer() local
1321 props.target = GL_RENDERBUFFER; in addFreshRenderbuffer()
1322 props.name = name; in addFreshRenderbuffer()
1323 props.format = GL_NONE; in addFreshRenderbuffer()
1324 props.multisamples = 0; in addFreshRenderbuffer()
1325 props.previouslyBound = false; in addFreshRenderbuffer()
1328 mRboState.rboData[getRboIndex(name)] = props; in addFreshRenderbuffer()
1330 mRboState.rboData.push_back(props); in addFreshRenderbuffer()
1491 const FboProps& props = boundFboProps_const(target); in getBoundFramebufferFormat() local
1505 if (props.colorAttachmenti_hasRbo[colorAttachmentIndex]) { in getBoundFramebufferFormat()
[all …]
/device/google/coral/health/
DHealth.cpp118 int private_healthd_board_battery_update(struct android::BatteryProperties *props) { in private_healthd_board_battery_update() argument
119 deviceHealth.update(props); in private_healthd_board_battery_update()
120 battThermalControl.updateThermalState(props); in private_healthd_board_battery_update()
121 battMetricsLogger.logBatteryProperties(props); in private_healthd_board_battery_update()
122 shutdownMetrics.logShutdownVoltage(props); in private_healthd_board_battery_update()
123 ccBackupRestore.Backup(props->batteryLevel); in private_healthd_board_battery_update()
173 struct BatteryProperties props; in UpdateHealthInfo() local
174 convertFromHealthInfo(health_info->legacy.legacy, &props); in UpdateHealthInfo()
175 private_healthd_board_battery_update(&props); in UpdateHealthInfo()
176 convertToHealthInfo(&props, health_info->legacy.legacy); in UpdateHealthInfo()
/device/google/crosshatch/
Dproduct.prop19 # system props for the cne module
22 # system props for the MM modules
40 # system props for the data netmgrd
43 # system props for time-services
46 # system props for perfetto
85 ## system props for the data modules
91 # System props to enable Bluetooth Quality Report (BQR) feature
/device/google/coral/
Dproduct.prop19 # system props for the cne module
22 # system props for the MM modules
40 # system props for the data netmgrd
43 # system props for time-services
46 # system props for perfetto
85 ## system props for the data modules
94 # System props to enable Bluetooth Quality Report (BQR) feature
/device/google/bonito/
Dproduct.prop19 # system props for the cne module
22 # system props for the MM modules
40 # system props for the data netmgrd
43 # system props for time-services
82 ## system props for the data modules
88 # System props to enable Bluetooth Quality Report (BQR) feature
/device/generic/goldfish-opengl/system/vulkan_enc/
DHostVisibleMemoryVirtualization.cpp188 const auto& props = in isHostVisibleMemoryTypeIndexForGuest() local
193 return props.memoryTypes[index].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT; in isHostVisibleMemoryTypeIndexForGuest()
200 const auto& props = in isDeviceLocalMemoryTypeIndexForGuest() local
205 return props.memoryTypes[index].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in isDeviceLocalMemoryTypeIndexForGuest()
315 const auto& props = in isNoFlagsMemoryTypeIndexForGuest() local
319 return props.memoryTypes[index].propertyFlags == 0; in isNoFlagsMemoryTypeIndexForGuest()
/device/google/wahoo/
Dsystem.prop19 # system props for the cne module
22 # system props for the MM modules
39 # system props for time-services
63 ## system props for the data modules
/device/generic/goldfish/qemu-props/
DAndroid.bp20 name: "qemu-props",
22 srcs: ["qemu-props.cpp"],
/device/google/wahoo/health/
DHealthService.cpp75 int healthd_board_battery_update(struct android::BatteryProperties *props) in healthd_board_battery_update() argument
77 cycle_count_backup(props->batteryLevel); in healthd_board_battery_update()
/device/generic/goldfish/
Dinit.goldfish.rc79 # The qemu-props program is used to set various system
85 service qemu-props /system/bin/qemu-props
Dinit.ranchu.rc45 start qemu-props
138 # The qemu-props program is used to set various system
144 service qemu-props /vendor/bin/qemu-props
/device/generic/trusty/
Dinit.qemu_trusty.rc73 # The qemu-props program is used to set various system
79 service qemu-props /vendor/bin/qemu-props
/device/generic/goldfish/sepolicy/common/
Dqemu_props.te1 # qemu-props service: Sets system properties on boot.
/device/google/coral-sepolicy/vendor/qcom/common/
Dproperty.te104 # Bluetooth props
130 # Audio props
/device/google/cuttlefish/guest/hals/camera/
DEmulatedCamera2.h67 virtual status_t Initialize(const cuttlefish::CameraDefinition &props);
/device/google/coral-sepolicy/vendor/google/
Dproperty_contexts65 # Google camera hal read only props

12