Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java181 private Set<Connection> mConnections = new HashSet<Connection>(); field in ContextMap
263 synchronized (mConnections) { in addConnection()
266 mConnections.add(new Connection(connId, address, id)); in addConnection()
275 synchronized (mConnections) { in removeConnection()
276 Iterator<Connection> i = mConnections.iterator(); in removeConnection()
291 synchronized (mConnections) { in removeConnectionsByAppId()
292 Iterator<Connection> i = mConnections.iterator(); in removeConnectionsByAppId()
393 synchronized (mConnections) { in getConnectedDevices()
394 Iterator<Connection> i = mConnections.iterator(); in getConnectedDevices()
408 synchronized (mConnections) { in getByConnId()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java50 private final Map<UUID, HfpClientConnection> mConnections = new HashMap<>(); field in HfpClientDeviceBlock
99 HfpClientConnection connection = mConnections.get(call.getUUID()); in onCreateIncomingConnection()
123 for (HfpClientConnection connection : mConnections.values()) { in onAudioStateChange()
133 HfpClientConnection connection = mConnections.get(call.getUUID()); in onCreateUnknownConnection()
181 mConnections.remove(call.getUUID()); in handleCall()
217 mConnections.remove(call.getUUID()); in handleCall()
226 Log.d(mTAG, "findConnectionKey local key set " + mConnections.toString()); in findConnectionKey()
228 return mConnections.get(call.getUUID()); in findConnectionKey()
233 for (HfpClientConnection connection : mConnections.values()) { in disconnectAll()
237 mConnections.clear(); in disconnectAll()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DQosCallbackTracker.java71 private final List<QosCallbackAgentConnection> mConnections = new ArrayList<>(); field in QosCallbackTracker
110 mConnections.add(ac); in handleRegisterCallback()
121 if (CollectionUtils.any(mConnections, c -> c.getBinder().equals(binder))) { in handleRegisterCallbackInternal()
161 CollectionUtils.indexOf(mConnections, c -> c.getBinder().equals(binder)); in handleUnregisterCallback()
166 final QosCallbackAgentConnection agentConnection = mConnections.get(connIndex); in handleUnregisterCallback()
174 mConnections.remove(agentConnection); in handleUnregisterCallback()
246 for (int i = mConnections.size() - 1; i >= 0; i--) { in handleNetworkReleased()
247 final QosCallbackAgentConnection agentConnection = mConnections.get(i); in handleNetworkReleased()
266 final int acIndex = CollectionUtils.indexOf(mConnections, in runOnAgentConnection()
273 action.execute(mConnections.get(acIndex)); in runOnAgentConnection()
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java69 private final HashMap<ConnectionKey, VendorServiceConnection> mConnections = field in VendorServiceController
122 for (ConnectionKey key : mConnections.keySet()) { in release()
126 mConnections.clear(); in release()
162 for (VendorServiceConnection connection : mConnections.values()) { in doSwitchUser()
186 for (ConnectionKey key : mConnections.keySet()) { in doUserLockChanged()
222 mConnections.remove(key); in startOrBindService()
228 VendorServiceConnection connection = mConnections.get(key); in stopOrUnbindService()
235 VendorServiceConnection connection = mConnections.get(key); in getOrCreateConnection()
239 mConnections.put(key, connection); in getOrCreateConnection()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallList.java74 private List<SelfManagedConnection> mConnections = new ArrayList<>(); field in SelfManagedCallList
164 mConnections.add(connection); in addConnection()
173 mConnections.remove(connection); in removeConnection()
181 return mConnections; in getConnections()
185 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.java60 private final HashMap<ComponentName, AoapServiceConnection> mConnections = new HashMap<>(); field in AoapServiceManager
128 connection = mConnections.get(name); in getConnectionOrNull()
138 mConnections.put(name, connection); in getConnectionOrNull()
163 mConnections.remove(connection.mComponentName); in removeConnection()