Home
last modified time | relevance | path

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

/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp285 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) { in getClientForResource_l() argument
291 clients->push_back(client); in getClientForResource_l()
301 Vector<sp<IResourceManagerClient>> clients; in reclaimResource() local
325 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
330 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource()
337 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
343 if (clients.size() == 0) { in reclaimResource()
345 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
348 if (clients.size() == 0) { in reclaimResource()
350 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource()
[all …]
DResourceManagerService.h86 Vector<sp<IResourceManagerClient>> *clients);
107 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.java447 ArrayList<ClientRange> clients = range.mClients; in disableRange() local
450 int crLength = clients.size(); in disableRange()
452 ClientRange cr = clients.get(0); in disableRange()
480 ClientRange cr = clients.get(crIndex); in disableRange()
487 clients.remove(crIndex); in disableRange()
491 clients.remove(crIndex); in disableRange()
496 clients.add(crIndex, cr); in disableRange()
514 int nextStartId = clients.get(1).mStartId; in disableRange()
520 largestEndId = clients.get(1).mEndId; in disableRange()
531 ClientRange nextCr = clients.get(nextIndex); in disableRange()
/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/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/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java639 final RemoteCallbackList<IAutoFillManagerClient> clients; in sendStateToClients() local
645 clients = mClients; in sendStateToClients()
646 userClientCount = clients.beginBroadcast(); in sendStateToClients()
650 final IAutoFillManagerClient client = clients.getBroadcastItem(i); in sendStateToClients()
662 clients.finishBroadcast(); in sendStateToClients()
/frameworks/native/cmds/lshal/
DListCommand.h61 const std::string &address, const std::string &clients,
DListCommand.cpp169 const std::string &address, const std::string &clients, in printLine() argument
190 mOut << std::setw(0) << clients; in printLine()
/frameworks/opt/setupwizard/library/
Dstandalone-rules.gradle17 // For standalone project clients, since the source may not be available, we fetch the
Drules.gradle39 // 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/media/lib/signer/
DREADME.txt13 break clients of the library because they cannot see the internal platform classes.
/frameworks/base/media/lib/remotedisplay/
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/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java2088 ArrayList<byte[]> clients = new ArrayList<>(); in setClientList() local
2090 clients.add(NativeUtil.macAddressToByteArray(clientStr)); in setClientList()
2092 result.setResult(network.setClientList(clients)); in setClientList()
2122 (SupplicantStatus status, ArrayList<byte[]> clients) -> { in getClientList() argument
2123 result.setResult(status, clients); in getClientList()
2132 ArrayList<byte[]> clients = result.getResult(); in getClientList() local
2133 return clients.stream() in getClientList()
/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/services/soundtrigger/
DSoundTriggerHwService.cpp783 Vector< sp<ISoundTriggerClient> > clients; in onCallbackEvent() local
788 clients.add(mModuleClients[i]->client()); in onCallbackEvent()
792 for (size_t i = 0; i < clients.size(); i++) { in onCallbackEvent()
793 clients[i]->onServiceStateChange(eventMemory); in onCallbackEvent()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2361 ArrayList<byte[]> clients = capturedClients.getValue(); in testSetClientList() local
2367 for (byte[] client : clients) { in testSetClientList()
2423 ArrayList<byte[]> clients = new ArrayList<byte[]>() {{ in testGetClientList()
2427 cb.onValues(mStatusSuccess, clients); in testGetClientList()
2460 ArrayList<byte[]> clients = new ArrayList<byte[]>() {{ in testGetClientListFailureDueToGetNetwork()
2464 cb.onValues(mStatusSuccess, clients); in testGetClientListFailureDueToGetNetwork()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java2530 RemoteCallbackList<IAccessibilityManagerClient> clients) { in sendStateToClients() argument
2531 clients.broadcast((client) -> { in sendStateToClients()
2541 RemoteCallbackList<IAccessibilityManagerClient> clients) { in notifyClientsOfServicesStateChange() argument
2543 final int userClientCount = clients.beginBroadcast(); in notifyClientsOfServicesStateChange()
2545 IAccessibilityManagerClient client = clients.getBroadcastItem(i); in notifyClientsOfServicesStateChange()
2553 clients.finishBroadcast(); in notifyClientsOfServicesStateChange()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp415 SortedVector< sp<Client> > clients; //to serialise the mutex unlock & client destruction. in dump() local
429 clients.add(c); in dump()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java2775 SparseArray<WifiAwareClientState> clients = (SparseArray<WifiAwareClientState>) field.get( in getInternalClientState() local
2778 return clients.get(clientId); in getInternalClientState()