HomeSort by relevance Sort by last modified time
    Searched refs:pluggedType (Results 1 - 2 of 2) sorted by null

  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiController.java 316 private boolean shouldWifiStayAwake(int pluggedType) {
321 (pluggedType != 0)) {
326 return shouldDeviceStayAwake(pluggedType);
331 * Determine whether the bit value corresponding to {@code pluggedType} is set in
335 * @param pluggedType the type of plug (USB, AC, or none) for which the check is
337 * @return {@code true} if {@code pluggedType} indicates that the device is
340 private boolean shouldDeviceStayAwake(int pluggedType) {
341 return (mStayAwakeConditions & pluggedType) != 0;
394 int pluggedType = msg.arg1;
395 if (DBG) Slog.d(TAG, "battery changed pluggedType: " + pluggedType)
    [all...]
WifiServiceImpl.java     [all...]

Completed in 67 milliseconds