Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DBatteryStateSnapshot.kt12 val plugged: Boolean, constant in com.android.systemui.power.BatteryStateSnapshot
37 plugged: Boolean,
45 plugged,
DPowerUI.java236 final boolean plugged = mPlugType != 0; in onReceive()
251 Slog.d(TAG, "plugged " + oldPlugged + " --> " + plugged); in onReceive()
278 plugged, bucket); in onReceive()
293 protected void maybeShowBatteryWarningV2(boolean plugged, int bucket) { in maybeShowBatteryWarningV2() argument
308 plugged, bucket, mBatteryStatus, mLowBatteryReminderLevels[1], in maybeShowBatteryWarningV2()
319 plugged, bucket, mBatteryStatus, mLowBatteryReminderLevels[1], in maybeShowBatteryWarningV2()
/frameworks/hardware/interfaces/cameraservice/service/2.0/
Dtypes.hal45 * Device physically has been plugged in and the camera can be used
51 * Device physically has been plugged in but it will not be connect-able
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java316 String plugged = args.getString("plugged"); in dispatchDemoCommand() local
321 if (plugged != null) { in dispatchDemoCommand()
322 mPluggedIn = Boolean.parseBoolean(plugged); in dispatchDemoCommand()
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md31 … | ```plugged``` | | Sets charging state (```true```, ```false```)
105 0 -e plugged false
159 plugged false
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java984 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
1004 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health,
1244 public final int plugged; field in KeyguardUpdateMonitor.BatteryStatus
1247 public BatteryStatus(int status, int level, int plugged, int health, in BatteryStatus() argument
1251 this.plugged = plugged; in BatteryStatus()
1261 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedIn()
1262 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn()
1263 || plugged == BatteryManager.BATTERY_PLUGGED_WIRELESS; in isPluggedIn()
1271 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedInWired()
1272 || plugged == BatteryManager.BATTERY_PLUGGED_USB; in isPluggedInWired()
[all …]
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto80 // True if the device is plugged into a power source.
235 // True if the device should wake up when plugged or unplugged.
237 // True if the device should wake up when plugged or unplugged in theater mode.
251 // True if dreams can run while not plugged in.
285 // The stay on while plugged in setting.
Dforceappstandbytracker.proto65 // Whether device is plugged in to the charger
/frameworks/base/core/proto/android/service/
Dbattery.proto32 optional android.os.BatteryPluggedStateEnum plugged = 2; field
/frameworks/base/tests/AccessoryDisplay/
DREADME45 so the USB OTG cable should be plugged directly into it.
/frameworks/base/tools/orientationplot/
DREADME.txt21 1. Plug in the device. Ensure that it is the only device plugged in
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto94 // This generally means it's a sim-selected carrier, a plugged in
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java619 public void setHdmiPlugged(boolean plugged) { in setHdmiPlugged() argument
620 setHdmiPlugged(plugged, false /* force */); in setHdmiPlugged()
623 public void setHdmiPlugged(boolean plugged, boolean force) { in setHdmiPlugged() argument
624 if (force || mHdmiPlugged != plugged) { in setHdmiPlugged()
625 mHdmiPlugged = plugged; in setHdmiPlugged()
629 intent.putExtra(EXTRA_HDMI_PLUGGED_STATE, plugged); in setHdmiPlugged()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags9 2723 battery_status (status|1|5),(health|1|5),(present|1|5),(plugged|1|5),(technology|3)
DBatteryService.java345 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()
354 return !plugged in shouldSendBatteryLowLocked()
DDeviceIdleController.java580 boolean plugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0;
582 updateChargingLocked(present && plugged);
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3609 boolean plugged = false; in initializeHdmiStateInternal()
3621 plugged = 0 != Integer.parseInt(new String(buf, 0, n - 1)); in initializeHdmiStateInternal()
3638 plugged = observer.init(); in initializeHdmiStateInternal()
3646 mDefaultDisplayPolicy.setHdmiPlugged(plugged, true /* force */); in initializeHdmiStateInternal()
5713 boolean plugged = false; in init()
5715 plugged = parseStateFromFile(mHdmi); in init()
5727 return plugged; in init()
/frameworks/base/cmds/statsd/src/
Datoms.proto175 // as at other transitions - coming out of doze, device plugged in, etc.
990 * Logs whether the device is plugged in, and what power source it is using.
996 // Whether the device is plugged in, from frameworks/base/core/proto/android/os/enums.proto.
2263 * Logs when something is plugged into or removed from the USB-C connector.