Home
last modified time | relevance | path

Searched refs:ConnectivityListener (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java36 import com.android.tv.settings.connectivity.ConnectivityListener;
67 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateConnectivity_NoNetwork()
84 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateConnectivity_hasEthernet()
101 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateConnectivity_hasEthernetConnected()
118 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateConnectivity_wifiSignal()
167 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateConnectivity_notConnected()
184 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateConnectivity_cellSignal()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/network/
DNetworkModule.java28 import com.android.tv.settings.connectivity.ConnectivityListener;
35 public class NetworkModule implements Module, ConnectivityListener.Listener {
38 private ConnectivityListener mConnectivityListener;
90 mConnectivityListener = new ConnectivityListener(mContext, this, null); in create()
106 .filter(state -> state instanceof ConnectivityListener.Listener) in onConnectivityChange()
107 .forEach(state -> ((ConnectivityListener.Listener) state).onConnectivityChange()); in onConnectivityChange()
118 ConnectivityListener getConnectivityListener() { in getConnectivityListener()
DWifiDetailsState.java33 import com.android.tv.settings.connectivity.ConnectivityListener;
46 ConnectivityListener.Listener, ConnectivityListener.WifiNetworkListener {
DNetworkMainState.java36 import com.android.tv.settings.connectivity.ConnectivityListener;
50 ConnectivityListener.WifiNetworkListener, ConnectivityListener.Listener {
/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java42 private ConnectivityListener mListener;
44 public interface ConnectivityListener { interface in ConnectivityUtil
80 final ConnectivityListener listener = mListener; in onPhoneStateChanged()
86 public void register(final ConnectivityListener listener) { in register()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiDetailsFragment.java52 implements ConnectivityListener.Listener, ConnectivityListener.WifiNetworkListener {
77 private ConnectivityListener mConnectivityListener;
88 mConnectivityListener = new ConnectivityListener( in onCreate()
DNetworkFragment.java69 ConnectivityListener.Listener, ConnectivityListener.WifiNetworkListener,
93 private ConnectivityListener mConnectivityListener;
129 mConnectivityListener = new ConnectivityListener( in onCreate()
DConnectivityListener.java56 public class ConnectivityListener implements WifiTracker.WifiListener, LifecycleObserver, OnStart, class
97 public ConnectivityListener(Context context, Listener listener) { in ConnectivityListener() method in ConnectivityListener
101 public ConnectivityListener(Context context, Listener listener, Lifecycle lifecycle) { in ConnectivityListener() method in ConnectivityListener
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java46 import com.android.tv.settings.connectivity.ConnectivityListener;
89 implements ConnectivityListener.WifiNetworkListener {
105 private ConnectivityListener mConnectivityListener;
129 mConnectivityListener = new ConnectivityListener(getActivity(), null); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java40 import com.android.messaging.util.ConnectivityUtil.ConnectivityListener;
115 final ConnectivityListener listener = new ConnectivityListener() { in scheduleProcessPendingMessagesAction()
148 private static void register(final ConnectivityListener listener, final int retryAttempt, in register()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java66 import com.android.tv.settings.connectivity.ConnectivityListener;
115 ConnectivityListener mConnectivityListener;
160 mConnectivityListener = new ConnectivityListener(getContext(), this::updateConnectivity, in onCreate()