@Test public void testStartNetwork_WithCallback() { mProxyServiceHelper.startNetworkSession(REASON, null); }
@MainThread public void startNetworkSession(@Nullable final String reason, ProxyNetworkAgent.Listener callback) { DebugAssert.isMainThread(); mProxyNetworkAgent.maybeSetUpNetworkAgent(reason, mCompanionName, callback); mProxyNetworkAgent.setConnected(reason, mCompanionName); }
ProxyServiceHelper { @MainThread public void startNetworkSession(@Nullable final String reason, ProxyNetworkAgent.Listener callback) { DebugAssert.isMainThread(); mProxyNetworkAgent.maybeSetUpNetworkAgent(reason, mCompanionName, callback); mProxyNetworkAgent.setConnected(reason, mCompanionName); } }
ProxyServiceHelper { @MainThread public void startNetworkSession(@Nullable final String reason, ProxyNetworkAgent.Listener callback) { DebugAssert.isMainThread(); mProxyNetworkAgent.maybeSetUpNetworkAgent(reason, mCompanionName, callback); mProxyNetworkAgent.setConnected(reason, mCompanionName); } ProxyServiceHelper(
            final Context context,
            final NetworkCapabilities capabilities,
            final ProxyLinkProperties proxyLinkProperties); }
ProxyServiceHelper { @MainThread public void startNetworkSession(@Nullable final String reason, ProxyNetworkAgent.Listener callback) { DebugAssert.isMainThread(); mProxyNetworkAgent.maybeSetUpNetworkAgent(reason, mCompanionName, callback); mProxyNetworkAgent.setConnected(reason, mCompanionName); } ProxyServiceHelper(
            final Context context,
            final NetworkCapabilities capabilities,
            final ProxyLinkProperties proxyLinkProperties); @MainThread void startNetworkSession(@Nullable final String reason,
            ProxyNetworkAgent.Listener callback); @MainThread void stopNetworkSession(@Nullable final String reason); @MainThread void setMetered(final boolean isMetered); @MainThread void setNetworkScore(final int networkScore); @AnyThread int getNetworkScore(); @MainThread void setCompanionName(@Nullable final String companionName); @AnyThread void dump(@NonNull final IndentingPrintWriter ipw); }
ProxyServiceHelper { @MainThread public void startNetworkSession(@Nullable final String reason, ProxyNetworkAgent.Listener callback) { DebugAssert.isMainThread(); mProxyNetworkAgent.maybeSetUpNetworkAgent(reason, mCompanionName, callback); mProxyNetworkAgent.setConnected(reason, mCompanionName); } ProxyServiceHelper(
            final Context context,
            final NetworkCapabilities capabilities,
            final ProxyLinkProperties proxyLinkProperties); @MainThread void startNetworkSession(@Nullable final String reason,
            ProxyNetworkAgent.Listener callback); @MainThread void stopNetworkSession(@Nullable final String reason); @MainThread void setMetered(final boolean isMetered); @MainThread void setNetworkScore(final int networkScore); @AnyThread int getNetworkScore(); @MainThread void setCompanionName(@Nullable final String companionName); @AnyThread void dump(@NonNull final IndentingPrintWriter ipw); static final int CAPABILITIES_UPSTREAM_BANDWIDTH_KBPS; static final int CAPABILITIES_DOWNSTREAM_BANDWIDTH_KBPS; }