Home
last modified time | relevance | path

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

123

/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp251 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) { in getClientForResource_l() argument
257 clients->push_back(client); in getClientForResource_l()
267 Vector<sp<IResourceManagerClient>> clients; in reclaimResource() local
291 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
296 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource()
303 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
309 if (clients.size() == 0) { in reclaimResource()
311 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
314 if (clients.size() == 0) { in reclaimResource()
316 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource()
[all …]
DResourceManagerService.h83 Vector<sp<IResourceManagerClient>> *clients);
104 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/base/docs/html/guide/components/
Dbound-services.jd66 clients can use to interact with the service.</p>
78 started, the system does <em>not</em> destroy the service when all clients unbind. Instead, you must
105 <p>Multiple clients can connect to the service at once. However, the system calls your service's
108 additional clients that bind, without calling {@link android.app.Service#onBind onBind()} again.</p>
123 that provides the programming interface that clients can use to interact with the service. There
210 <p>For example, here's a service that provides clients access to methods in the service through
215 // Binder given to clients
222 * runs in the same process as its clients, we don't need to deal with IPC.
226 // Return this instance of LocalService so clients can call public methods
236 /** method for clients */
[all …]
Daidl.jd13 <li><a href="#Expose">Expose the interface to clients</a></li>
37 <p class="note"><strong>Note:</strong> Using AIDL is necessary only if you allow clients from
99 <li><a href="#ExposeTheInterface">Expose the interface to clients</a>
235 clients so they can interact with the service.</p>
249 <h3 id="Expose">3. Expose the interface to clients</h3>
252 clients so they can bind to it. To expose the interface
256 service that exposes the {@code IRemoteService} example interface to clients. </p>
Dservices.jd141 bindService()}. In your implementation of this method, you must provide an interface that clients
164 only as long as the component is bound to it. Once the service is unbound from all clients, the
599 <p>Multiple clients can bind to the service at once. When a client is done interacting with the
601 there are no clients bound to the service, the system destroys the service.</p>
698 {@link android.content.Context#unbindService unbindService()}. Multiple clients can bind to
711 stopSelf()} does not actually stop the service until all clients unbind. </p>
723 IBinder mBinder; // interface for clients that bind
742 … // All clients have unbound with {@link android.content.Context#unbindService unbindService()}
805 in mind that any service, no matter how it's started, can potentially allow clients to bind to it.
/frameworks/base/docs/html/guide/topics/manifest/
Dpath-permission-element.jd76 <dd>The name of a permission that clients must have in order to read or write the
85 <dd>A permission that clients must have in order to query the content provider.
89 <dd>A permission that clients must have in order to make changes to the data controlled by the cont…
/frameworks/base/docs/html-intl/intl/zh-cn/guide/components/
Dbound-services.jd210 // Binder given to clients
217 * runs in the same process as its clients, we don't need to deal with IPC.
221 // Return this instance of LocalService so clients can call public methods
231 /** method for clients */
371 * Handler of incoming messages from clients.
387 * Target we publish for clients to send messages to IncomingHandler.
/frameworks/base/docs/html-intl/intl/ru/guide/components/
Dbound-services.jd210 // Binder given to clients
217 * runs in the same process as its clients, we don't need to deal with IPC.
221 // Return this instance of LocalService so clients can call public methods
231 /** method for clients */
371 * Handler of incoming messages from clients.
387 * Target we publish for clients to send messages to IncomingHandler.
/frameworks/base/docs/html-intl/intl/ko/guide/components/
Dbound-services.jd210 // Binder given to clients
217 * runs in the same process as its clients, we don't need to deal with IPC.
221 // Return this instance of LocalService so clients can call public methods
231 /** method for clients */
371 * Handler of incoming messages from clients.
387 * Target we publish for clients to send messages to IncomingHandler.
/frameworks/base/docs/html-intl/intl/zh-tw/guide/components/
Dbound-services.jd210 // Binder given to clients
217 * runs in the same process as its clients, we don't need to deal with IPC.
221 // Return this instance of LocalService so clients can call public methods
231 /** method for clients */
371 * Handler of incoming messages from clients.
387 * Target we publish for clients to send messages to IncomingHandler.
/frameworks/base/docs/html-intl/intl/ja/guide/components/
Dbound-services.jd210 // Binder given to clients
217 * runs in the same process as its clients, we don't need to deal with IPC.
221 // Return this instance of LocalService so clients can call public methods
231 /** method for clients */
371 * Handler of incoming messages from clients.
387 * Target we publish for clients to send messages to IncomingHandler.
/frameworks/opt/setupwizard/library/
Dstandalone-rules.gradle17 // For standalone project clients, since the source may not be available, we fetch the
Drules.gradle43 // 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/remotedisplay/
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/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/base/docs/html-intl/intl/in/guide/components/
Dbound-services.jd210 // Binder given to clients
217 * runs in the same process as its clients, we don't need to deal with IPC.
221 // Return this instance of LocalService so clients can call public methods
231 /** method for clients */
371 * Handler of incoming messages from clients.
387 * Target we publish for clients to send messages to IncomingHandler.
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-providers.jd62 object receives data requests from clients, performs the requested action, and

123