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

Commit e87f10b9 authored by Paul Hu's avatar Paul Hu Committed by Gerrit Code Review
Browse files

Merge "Add NWM#getWatchlistConfigHash to test api for testing"

parents 4b4cc572 675ffd27
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1009,6 +1009,10 @@ package android.net {
    method public static void setServiceForTest(@Nullable android.os.IBinder);
  }

  public class NetworkWatchlistManager {
    method @Nullable public byte[] getWatchlistConfigHash();
  }

  public class TrafficStats {
    method public static long getLoopbackRxBytes();
    method public static long getLoopbackRxPackets();
+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package android.net;
import android.annotation.Nullable;
import android.annotation.SystemApi;
import android.annotation.SystemService;
import android.annotation.TestApi;
import android.content.Context;
import android.os.RemoteException;
import android.os.ServiceManager;
@@ -31,6 +32,7 @@ import com.android.internal.util.Preconditions;
 * Class that manage network watchlist in system.
 * @hide
 */
@TestApi
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
@SystemService(Context.NETWORK_WATCHLIST_SERVICE)
public class NetworkWatchlistManager {