Home
last modified time | relevance | path

Searched refs:clients (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java235 final SparseArray<WifiAwareClientState> clients = new SparseArray<>(); in testAttachSessionMetrics() local
241 clients.put(10, in testAttachSessionMetrics()
244 mDut.recordAttachSession(uid1, false, clients); in testAttachSessionMetrics()
247 clients.put(11, in testAttachSessionMetrics()
250 mDut.recordAttachSession(uid1, false, clients); in testAttachSessionMetrics()
253 clients.put(12, in testAttachSessionMetrics()
256 mDut.recordAttachSession(uid2, false, clients); in testAttachSessionMetrics()
259 clients.put(13, in testAttachSessionMetrics()
262 mDut.recordAttachSession(uid2, true, clients); in testAttachSessionMetrics()
266 mDut.recordAttachSessionDuration(clients.get(12).getCreationTime()); in testAttachSessionMetrics()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DConnectedClientsTracker.java113 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/av/services/mediaresourcemanager/
DResourceManagerService.cpp484 Vector<std::shared_ptr<IResourceManagerClient>> *clients) { in getClientForResource_l() argument
490 clients->push_back(client); in getClientForResource_l()
503 Vector<std::shared_ptr<IResourceManagerClient>> clients; in reclaimResource() local
530 if (!getAllClients_l(callingPid, MediaResource::Type::kSecureCodec, &clients)) { in reclaimResource()
535 if (!getAllClients_l(callingPid, MediaResource::Type::kNonSecureCodec, &clients)) { in reclaimResource()
542 if (!getAllClients_l(callingPid, MediaResource::Type::kSecureCodec, &clients)) { in reclaimResource()
548 getClientForResource_l(callingPid, drmSession, &clients); in reclaimResource()
549 if (clients.size() == 0) { in reclaimResource()
554 if (clients.size() == 0) { in reclaimResource()
556 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
[all …]
DResourceManagerService.h139 Vector<std::shared_ptr<IResourceManagerClient>> *clients);
162 Vector<std::shared_ptr<IResourceManagerClient>> *clients);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java1062 Mockito.argThat((List<WifiClient> clients) -> in updatesConnectedClients()
1063 clients.contains(TEST_CONNECTED_CLIENT)) in updatesConnectedClients()
1091 Mockito.argThat((List<WifiClient> clients) -> in testDoesNotTriggerCallbackForSameClients()
1092 clients.contains(TEST_CONNECTED_CLIENT)) in testDoesNotTriggerCallbackForSameClients()
1107 Mockito.argThat((List<WifiClient> clients) -> in testDoesNotTriggerCallbackForSameClients()
1108 clients.size() == 0) in testDoesNotTriggerCallbackForSameClients()
1132 Mockito.argThat((List<WifiClient> clients) -> in stopDisconnectsConnectedClients()
1133 clients.contains(TEST_CONNECTED_CLIENT)) in stopDisconnectsConnectedClients()
1176 Mockito.argThat((List<WifiClient> clients) -> in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
1177 clients.contains(TEST_CONNECTED_CLIENT)) in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntRangeManager.java462 ArrayList<ClientRange> clients = range.mClients; in disableRange() local
465 int crLength = clients.size(); in disableRange()
467 ClientRange cr = clients.get(0); in disableRange()
495 ClientRange cr = clients.get(crIndex); in disableRange()
502 clients.remove(crIndex); in disableRange()
506 clients.remove(crIndex); in disableRange()
511 clients.add(crIndex, cr); in disableRange()
529 int nextStartId = clients.get(1).mStartId; in disableRange()
535 largestEndId = clients.get(1).mEndId; in disableRange()
546 ClientRange nextCr = clients.get(nextIndex); in disableRange()
/frameworks/native/libs/binder/
DLazyServiceRegistrar.cpp45 Status onClients(const sp<IBinder>& service, bool clients) override;
110 Status ClientCounterCallback::onClients(const sp<IBinder>& service, bool clients) { in onClients() argument
111 if (clients) { in onClients()
119 String8(service->getInterfaceDescriptor()).string(), clients); in onClients()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp397 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/aware/
DWifiAwareMetrics.java208 SparseArray<WifiAwareClientState> clients) { in recordAttachSession() argument
211 for (int i = 0; i < clients.size(); ++i) { in recordAttachSession()
212 if (clients.valueAt(i).getUid() == uid) { in recordAttachSession()
252 public void recordDiscoverySession(int uid, SparseArray<WifiAwareClientState> clients) { in recordDiscoverySession() argument
253 recordDiscoverySessionInternal(uid, clients, false, -1, -1); in recordDiscoverySession()
260 int minRange, int maxRange, SparseArray<WifiAwareClientState> clients) { in recordDiscoverySessionWithRanging() argument
261 recordDiscoverySessionInternal(uid, clients, isSubscriberWithRanging, minRange, maxRange); in recordDiscoverySessionWithRanging()
267 private void recordDiscoverySessionInternal(int uid, SparseArray<WifiAwareClientState> clients, in recordDiscoverySessionInternal() argument
280 for (int i = 0; i < clients.size(); ++i) { in recordDiscoverySessionInternal()
281 WifiAwareClientState client = clients.valueAt(i); in recordDiscoverySessionInternal()
/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java319 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/
Dtypes.hal26 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/hardware/interfaces/stats/1.0/test_client/
DREADME2 it would be called from other clients.
/frameworks/base/wifi/java/android/net/wifi/
DISoftApCallback.aidl47 void onConnectedClientsChanged(in List<WifiClient> clients); in onConnectedClientsChanged() argument
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DITetheringEventCallback.aidl37 void onTetherClientsChanged(in List<TetheredClient> clients); in onTetherClientsChanged() argument
DTetheringManager.java458 public void onTetherClientsChanged(List<TetheredClient> clients) { } in onTetherClientsChanged() argument
956 default void onClientsChanged(@NonNull Collection<TetheredClient> clients) {}
1122 public void onTetherClientsChanged(final List<TetheredClient> clients) {
1123 executor.execute(() -> callback.onClientsChanged(clients));
/frameworks/base/media/lib/remotedisplay/
DREADME.txt5 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/media/lib/signer/
DREADME.txt7 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/
DREADME94 - 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/
DServiceManager.cpp551 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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java280 public void onConnectedClientsChanged(List<WifiClient> clients) { in onConnectedClientsChanged() argument
281 mNumConnectedDevices = clients.size(); in onConnectedClientsChanged()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp545 Vector<std::shared_ptr<IResourceManagerClient> > clients; in testGetAllClients() local
546 EXPECT_FALSE(mService->getAllClients_l(kLowPriorityPid, type, &clients)); in testGetAllClients()
549 EXPECT_FALSE(mService->getAllClients_l(kMidPriorityPid, type, &clients)); in testGetAllClients()
550 EXPECT_TRUE(mService->getAllClients_l(kHighPriorityPid, type, &clients)); in testGetAllClients()
552 EXPECT_EQ(2u, clients.size()); in testGetAllClients()
554 EXPECT_EQ(mTestClient3, clients[0]); in testGetAllClients()
555 EXPECT_EQ(mTestClient1, clients[1]); in testGetAllClients()
/frameworks/opt/setupwizard/library/
Dstandalone-rules.gradle17 // For standalone project clients, since the source may not be available, we fetch the
Drules.gradle63 // For standalone project clients, since the source may not be available, we
/frameworks/base/media/lib/tvremote/
DREADME.txt11 break clients of the library because they cannot see the internal platform classes.
/frameworks/base/location/lib/
DREADME.txt11 (or by extending them via inheritance). This would break clients of the

12