Home
last modified time | relevance | path

Searched refs:mClientMap (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java85 private final ArrayMap<IBinder /* clientToken */, VmsClientInfo> mClientMap = new ArrayMap<>(); field in VmsBrokerService
125 ArrayList<VmsClientInfo> clientInfos = new ArrayList<>(mClientMap.size()); in dump()
126 for (int i = 0; i < mClientMap.size(); i++) { in dump()
127 clientInfos.add(mClientMap.valueAt(i)); in dump()
163 mClientMap.put(clientToken, new VmsClientInfo(clientUid, clientPackage, callback, in registerClient()
253 for (int index = 0; index < mClientMap.size(); index++) { in deliverToSubscribers()
254 if (mClientMap.valueAt(index).isSubscribed(providerId, layer)) { in deliverToSubscribers()
255 subscribers.add(mClientMap.valueAt(index)); in deliverToSubscribers()
284 client = mClientMap.remove(clientToken); in unregisterClient()
297 VmsClientInfo client = mClientMap.get(clientToken); in getClient()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceTest.java84 @Mock private GattService.ClientMap mClientMap; field in GattServiceTest
141 mService.mClientMap = mClientMap; in setUp()
187 doReturn(connId).when(mClientMap).connIdByAddress(clientIf, address); in clientReadPhy()
202 doReturn(connId).when(mClientMap).connIdByAddress(clientIf, address); in clientSetPreferredPhy()
275 doReturn(connMap).when(mClientMap).getConnectedMap(); in disconnectAll()
277 doReturn(connId).when(mClientMap).connIdByAddress(clientIf, address); in disconnectAll()
343 doReturn(connectedDevices).when(mClientMap).getConnectedDevices(); in getDevicesMatchingConnectionStates()
372 verify(mClientMap).remove(clientIf); in unregisterClient()
384 doReturn(connId).when(mClientMap).connIdByAddress(clientIf, address); in readCharacteristic()
400 doReturn(connId).when(mClientMap).connIdByAddress(clientIf, address); in readUsingCharacteristicUuid()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattService.java154 ClientMap mClientMap = new ClientMap(); field in GattService
251 mClientMap.clear(); in stop()
1290 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getByUuid(uuid); in onClientRegistered()
1296 mClientMap.remove(uuid); in onClientRegistered()
1313 mClientMap.addConnection(clientIf, connId, address); in onConnected()
1322 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getById(clientIf); in onConnected()
1342 mClientMap.removeConnection(clientIf, connId); in onDisconnected()
1343 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getById(clientIf); in onDisconnected()
1351 if (!mClientMap.getConnectedDevices().contains(address)) { in onDisconnected()
1379 String address = mClientMap.addressByConnId(connId); in onClientPhyUpdate()
[all …]
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogProcessHandler.java77 private final SparseArray<ArrayList<ClientInfo>> mClientMap = new SparseArray<>(); field in WatchdogProcessHandler
113 mClientMap.put(timeout, new ArrayList<ClientInfo>()); in init()
140 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in dump()
169 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in dumpProto()
195 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in registerClient()
265 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in removeFromClientMapsLocked()
319 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in getClientCount()
405 clientsToCheck = new ArrayList<>(mClientMap.get(timeout)); in sendPingToClients()
455 ArrayList<ClientInfo> clients = mClientMap.get(timeout); in removeClientLocked()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java175 private final Map<IBinder, CarPropertyServiceClient> mClientMap = new ArrayMap<>(); field in CarPropertyService
276 mClientMap.clear(); in release()
289 writer.println("There are " + mClientMap.size() + " clients that have registered" in dump()
407 CarPropertyServiceClient client = mClientMap.get(listenerBinder); in getOrCreateClientForBinderLocked()
417 mClientMap.put(listenerBinder, client); in getOrCreateClientForBinderLocked()
651 CarPropertyServiceClient client = mClientMap.get(listenerBinder); in unregisterListenerBinderForProps()
690 mClientMap.remove(listenerBinder); in unregisterListenerBinderForProps()
861 CarPropertyServiceClient client = mClientMap.get(listenerBinder); in setProperty()
873 mClientMap.put(listenerBinder, client); in setProperty()