Home
last modified time | relevance | path

Searched refs:plugged (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java86 boolean plugged; field in BatteryMeterView.BatteryTracker
105 plugged = plugType != 0; in onReceive()
339 mBatteryPaint.setColor(tracker.plugged ? mChargeColor : getColorForLevel(level)); in draw()
362 if (tracker.plugged) { in draw()
400 if (!tracker.plugged && level > mCriticalLevel && mShowPercent in draw()
429 if (!tracker.plugged) { in draw()
455 mDemoTracker.plugged = mTracker.plugged; in dispatchDemoCommand()
461 String plugged = args.getString("plugged"); in dispatchDemoCommand() local
465 if (plugged != null) { in dispatchDemoCommand()
466 mDemoTracker.plugged = Boolean.parseBoolean(plugged); in dispatchDemoCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java165 final boolean plugged = mPlugType != 0; in onReceive()
180 Slog.d(TAG, "plugged " + oldPlugged + " --> " + plugged); in onReceive()
195 if (!plugged in onReceive()
202 } else if (plugged || (bucket > oldBucket && bucket > 0)) { in onReceive()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java444 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
448 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health));
583 public final int plugged; field in KeyguardUpdateMonitor.BatteryStatus
585 public BatteryStatus(int status, int level, int plugged, int health) { in BatteryStatus() argument
588 this.plugged = plugged; in BatteryStatus()
597 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedIn()
598 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn()
599 || plugged == BatteryManager.BATTERY_PLUGGED_WIRELESS; in isPluggedIn()
/frameworks/base/tests/AccessoryDisplay/
DREADME45 so the USB OTG cable should be plugged directly into it.
/frameworks/base/tools/orientationplot/
DREADME.txt19 1. Plug in the device. Ensure that it is the only device plugged in
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java242 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()
251 return !plugged in shouldSendBatteryLowLocked()
DEventLogTags.logtags9 2723 battery_status (status|1|5),(health|1|5),(present|1|5),(plugged|1|5),(technology|3)
/frameworks/base/docs/html/training/monitoring-device-state/
Dbattery-monitoring.jd79 <p>The charging status can change as easily as a device can be plugged in, so it's important to
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java4366 void setHdmiPlugged(boolean plugged) {
4367 if (mHdmiPlugged != plugged) {
4368 mHdmiPlugged = plugged;
4372 intent.putExtra(EXTRA_HDMI_PLUGGED_STATE, plugged);
4378 boolean plugged = false;
4390 plugged = 0 != Integer.parseInt(new String(buf, 0, n-1));
4407 mHdmiPlugged = !plugged;
/frameworks/base/docs/html/tools/
Ddevice.jd155 <p>When plugged in over USB, you can verify that your device is connected by executing <code>adb
/frameworks/base/docs/html/tools/adk/
Dadk2.jd178 device, make sure the AC power adapter is plugged in. A USB connection to a computer does not
218 device, make sure the AC power adapter is plugged in. A USB connection to a computer does not
Dadk.jd334 power cable to the accessory is plugged in or that the micro-USB port on the accesory is
/frameworks/base/docs/html/guide/practices/
Dseamlessness.jd232 A mobile device isn't very mobile if it's constantly plugged into the
/frameworks/base/docs/html/guide/practices/app-design/
Dseamlessness.jd231 A mobile device isn't very mobile if it's constantly plugged into the
/frameworks/base/docs/html/training/auto/messaging/
Dindex.jd79 separate, Android mobile device. When the mobile device is plugged into a dashboard,
/frameworks/base/docs/html/training/sync-adapters/
Drunning-sync-adapter.jd348 scheduling your sync adapter to run at night. Most users leave their powered on and plugged in
/frameworks/base/docs/html/about/versions/
Dandroid-5.0.jd659 <li>The app has work you'd prefer to do when the unit is plugged in.</li>
694 <p>If the device has stable power (that is, it has been plugged in for more
Dandroid-4.2.jd139 when the device is inserted into a dock or when the device is left idle while plugged in to a
/frameworks/base/docs/html/guide/topics/providers/
Ddocument-provider.jd115 providers, which only appear if the drive is plugged in. </li>
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-element.jd253 plugged in an external keyboard.</td>
/frameworks/base/api/
Dsystem-current.txt22961 field public static final java.lang.String EXTRA_PLUGGED = "plugged";
Dcurrent.txt21381 field public static final java.lang.String EXTRA_PLUGGED = "plugged";