Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java41 import com.android.tv.settings.connectivity.ConnectivityListener;
75 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_NoNetwork()
92 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_hasEthernet()
109 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_hasEthernetConnected()
126 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_wifiSignal()
175 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_notConnected()
192 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_cellSignal()
/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java38 private ConnectivityListener mListener;
41 public interface ConnectivityListener { interface in ConnectivityUtil
76 final ConnectivityListener listener = mListener; in onPhoneStateChanged()
83 final ConnectivityListener listener = mListener; in onConnectivityChanged()
89 public void register(final ConnectivityListener listener) { in register()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiDetailsFragment.java43 implements ConnectivityListener.Listener, ConnectivityListener.WifiNetworkListener {
63 private ConnectivityListener mConnectivityListener;
79 mConnectivityListener = new ConnectivityListener(getContext(), this, getLifecycle()); in onCreate()
DNetworkFragment.java47 ConnectivityListener.Listener, ConnectivityListener.WifiNetworkListener,
63 private ConnectivityListener mConnectivityListener;
92 mConnectivityListener = new ConnectivityListener(getContext(), this, getLifecycle()); in onCreate()
DConnectivityListener.java52 public class ConnectivityListener implements WifiTracker.WifiListener, LifecycleObserver, OnStart, class
98 public ConnectivityListener(Context context, Listener listener) { in ConnectivityListener() method in ConnectivityListener
102 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.java37 import com.android.tv.settings.connectivity.ConnectivityListener;
92 implements ConnectivityListener.WifiNetworkListener {
108 private ConnectivityListener mConnectivityListener;
129 mConnectivityListener = new ConnectivityListener(getActivity(), null); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java42 import com.android.messaging.util.ConnectivityUtil.ConnectivityListener;
105 final ConnectivityListener listener = new ConnectivityListener() { in scheduleProcessPendingMessagesAction()
156 private static void register(final ConnectivityListener listener, final int retryAttempt) { in register()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java51 import com.android.tv.settings.connectivity.ConnectivityListener;
81 ConnectivityListener mConnectivityListener;
126 new ConnectivityListener(getContext(), this::updateWifi, getLifecycle()); in onCreate()