Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DPeerToPeer.cpp71 memset (mClients, 0, sizeof(mClients)); in PeerToPeer()
542 if (mClients[i] == NULL) in createClient()
544 mClients [i] = client = new P2pClient(); in createClient()
546 mClients [i]->mClientConn->mJniHandle = jniHandle; in createClient()
547 mClients [i]->mClientConn->mMaxInfoUnit = miu; in createClient()
548 mClients [i]->mClientConn->mRecvWindow = rw; in createClient()
563 SyncEventGuard guard (mClients[i]->mRegisteringEvent); in createClient()
565 mClients[i]->mRegisteringEvent.wait(); //wait for NFA_P2P_REG_CLIENT_EVT in createClient()
568 if (mClients[i]->mNfaP2pClientHandle != NFA_HANDLE_INVALID) in createClient()
600 if ((mClients[ii] != NULL) && (mClients[ii]->mClientConn->mJniHandle == jniHandle)) in removeConn()
[all …]
DPeerToPeer.h411 android::sp<P2pClient> mClients [sMax]; variable
/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/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/apps/Camera/src/com/android/camera/ui/
DRenderOverlay.java44 private List<Renderer> mClients; field in RenderOverlay
55 mClients = new ArrayList<Renderer>(10); in RenderOverlay()
61 mClients.add(renderer); in addRenderer()
70 mClients.add(pos, renderer); in addRenderer()
76 mClients.remove(renderer); in remove()
81 return mClients.size(); in getClientSize()
144 if (mClients == null) return; in onLayout()
145 for (Renderer renderer : mClients) { in onLayout()
153 if (mClients == null) return; in draw()
155 for (Renderer renderer : mClients) { in draw()