Home
last modified time | relevance | path

Searched refs:nai (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java496 private void maybeLogBroadcast(NetworkAgentInfo nai, boolean connected, int type) { in maybeLogBroadcast() argument
499 " broadcast for type " + type + " " + nai.name() + in maybeLogBroadcast()
500 " isDefaultNetwork=" + isDefaultNetwork(nai)); in maybeLogBroadcast()
505 public void add(int type, NetworkAgentInfo nai) { in add() argument
509 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 …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java78 Handler handler, NetworkAgentInfo nai) { in Nat464Xlat() argument
81 mNetwork = nai; in Nat464Xlat()
89 public static boolean requiresClat(NetworkAgentInfo nai) { in requiresClat() argument
90 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()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java702 String nai = getSubscriberInfo().getNaiForSubscriber(subId[0]); in getNai() local
704 Rlog.v(TAG, "Nai = " + nai); in getNai()
706 return nai; in getNai()