Home
last modified time | relevance | path

Searched refs:NetworkItem (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DNetworkListAdapter.java30 import com.google.android.car.kitchensink.connectivity.ConnectivityFragment.NetworkItem;
32 public class NetworkListAdapter extends ArrayAdapter<NetworkItem> {
36 private NetworkItem[] mNetworkList; // keep list of objects
39 public NetworkListAdapter(Context context, NetworkItem[] items, in NetworkListAdapter()
177 public void refreshNetworks(NetworkItem[] networksIn) { in refreshNetworks()
DConnectivityFragment.java120 public static class NetworkItem { class in ConnectivityFragment
140 private NetworkItem[] mNetworkItems = new NetworkItem[0];
211 for (NetworkItem n : mNetworkItems) { in releaseAllNetworks()
358 private NetworkItem getNetworkItem(Network n) { in getNetworkItem()
384 NetworkItem ni = new NetworkItem(); in getNetworkItem()
432 mNetworkItems = new NetworkItem[networks.length]; in refreshNetworks()