Home
last modified time | relevance | path

Searched refs:mClients (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothScanner.java178 private final ArrayList<ClientRecord> mClients = new ArrayList<>(); field in BluetoothScanner.Receiver
205 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in startListening()
206 if (mClients.get(ptr).listener == listener) { in startListening()
212 mClients.add(newClient); in startListening()
213 size = mClients.size(); in startListening()
256 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in stopListening()
257 ClientRecord client = mClients.get(ptr); in stopListening()
259 mClients.remove(ptr); in stopListening()
264 size = mClients.size(); in stopListening()
288 size = mClients.size(); in stopNow()
[all …]
/packages/apps/Nfc/nci/jni/
DPeerToPeer.cpp73 memset(mClients, 0, sizeof(mClients)); in PeerToPeer()
521 if (mClients[i] == NULL) { in createClient()
522 mClients[i] = client = new P2pClient(); in createClient()
524 mClients[i]->mClientConn->mJniHandle = jniHandle; in createClient()
525 mClients[i]->mClientConn->mMaxInfoUnit = miu; in createClient()
526 mClients[i]->mClientConn->mRecvWindow = rw; in createClient()
542 SyncEventGuard guard(mClients[i]->mRegisteringEvent); in createClient()
544 mClients[i]->mRegisteringEvent.wait(); // wait for NFA_P2P_REG_CLIENT_EVT in createClient()
547 if (mClients[i]->mNfaP2pClientHandle != NFA_HANDLE_INVALID) { in createClient()
577 if ((mClients[ii] != NULL) && in removeConn()
[all …]
DPeerToPeer.h392 android::sp<P2pClient> mClients[sMax]; variable
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DRenderOverlay.java42 private List<Renderer> mClients; field in RenderOverlay
53 mClients = new ArrayList<Renderer>(10); in RenderOverlay()
61 for (Renderer renderer : mClients) { in getPieRenderer()
70 mClients.add(renderer); in addRenderer()
79 mClients.add(pos, renderer); in addRenderer()
85 mClients.remove(renderer); in remove()
90 return mClients.size(); in getClientSize()
153 if (mClients == null) { in onLayout()
156 for (Renderer renderer : mClients) { in onLayout()
164 if (mClients == null) { in draw()
[all …]
/packages/services/Car/service/src/com/android/car/
DListeners.java71 private final LinkedList<ClientWithRate<ClientType>> mClients = new LinkedList<>(); field in Listeners
91 for (ClientWithRate<ClientType> clientWithRate: mClients) { in updateRate()
105 mClients.add(clientWithRate); in addClientWithRate()
109 mClients.remove(clientWithRate); in removeClientWithRate()
113 return mClients.size(); in getNumberOfClients()
117 return mClients; in getClients()
121 for (ClientWithRate<ClientType> clientWithRate: mClients) { in findClientWithRate()
130 for (ClientWithRate<ClientType> clientWithRate: mClients) { in release()
133 mClients.clear(); in release()
DCarDiagnosticService.java56 private final LinkedList<DiagnosticClient> mClients = new LinkedList<>(); field in CarDiagnosticService
148 mClients.clear(); in release()
226 mClients.add(diagnosticClient); in registerOrUpdateDiagnosticListener()
336 mClients.remove(diagnosticClient); in unregisterDiagnosticListener()
478 for (DiagnosticClient diagnosticClient : mClients) { in findDiagnosticClientLocked()
493 mClients.remove(diagnosticClient); in removeClient()
679 for (DiagnosticClient client : mClients) { in dump()
/packages/services/Car/evs/manager/
DHalCamera.cpp53 mClients.push_back(client); in makeVirtualCamera()
71 unsigned clientCount = mClients.size(); in disownVirtualCamera()
72 mClients.remove(virtualCamera); in disownVirtualCamera()
73 if (clientCount != mClients.size() + 1) { in disownVirtualCamera()
88 for (auto&& client : mClients) { in changeFramesInFlight()
144 for (auto&& client : mClients) { in clientStreamEnding()
185 for (auto&& client : mClients) { in deliverFrame()
DHalCamera.h56 unsigned getClientCount() { return mClients.size(); }; in getClientCount()
68 std::list<wp<VirtualCamera>> mClients; // Weak pointers -> objects destruct if client dies variable
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtManager.java50 protected final Map<BluetoothDevice, AvrcpBipClient> mClients = new ConcurrentHashMap<>(1); field in AvrcpCoverArtManager
142 if (mClients.containsKey(device)) return false; in connect()
144 mClients.put(device, client); in connect()
180 mClients.remove(device); in disconnect()
193 for (BluetoothDevice device : mClients.keySet()) { in cleanup()
329 return mClients.get(device); in getClient()
443 for (BluetoothDevice device : mClients.keySet()) { in toString()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DJob.java111 private final Map<String, ContentProviderClient> mClients = new HashMap<>(); field in Job
196 ContentProviderClient client = mClients.get(uri.getAuthority()); in getClient()
203 mClients.put(uri.getAuthority(), client); in getClient()
215 for (ContentProviderClient client : mClients.values()) { in cleanup()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterRenderingService.java75 private List<ServiceClient> mClients = new ArrayList<>(); field in ClusterRenderingService
146 mClients.add(client); in registerClient()
150 mClients.remove(client); in unregisterClient()
246 for (ServiceClient client : mClients) { in broadcastClientEvent()