Home
last modified time | relevance | path

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

/system/core/healthd/
DBatteryMonitor.cpp179 props.chargerAcOnline = false; in update()
180 props.chargerUsbOnline = false; in update()
181 props.chargerWirelessOnline = false; in update()
182 props.batteryStatus = BATTERY_STATUS_UNKNOWN; in update()
183 props.batteryHealth = BATTERY_HEALTH_UNKNOWN; in update()
186 props.batteryPresent = getBooleanField(mHealthdConfig->batteryPresentPath); in update()
188 props.batteryPresent = mBatteryDevicePresent; in update()
190 props.batteryLevel = mBatteryFixedCapacity ? in update()
193 props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000; in update()
195 props.batteryTemperature = mBatteryFixedTemperature ? in update()
[all …]
Dhealthd.h71 bool (*screen_on)(android::BatteryProperties *props);
86 void (*battery_update)(struct android::BatteryProperties *props);
97 struct android::BatteryProperties *props);
122 int healthd_board_battery_update(struct android::BatteryProperties *props);
Dhealthd_mode_android.cpp33 struct android::BatteryProperties *props) { in healthd_mode_android_battery_update() argument
35 gBatteryPropertiesRegistrar->notifyListeners(*props); in healthd_mode_android_battery_update()
DBatteryPropertiesRegistrar.cpp37 void BatteryPropertiesRegistrar::notifyListeners(struct BatteryProperties props) { in notifyListeners() argument
40 mListeners[i]->batteryPropertiesChanged(props); in notifyListeners()
Dhealthd.cpp84 struct android::BatteryProperties *props);
92 struct android::BatteryProperties *props);
100 struct android::BatteryProperties *props);
DBatteryPropertiesRegistrar.h34 void notifyListeners(struct BatteryProperties props);
DBatteryMonitor.h51 struct BatteryProperties props; variable
Dhealthd_mode_charger.cpp610 struct android::BatteryProperties *props) in healthd_mode_charger_battery_update() argument
615 props->chargerAcOnline || props->chargerUsbOnline || in healthd_mode_charger_battery_update()
616 props->chargerWirelessOnline; in healthd_mode_charger_battery_update()
624 batt_prop = props; in healthd_mode_charger_battery_update()
/system/vold/
DExt4Crypt.cpp73 UnencryptedProperties& props) in put_crypt_ftr_and_key() argument
77 bool success = props.Set<int>(tag::magic, crypt_ftr.magic) in put_crypt_ftr_and_key()
78 && props.Set<int>(tag::major_version, crypt_ftr.major_version) in put_crypt_ftr_and_key()
79 && props.Set<int>(tag::minor_version, crypt_ftr.minor_version) in put_crypt_ftr_and_key()
80 && props.Set<int>(tag::flags, crypt_ftr.flags) in put_crypt_ftr_and_key()
81 && props.Set<int>(tag::crypt_type, crypt_ftr.crypt_type) in put_crypt_ftr_and_key()
82 && props.Set<int>(tag::failed_decrypt_count, in put_crypt_ftr_and_key()
84 && props.Set<std::string>(tag::crypto_type_name, in put_crypt_ftr_and_key()
86 && props.Set<std::string>(tag::master_key, in put_crypt_ftr_and_key()
89 && props.Set<std::string>(tag::salt, in put_crypt_ftr_and_key()
[all …]
/system/extras/ext4_utils/
Dext4_crypt.cpp129 UnencryptedProperties props(dir); in e4crypt_non_default_key() local
130 return props.Get<int>(properties::is_default, 1) != 1; in e4crypt_non_default_key()
Dext4_crypt_init_extensions.cpp146 UnencryptedProperties props("/data"); in e4crypt_set_directory_policy() local
147 std::string policy = props.Get<std::string>(properties::ref); in e4crypt_set_directory_policy()
Dunencrypted_properties.h8 extern const char* props;
Dunencrypted_properties.cpp9 const char* props = "props"; variable
/system/core/adb/
Dadb.cpp350 const std::string& props = pieces[2]; in parse_banner() local
351 for (auto& prop : android::base::Split(props, ";")) { in parse_banner()