Home
last modified time | relevance | path

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

/system/update_engine/
Dimage_properties_chromeos_unittest.cc63 ImageProperties props = LoadImageProperties(&fake_system_state_); in TEST_F() local
64 EXPECT_EQ("arm-generic", props.board); in TEST_F()
65 EXPECT_EQ("{87efface-864d-49a5-9bb3-4b050a7c227a}", props.product_id); in TEST_F()
66 EXPECT_EQ("0.2.2.3", props.version); in TEST_F()
67 EXPECT_EQ("dev-channel", props.current_channel); in TEST_F()
68 EXPECT_EQ("http://www.google.com", props.omaha_url); in TEST_F()
75 ImageProperties props = LoadImageProperties(&fake_system_state_); in TEST_F() local
76 EXPECT_EQ("{58c35cef-9d30-476e-9098-ce20377d535d}", props.product_id); in TEST_F()
84 ImageProperties props = LoadImageProperties(&fake_system_state_); in TEST_F() local
85 EXPECT_EQ("0.2.2.3", props.version); in TEST_F()
[all …]
/system/core/healthd/
DBatteryMonitor.cpp65 static void initBatteryProperties(BatteryProperties* props) { in initBatteryProperties() argument
66 props->chargerAcOnline = false; in initBatteryProperties()
67 props->chargerUsbOnline = false; in initBatteryProperties()
68 props->chargerWirelessOnline = false; in initBatteryProperties()
69 props->maxChargingCurrent = 0; in initBatteryProperties()
70 props->maxChargingVoltage = 0; in initBatteryProperties()
71 props->batteryStatus = BATTERY_STATUS_UNKNOWN; in initBatteryProperties()
72 props->batteryHealth = BATTERY_HEALTH_UNKNOWN; in initBatteryProperties()
73 props->batteryPresent = false; in initBatteryProperties()
74 props->batteryLevel = 0; in initBatteryProperties()
[all …]
Dhealthd.cpp54 struct android::BatteryProperties *props);
100 int healthd_board_battery_update(struct android::BatteryProperties *props) { in healthd_board_battery_update() argument
108 convertToHealthInfo(props, info); in healthd_board_battery_update()
112 convertFromHealthInfo(infoOut, props); in healthd_board_battery_update()
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()
Dcharger.cpp37 struct android::BatteryProperties *props);
45 struct android::BatteryProperties *props);
DBatteryPropertiesRegistrar.cpp38 void BatteryPropertiesRegistrar::notifyListeners(const struct BatteryProperties& props) { in notifyListeners() argument
51 listenersCopy[i]->batteryPropertiesChanged(props); in notifyListeners()
DBatteryPropertiesRegistrar.h34 void notifyListeners(const struct BatteryProperties& props);
Dhealthd_mode_charger.cpp723 struct android::BatteryProperties *props) in healthd_mode_charger_battery_update() argument
728 props->chargerAcOnline || props->chargerUsbOnline || in healthd_mode_charger_battery_update()
729 props->chargerWirelessOnline; in healthd_mode_charger_battery_update()
737 batt_prop = props; in healthd_mode_charger_battery_update()
/system/libufdt/
Dufdt_prop_dict.c50 const struct fdt_property **prop_ptr = &dict->props[idx]; in _ufdt_prop_dict_find_index_by_name()
72 const struct fdt_property **props = in _ufdt_prop_dict_construct_int() local
74 if (props == NULL) return -1; in _ufdt_prop_dict_construct_int()
75 dto_memset(props, 0, size * entry_size); in _ufdt_prop_dict_construct_int()
80 dict->props = props; in _ufdt_prop_dict_construct_int()
92 dto_free(dict->props); in ufdt_prop_dict_destruct()
108 const struct fdt_property *prop = dict->props[i]; in _ufdt_prop_dict_enlarge_if_needed()
120 dto_free(dict->props); in _ufdt_prop_dict_enlarge_if_needed()
123 dict->props = temp_dict.props; in _ufdt_prop_dict_enlarge_if_needed()
Dufdt_prop_dict.h26 const struct fdt_property **props; member
/system/bt/build/
Dfluoride.go30 module, props := cc.DefaultsFactory()
33 return module, props
37 type props struct {
42 p := &props{}
/system/update_engine/payload_generator/
Dxz_android.cc91 CXzProps props; in XzCompress() local
92 XzProps_Init(&props); in XzCompress()
96 props.checkId = XZ_CHECK_NO; in XzCompress()
100 props.lzma2Props = &lzma2Props; in XzCompress()
112 SRes res = Xz_Encode(&out_writer, &in_reader, &props, nullptr /* progress */); in XzCompress()
Dcycle_breaker_unittest.cc100 EdgeProperties props; in EdgeWithWeight() local
101 props.extents.resize(1); in EdgeWithWeight()
102 props.extents[0].set_num_blocks(weight); in EdgeWithWeight()
103 return make_pair(dest, props); in EdgeWithWeight()
/system/core/healthd/include/healthd/
Dhealthd.h73 bool (*screen_on)(android::BatteryProperties *props);
93 void (*battery_update)(struct android::BatteryProperties *props);
104 struct android::BatteryProperties *props);
129 int healthd_board_battery_update(struct android::BatteryProperties *props);
DBatteryMonitor.h54 struct BatteryProperties props; variable
/system/core/storaged/
Dstoraged.cpp169 void storaged_t::batteryPropertiesChanged(struct BatteryProperties props) { in batteryPropertiesChanged() argument
170 mUidm.set_charger_state(is_charger_on(props.batteryStatus)); in batteryPropertiesChanged()
/system/core/storaged/include/
Dstoraged.h286 virtual void batteryPropertiesChanged(struct BatteryProperties props);
/system/sepolicy/private/
Dproperty_contexts102 # They are only distinguished here for setting by qemu-props on the
/system/core/adb/
Dadb.cpp275 const std::string& props = pieces[2]; in parse_banner() local
276 for (const auto& prop : android::base::Split(props, ";")) { in parse_banner()