/packages/services/Car/service/src/com/android/car/ |
Listeners.java | 71 private final LinkedList<ClientWithRate<ClientType>> mClients = new LinkedList<>(); 91 for (ClientWithRate<ClientType> clientWithRate: mClients) { 105 mClients.add(clientWithRate); 109 mClients.remove(clientWithRate); 113 return mClients.size(); 117 return mClients; 121 for (ClientWithRate<ClientType> clientWithRate: mClients) { 130 for (ClientWithRate<ClientType> clientWithRate: mClients) { 133 mClients.clear();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
ClientWakelockTracker.java | 32 public HashMap<String, ClientWakelockAccountant> mClients = 77 synchronized (mClients) { 78 list = new ArrayList<>(mClients.size()); 79 for (String key : mClients.keySet()) { 80 ClientWakelockAccountant client = mClients.get(key); 90 synchronized (mClients) { 91 if (mClients.containsKey(clientId)) { 92 client = mClients.get(clientId); 95 mClients.put(clientId, client); 123 pw.println("-------mClients---------------") [all...] |
IntRangeManager.java | 58 final ArrayList<ClientRange> mClients; 69 mClients = new ArrayList<ClientRange>(INITIAL_CLIENTS_ARRAY_SIZE); 70 mClients.add(new ClientRange(startId, endId, client)); 80 mClients = new ArrayList<ClientRange>(INITIAL_CLIENTS_ARRAY_SIZE); 81 mClients.add(clientRange); 97 mClients = new ArrayList<ClientRange>(intRange.mClients.size()); 99 mClients.add(intRange.mClients.get(i)); 113 int len = mClients.size() [all...] |
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
RenderOverlay.java | 46 private List<Renderer> mClients; 56 mClients = new ArrayList<>(10); 64 for (Renderer renderer : mClients) { 73 mClients.add(renderer); 82 mClients.add(pos, renderer); 88 mClients.remove(renderer); 129 if (mClients == null) { 132 for (Renderer renderer : mClients) { 140 if (mClients == null) { 144 for (Renderer renderer : mClients) { [all...] |
/system/core/libsysutils/src/ |
SocketListener.cpp | 55 mClients = new SocketClientCollection(); 67 for (it = mClients->begin(); it != mClients->end();) { 69 it = mClients->erase(it); 71 delete mClients; 98 mClients->push_back(new SocketClient(mSock, false, mUseCmdNum)); 139 for (it = mClients->begin(); it != mClients->end();) { 141 it = mClients->erase(it); 176 for (it = mClients->begin(); it != mClients->end(); ++it) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
RenderOverlay.java | 42 private List<Renderer> mClients; 53 mClients = new ArrayList<Renderer>(10); 61 for (Renderer renderer : mClients) { 70 mClients.add(renderer); 79 mClients.add(pos, renderer); 85 mClients.remove(renderer); 90 return mClients.size(); 153 if (mClients == null) { 156 for (Renderer renderer : mClients) { 164 if (mClients == null) [all...] |
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
BidirectionalAsyncChannelServer.java | 40 private final Map<Messenger, AsyncChannel> mClients = new HashMap<>(); 49 AsyncChannel channel = mClients.get(msg.replyTo); 59 mClients.put(msg.replyTo, channel); 70 mClients.remove(msg.replyTo);
|
/packages/services/Car/evs/manager/ |
HalCamera.cpp | 53 mClients.push_back(client); 71 unsigned clientCount = mClients.size(); 72 mClients.remove(virtualCamera); 73 if (clientCount != mClients.size() + 1) { 88 for (auto&& client : mClients) { 143 for (auto&& client : mClients) { 183 for (auto&& client : mClients) {
|
HalCamera.h | 56 unsigned getClientCount() { return mClients.size(); }; 68 std::list<wp<VirtualCamera>> mClients; // Weak pointers -> objects destruct if client dies
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
RingtonePlayer.java | 60 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>(); 93 synchronized (mClients) { 94 mClients.remove(mToken); 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...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MessengerService.java | 56 ArrayList<Messenger> mClients = new ArrayList<Messenger>(); 89 mClients.add(msg.replyTo); 92 mClients.remove(msg.replyTo); 96 for (int i=mClients.size()-1; i>=0; i--) { 98 mClients.get(i).send(Message.obtain(null, 104 mClients.remove(i);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
BluetoothScanner.java | 177 // TODO mListenerLock should probably now protect mClients 178 private final ArrayList<ClientRecord> mClients = new ArrayList<>(); 205 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { 206 if (mClients.get(ptr).listener == listener) { 212 mClients.add(newClient); 213 size = mClients.size(); 256 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { 257 ClientRecord client = mClients.get(ptr); 259 mClients.remove(ptr); 264 size = mClients.size() [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pGroup.java | 58 private List<WifiP2pDevice> mClients = new ArrayList<WifiP2pDevice>(); 139 mClients.add(dev); 198 for (WifiP2pDevice client : mClients) { 201 mClients.add(device); 206 return mClients.remove(new WifiP2pDevice(address)); 211 return mClients.remove(device); 216 return mClients.size() == 0; 221 if (mOwner.equals(device) || mClients.contains(device)) return true; 227 return Collections.unmodifiableCollection(mClients); 269 for (WifiP2pDevice client : mClients) { [all...] |
/frameworks/av/services/camera/libcameraservice/utils/ |
ClientManager.h | 378 std::vector<std::shared_ptr<ClientDescriptor<KEY, VALUE>>> mClients; 432 for (const auto& i : mClients) { 446 for (const auto& i : mClients) { 519 mClients.erase(std::remove_if(mClients.begin(), mClients.end(), 526 }), mClients.end()); 530 mClients.push_back(client); 540 return mClients; 546 std::vector<KEY> keys(mClients.size()) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ClientWakelockTrackerTest.java | 44 ClientWakelockAccountant abc = myTracker.mClients.get("ABC"); 45 ClientWakelockAccountant pqr = myTracker.mClients.get("PQR"); 78 ClientWakelockAccountant abc = myTracker.mClients.get("ABC"); 103 ClientWakelockAccountant abc = myTracker.mClients.get("ABC"); 125 ClientWakelockAccountant abc = myTracker.mClients.get("ABC"); 126 ClientWakelockAccountant pqr = myTracker.mClients.get("PQR");
|
/system/chre/host/common/ |
socket_server.cc | 92 for (const auto& pair : mClients) { 99 mClients.clear(); 109 for (const auto& pair : mClients) { 131 for (const auto& pair : mClients) { 147 } else if (mClients.size() >= kMaxActiveClients) { 179 mClients[clientSocket] = clientData; 182 PRIu16, mClients.size(), clientData.clientId); 188 const ClientData& clientData = mClients[clientSocket]; 208 mClients.erase(clientSocket);
|
/packages/apps/Nfc/nci/jni/ |
PeerToPeer.cpp | 71 memset (mClients, 0, sizeof(mClients)); 542 if (mClients[i] == NULL) 544 mClients [i] = client = new P2pClient(); 546 mClients [i]->mClientConn->mJniHandle = jniHandle; 547 mClients [i]->mClientConn->mMaxInfoUnit = miu; 548 mClients [i]->mClientConn->mRecvWindow = rw; 563 SyncEventGuard guard (mClients[i]->mRegisteringEvent); 565 mClients[i]->mRegisteringEvent.wait(); //wait for NFA_P2P_REG_CLIENT_EVT 568 if (mClients[i]->mNfaP2pClientHandle != NFA_HANDLE_INVALID [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
RecordingActivityMonitor.java | 47 private ArrayList<RecMonitorClient> mClients = new ArrayList<RecMonitorClient>(); 74 synchronized (mClients) { 80 final Iterator<RecMonitorClient> clientIterator = mClients.iterator(); 127 synchronized (mClients) { 133 mClients.add(rmc); 142 synchronized (mClients) { 143 final Iterator<RecMonitorClient> clientIterator = mClients.iterator();
|
/frameworks/native/services/sensorservice/ |
SensorFusion.cpp | 129 const ssize_t idx = mClients[mode].indexOf(ident); 132 mClients[mode].add(ident); 136 mClients[mode].removeItemsAt(idx); 140 const bool newState = mClients[mode].size() != 0; 192 mClients[FUSION_9AXIS].size(), 209 mClients[FUSION_NOMAG].size(), 226 mClients[FUSION_NOGYRO].size(),
|
SensorFusion.h | 53 SortedVector<void*> mClients[3];
|
/system/core/libsysutils/include/sysutils/ |
SocketListener.h | 28 SocketClientCollection *mClients;
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
SubscriptionManager.cpp | 226 auto it = mClients.find(clientId); 228 if (it == mClients.end()) { 239 mClients.insert({clientId, client}); 250 auto clientIter = mClients.find(clientId); 251 if (clientIter == mClients.end()) { 278 mClients.erase(clientIter); 295 const auto& it = mClients.find(clientId); 296 if (it == mClients.end()) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiTrafficPoller.java | 66 private final List<Messenger> mClients = new ArrayList<Messenger>(); 148 + " num clients " + mClients.size()); 157 mClients.add((Messenger) msg.obj); 160 + Integer.toString(mClients.size())); 164 mClients.remove(msg.obj); 215 for (Messenger client : mClients) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
WifiAwareStateManager.java | 210 private final SparseArray<WifiAwareClientState> mClients = new SparseArray<>(); 398 return mClients.get(clientId); [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteProviderService.java | 96 private final ArrayList<ClientRecord> mClients = new ArrayList<ClientRecord>(); 187 mClients.add(client); 208 ClientRecord client = mClients.remove(index); 222 ClientRecord client = mClients.remove(index); 413 final int count = mClients.size(); 415 ClientRecord client = mClients.get(i); 446 final int count = mClients.size(); 448 MediaRouteDiscoveryRequest request = mClients.get(i).mDiscoveryRequest; 475 return index >= 0 ? mClients.get(index) : null; 479 final int count = mClients.size() [all...] |