Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ba4897e authored by Simon Wilson's avatar Simon Wilson Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Change WiMAX indicator display" into gingerbread

parents 661e9b37 081148dd
Loading
Loading
Loading
Loading
+38 −20
Original line number Diff line number Diff line
@@ -17,8 +17,8 @@ public class WimaxManagerConstants
     * enabling, disabling, or unknown. One extra provides this state as an int.
     * Another extra provides the previous state, if available.
     */
    public static final String WIMAX_STATUS_CHANGED_ACTION
            = "android.net.wimax.WIMAX_STATUS_CHANGED";
    public static final String WIMAX_ENABLED_STATUS_CHANGED =
        "android.net.wimax.WIMAX_STATUS_CHANGED";

    /**
     * The lookup key for an int that indicates whether Wimax is enabled,
@@ -27,16 +27,38 @@ public class WimaxManagerConstants
    public static final String EXTRA_WIMAX_STATUS = "wimax_status";

    /**
     * Broadcast intent action indicating that Wimax data has been recieved, sent. One extra
     * provides the state as int.
     * Broadcast intent action indicating that Wimax state has been changed
     * state could be scanning, connecting, connected, disconnecting, disconnected
     * initializing, initialized, unknown and ready. One extra provides this state as an int.
     * Another extra provides the previous state, if available.
     */
    public static final String  WIMAX_STATE_CHANGED_ACTION =
        "android.net.wimax.WIMAX_STATE_CHANGE";

    /**
     * Broadcast intent action indicating that Wimax signal level has been changed.
     * Level varies from 0 to 3.
     */
    public static final String SIGNAL_LEVEL_CHANGED_ACTION =
        "android.net.wimax.SIGNAL_LEVEL_CHANGED";

    /**
     * The lookup key for an int that indicates whether Wimax state is
     * scanning, connecting, connected, disconnecting, disconnected
     * initializing, initialized, unknown and ready.
     */
    public static final String EXTRA_WIMAX_STATE = "WimaxState";

    /**
     * The lookup key for an int that indicates whether state of Wimax
     * is idle.
     */
    public static final String WIMAX_DATA_USED_ACTION = "android.net.wimax.WIMAX_DATA_USED";
    public static final String EXTRA_WIMAX_STATE_DETAIL = "WimaxStateDetail";

    /**
     * The lookup key for an int that indicates whether Wimax is data is being recieved or sent,
     * up indicates data is being sent and down indicates data being recieved.
     * The lookup key for an int that indicates Wimax signal level.
     */
    public static final String EXTRA_UP_DOWN_DATA = "upDownData";
    public static final String EXTRA_NEW_SIGNAL_LEVEL = "newSignalLevel";

    /**
     * Indicatates Wimax is disabled.
@@ -64,22 +86,18 @@ public class WimaxManagerConstants
    public static final int WIMAX_DEREGISTRATION = 8;

    /**
    * Indicatates no data on wimax.
     * Indicatates wimax state is unknown.
     */
    public static final int NO_DATA = 0;
    public static final int WIMAX_STATE_UNKNOWN = 0;

    /**
     * Indicatates data is being sent.
     * Indicatates wimax state is connected.
     */
    public static final int UP_DATA = 1;
    public static final int WIMAX_STATE_CONNECTED = 7;

    /**
     * Indicatates dats is being revieved.
     * Indicatates wimax state is disconnected.
     */
    public static final int DOWN_DATA = 2;
    public static final int WIMAX_STATE_DISCONNECTED = 9;

    /**
     * Indicatates data is being recieved and sent simultaneously.
     */
    public static final int UP_DOWN_DATA = 3;
}
+2.17 KiB
Loading image diff...
+1.76 KiB
Loading image diff...
+2.01 KiB
Loading image diff...
+2 KiB
Loading image diff...
Loading