class WearWifiMediator implements
        UserAbsentRadiosOffObserver.Listener,
        PowerTracker.Listener,
        WearWifiMediatorSettings.Listener,
        WifiBackoff.Listener {

    public void onBootCompleted(boolean proxyConnected) {
        mContext.registerReceiver(exitWifiLingerReceiver,
                new IntentFilter(ACTION_EXIT_WIFI_LINGER));

        mIsProxyConnected = proxyConnected;

        mWifiSetting = mSettings.getWifiSetting();
        mEnableWifiWhenCharging = mSettings.getEnableWifiWhileCharging();
        mDisableWifiMediator = mSettings.getDisableWifiMediator();
        mInHardwareLowPowerMode = mSettings.getHardwareLowPowerMode();

        mRadioToggler.refreshRadioState();

        refreshNumConfiguredNetworks();

        mWifiOnWhenProxyDisconnected =
                mSettings.getWifiOnWhenProxyDisconnected();

        // b/66052197 -- sometimes WifiManager returns an empty list of networks if
        // we call getConfiguredNetworks too soon after boot.  This ensures that we
        // check one more time before deciding that the device has no configured networks.
        // This code should be removed when the WifiManager bug is fixed.
        if (mNumConfiguredNetworks == 0) {
            mWifiNetworksWorkaroundHandler = new Handler();
            mWifiNetworksWorkaroundHandler.postDelayed(new Runnable() {
                @Override
                public void run() {
                    Log.d(TAG, "Re-checking configured networks .");
                    refreshNumConfiguredNetworks();
                    mWifiNetworksWorkaroundHandler = null;
                }
            }, WIFI_NETWORK_WORKAROUND_DELAY_MS);
        }

        mInitialized = true;
        updateWifiState("onBootCompleted");
    }

    public  WearWifiMediator(Context context,
                            AlarmManager alarmManager,
                            WearWifiMediatorSettings wifiMediatorSettings,
                            CompanionTracker companionTracker,
                            PowerTracker powerTracker,
                            UserAbsentRadiosOffObserver userAbsentRadiosOffObserver,
                            WifiBackoff wifiBackoff,
                            WifiManager wifiManager,
                            WifiLogger wifiLogger);

}