Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DNsdService.java252 private boolean requestLimitReached(ClientInfo clientInfo) { in requestLimitReached() argument
253 if (clientInfo.mClientIds.size() >= ClientInfo.MAX_LIMIT) { in requestLimitReached()
254 if (DBG) Slog.d(TAG, "Exceeded max outstanding requests " + clientInfo); in requestLimitReached()
260 … private void storeRequestMap(int clientId, int globalId, ClientInfo clientInfo, int what) { in storeRequestMap() argument
261 clientInfo.mClientIds.put(clientId, globalId); in storeRequestMap()
262 clientInfo.mClientRequests.put(clientId, what); in storeRequestMap()
263 mIdToClientInfoMap.put(globalId, clientInfo); in storeRequestMap()
266 private void removeRequestMap(int clientId, int globalId, ClientInfo clientInfo) { in removeRequestMap() argument
267 clientInfo.mClientIds.remove(clientId); in removeRequestMap()
268 clientInfo.mClientRequests.remove(clientId); in removeRequestMap()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2908 ClientInfo clientInfo = getClientInfo(m, true); in addServiceRequest() local
2909 if (clientInfo == null) { in addServiceRequest()
2917 clientInfo.mReqList.put(mServiceTransactionId, req); in addServiceRequest()
2927 ClientInfo clientInfo = getClientInfo(m, false); in removeServiceRequest() local
2928 if (clientInfo == null) { in removeServiceRequest()
2935 for (int i=0; i<clientInfo.mReqList.size(); i++) { in removeServiceRequest()
2936 if (req.equals(clientInfo.mReqList.valueAt(i))) { in removeServiceRequest()
2938 clientInfo.mReqList.removeAt(i); in removeServiceRequest()
2945 if (clientInfo.mReqList.size() == 0 && clientInfo.mServList.size() == 0) { in removeServiceRequest()
2947 mClientInfoList.remove(clientInfo.mMessenger); in removeServiceRequest()
[all …]