Home | History | Annotate | Download | only in settings

Lines Matching defs:Network

136     // Class for capturing a network definition from the wifi supplicant config file
137 static class Network {
142 public static Network readFromStream(BufferedReader in) {
143 final Network n = new Network();
182 Log.v(TAG, "network={");
193 if (!(o instanceof Network)) return false;
194 final Network other;
196 other = (Network) o;
212 // Ingest multiple wifi config file fragments, looking for network={} blocks
216 final HashSet<Network> mKnownNetworks = new HashSet<Network>();
217 final ArrayList<Network> mNetworks = new ArrayList<Network>(8);
225 // Parse out 'network=' decls so we can ignore duplicates
226 if (line.startsWith("network")) {
227 Network net = Network.readFromStream(in);
248 for (Network net : mNetworks) {
254 for (Network net : mNetworks) {
833 if (!started && line.startsWith("network")) {