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

Commit 63bd15b3 authored by Kai Shi's avatar Kai Shi Committed by Android (Google) Code Review
Browse files

Merge "Wifi Usability: address comments from API review council"

parents 8ca8eb63 555ae2e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4938,7 +4938,6 @@ package android.net.wifi {
    method public int getCellularDataNetworkType();
    method public int getCellularSignalStrengthDb();
    method public int getCellularSignalStrengthDbm();
    method public boolean getIsSameRegisteredCell();
    method public int getLinkSpeedMbps();
    method public int getProbeElapsedTimeSinceLastUpdateMillis();
    method public int getProbeMcsRateSinceLastUpdate();
@@ -4962,6 +4961,7 @@ package android.net.wifi {
    method public long getTotalTxBad();
    method public long getTotalTxRetries();
    method public long getTotalTxSuccess();
    method public boolean isSameRegisteredCell();
    method public void writeToParcel(android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.WifiUsabilityStatsEntry> CREATOR;
    field public static final int PROBE_STATUS_FAILURE = 3; // 0x3
+1 −1
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ public final class WifiUsabilityStatsEntry implements Parcelable {
    }

    /** Whether the primary registered cell of current entry is same as that of previous entry */
    public boolean getIsSameRegisteredCell() {
    public boolean isSameRegisteredCell() {
        return mIsSameRegisteredCell;
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -116,6 +116,6 @@ public class WifiUsabilityStatsEntryTest {
        assertEquals(expected.getCellularSignalStrengthDbm(),
                actual.getCellularSignalStrengthDbm());
        assertEquals(expected.getCellularSignalStrengthDb(), actual.getCellularSignalStrengthDb());
        assertEquals(expected.getIsSameRegisteredCell(), actual.getIsSameRegisteredCell());
        assertEquals(expected.isSameRegisteredCell(), actual.isSameRegisteredCell());
    }
}