Home
last modified time | relevance | path

Searched refs:connId (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattNativeInterface.java73 void onConnected(int clientIf, int connId, int status, String address) throws RemoteException { in onConnected() argument
74 getGattService().onConnected(clientIf, connId, status, address); in onConnected()
77 void onDisconnected(int clientIf, int connId, int status, String address) in onDisconnected() argument
79 getGattService().onDisconnected(clientIf, connId, status, address); in onDisconnected()
82 void onClientPhyUpdate(int connId, int txPhy, int rxPhy, int status) throws RemoteException { in onClientPhyUpdate() argument
83 getGattService().onClientPhyUpdate(connId, txPhy, rxPhy, status); in onClientPhyUpdate()
91 void onClientConnUpdate(int connId, int interval, int latency, int timeout, int status) in onClientConnUpdate() argument
93 getGattService().onClientConnUpdate(connId, interval, latency, timeout, status); in onClientConnUpdate()
96 void onServiceChanged(int connId) throws RemoteException { in onServiceChanged() argument
97 getGattService().onServiceChanged(connId); in onServiceChanged()
[all …]
DGattService.java354 private void permissionCheck(int connId, int handle) { in permissionCheck() argument
355 if (!isHandleRestricted(connId, handle)) { in permissionCheck()
361 private boolean isHandleRestricted(int connId, int handle) { in isHandleRestricted() argument
362 Set<Integer> restrictedHandles = mRestrictedHandles.get(connId); in isHandleRestricted()
1302 void onConnected(int clientIf, int connId, int status, String address) throws RemoteException { in onConnected() argument
1308 + connId in onConnected()
1313 mClientMap.addConnection(clientIf, connId, address); in onConnected()
1331 void onDisconnected(int clientIf, int connId, int status, String address) in onDisconnected() argument
1338 + connId in onDisconnected()
1342 mClientMap.removeConnection(clientIf, connId); in onDisconnected()
[all …]
DContextMap.java60 public int connId; field in ContextMap.Connection
65 Connection(int connId, String address, int appId) { in Connection() argument
66 this.connId = connId; in Connection()
316 void addConnection(int id, int connId, String address) { in addConnection() argument
320 mConnections.add(new Connection(connId, address, id)); in addConnection()
326 void removeConnection(int id, int connId) { in removeConnection() argument
329 mConnections.removeIf(conn -> conn.appId == id && conn.connId == connId); in removeConnection()
334 if (connection.connId == connId) { in removeConnection()
561 App getByConnId(int connId) { in getByConnId() argument
565 if (connection.connId == connId) { in getByConnId()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceTest.java186 Integer connId = 1; in clientReadPhy() local
187 doReturn(connId).when(mClientMap).connIdByAddress(clientIf, address); in clientReadPhy()
201 Integer connId = 1; in clientSetPreferredPhy() local
202 doReturn(connId).when(mClientMap).connIdByAddress(clientIf, address); in clientSetPreferredPhy()
276 Integer connId = 1; in disconnectAll() local
277 doReturn(connId).when(mClientMap).connIdByAddress(clientIf, address); in disconnectAll()
280 verify(mNativeInterface).gattClientDisconnect(clientIf, address, connId); in disconnectAll()
383 Integer connId = 1; in readCharacteristic() local
384 doReturn(connId).when(mClientMap).connIdByAddress(clientIf, address); in readCharacteristic()
387 verify(mNativeInterface).gattClientReadCharacteristic(connId, handle, authReq); in readCharacteristic()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java606 for (String connId : parcelableConference.getConnectionIds()) { in addConferenceCall()
607 if (mCallIdMapper.getCall(connId) != null) { in addConferenceCall()
661 for (String connId : parcelableConference.getConnectionIds()) { in addConferenceCall()
662 Call childCall = mCallIdMapper.getCall(connId); in addConferenceCall()
663 Log.d(this, "found child: %s", connId); in addConferenceCall()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DAppScanStats.java978 sb.append(": " + connection.address + " (" + connection.connId + ")"); in dumpToString()