Home
last modified time | relevance | path

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

123

/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 …]
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()
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.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-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp1190 RboProps props; in addFreshRenderbuffer() local
1191 props.target = GL_RENDERBUFFER; in addFreshRenderbuffer()
1192 props.name = name; in addFreshRenderbuffer()
1193 props.format = GL_NONE; in addFreshRenderbuffer()
1194 props.multisamples = 0; in addFreshRenderbuffer()
1195 props.previouslyBound = false; in addFreshRenderbuffer()
1198 mRboState.rboData[getRboIndex(name)] = props; in addFreshRenderbuffer()
1200 mRboState.rboData.push_back(props); in addFreshRenderbuffer()
1361 const FboProps& props = boundFboProps_const(target); in getBoundFramebufferFormat() local
1375 if (props.colorAttachmenti_hasRbo[colorAttachmentIndex]) { in getBoundFramebufferFormat()
[all …]
/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
44 # system props for time-services
47 # system props for perfetto
86 ## system props for the data modules
92 # 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
44 # system props for time-services
83 ## system props for the data modules
89 # System props to enable Bluetooth Quality Report (BQR) feature
/device/google/wahoo/
Dsystem.prop19 # system props for the cne module
22 # system props for the MM modules
39 # system props for the data netmgrd
43 # system props for time-services
67 ## system props for the data modules
/device/generic/goldfish/qemu-props/
DAndroid.mk26 LOCAL_MODULE := qemu-props
28 LOCAL_SRC_FILES := qemu-props.c
/device/generic/goldfish-opengl/system/vulkan_enc/
DHostVisibleMemoryVirtualization.cpp183 const auto& props = in isHostVisibleMemoryTypeIndexForGuest() local
188 return props.memoryTypes[index].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT; in isHostVisibleMemoryTypeIndexForGuest()
195 const auto& props = in isDeviceLocalMemoryTypeIndexForGuest() local
200 return props.memoryTypes[index].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in isDeviceLocalMemoryTypeIndexForGuest()
206 const auto& props = in isNoFlagsMemoryTypeIndexForGuest() local
210 return props.memoryTypes[index].propertyFlags == 0; in isNoFlagsMemoryTypeIndexForGuest()
/device/generic/goldfish/kernel-tests/
Dinit.ranchu.rc26 service qemu-props /vendor/bin/qemu-props
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaEnc.h54 SRes LzmaEnc_SetProps(CLzmaEncHandle p, const CLzmaEncProps *props);
73 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
DLzmaEnc.c97 CLzmaEncProps props = *props2; in LzmaEncProps_GetDictSize() local
98 LzmaEncProps_Normalize(&props); in LzmaEncProps_GetDictSize()
99 return props.dictSize; in LzmaEncProps_GetDictSize()
441 CLzmaEncProps props = *props2; in LzmaEnc_SetProps() local
442 LzmaEncProps_Normalize(&props); in LzmaEnc_SetProps()
444 if (props.lc > LZMA_LC_MAX in LzmaEnc_SetProps()
445 || props.lp > LZMA_LP_MAX in LzmaEnc_SetProps()
446 || props.pb > LZMA_PB_MAX in LzmaEnc_SetProps()
447 || props.dictSize > ((UInt64)1 << kDicLogSizeMaxCompress) in LzmaEnc_SetProps()
448 || props.dictSize > kMaxHistorySize) in LzmaEnc_SetProps()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/
DLzmaCompress.c104 CLzmaEncProps props; in Encode() local
106 LzmaEncProps_Init(&props); in Encode()
107 LzmaEncProps_Normalize(&props); in Encode()
160 &props, outBuffer, &outPropsSize, 0, in Encode()
/device/generic/mini-emulator-arm64/
Dinit.mini-emulator.rc64 # The qemu-props program is used to set various system
70 service qemu-props /system/bin/qemu-props
/device/generic/mini-emulator-armv7-a-neon/
Dinit.mini-emulator.rc64 # The qemu-props program is used to set various system
70 service qemu-props /system/bin/qemu-props
/device/google/marlin/
Dsystem.prop33 # system props for the cne module
40 #system props for the MM modules
64 # system props for the data modules
70 #system props for time-services
87 # System props for telephony
/device/generic/goldfish/sepolicy/common/
Dqemu_props.te1 # qemu-props service: Sets system properties on boot.
/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/google/marlin/health/
DHealthService.cpp83 int healthd_board_battery_update(struct android::BatteryProperties *props) in healthd_board_battery_update() argument
85 cycle_count_backup(props->batteryLevel); in healthd_board_battery_update()
/device/generic/qemu/
Dinit.ranchu.rc82 # The qemu-props program is used to set various system
88 service qemu-props /vendor/bin/qemu-props

123