Searched refs:nai (Results 1 – 3 of 3) sorted by relevance
496 private void maybeLogBroadcast(NetworkAgentInfo nai, boolean connected, int type) { in maybeLogBroadcast() argument499 " broadcast for type " + type + " " + nai.name() + in maybeLogBroadcast()500 " isDefaultNetwork=" + isDefaultNetwork(nai)); in maybeLogBroadcast()505 public void add(int type, NetworkAgentInfo nai) { in add() argument509 if (VDBG) log("Adding agent " + nai + " for legacy network type " + type); in add()512 if (list.contains(nai)) { in add()513 loge("Attempting to register duplicate agent for type " + type + ": " + nai); in add()517 list.add(nai); in add()520 if (list.size() == 1 || isDefaultNetwork(nai)) { in add()521 maybeLogBroadcast(nai, true, type); in add()[all …]
78 Handler handler, NetworkAgentInfo nai) { in Nat464Xlat() argument81 mNetwork = nai; in Nat464Xlat()89 public static boolean requiresClat(NetworkAgentInfo nai) { in requiresClat() argument90 final int netType = nai.networkInfo.getType(); in requiresClat()91 final boolean connected = nai.networkInfo.isConnected(); in requiresClat()93 (nai.linkProperties != null) ? nai.linkProperties.hasIPv4Address() : false; in requiresClat()
702 String nai = getSubscriberInfo().getNaiForSubscriber(subId[0]); in getNai() local704 Rlog.v(TAG, "Nai = " + nai); in getNai()706 return nai; in getNai()