Searched refs:mClients (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java53 private final HashMap<IBinder, Client> mClients = Maps.newHashMap(); field in class:RingtonePlayer
86 synchronized (mClients) {
87 mClients.remove(mToken);
101 synchronized (mClients) {
102 client = mClients.get(token);
107 mClients.put(token, client);
117 synchronized (mClients) {
118 client = mClients.remove(token);
130 synchronized (mClients) {
131 client = mClients
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroup.java56 private List<WifiP2pDevice> mClients = new ArrayList<WifiP2pDevice>(); field in class:WifiP2pGroup
137 mClients.add(dev);
197 for (WifiP2pDevice client : mClients) {
200 mClients.add(device);
205 return mClients.remove(new WifiP2pDevice(address));
210 return mClients.remove(device);
215 return mClients.size() == 0;
220 if (mOwner.equals(device) || mClients.contains(device)) return true;
226 return Collections.unmodifiableCollection(mClients);
268 for (WifiP2pDevice client : mClients) {
[all...]
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp83 const ssize_t idx = mClients.indexOf(ident);
86 mClients.add(ident);
90 mClients.removeItemsAt(idx);
98 const bool newState = mClients.size() != 0;
134 mClients.size(),
H A DSensorFusion.h51 SortedVector<void*> mClients; member in class:android::SensorFusion
/frameworks/base/services/java/com/android/server/
H A DNsdService.java76 private HashMap<Messenger, ClientInfo> mClients = new HashMap<Messenger, ClientInfo>(); field in class:NsdService
162 mClients.put(msg.replyTo, cInfo);
173 mClients.remove(msg.replyTo);
231 if (mClients.size() > 0) {
238 if (mClients.size() > 0) {
271 mClients.size() == 0) {
278 if (mClients.size() == 1) {
290 clientInfo = mClients.get(msg.replyTo);
314 clientInfo = mClients.get(msg.replyTo);
333 clientInfo = mClients
[all...]
H A DWifiService.java230 private List<AsyncChannel> mClients = new ArrayList<AsyncChannel>(); field in class:WifiService
247 mClients.add((AsyncChannel) msg.obj);
259 mClients.remove((AsyncChannel) msg.obj);
1669 for (AsyncChannel client : mClients) {
H A DInputMethodManagerService.java258 final HashMap<IBinder, ClientState> mClients field in class:InputMethodManagerService
1001 mClients.put(client.asBinder(), new ClientState(client,
1012 mClients.remove(client.asBinder());
1097 ClientState cs = mClients.get(client.asBinder());
1341 for (ClientState cs : mClients.values()) {
1829 ClientState cs = mClients.get(client.asBinder());
4093 for (ClientState ci : mClients.values()) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp266 mClients.add(w);
377 for (int i = 0, n = mClients.size(); i < n; ++i) {
378 sp<Client> c = mClients[i].promote();
481 mClients.remove(client);
H A DMediaPlayerService.h426 SortedVector< wp<Client> > mClients; member in class:android::MediaPlayerService
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java331 userState.mClients.register(client);
687 if (oldUserState.mClients.getRegisteredCallbackCount() > 0) {
1065 || userState.mClients.getRegisteredCallbackCount() > 0) {
1365 sendStateToClients(clientState, userState.mClients);
2362 public final RemoteCallbackList<IAccessibilityManagerClient> mClients = field in class:AccessibilityManagerService.UserState
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h1998 DefaultKeyedVector< pid_t, wp<Client> > mClients; // see ~Client() member in class:android::AudioFlinger
H A DAudioFlinger.cpp320 for (size_t i = 0; i < mClients.size(); ++i) {
321 sp<Client> client = mClients.valueAt(i).promote();
427 // If pid is already in the mClients wp<> map, then use that entry
429 sp<Client> client = mClients.valueFor(pid).promote();
432 mClients.add(pid, client);
1116 mClients.removeItem(pid);

Completed in 134 milliseconds