/frameworks/native/libs/binder/ |
D | LazyServiceRegistrar.cpp | 45 Status onClients(const sp<IBinder>& service, bool clients) override; 55 bool clients = false; member 132 Status ClientCounterCallback::onClients(const sp<IBinder>& service, bool clients) { in onClients() argument 134 if (registered.clients == clients) { in onClients() 136 "notified has clients: %d", name.c_str(), registered.clients, clients); in onClients() 138 registered.clients = clients; in onClients() 145 if (registered.clients) numWithClients++; in onClients() 151 mNumConnectedServices, mRegisteredServices.size(), name.c_str(), clients); in onClients()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 234 final SparseArray<WifiAwareClientState> clients = new SparseArray<>(); in testAttachSessionMetrics() local 240 clients.put(10, in testAttachSessionMetrics() 243 mDut.recordAttachSession(uid1, false, clients); in testAttachSessionMetrics() 246 clients.put(11, in testAttachSessionMetrics() 249 mDut.recordAttachSession(uid1, false, clients); in testAttachSessionMetrics() 252 clients.put(12, in testAttachSessionMetrics() 255 mDut.recordAttachSession(uid2, false, clients); in testAttachSessionMetrics() 258 clients.put(13, in testAttachSessionMetrics() 261 mDut.recordAttachSession(uid2, true, clients); in testAttachSessionMetrics() 265 mDut.recordAttachSessionDuration(clients.get(12).getCreationTime()); in testAttachSessionMetrics() [all …]
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 423 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) { in getClientForResource_l() argument 429 clients->push_back(client); in getClientForResource_l() 439 Vector<sp<IResourceManagerClient>> clients; in reclaimResource() local 466 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource() 471 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource() 478 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource() 484 getClientForResource_l(callingPid, drmSession, &clients); in reclaimResource() 485 if (clients.size() == 0) { in reclaimResource() 490 if (clients.size() == 0) { in reclaimResource() 492 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource() [all …]
|
D | ResourceManagerService.h | 103 Vector<sp<IResourceManagerClient>> *clients); 124 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients);
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTracker.java | 113 final HashSet<TetheredClient> clients = new HashSet<>(clientsMap.values()); in updateConnectedClients() local 114 final boolean clientsChanged = clients.size() != mLastTetheredClients.size() in updateConnectedClients() 115 || !clients.containsAll(mLastTetheredClients); in updateConnectedClients() 116 mLastTetheredClients = Collections.unmodifiableList(new ArrayList<>(clients)); in updateConnectedClients() 176 private static Set<MacAddress> getClientMacs(@NonNull List<WifiClient> clients) { in getClientMacs() argument 177 final Set<MacAddress> macs = new HashSet<>(clients.size()); in getClientMacs() 178 for (WifiClient c : clients) { in getClientMacs()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 455 ArrayList<ClientRange> clients = range.mClients; in disableRange() local 458 int crLength = clients.size(); in disableRange() 460 ClientRange cr = clients.get(0); in disableRange() 488 ClientRange cr = clients.get(crIndex); in disableRange() 495 clients.remove(crIndex); in disableRange() 499 clients.remove(crIndex); in disableRange() 504 clients.add(crIndex, cr); in disableRange() 522 int nextStartId = clients.get(1).mStartId; in disableRange() 528 largestEndId = clients.get(1).mEndId; in disableRange() 539 ClientRange nextCr = clients.get(nextIndex); in disableRange()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioInputDescriptor.cpp | 397 RecordClientVector clients; in getClientsForSession() local 400 clients.push_back(client); in getClientsForSession() 403 return clients; in getClientsForSession() 409 RecordClientVector clients; in clientsList() local 414 clients.push_back(client); in clientsList() 417 return clients; in clientsList() 435 RecordClientVector clients = getClientsForSession((audio_session_t)effect->mSession); in trackEffectEnabled() local 438 for (const auto& client : clients) { in trackEffectEnabled() 468 RecordClientVector clients = clientsList(false /*activeOnly*/); in setAppState() local 471 for (const auto& client : clients) { in setAppState()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SoftApManager.java | 116 public void onConnectedClientsChanged(List<NativeWifiClient> clients) { 118 clients); 478 private void setConnectedClients(List<NativeWifiClient> clients) { in setConnectedClients() argument 479 if (clients == null) { in setConnectedClients() 483 List<WifiClient> convertedClients = createWifiClients(clients); in setConnectedClients() 490 + clients.size()); in setConnectedClients() 510 List<WifiClient> clients = new ArrayList<>(); in createWifiClients() local 512 return clients; in createWifiClients() 518 clients.add(client); in createWifiClients() 521 return clients; in createWifiClients()
|
D | WificondControl.java | 176 public void onConnectedClientsChanged(NativeWifiClient[] clients) { in onConnectedClientsChanged() argument 178 Log.d(TAG, "onConnectedClientsChanged called with " + clients.length + " clients"); in onConnectedClientsChanged() 179 for (int i = 0; i < clients.length; i++) { in onConnectedClientsChanged() 180 Log.d(TAG, " mac " + clients[i].macAddress); in onConnectedClientsChanged() 184 mSoftApListener.onConnectedClientsChanged(Arrays.asList(clients)); in onConnectedClientsChanged()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareMetrics.java | 210 SparseArray<WifiAwareClientState> clients) { in recordAttachSession() argument 213 for (int i = 0; i < clients.size(); ++i) { in recordAttachSession() 214 if (clients.valueAt(i).getUid() == uid) { in recordAttachSession() 254 public void recordDiscoverySession(int uid, SparseArray<WifiAwareClientState> clients) { in recordDiscoverySession() argument 255 recordDiscoverySessionInternal(uid, clients, false, -1, -1); in recordDiscoverySession() 262 int minRange, int maxRange, SparseArray<WifiAwareClientState> clients) { in recordDiscoverySessionWithRanging() argument 263 recordDiscoverySessionInternal(uid, clients, isSubscriberWithRanging, minRange, maxRange); in recordDiscoverySessionWithRanging() 269 private void recordDiscoverySessionInternal(int uid, SparseArray<WifiAwareClientState> clients, in recordDiscoverySessionInternal() argument 282 for (int i = 0; i < clients.size(); ++i) { in recordDiscoverySessionInternal() 283 WifiAwareClientState client = clients.valueAt(i); in recordDiscoverySessionInternal()
|
/frameworks/base/packages/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 319 public void onClientsChanged(Collection<TetheredClient> clients) { in onClientsChanged() argument 323 Log.d(TAG, "Got clients changed: " + clients); in onClientsChanged() 324 mClients = clients; in onClientsChanged() 325 if (clients.size() > 0) { in onClientsChanged() 410 final Collection<TetheredClient> clients = mTetheringEventCallback.awaitClientConnected(); in checkTetheredClientCallbacks() local 411 assertEquals(1, clients.size()); in checkTetheredClientCallbacks() 412 final TetheredClient client = clients.iterator().next(); in checkTetheredClientCallbacks()
|
/frameworks/hardware/interfaces/bufferhub/1.0/ |
D | types.hal | 26 MAX_CLIENT, // Buffer cannot have more clients 46 * in the handle may be exposed by ll-ndk clients but in a format that is
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | ISoftApCallback.aidl | 45 void onConnectedClientsChanged(in List<WifiClient> clients); in onConnectedClientsChanged() argument
|
/frameworks/hardware/interfaces/stats/1.0/test_client/ |
D | README | 2 it would be called from other clients.
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 384 Vector<sp<IResourceManagerClient> > clients; in testGetAllClients() local 385 EXPECT_FALSE(mService->getAllClients_l(kLowPriorityPid, type, &clients)); in testGetAllClients() 388 EXPECT_FALSE(mService->getAllClients_l(kMidPriorityPid, type, &clients)); in testGetAllClients() 389 EXPECT_TRUE(mService->getAllClients_l(kHighPriorityPid, type, &clients)); in testGetAllClients() 391 EXPECT_EQ(2u, clients.size()); in testGetAllClients() 393 EXPECT_EQ(mTestClient3, clients[0]); in testGetAllClients() 394 EXPECT_EQ(mTestClient1, clients[1]); in testGetAllClients()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImpl.java | 227 public void onConnectedClientsChanged(List<WifiClient> clients) { in onConnectedClientsChanged() argument 228 mNumConnectedDevices = clients.size(); in onConnectedClientsChanged()
|
/frameworks/base/media/lib/remotedisplay/ |
D | README.txt | 5 library which provides build-time APIs to the unbundled clients. 20 break clients of the library because they cannot see the internal platform classes.
|
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/ |
D | ITetheringEventCallback.aidl | 37 void onTetherClientsChanged(in List<TetheredClient> clients); in onTetherClientsChanged() argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 875 Mockito.argThat((List<WifiClient> clients) -> in updatesConnectedClients() 876 clients.contains(TEST_CONNECTED_CLIENT)) in updatesConnectedClients() 903 Mockito.argThat((List<WifiClient> clients) -> in testDoesNotTriggerCallbackForSameClients() 904 clients.contains(TEST_CONNECTED_CLIENT)) in testDoesNotTriggerCallbackForSameClients() 939 Mockito.argThat((List<WifiClient> clients) -> in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted() 940 clients.contains(TEST_CONNECTED_CLIENT)) in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted() 1003 Mockito.argThat((List<WifiClient> clients) -> in schedulesTimeoutTimerWhenAllClientsDisconnect() 1004 clients.contains(TEST_CONNECTED_CLIENT)) in schedulesTimeoutTimerWhenAllClientsDisconnect() 1013 Mockito.argThat((List<WifiClient> clients) -> in schedulesTimeoutTimerWhenAllClientsDisconnect() 1014 clients.contains(TEST_CONNECTED_CLIENT)) in schedulesTimeoutTimerWhenAllClientsDisconnect()
|
/frameworks/base/media/lib/signer/ |
D | README.txt | 7 which provides build-time APIs to the unbundled clients. 22 break clients of the library because they cannot see the internal platform classes.
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | README | 94 - Single-threaded clients receive events in the correct order in the same 96 - Multi-threaded clients receive events in the correct order but in 97 different threads; it is the clients' responsibility to deal with
|
/frameworks/native/cmds/servicemanager/ |
D | ServiceManager.cpp | 551 int clients = handleServiceClientCallback(name, false); in tryUnregisterService() local 558 if (clients < 0 || clients > 2) { in tryUnregisterService() 560 LOG(INFO) << "Tried to unregister " << name << ", but there are clients: " << clients; in tryUnregisterService()
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 785 Vector< sp<ModuleClient> > clients; in onCallbackEvent() local 805 clients.add(model->mModuleClient); in onCallbackEvent() 818 clients.add(model->mModuleClient); in onCallbackEvent() 826 clients.add(mModuleClients[i]); in onCallbackEvent() 835 for (size_t i = 0; i < clients.size(); i++) { in onCallbackEvent() 836 clients[i]->onCallbackEvent(event); in onCallbackEvent()
|
/frameworks/opt/setupwizard/library/ |
D | standalone-rules.gradle | 17 // For standalone project clients, since the source may not be available, we fetch the
|
/frameworks/base/media/lib/tvremote/ |
D | README.txt | 11 break clients of the library because they cannot see the internal platform classes.
|