Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java234 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/
DResourceManagerService.cpp306 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) { in getClientForResource_l() argument
312 clients->push_back(client); in getClientForResource_l()
322 Vector<sp<IResourceManagerClient>> clients; in reclaimResource() local
346 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
351 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource()
358 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
364 if (clients.size() == 0) { in reclaimResource()
366 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
369 if (clients.size() == 0) { in reclaimResource()
371 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource()
[all …]
DResourceManagerService.h87 Vector<sp<IResourceManagerClient>> *clients);
108 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients);
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DReloadListAction.java42 Client[] clients = clientUtils.findAllClients(device); in run() local
43 if (clients != null) { in run()
44 Arrays.sort(clients, new ClientComparator()); in run()
47 for (Client c : clients) { in run()
DScanPackageAction.java49 Client[] clients = clientUtils.findAllClients(device); in run() local
50 if (clients.length > 0) { in run()
51 ClientWrapper[] clientWrappers = new ClientWrapper[clients.length]; in run()
53 clientWrappers[i] = new ClientWrapper(clients[i]); in run()
DScanAllPackagesAction.java45 Client[] clients = clientUtils.findAllClients(device); in run() local
46 for (Client c : clients) { in run()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntRangeManager.java449 ArrayList<ClientRange> clients = range.mClients; in disableRange() local
452 int crLength = clients.size(); in disableRange()
454 ClientRange cr = clients.get(0); in disableRange()
482 ClientRange cr = clients.get(crIndex); in disableRange()
489 clients.remove(crIndex); in disableRange()
493 clients.remove(crIndex); in disableRange()
498 clients.add(crIndex, cr); in disableRange()
516 int nextStartId = clients.get(1).mStartId; in disableRange()
522 largestEndId = clients.get(1).mEndId; in disableRange()
533 ClientRange nextCr = clients.get(nextIndex); in disableRange()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp385 RecordClientVector clients; in getClientsForSession() local
388 clients.push_back(client); in getClientsForSession()
391 return clients; in getClientsForSession()
397 RecordClientVector clients; in clientsList() local
402 clients.push_back(client); in clientsList()
405 return clients; in clientsList()
423 RecordClientVector clients = getClientsForSession((audio_session_t)effect->mSession); in trackEffectEnabled() local
426 for (const auto& client : clients) { in trackEffectEnabled()
456 RecordClientVector clients = clientsList(false /*activeOnly*/); in setAppState() local
459 for (const auto& client : clients) { in setAppState()
DAudioOutputDescriptor.cpp199 TrackClientVector clients; in clientsList() local
205 clients.push_back(client); in clientsList()
208 return clients; in clientsList()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp241 Vector<sp<IResourceManagerClient> > clients; in testGetAllClients() local
242 EXPECT_FALSE(mService->getAllClients_l(kLowPriorityPid, type, &clients)); in testGetAllClients()
245 EXPECT_FALSE(mService->getAllClients_l(kMidPriorityPid, type, &clients)); in testGetAllClients()
246 EXPECT_TRUE(mService->getAllClients_l(kHighPriorityPid, type, &clients)); in testGetAllClients()
248 EXPECT_EQ(2u, clients.size()); in testGetAllClients()
249 EXPECT_EQ(mTestClient3, clients[0]); in testGetAllClients()
250 EXPECT_EQ(mTestClient1, clients[1]); in testGetAllClients()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java210 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/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/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/av/services/soundtrigger/
DSoundTriggerHwService.cpp747 Vector< sp<ModuleClient> > clients; in onCallbackEvent() local
767 clients.add(model->mModuleClient); in onCallbackEvent()
780 clients.add(model->mModuleClient); in onCallbackEvent()
788 clients.add(mModuleClients[i]); in onCallbackEvent()
797 for (size_t i = 0; i < clients.size(); i++) { in onCallbackEvent()
798 clients[i]->onCallbackEvent(event); in onCallbackEvent()
/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
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java142 Set<FrameClient> clients = mContextClients.get(context); in clientsForContext() local
143 if (clients == null) { in clientsForContext()
144 clients = new HashSet<FrameClient>(); in clientsForContext()
145 mContextClients.put(context, clients); in clientsForContext()
147 return clients; in clientsForContext()
/frameworks/av/camera/
DAndroid.bp79 // AIDL interface between camera clients and the camera service.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java2293 ArrayList<byte[]> clients = new ArrayList<>(); in setClientList() local
2295 clients.add(NativeUtil.macAddressToByteArray(clientStr)); in setClientList()
2297 result.setResult(network.setClientList(clients)); in setClientList()
2327 (SupplicantStatus status, ArrayList<byte[]> clients) -> { in getClientList() argument
2328 result.setResult(status, clients); in getClientList()
2337 ArrayList<byte[]> clients = result.getResult(); in getClientList() local
2338 return clients.stream() in getClientList()
/frameworks/native/cmds/lshal/
DListCommand.h119 const std::string &clients, const std::string &clientCmdlines) const;

12