Searched defs:pluggedType (Results 1 - 1 of 1) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiController.java279 private boolean shouldWifiStayAwake(int pluggedType) { argument
284 (pluggedType != 0)) {
289 return shouldDeviceStayAwake(pluggedType);
294 * Determine whether the bit value corresponding to {@code pluggedType} is set in
298 * @param pluggedType the type of plug (USB, AC, or none) for which the check is
300 * @return {@code true} if {@code pluggedType} indicates that the device is
303 private boolean shouldDeviceStayAwake(int pluggedType) { argument
304 return (mStayAwakeConditions & pluggedType) != 0;
357 int pluggedType = msg.arg1;
358 if (DBG) Slog.d(TAG, "battery changed pluggedType
[all...]

Completed in 915 milliseconds