/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 61 final ArrayList<ClientRange> mClients; field in IntRangeManager.IntRange 72 mClients = new ArrayList<ClientRange>(INITIAL_CLIENTS_ARRAY_SIZE); in IntRange() 73 mClients.add(new ClientRange(startId, endId, client)); in IntRange() 83 mClients = new ArrayList<ClientRange>(INITIAL_CLIENTS_ARRAY_SIZE); in IntRange() 84 mClients.add(clientRange); in IntRange() 100 mClients = new ArrayList<ClientRange>(intRange.mClients.size()); in IntRange() 102 mClients.add(intRange.mClients.get(i)); in IntRange() 116 int len = mClients.size(); in insert() 119 ClientRange nextRange = mClients.get(i); in insert() 134 mClients.add(i, range); in insert() [all …]
|
D | ClientWakelockTracker.java | 32 public HashMap<String, ClientWakelockAccountant> mClients = field in ClientWakelockTracker 77 synchronized (mClients) { in getClientRequestStats() 78 list = new ArrayList<>(mClients.size()); in getClientRequestStats() 79 for (String key : mClients.keySet()) { in getClientRequestStats() 80 ClientWakelockAccountant client = mClients.get(key); in getClientRequestStats() 90 synchronized (mClients) { in getClientWakelockAccountant() 91 if (mClients.containsKey(clientId)) { in getClientWakelockAccountant() 92 client = mClients.get(clientId); in getClientWakelockAccountant() 95 mClients.put(clientId, client); in getClientWakelockAccountant() 124 synchronized (mClients) { in dumpClientRequestTracker() [all …]
|
/frameworks/av/media/bufferpool/2.0/ |
D | Observer.cpp | 35 auto it = mClients.find(connectionId); in onMessage() 36 if (it != mClients.end()) { in onMessage() 39 mClients.erase(it); in onMessage() 51 for (auto it = mClients.begin(); it != mClients.end();) { in addClient() 53 it = mClients.erase(it); in addClient() 58 mClients.insert(std::make_pair(connectionId, wclient)); in addClient() 64 mClients.erase(connectionId); in delClient()
|
D | ClientManager.cpp | 143 mClients; member 157 mClients; member 174 for (auto it = mCache.mClients.begin(); it != mCache.mClients.end(); ++it) { in registerSender() 181 if (mActive.mClients.find(*pConnectionId) != mActive.mClients.end()) { in registerSender() 186 mCache.mClients.erase(it); in registerSender() 205 mCache.mClients.push_back(std::make_pair(accessor, wclient)); in registerSender() 210 mActive.mClients.insert(std::make_pair(conId, client)); in registerSender() 235 auto it = mActive.mClients.find(senderId); in registerSender() 236 if (it == mActive.mClients.end()) { in registerSender() 290 mCache.mClients.push_back(std::make_pair(accessor, wclient)); in create() [all …]
|
D | Observer.h | 57 std::map<ConnectionId, const std::weak_ptr<BufferPoolClient>> mClients; member
|
/frameworks/av/media/bufferpool/1.0/ |
D | ClientManager.cpp | 139 mClients; member 153 mClients; member 167 for (auto it = mCache.mClients.begin(); it != mCache.mClients.end(); ++it) { in registerSender() 174 if (mActive.mClients.find(*pConnectionId) != mActive.mClients.end()) { in registerSender() 179 mCache.mClients.erase(it); in registerSender() 198 mCache.mClients.push_back(std::make_pair(accessor, wclient)); in registerSender() 202 mActive.mClients.insert(std::make_pair(conId, client)); in registerSender() 227 auto it = mActive.mClients.find(senderId); in registerSender() 228 if (it == mActive.mClients.end()) { in registerSender() 281 mCache.mClients.push_back(std::make_pair(accessor, wclient)); in create() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroup.java | 60 private List<WifiP2pDevice> mClients = new ArrayList<WifiP2pDevice>(); field in WifiP2pGroup 146 mClients.add(dev); in WifiP2pGroup() 206 for (WifiP2pDevice client : mClients) { in addClient() 209 mClients.add(device); in addClient() 214 return mClients.remove(new WifiP2pDevice(address)); in removeClient() 219 return mClients.remove(device); in removeClient() 225 return mClients.size() == 0; in isClientListEmpty() 230 if (mOwner.equals(device) || mClients.contains(device)) return true; in contains() 236 return Collections.unmodifiableCollection(mClients); in getClientList() 291 for (WifiP2pDevice client : mClients) { in toString() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | RingtonePlayer.java | 60 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>(); field in RingtonePlayer 98 synchronized (mClients) { in binderDied() 99 mClients.remove(mToken); in binderDied() 120 synchronized (mClients) { 121 client = mClients.get(token); 126 mClients.put(token, client); 138 synchronized (mClients) { 139 client = mClients.remove(token); 151 synchronized (mClients) { 152 client = mClients.get(token); [all …]
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ClientManager.h | 414 std::vector<std::shared_ptr<ClientDescriptor<KEY, VALUE>>> mClients; variable 468 for (const auto& i : mClients) { in wouldEvictLocked() 482 for (const auto& i : mClients) { in wouldEvictLocked() 555 mClients.erase(std::remove_if(mClients.begin(), mClients.end(), in addAndEvict() 562 }), mClients.end()); in addAndEvict() 566 mClients.push_back(client); in addAndEvict() 576 return mClients; in getAll() 582 std::vector<KEY> keys(mClients.size()); in getAllKeys() 583 for (const auto& i : mClients) { in getAllKeys() 593 for (const auto& i : mClients) { in getAllOwners() [all …]
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BidirectionalAsyncChannelServer.java | 41 private final Map<Messenger, AsyncChannel> mClients = new HashMap<>(); field in BidirectionalAsyncChannelServer 50 AsyncChannel channel = mClients.get(msg.replyTo); in BidirectionalAsyncChannelServer() 60 mClients.put(msg.replyTo, channel); in BidirectionalAsyncChannelServer() 71 mClients.remove(msg.replyTo); in BidirectionalAsyncChannelServer() 88 return mClients.keySet(); in getClientMessengers()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ClientWakelockTrackerTest.java | 48 ClientWakelockAccountant abc = myTracker.mClients.get("ABC"); in testTwoClients() 49 ClientWakelockAccountant pqr = myTracker.mClients.get("PQR"); in testTwoClients() 83 ClientWakelockAccountant abc = myTracker.mClients.get("ABC"); 109 ClientWakelockAccountant abc = myTracker.mClients.get("ABC"); 131 ClientWakelockAccountant abc = myTracker.mClients.get("ABC"); 132 ClientWakelockAccountant pqr = myTracker.mClients.get("PQR");
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | ClientDescriptor.h | 233 LOG_ALWAYS_FATAL_IF(!mClients.emplace(portId, client).second, in addClient() 237 auto it = mClients.find(portId); in getClient() 238 if (it == mClients.end()) return nullptr; in getClient() 242 auto it = mClients.find(portId); in removeClient() 243 LOG_ALWAYS_FATAL_IF(it == mClients.end(), in removeClient() 247 (void)mClients.erase(it); in removeClient() 250 return mClients.size(); in getClientCount() 287 iterator begin() const { return iterator{mClientMapHandler.mClients.begin()}; } in begin() 288 iterator end() const { return iterator{mClientMapHandler.mClients.end()}; } in end() 302 ClientMap mClients;
|
/frameworks/native/services/sensorservice/ |
D | SensorFusion.cpp | 129 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()
|
D | SensorFusion.h | 53 SortedVector<void*> mClients[3]; variable
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerDetectionService.java | 78 private final ArrayMap<UUID, ISoundTriggerDetectionServiceClient> mClients = field in SoundTriggerDetectionService 97 mClients.put(uuid, client); in setClient() 106 mClients.remove(uuid); in removeClient() 191 client = mClients.get(uuid); in operationFinished() 289 mClients.clear(); in onUnbind()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareStateManager.java | 225 private final SparseArray<WifiAwareClientState> mClients = new SparseArray<>(); field in WifiAwareStateManager 470 return mClients.get(clientId); in getClient() 503 for (int i = 0; i < mClients.size(); ++i) { in requestMacAddresses() 504 WifiAwareClientState client = mClients.valueAt(i); in requestMacAddresses() 2167 if (mClients.get(clientId) != null) { in connectLocal() 2203 mClients.append(clientId, client); in connectLocal() 2204 mAwareMetrics.recordAttachSession(uid, notifyIdentityChange, mClients); in connectLocal() 2235 WifiAwareClientState client = mClients.get(clientId); in disconnectLocal() 2240 mClients.delete(clientId); in disconnectLocal() 2249 if (mClients.size() == 0) { in disconnectLocal() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlaybackActivityMonitor.java | 85 private final ArrayList<PlayMonitorClient> mClients = new ArrayList<PlayMonitorClient>(); field in PlaybackActivityMonitor 375 synchronized(mClients) { in dump() 376 for (PlayMonitorClient pmc : mClients) { in dump() 442 synchronized (mClients) { in dispatchPlaybackChange() 444 if (mClients.isEmpty()) { in dispatchPlaybackChange() 448 if (DEBUG) { Log.v(TAG, "dispatchPlaybackChange to " + mClients.size() + " clients"); } in dispatchPlaybackChange() 459 synchronized (mClients) { in dispatchPlaybackChange() 461 if (mClients.isEmpty()) { in dispatchPlaybackChange() 465 final Iterator<PlayMonitorClient> clientIterator = mClients.iterator(); in dispatchPlaybackChange() 638 synchronized(mClients) { in registerPlaybackCallback() [all …]
|
D | RecordingActivityMonitor.java | 46 private ArrayList<RecMonitorClient> mClients = new ArrayList<RecMonitorClient>(); field in RecordingActivityMonitor 196 synchronized (mClients) { in dispatchCallbacks() 202 for (RecMonitorClient rmc : mClients) { in dispatchCallbacks() 275 synchronized (mClients) { in registerRecordingCallback() 281 mClients.add(rmc); in registerRecordingCallback() 290 synchronized (mClients) { in unregisterRecordingCallback() 291 final Iterator<RecMonitorClient> clientIterator = mClients.iterator(); in unregisterRecordingCallback()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 74 private final HashMap<Messenger, ClientInfo> mClients = new HashMap<>(); field in NsdService 132 mClients.put(msg.replyTo, cInfo); in processMessage() 149 cInfo = mClients.get(msg.replyTo); in processMessage() 152 mClients.remove(msg.replyTo); in processMessage() 155 if (mClients.size() == 0) { in processMessage() 215 if (mClients.size() > 0) { in enter() 222 if (mClients.size() > 0) { in exit() 256 mClients.size() == 0) { in processMessage() 269 clientInfo = mClients.get(msg.replyTo); in processMessage() 293 clientInfo = mClients.get(msg.replyTo); in processMessage() [all …]
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
D | MidiService.java | 90 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>(); field in MidiService 234 synchronized (mClients) { in close() 235 mClients.remove(mToken); in close() 269 synchronized (mClients) { in getClient() 270 Client client = mClients.get(token); in getClient() 279 mClients.put(token, client); in getClient() 774 synchronized (mClients) { in notifyDeviceStatusChanged() 775 for (Client c : mClients.values()) { in notifyDeviceStatusChanged() 818 synchronized (mClients) { in addDeviceLocked() 819 for (Client c : mClients.values()) { in addDeviceLocked() [all …]
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | DynamicSystemInstallationService.java | 110 ArrayList<Messenger> mClients = new ArrayList<>(); field in DynamicSystemInstallationService 570 for (int i = mClients.size() - 1; i >= 0; i--) { in postStatus() 572 notifyOneClient(mClients.get(i), status, cause, detail); in postStatus() 574 mClients.remove(i); in postStatus() 642 mClients.add(client); in handleMessage() 650 mClients.remove(msg.replyTo); in handleMessage()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 109 private RemoteCallbackList<IAutoFillManagerClient> mClients; field in AutofillManagerServiceImpl 234 if (mClients == null) { in addClientLocked() 235 mClients = new RemoteCallbackList<>(); in addClientLocked() 237 mClients.register(client); in addClientLocked() 253 if (mClients != null) { in removeClientLocked() 254 mClients.unregister(client); in removeClientLocked() 677 if (mClients != null) { in destroyLocked() 678 mClients.kill(); in destroyLocked() 679 mClients = null; in destroyLocked() 1010 if (mClients == null) { in dumpLocked() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 210 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage() 231 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage() 238 ExternalClientInfo client = (ExternalClientInfo) mClients.get(msg.replyTo); in handleMessage() 270 ClientInfo ci = mClients.get(msg.replyTo); in handleMessage() 331 private final ArrayMap<Messenger, ClientInfo> mClients; field in WifiScanningServiceImpl 358 mClients = new ArrayMap<>(); in WifiScanningServiceImpl() 653 ClientInfo ci = mClients.get(msg.replyTo); in processMessage() 1220 ClientInfo ci = mClients.get(msg.replyTo); in processMessage() 1603 ClientInfo ci = mClients.get(msg.replyTo); in processMessage() 1649 ClientInfo ci = mClients.get(msg.replyTo); in processMessage() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 97 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/base/packages/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 265 private volatile Collection<TetheredClient> mClients = null; field in EthernetTetheringTest.MyTetheringEventCallback 324 mClients = clients; in onClientsChanged() 333 return mClients; in awaitClientConnected()
|