Home
last modified time | relevance | path

Searched refs:charging (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/docs/html/training/monitoring-device-state/
Dbattery-monitoring.jd31 updates on battery life, checking the current battery level and charging state is a good place to
35 charging state of the device. The impact of performing updates while the device is charging over AC
47 broadcasts all battery and charging details in a sticky {@link android.content.Intent} that includes
48 the charging status.</p>
59 <p>You can extract both the current charging status and, if the device is being charged, whether
60 it's charging via USB or AC charger:<p>
62 <pre>// Are we charging / charged?
67 // How are we charging?
79 <p>The charging status can change as easily as a device can be plugged in, so it's important to
80 monitor the charging state for changes and alter your refresh rate accordingly.</p>
[all …]
Dindex.jd43 level and changes in charging state.</dd>
Ddocking-monitoring.jd33 docks and digital versus analog docks. The dock-state is typically closely linked to the charging
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java158 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
161 boolean changed = mBatteryCharging != charging; in onBatteryLevelChanged()
162 mBatteryCharging = charging; in onBatteryLevelChanged()
DStatusBarHeaderView.java404 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dbattery-monitoring.jd48 <pre>// Are we charging / charged?
53 // How are we charging?
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dbattery-monitoring.jd48 <pre>// Are we charging / charged?
53 // How are we charging?
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dbattery-monitoring.jd48 <pre>// Are we charging / charged?
53 // How are we charging?
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dbattery-monitoring.jd48 <pre>// Are we charging / charged?
53 // How are we charging?
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java125 void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging); in onBatteryLevelChanged() argument
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md31 … | ```plugged``` | | Sets charging state (```true```, ```false```)
100 Empty battery, and not charging (red exclamation point)
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1173 void updateChargingLocked(boolean charging) { in updateChargingLocked() argument
1174 if (DEBUG) Slog.i(TAG, "updateChargingLocked: charging=" + charging); in updateChargingLocked()
1175 if (!charging && mCharging) { in updateChargingLocked()
1180 } else if (charging) { in updateChargingLocked()
1181 mCharging = charging; in updateChargingLocked()
DEventLogTags.logtags10 # This is logged when battery goes from discharging to charging.
/frameworks/base/docs/html/distribute/monetize/
Dpayments.jd28 Users pay by charging their monthly carrier bills . The benefit of Direct
/frameworks/base/docs/html-intl/intl/es/training/monitoring-device-state/
Dbattery-monitoring.jd48 <pre>// Are we charging / charged?
53 // How are we charging?
/frameworks/base/docs/html/design/wear/
Dindex.jd63 …<li>Status indicators, showing connectivity, charging status, airplane mode, and in some watch fac…
Dwatchfaces.jd208 <p>Indicators tell the user the status of the wearable, such as charging and airplane mode.
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java200 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
/frameworks/base/docs/html/preview/backup/
Dindex.jd49 Automatic backups occur every 24 hours, when the device is idle, charging, and connected to a
/frameworks/base/docs/html/training/efficient-downloads/
Defficient-network-access.jd110 …ccur only when connected to Wi-Fi, and possibly only when the device is charging. This is investig…
/frameworks/base/docs/html/tools/devices/
Demulator.jd1239 <td>Set AC charging state to on or off. </td>
1243 <td><code>status &lt;unknown|charging|discharging|not-charging|full&gt;</code></td>
1552 <li>No support for determining battery charge level and AC charging state</li>
/frameworks/base/docs/html/about/versions/
Dlollipop.jd249 … a later time or under specified conditions, such as when the device is charging or connected to W…
Dandroid-5.0.jd655 device is charging). Job scheduling is useful in such situations as:</p>
674 <li>Start when the device is charging</li>
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java8172 boolean setChargingLocked(boolean charging) { in setChargingLocked() argument
8173 if (mCharging != charging) { in setChargingLocked()
8174 mCharging = charging; in setChargingLocked()
8175 if (charging) { in setChargingLocked()
/frameworks/base/docs/html/google/play/billing/v2/
Dapi.jd95 user's account at the specified interval and price, charging the amount to the

12