Home
last modified time | relevance | path

Searched refs:mConnections (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java155 Set<Connection> mConnections = new HashSet<Connection>(); field in ContextMap
233 synchronized (mConnections) { in addConnection()
236 mConnections.add(new Connection(connId, address, id)); in addConnection()
245 synchronized (mConnections) { in removeConnection()
246 Iterator<Connection> i = mConnections.iterator(); in removeConnection()
261 Iterator<Connection> i = mConnections.iterator(); in removeConnectionsByAppId()
355 Iterator<Connection> i = mConnections.iterator(); in getConnectedDevices()
367 Iterator<Connection> ii = mConnections.iterator(); in getByConnId()
384 Iterator<Connection> i = mConnections.iterator(); in connIdByAddress()
397 Iterator<Connection> i = mConnections.iterator(); in addressByConnId()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java61 private final Map<UUID, HfpClientConnection> mConnections = new HashMap<>(); field in HfpClientDeviceBlock
109 HfpClientConnection connection = connection = mConnections.get(call.getUUID()); in onCreateIncomingConnection()
130 HfpClientConnection connection = connection = mConnections.get(call.getUUID()); in onCreateUnknownConnection()
178 mConnections.remove(call.getUUID()); in handleCall()
212 mConnections.remove(call.getUUID()); in handleCall()
221 Log.d(TAG, "findConnectionKey local key set " + mConnections.toString()); in findConnectionKey()
223 return mConnections.get(call.getUUID()); in findConnectionKey()
228 for (HfpClientConnection connection : mConnections.values()) { in disconnectAll()
232 mConnections.clear(); in disconnectAll()
276 mConnections.put(connection.getUUID(), connection); in buildConnection()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java97 private List<SelfManagedConnection> mConnections; field in SelfManagedCallListAdapter
103 mConnections = connections; in SelfManagedCallListAdapter()
108 return mConnections.size(); in getCount()
113 return mConnections.get(position); in getItem()
126 SelfManagedConnection connection = mConnections.get(position); in getView()
174 Log.i(TAG, "updateConnections "+ mConnections.size()); in updateConnections()
DSelfManagedCallList.java69 private List<SelfManagedConnection> mConnections = new ArrayList<>(); field in SelfManagedCallList
141 mConnections.add(connection); in addConnection()
150 mConnections.remove(connection); in removeConnection()
158 return mConnections; in getConnections()
162 Optional<SelfManagedConnection> foundOptional = mConnections.stream() in getConnectionById()