Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java171 Set<Connection> mConnections = new HashSet<Connection>(); field in ContextMap
249 synchronized (mConnections) { in addConnection()
252 mConnections.add(new Connection(connId, address, id)); in addConnection()
261 synchronized (mConnections) { in removeConnection()
262 Iterator<Connection> i = mConnections.iterator(); in removeConnection()
277 Iterator<Connection> i = mConnections.iterator(); in removeConnectionsByAppId()
377 Iterator<Connection> i = mConnections.iterator(); in getConnectedDevices()
389 Iterator<Connection> ii = mConnections.iterator(); in getByConnId()
408 Iterator<Connection> i = mConnections.iterator(); in connIdByAddress()
422 Iterator<Connection> i = mConnections.iterator(); in addressByConnId()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java46 private final Map<UUID, HfpClientConnection> mConnections = new HashMap<>(); field in HfpClientDeviceBlock
91 HfpClientConnection connection = mConnections.get(call.getUUID()); in onCreateIncomingConnection()
111 HfpClientConnection connection = mConnections.get(call.getUUID()); in onCreateUnknownConnection()
158 mConnections.remove(call.getUUID()); in handleCall()
194 mConnections.remove(call.getUUID()); in handleCall()
203 Log.d(mTAG, "findConnectionKey local key set " + mConnections.toString()); in findConnectionKey()
205 return mConnections.get(call.getUUID()); in findConnectionKey()
210 for (HfpClientConnection connection : mConnections.values()) { in disconnectAll()
214 mConnections.clear(); in disconnectAll()
259 mConnections.put(connection.getUUID(), connection); in buildConnection()
[all …]
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java62 private final HashMap<ConnectionKey, VendorServiceConnection> mConnections = field in VendorServiceController
118 for (ConnectionKey key : mConnections.keySet()) { in release()
122 mConnections.clear(); in release()
135 for (VendorServiceConnection connection : mConnections.values()) { in doSwitchUser()
159 for (ConnectionKey key : mConnections.keySet()) { in doUserLockChanged()
208 mConnections.remove(key); in startOrBindService()
214 VendorServiceConnection connection = mConnections.get(key); in stopOrUnbindService()
221 VendorServiceConnection connection = mConnections.get(key); in getOrCreateConnection()
225 mConnections.put(key, connection); in getOrCreateConnection()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallList.java72 private List<SelfManagedConnection> mConnections = new ArrayList<>(); field in SelfManagedCallList
157 mConnections.add(connection); in addConnection()
166 mConnections.remove(connection); in removeConnection()
174 return mConnections; in getConnections()
178 Optional<SelfManagedConnection> foundOptional = mConnections.stream() in getConnectionById()
DSelfManagedCallListAdapter.java135 private List<SelfManagedConnection> mConnections; field in SelfManagedCallListAdapter
141 mConnections = connections; in SelfManagedCallListAdapter()
146 return mConnections.size(); in getCount()
151 return mConnections.get(position); in getItem()
164 SelfManagedConnection connection = mConnections.get(position); in getView()
213 Log.i(TAG, "updateConnections "+ mConnections.size()); in updateConnections()
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DImsTestServiceApp.java31 private LinearLayout mConnections; field in ImsTestServiceApp
49 mConnections = findViewById(R.id.connections_list); in onCreate()
50 mConnections.addView(getLayoutInflater().inflate(R.layout.ims_connection, null, false)); in onCreate()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapServiceManager.java62 private final HashMap<ComponentName, AoapServiceConnection> mConnections = new HashMap<>(); field in AoapServiceManager
130 connection = mConnections.get(name); in getConnectionOrNull()
140 mConnections.put(name, connection); in getConnectionOrNull()
165 mConnections.remove(connection.mComponentName); in removeConnection()