Home
last modified time | relevance | path

Searched refs:battery (Results 1 – 25 of 119) sorted by relevance

12345

/external/chromium_org/chrome/browser/chromeos/power/
Dperipheral_battery_observer.cc150 BatteryInfo battery(name, level, base::TimeTicks()); in PeripheralBatteryStatusReceived() local
152 if (PostNotification(address, battery)) in PeripheralBatteryStatusReceived()
153 battery.last_notification_timestamp = testing_clock_ ? in PeripheralBatteryStatusReceived()
156 batteries_[address] = battery; in PeripheralBatteryStatusReceived()
158 BatteryInfo* battery = &batteries_[address]; in PeripheralBatteryStatusReceived() local
159 battery->name = name; in PeripheralBatteryStatusReceived()
160 int old_level = battery->level; in PeripheralBatteryStatusReceived()
161 battery->level = level; in PeripheralBatteryStatusReceived()
163 if (PostNotification(address, *battery)) in PeripheralBatteryStatusReceived()
164 battery->last_notification_timestamp = testing_clock_ ? in PeripheralBatteryStatusReceived()
[all …]
Dperipheral_battery_observer.h77 bool PostNotification(const std::string& address, const BatteryInfo& battery);
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
Dcros_power_monitor.py151 battery = {}
152 battery['charge_full'] = float(final['Battery']['full charge'])
153 battery['charge_full_design'] = (
155 battery['charge_now'] = float(final['Battery']['charge'])
156 battery['current_now'] = float(final['Battery']['current'])
157 battery['energy'] = float(final['Battery']['energy'])
158 battery['energy_rate'] = float(final['Battery']['energy rate'])
159 battery['voltage_now'] = float(final['Battery']['voltage'])
160 component_utilization['battery'] = battery
/external/chromium_org/third_party/WebKit/Source/modules/battery/
DBatteryManager.idl5 // https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html#batterymanager-interface
/external/chromium_org/third_party/WebKit/Source/modules/
DEventTargetModulesFactory.in4 modules/battery/BatteryManager
Dmodules.gypi17 'battery/BatteryManager.idl',
207 'battery/NavigatorBattery.idl',
325 'battery/BatteryDispatcher.cpp',
326 'battery/BatteryDispatcher.h',
327 'battery/BatteryManager.cpp',
328 'battery/BatteryManager.h',
329 'battery/BatteryStatus.cpp',
330 'battery/BatteryStatus.h',
331 'battery/NavigatorBattery.cpp',
332 'battery/NavigatorBattery.h',
Dmodules.target.darwin-x86.mk131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \
132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \
133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \
134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \
Dmodules.target.linux-mips64.mk131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \
132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \
133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \
134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \
Dmodules.target.linux-x86_64.mk131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \
132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \
133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \
134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \
Dmodules.target.linux-arm.mk131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \
132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \
133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \
134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \
Dmodules.target.darwin-x86_64.mk131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \
132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \
133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \
134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \
Dmodules.target.darwin-arm64.mk131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \
132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \
133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \
134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \
Dmodules.target.darwin-mips.mk131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \
132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \
133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \
134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \
Dmodules.target.linux-mips.mk131 third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp \
132 third_party/WebKit/Source/modules/battery/BatteryManager.cpp \
133 third_party/WebKit/Source/modules/battery/BatteryStatus.cpp \
134 third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp \
/external/qemu/docs/
DGOLDFISH-VIRTUAL-HARDWARE.TXT573 VII. Goldfish battery:
577 $QEMU/hw/android/goldfish/battery.c
586 0x00 INT_STATUS R: Read battery and A/C status change bits.
589 0x0c STATUS R: Read battery status (charging/full/... see below).
590 0x10 HEALTH R: Read battery health (good/overheat/... see below).
591 0x14 PRESENT R: Read 1 if battery is present, 0 otherwise.
592 0x18 CAPACITY R: Read battery charge percentage in [0..100] range.
594 A simple device used to report the state of the virtual device's battery, and
597 The device uses a single IRQ to notify the kernel that the battery or A/C status
601 bit 0: Set to 1 to indicate a change in battery status.
[all …]
/external/chromium_org/ash/system/tray/
Dsystem_tray.cc406 base::string16 battery = base::ASCIIToUTF16(""); in GetAccessibleNameForTray() local
408 battery = PowerStatus::Get()->GetAccessibleNameString(false); in GetAccessibleNameForTray()
411 IDS_ASH_STATUS_TRAY_ACCESSIBLE_DESCRIPTION, time, battery); in GetAccessibleNameForTray()
/external/chromium_org/build/android/buildbot/
Dbb_device_status_check.py365 for serial, battery in zip(devices, batteries):
367 [battery], '%',
/external/chromium_org/chrome/browser/ui/webui/options/
Dwebsite_settings_handler.cc568 int battery = 0; in GetInfoForOrigin() local
569 battery = OriginPowerMapFactory::GetForBrowserContext( in GetInfoForOrigin()
635 IDS_WEBSITE_SETTINGS_BATTERY_USED, battery)); in GetInfoForOrigin()
/external/chromium_org/third_party/WebKit/Source/bindings/modules/
Dmodules_static_idl_files_list.tmp9 ../../modules/battery/BatteryManager.idl
196 ../../modules/battery/NavigatorBattery.idl
Dinterfaces_info_individual_modules_static_idl_files_list.tmp9 ../../modules/battery/BatteryManager.idl
196 ../../modules/battery/NavigatorBattery.idl
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/
Dmodules_static_idl_files_list.tmp9 ../../../modules/battery/BatteryManager.idl
196 ../../../modules/battery/NavigatorBattery.idl
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
Dmodules_static_idl_files_list.tmp9 ../../../modules/battery/BatteryManager.idl
196 ../../../modules/battery/NavigatorBattery.idl
/external/chromium_org/third_party/WebKit/
DWATCHLISTS287 'filepath': 'Source/modules/battery/' \
288 '|LayoutTests/battery-status/' \
/external/sepolicy/
Dservice_contexts14 battery u:object_r:system_server_service:s0
/external/qemu/android/avd/
Dhardware-properties.ini126 name = hw.battery
130 description = Whether the device can run on a battery.

12345