Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntRangeManager.java58 final ArrayList<ClientRange> mClients; field in IntRangeManager.IntRange
69 mClients = new ArrayList<ClientRange>(INITIAL_CLIENTS_ARRAY_SIZE); in IntRange()
70 mClients.add(new ClientRange(startId, endId, client)); in IntRange()
80 mClients = new ArrayList<ClientRange>(INITIAL_CLIENTS_ARRAY_SIZE); in IntRange()
81 mClients.add(clientRange); in IntRange()
97 mClients = new ArrayList<ClientRange>(intRange.mClients.size()); in IntRange()
99 mClients.add(intRange.mClients.get(i)); in IntRange()
113 int len = mClients.size(); in insert()
116 ClientRange nextRange = mClients.get(i); in insert()
131 mClients.add(i, range); in insert()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroup.java58 private List<WifiP2pDevice> mClients = new ArrayList<WifiP2pDevice>(); field in WifiP2pGroup
139 mClients.add(dev); in WifiP2pGroup()
199 for (WifiP2pDevice client : mClients) { in addClient()
202 mClients.add(device); in addClient()
207 return mClients.remove(new WifiP2pDevice(address)); in removeClient()
212 return mClients.remove(device); in removeClient()
217 return mClients.size() == 0; in isClientListEmpty()
222 if (mOwner.equals(device) || mClients.contains(device)) return true; in contains()
228 return Collections.unmodifiableCollection(mClients); in getClientList()
270 for (WifiP2pDevice client : mClients) { in toString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java60 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>(); field in RingtonePlayer
93 synchronized (mClients) { in binderDied()
94 mClients.remove(mToken); in binderDied()
109 synchronized (mClients) {
110 client = mClients.get(token);
115 mClients.put(token, client);
127 synchronized (mClients) {
128 client = mClients.remove(token);
140 synchronized (mClients) {
141 client = mClients.get(token);
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DClientManager.h340 std::vector<std::shared_ptr<ClientDescriptor<KEY, VALUE>>> mClients; variable
394 for (const auto& i : mClients) { in wouldEvictLocked()
408 for (const auto& i : mClients) { in wouldEvictLocked()
481 mClients.erase(std::remove_if(mClients.begin(), mClients.end(), in addAndEvict()
488 }), mClients.end()); in addAndEvict()
492 mClients.push_back(client); in addAndEvict()
502 return mClients; in getAll()
508 std::vector<KEY> keys(mClients.size()); in getAllKeys()
509 for (const auto& i : mClients) { in getAllKeys()
519 for (const auto& i : mClients) { in getAllOwners()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java41 private ArrayList<RecMonitorClient> mClients = new ArrayList<RecMonitorClient>(); field in RecordingActivityMonitor
61 synchronized(mClients) { in onRecordingConfigurationChanged()
62 final Iterator<RecMonitorClient> clientIterator = mClients.iterator(); in onRecordingConfigurationChanged()
83 synchronized(mClients) { in registerRecordingCallback()
86 mClients.add(rmc); in registerRecordingCallback()
95 synchronized(mClients) { in unregisterRecordingCallback()
96 final Iterator<RecMonitorClient> clientIterator = mClients.iterator(); in unregisterRecordingCallback()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanStateManager.java97 private final SparseArray<WifiNanClientState> mClients = new SparseArray<>(); field in WifiNanStateManager
553 WifiNanClientState client = mClients.get(uid); in fillInTransactionInfoSession()
608 for (int i = 0; i < mClients.size(); ++i) { in getNanSessionStateForPubSubId()
609 WifiNanSessionState session = mClients.valueAt(i) in getNanSessionStateForPubSubId()
627 if (mClients.get(uid) != null) { in connectLocal()
633 mClients.put(uid, client); in connectLocal()
641 WifiNanClientState client = mClients.get(uid); in disconnectLocal()
642 mClients.delete(uid); in disconnectLocal()
665 if (mClients.size() == 0) { in disconnectLocal()
681 WifiNanClientState client = mClients.get(uid); in requestConfigLocal()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DBidirectionalAsyncChannelServer.java40 private final Map<Messenger, AsyncChannel> mClients = new HashMap<>(); field in BidirectionalAsyncChannelServer
49 AsyncChannel channel = mClients.get(msg.replyTo); in BidirectionalAsyncChannelServer()
59 mClients.put(msg.replyTo, channel); in BidirectionalAsyncChannelServer()
70 mClients.remove(msg.replyTo); in BidirectionalAsyncChannelServer()
/frameworks/native/services/sensorservice/
DSensorFusion.cpp129 const ssize_t idx = mClients[mode].indexOf(ident); in activate()
132 mClients[mode].add(ident); in activate()
136 mClients[mode].removeItemsAt(idx); in activate()
140 const bool newState = mClients[mode].size() != 0; in activate()
192 mClients[FUSION_9AXIS].size(), in dump()
209 mClients[FUSION_NOMAG].size(), in dump()
226 mClients[FUSION_NOGYRO].size(), in dump()
DSensorFusion.h53 SortedVector<void*> mClients[3]; variable
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiTrafficPoller.java66 private final List<Messenger> mClients = new ArrayList<Messenger>(); field in WifiTrafficPoller
146 + " num clients " + mClients.size()); in handleMessage()
155 mClients.add((Messenger) msg.obj); in handleMessage()
158 + Integer.toString(mClients.size())); in handleMessage()
162 mClients.remove(msg.obj); in handleMessage()
213 for (Messenger client : mClients) { in notifyOnDataActivity()
DRttService.java68 ClientInfo ci = mClients.remove(msg.replyTo); in handleMessage()
75 mClients.put(msg.replyTo, client); in handleMessage()
81 ClientInfo ci = mClients.get(msg.replyTo); in handleMessage()
258 private HashMap<Messenger, ClientInfo> mClients = new HashMap<Messenger, ClientInfo>(4); field in RttService.RttServiceImpl
308 ClientInfo client = mClients.get(msg.replyTo); in processMessage()
330 ClientInfo ci = mClients.get(msg.replyTo); in processMessage()
458 for (ClientInfo client : mClients.values()) { in hasOutstandingReponderRequests()
473 ClientInfo ci = mClients.get(msg.replyTo); in processMessage()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderService.java67 private final ArrayList<ClientRecord> mClients = new ArrayList<ClientRecord>(); field in MediaRouteProviderService
158 mClients.add(client); in onRegisterClient()
178 ClientRecord client = mClients.remove(index); in onUnregisterClient()
192 ClientRecord client = mClients.remove(index); in onBinderDied()
384 final int count = mClients.size(); in sendDescriptorChanged()
386 ClientRecord client = mClients.get(i); in sendDescriptorChanged()
399 final int count = mClients.size(); in updateCompositeDiscoveryRequest()
401 MediaRouteDiscoveryRequest request = mClients.get(i).mDiscoveryRequest; in updateCompositeDiscoveryRequest()
430 return index >= 0 ? mClients.get(index) : null; in getClient()
434 final int count = mClients.size(); in findClient()
[all …]
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java89 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>(); field in MidiService
233 synchronized (mClients) { in close()
234 mClients.remove(mToken); in close()
268 synchronized (mClients) { in getClient()
269 Client client = mClients.get(token); in getClient()
278 mClients.put(token, client); in getClient()
776 synchronized (mClients) { in notifyDeviceStatusChanged()
777 for (Client c : mClients.values()) { in notifyDeviceStatusChanged()
820 synchronized (mClients) { in addDeviceLocked()
821 for (Client c : mClients.values()) { in addDeviceLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/
DNsdService.java68 private HashMap<Messenger, ClientInfo> mClients = new HashMap<Messenger, ClientInfo>(); field in NsdService
155 mClients.put(msg.replyTo, cInfo); in processMessage()
172 cInfo = mClients.get(msg.replyTo); in processMessage()
175 mClients.remove(msg.replyTo); in processMessage()
178 if (mClients.size() == 0) { in processMessage()
238 if (mClients.size() > 0) { in enter()
245 if (mClients.size() > 0) { in exit()
280 mClients.size() == 0) { in processMessage()
295 clientInfo = mClients.get(msg.replyTo); in processMessage()
319 clientInfo = mClients.get(msg.replyTo); in processMessage()
[all …]
DAppOpsService.java198 final ArrayMap<IBinder, ClientState> mClients = new ArrayMap<IBinder, ClientState>(); field in AppOpsService
234 mClients.remove(mAppToken); in binderDied()
860 ClientState cs = mClients.get(clientToken); in getToken()
863 mClients.put(clientToken, cs); in getToken()
2077 if (mClients.size() > 0) { in dump()
2080 for (int i=0; i<mClients.size(); i++) { in dump()
2081 pw.print(" "); pw.print(mClients.keyAt(i)); pw.println(":"); in dump()
2082 ClientState cs = mClients.valueAt(i); in dump()
DInputMethodManagerService.java290 final HashMap<IBinder, ClientState> mClients = new HashMap<>(); field in InputMethodManagerService
1228 mClients.put(client.asBinder(), new ClientState(client, in addClient()
1239 ClientState cs = mClients.remove(client.asBinder()); in removeClient()
1341 ClientState cs = mClients.get(client.asBinder()); in startInputLocked()
1643 for (ClientState cs : mClients.values()) { in clearCurMethodLocked()
2266 ClientState cs = mClients.get(client.asBinder()); in windowGainedFocus()
3940 for (ClientState ci : mClients.values()) { in dump()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DJob.java79 private final Map<String, ContentProviderClient> mClients = new HashMap<>(); field in Job
141 ContentProviderClient client = mClients.get(doc.authority); in getClient()
148 mClients.put(doc.authority, client); in getClient()
156 for (ContentProviderClient client : mClients.values()) { in cleanup()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java137 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage()
158 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage()
165 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage()
191 ClientInfo ci = mClients.get(msg.replyTo); in handleMessage()
244 private final ArrayMap<Messenger, ClientInfo> mClients; field in WifiScanningServiceImpl
267 mClients = new ArrayMap<>(); in WifiScanningServiceImpl()
533 ClientInfo ci = mClients.get(msg.replyTo); in processMessage()
945 ClientInfo ci = mClients.get(msg.replyTo); in processMessage()
1430 ClientInfo ci = mClients.get(msg.replyTo); in processMessage()
1474 ClientInfo ci = mClients.get(msg.replyTo); in processMessage()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java97 protected Vector<FrameClient> mClients = new Vector<FrameClient>(); field in CameraStreamer.CamFrameHandler
112 mClients.add(client); in registerClient()
123 mClients.remove(client); in unregisterClient()
255 synchronized (mClients) { in informClients()
256 for (FrameClient client : mClients) { in informClients()
723 synchronized (mClients) { in informClients()
724 for (FrameClient client : mClients) { in informClients()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h433 SortedVector< wp<Client> > mClients; variable
DMediaPlayerService.cpp340 mClients.add(w); in create()
438 for (int i = 0, n = mClients.size(); i < n; ++i) { in dump()
439 sp<Client> c = mClients[i].promote(); in dump()
557 mClients.remove(client); in removeClient()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp325 for (size_t i = 0; i < mClients.size(); ++i) { in dumpClients()
326 sp<Client> client = mClients.valueAt(i).promote(); in dumpClients()
504 sp<Client> client = mClients.valueFor(pid).promote(); in registerPid()
507 mClients.add(pid, client); in registerPid()
1389 mClients.removeItem(pid); in removeClient_l()
DAudioFlinger.h634 DefaultKeyedVector< pid_t, wp<Client> > mClients; // see ~Client() variable
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java414 userState.mClients.register(client); in addClient()
871 if (oldUserState.mClients.getRegisteredCallbackCount() > 0) { in switchUser()
1292 || userState.mClients.getRegisteredCallbackCount() > 0)) { in scheduleUpdateClientsIfNeededLocked()
2091 sendStateToClients(clientState, userState.mClients); in sendStateToClientsForUser()
4148 public final RemoteCallbackList<IAccessibilityManagerClient> mClients = field in AccessibilityManagerService.UserState