@Test public void testSetNetworkScore() { when(mProxyServiceHelper.getNetworkScore()).thenReturn(NETWORK_SCORE); mProxyServiceHelper.setNetworkScore(NETWORK_SCORE); verify(mockProxyNetworkFactory).setNetworkScore(NETWORK_SCORE); verify(mockProxyNetworkAgent).setNetworkScore(NETWORK_SCORE); assertEquals(NETWORK_SCORE, mProxyServiceHelper.getNetworkScore()); }
@MainThread public void setNetworkScore(final int networkScore) { DebugAssert.isMainThread(); mProxyNetworkFactory.setNetworkScore(networkScore); mProxyNetworkAgent.setNetworkScore(networkScore); }
ProxyServiceHelper { @MainThread public void setNetworkScore(final int networkScore) { DebugAssert.isMainThread(); mProxyNetworkFactory.setNetworkScore(networkScore); mProxyNetworkAgent.setNetworkScore(networkScore); } }
ProxyServiceHelper { @MainThread public void setNetworkScore(final int networkScore) { DebugAssert.isMainThread(); mProxyNetworkFactory.setNetworkScore(networkScore); mProxyNetworkAgent.setNetworkScore(networkScore); } ProxyServiceHelper(
            final Context context,
            final NetworkCapabilities capabilities,
            final ProxyLinkProperties proxyLinkProperties); }
ProxyServiceHelper { @MainThread public void setNetworkScore(final int networkScore) { DebugAssert.isMainThread(); mProxyNetworkFactory.setNetworkScore(networkScore); mProxyNetworkAgent.setNetworkScore(networkScore); } 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 setNetworkScore(final int networkScore) { DebugAssert.isMainThread(); mProxyNetworkFactory.setNetworkScore(networkScore); mProxyNetworkAgent.setNetworkScore(networkScore); } 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; }