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

/frameworks/base/services/java/com/android/server/wifi/
H A DWifiController.java270 private boolean shouldWifiStayAwake(int pluggedType) { argument
275 (pluggedType != 0)) {
280 return shouldDeviceStayAwake(pluggedType);
285 * Determine whether the bit value corresponding to {@code pluggedType} is set in
289 * @param pluggedType the type of plug (USB, AC, or none) for which the check is
291 * @return {@code true} if {@code pluggedType} indicates that the device is
294 private boolean shouldDeviceStayAwake(int pluggedType) { argument
295 return (mStayAwakeConditions & pluggedType) != 0;
348 int pluggedType = msg.arg1;
349 if (DBG) Slog.d(TAG, "battery changed pluggedType
[all...]

Completed in 66 milliseconds