/frameworks/base/services/core/java/com/android/server/connectivity/ |
KeepaliveTracker.java | 101 public KeepaliveInfo(Messenger messenger, IBinder binder, NetworkAgentInfo nai, 108 mNai = nai; 230 private int findFirstFreeSlot(NetworkAgentInfo nai) { 231 HashMap networkKeepalives = mKeepalives.get(nai); 234 mKeepalives.put(nai, networkKeepalives); 250 NetworkAgentInfo nai = ki.getNai(); local 251 int slot = findFirstFreeSlot(nai); 252 mKeepalives.get(nai).put(slot, ki); 256 public void handleStopAllKeepalives(NetworkAgentInfo nai, int reason) { 257 HashMap <Integer, KeepaliveInfo> networkKeepalives = mKeepalives.get(nai); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
ConnectivityService.java | 518 private void maybeLogBroadcast(NetworkAgentInfo nai, DetailedState state, int type, 522 " broadcast for type " + type + " " + nai.name() + 528 public void add(int type, NetworkAgentInfo nai) { 532 if (VDBG) log("Adding agent " + nai + " for legacy network type " + type); 535 if (list.contains(nai)) { 539 list.add(nai); 542 final boolean isDefaultNetwork = isDefaultNetwork(nai); 544 maybeLogBroadcast(nai, DetailedState.CONNECTED, type, isDefaultNetwork); 545 sendLegacyNetworkBroadcast(nai, DetailedState.CONNECTED, type); 550 public void remove(int type, NetworkAgentInfo nai, boolean wasDefault) 848 final NetworkAgentInfo nai = mLegacyTypeTracker.getNetworkForType(networkType); local 891 NetworkAgentInfo nai = getDefaultNetwork(); local 1044 NetworkAgentInfo nai; local 1095 final NetworkAgentInfo nai = getNetworkAgentInfoForNetwork(network); local 1162 NetworkAgentInfo nai = getDefaultNetwork(); local 1216 NetworkAgentInfo nai = mLegacyTypeTracker.getNetworkForType(networkType); local 1229 NetworkAgentInfo nai = getNetworkAgentInfoForNetwork(network); local 1262 final NetworkAgentInfo nai = getNetworkAgentInfoForNetwork(network); local 1333 NetworkAgentInfo nai = mLegacyTypeTracker.getNetworkForType(networkType); local 2009 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); local 2022 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); local 2107 final NetworkAgentInfo nai; local 2136 NetworkAgentInfo nai = (NetworkAgentInfo)msg.obj; local 2145 final NetworkAgentInfo nai; local 2209 NetworkAgentInfo nai = mNetworkForRequestId.get(nri.request.requestId); local 2225 NetworkAgentInfo nai = mNetworkAgentInfos.remove(msg.replyTo); local 2240 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); local 2444 NetworkAgentInfo nai = mNetworkForRequestId.get(nri.request.requestId); local 2502 NetworkAgentInfo nai = getNetworkAgentInfoForNetwork(network); local 2547 NetworkAgentInfo nai = getNetworkAgentInfoForNetwork(network); local 2657 NetworkAgentInfo nai = getNetworkAgentInfoForNetwork((Network) msg.obj); local 2832 NetworkAgentInfo nai = mLegacyTypeTracker.getNetworkForType(networkType); local 2841 NetworkAgentInfo nai; local 4019 NetworkAgentInfo nai = null; local 4230 final NetworkAgentInfo nai = new NetworkAgentInfo(messenger, new AsyncChannel(), local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server.c | 433 * keyName-NAI has a maximum length of 253 octet to fit in 437 "EAP: Too long realm for ERP keyName-NAI maximum length"); 693 u8 flags, u16 seq, const char *nai) 715 plen = 1 + 2 + 2 + os_strlen(nai); 726 wpabuf_put_u8(msg, os_strlen(nai)); 727 wpabuf_put_str(msg, nai); 791 char nai[254]; local 828 * just try to find the keyName-NAI first so that we can check the 836 "EAP: No keyName-NAI in EAP-Initiate/Re-auth Packet"); 840 wpa_hexdump_ascii(MSG_DEBUG, "EAP: EAP-Initiate/Re-auth - keyName-NAI", [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsHttpClient.java | 77 // NAI (Network Access Identifier) 78 private static final String MACRO_NAI = "NAI"; 80 // The possible NAI system property name 81 private static final String NAI_PROPERTY = "persist.radio.cdma.nai"; 341 * macros like "##LINE1##" or "##NAI##" which is resolved with methods in this class 433 * Get encoded NAI string to use as the HTTP header for some carriers. 437 * @param naiSuffix the suffix to append to NAI before encoding 438 * @return the Base64 encoded NAI string to use as HTTP header 441 String nai; local 443 nai = getNaiBySystemApi [all...] |
/packages/services/Mms/src/com/android/mms/service/ |
MmsHttpClient.java | 337 * macros like "##LINE1##" or "##NAI##" which is resolved with methods in this class 438 // NAI (Network Access Identifier), used by Sprint for authentication 439 private static final String MACRO_NAI = "NAI"; 445 * @param mmsConfig The MMS config which contains NAI suffix. 484 * Returns the NAI (Network Access Identifier) from SystemProperties for the given subscription 490 String nai = telephonyManager.getNai(SubscriptionManager.getSlotId(subId)); local 492 LogUtil.v("getNai: nai=" + nai); 495 if (!TextUtils.isEmpty(nai)) { 498 nai = nai + naiSuffix [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
ConnectivityServiceMock.java | 259 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); local 260 if (nai != null) nai.asyncChannel.disconnect(); 283 //NetworkAgentInfo nai = mNetworkForRequestId.get(nri.request.requestId); 284 NetworkAgentInfo nai = null; local 286 (nai != null ? nai.getCurrentScore() : 0), 0, nri.request); 300 NetworkAgentInfo nai = mNetworkAgentInfos.remove(msg.replyTo); local 301 //if (nai != null) { 302 // final boolean wasDefault = isDefaultNetwork(nai); 315 NetworkAgentInfo nai = mNetworkAgentInfos.get(msg.replyTo); local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap.c | 441 eap_erp_get_key_nai(struct eap_sm *sm, const char *nai) 446 if (os_strcmp(erp->keyname_nai, nai) == 0) 502 wpa_printf(MSG_DEBUG, "EAP: Realm for ERP keyName-NAI: %s", realm); 508 * keyName-NAI has a maximum length of 253 octet to fit in 512 "EAP: Too long realm for ERP keyName-NAI maximum length"); 1594 char nai[254]; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
interworking.c | 464 wpa_printf(MSG_DEBUG, "No room for NAI Realm Data " 469 len = WPA_GET_LE16(pos); /* NAI Realm Data field Length */ 472 wpa_printf(MSG_DEBUG, "No room for NAI Realm Data " 482 wpa_printf(MSG_DEBUG, "No room for NAI Realm " 487 wpa_hexdump_ascii(MSG_DEBUG, "NAI Realm", pos, realm_len); 533 wpa_printf(MSG_DEBUG, "NAI Realm Count: %u", num); 538 wpa_printf(MSG_DEBUG, "Invalid NAI Realm Count %u - not " 601 "nai-realm-cred-username: EAP method not supported: %d", 610 "nai-realm-cred-username: Method: %d is not TTLS, PEAP, or FAST", 619 "nai-realm-cred-username: PEAP/FAST: Inner method not supported: %d" 865 char nai[100]; local 2192 char nai[100], *realm; local [all...] |