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.java149 Set<Connection> mConnections = new HashSet<Connection>(); field in ContextMap
225 synchronized (mConnections) { in addConnection()
228 mConnections.add(new Connection(connId, address, id)); in addConnection()
237 synchronized (mConnections) { in removeConnection()
238 Iterator<Connection> i = mConnections.iterator(); in removeConnection()
253 Iterator<Connection> i = mConnections.iterator(); in removeConnectionsByAppId()
347 Iterator<Connection> i = mConnections.iterator(); in getConnectedDevices()
359 Iterator<Connection> ii = mConnections.iterator(); in getByConnId()
376 Iterator<Connection> i = mConnections.iterator(); in connIdByAddress()
389 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.java68 private List<SelfManagedConnection> mConnections = new ArrayList<>(); field in SelfManagedCallList
133 mConnections.add(connection); in addConnection()
142 mConnections.remove(connection); in removeConnection()
150 return mConnections; in getConnections()
154 Optional<SelfManagedConnection> foundOptional = mConnections.stream() in getConnectionById()