Searched refs:client (Results 26 - 50 of 242) sorted by relevance

12345678910

/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java38 * to the client of the MediaScannerConnection class.
51 MediaScannerConnectionClient client = mClient;
52 if (client != null) {
53 client.onScanCompleted(path, uri);
64 * Called to notify the client when the media scanner has finished
80 * Called to notify the client when a connection to the
86 * Called to notify the client when the media scanner has finished
99 * @param client an optional object implementing the MediaScannerConnectionClient
102 public MediaScannerConnection(Context context, MediaScannerConnectionClient client) { argument
104 mClient = client;
188 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.h42 FrameProcessor(wp<CameraDeviceBase> device, sp<Camera2Client> client);
54 void processNewFrames(const sp<Camera2Client> &client);
60 const sp<Camera2Client> &client);
62 // Send 3A state change notifications to client based on frame metadata
64 const sp<Camera2Client> &client);
110 void callbackFaceDetection(sp<Camera2Client> client,
H A DFrameProcessor.cpp32 sp<Camera2Client> client) :
34 mClient(client),
42 SharedParameters::Lock l(client->getParameters());
44 if (client->getCameraDeviceVersion() >= CAMERA_DEVICE_API_VERSION_3_2) {
72 sp<Camera2Client> client = mClient.promote(); local
73 if (!client.get()) {
79 if (client->getCameraDeviceVersion() >= CAMERA_DEVICE_API_VERSION_3_2) {
91 if (!isPartialResult && processFaceDetect(frame.mMetadata, client) != OK) {
96 process3aState(frame, client);
103 const sp<Camera2Client> &client) {
31 FrameProcessor(wp<CameraDeviceBase> device, sp<Camera2Client> client) argument
102 processFaceDetect(const CameraMetadata &frame, const sp<Camera2Client> &client) argument
247 process3aState(const CaptureResult &frame, const sp<Camera2Client> &client) argument
392 callbackFaceDetection(sp<Camera2Client> client, const camera_frame_metadata &metadata) argument
[all...]
H A DZslProcessor.cpp44 sp<Camera2Client> client,
49 mClient(client),
51 mId(client->getCameraId()),
57 if (client != 0) {
59 static_cast<Camera3Device*>(client->getCameraDevice().get());
135 sp<Camera2Client> client = mClient.promote(); local
136 if (client == 0) {
141 static_cast<Camera3Device*>(client->getCameraDevice().get());
155 client->getCameraId(), strerror(-res), res);
162 __FUNCTION__, client
43 ZslProcessor( sp<Camera2Client> client, wp<CaptureSequencer> sequencer) argument
214 sp<Camera2Client> client = mClient.promote(); local
246 sp<Camera2Client> client = mClient.promote(); local
290 sp<Camera2Client> client = mClient.promote(); local
[all...]
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java63 * All client apps must hold a valid URI permission grant to access documents,
154 * All columns are <em>read-only</em> to client applications.
163 * value by client applications. This column is required.
280 * remote access changes. This flag indicates that a document client can
408 * All columns are <em>read-only</em> to client applications.
417 * by client applications. This column is required.
966 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient(
969 return getDocumentThumbnail(client, documentUri, size, signal);
976 ContentProviderClient.releaseQuietly(client);
982 ContentProviderClient client, Ur
981 getDocumentThumbnail( ContentProviderClient client, Uri documentUri, Point size, CancellationSignal signal) argument
1076 createDocument(ContentProviderClient client, Uri parentDocumentUri, String mimeType, String displayName) argument
1088 isChildDocument(ContentProviderClient client, Uri parentDocumentUri, Uri childDocumentUri) argument
1133 renameDocument(ContentProviderClient client, Uri documentUri, String displayName) argument
1165 deleteDocument(ContentProviderClient client, Uri documentUri) argument
1196 copyDocument(ContentProviderClient client, Uri sourceDocumentUri, Uri targetParentDocumentUri) argument
1231 moveDocument(ContentProviderClient client, Uri sourceDocumentUri, Uri sourceParentDocumentUri, Uri targetParentDocumentUri) argument
1268 removeDocument(ContentProviderClient client, Uri documentUri, Uri parentDocumentUri) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityManager.aidl38 int addClient(IAccessibilityManagerClient client, int userId);
53 void registerUiTestAutomationService(IBinder owner, IAccessibilityServiceClient client,
56 void unregisterUiTestAutomationService(IAccessibilityServiceClient client);
/frameworks/av/media/libmediaplayerservice/
H A DRemoteDisplay.cpp30 const sp<IRemoteDisplayClient> &client,
36 mSource = new WifiDisplaySource(opPackageName, mNetSession, client);
28 RemoteDisplay( const String16 &opPackageName, const sp<IRemoteDisplayClient> &client, const char *iface) argument
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetFolderListingSize.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestGetMessagesListingSize.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestSetMessageStatus.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java149 // really bad. The result will be a 3-second delay in starting each new client.
157 + " failed to respond to cancel, starting client "
220 ClientMonitor client = mCurrentClient;
221 if (client != null && client.onError(error)) {
222 removeClient(client);
224 if (DEBUG) Slog.v(TAG, "handleError(client="
225 + (client != null ? client.getOwnerString() : "null") + ", error = " + error + ")");
226 // This is the magic code that starts the next client whe
274 removeClient(ClientMonitor client) argument
[all...]
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp99 if (lhs.client < rhs.client) return -1;
100 if (lhs.client > rhs.client) return 1;
132 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id);
141 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
143 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
145 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
147 status_t setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
150 const sp<SurfaceComposerClient>& client, cons
259 getLayerStateLocked( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id) argument
276 setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float x, float y) argument
288 setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t w, uint32_t h) argument
304 setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t z) argument
315 setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t flags, uint32_t mask) argument
333 setTransparentRegionHint( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Region& transparentRegion) argument
345 setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float alpha) argument
356 setLayerStack(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t layerStack) argument
367 setMatrix(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float dsdx, float dtdx, float dsdy, float dtdy) argument
384 setCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Rect& crop) argument
395 setFinalCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Rect& crop) argument
407 deferTransactionUntil( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const sp<IBinder>& handle, uint64_t frameNumber) argument
421 setOverrideScalingMode( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, int32_t overrideScalingMode) argument
448 setPositionAppliesWithResize( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id) argument
550 sp<ISurfaceComposerClient> client; local
[all...]
/frameworks/av/include/media/
H A Dmediascanner.h76 const char *path, const char *mimeType, MediaScannerClient &client) = 0;
79 const char *path, MediaScannerClient &client);
95 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia);
97 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia,
/frameworks/av/services/mediaresourcemanager/
H A DResourceManagerService.h38 sp<IResourceManagerClient> client; member in struct:android::ResourceInfo
63 const sp<IResourceManagerClient> client,
80 // Returns false if any client belongs to a process with higher priority than the
85 // Gets the client who owns specified resource type from lowest possible priority process.
87 // priority. The client will remain unchanged if returns false.
89 sp<IResourceManagerClient> *client);
95 // Gets the client who owns biggest piece of specified resource type from pid.
96 // Returns false if failed. The client will remain unchanged if failed.
97 bool getBiggestClient_l(int pid, MediaResource::Type type, sp<IResourceManagerClient> *client);
101 // A helper function basically calls getLowestPriorityBiggestClient_l and add the result client
[all...]
/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsServiceConnection.java25 * client implementing this is responsible for handling changes related with the lifetime of the
40 * @param client {@link CustomTabsClient} that contains the {@link IBinder} with which the
42 * using this client.
44 public abstract void onCustomTabsServiceConnected(ComponentName name, CustomTabsClient client); argument
/frameworks/base/services/core/java/com/android/server/am/
H A DContentProviderConnection.java24 * Represents a link between a content provider and client.
28 public final ProcessRecord client; field in class:ContentProviderConnection
32 // The client of this connection is currently waiting for the provider to appear.
44 client = _client;
75 sb.append(client.toShortString());
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/hprof/
H A DHprof.java48 public static File doHprof(Client client, int timeout) { argument
49 GetHprof gh = new GetHprof(client, timeout);
119 private Client client; field in class:Hprof.GetHprof
121 public GetHprof(Client client, long timeout) { argument
122 this.client = client;
129 client.dumpHprof();
152 if (client == arg0) {
168 if (client == arg1) {
184 if (client
207 getClassData(Client client) argument
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHttpClientStack.java26 import org.apache.http.client.HttpClient;
27 import org.apache.http.client.methods.HttpDelete;
28 import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
29 import org.apache.http.client.methods.HttpGet;
30 import org.apache.http.client.methods.HttpHead;
31 import org.apache.http.client.methods.HttpOptions;
32 import org.apache.http.client.methods.HttpPost;
33 import org.apache.http.client.methods.HttpPut;
34 import org.apache.http.client.methods.HttpTrace;
35 import org.apache.http.client
55 HttpClientStack(HttpClient client) argument
[all...]
/frameworks/base/core/java/android/util/
H A DNtpTrustedTime.java103 final SntpClient client = new SntpClient();
104 if (client.requestTime(mServer, (int) mTimeout)) {
106 mCachedNtpTime = client.getNtpTime();
107 mCachedNtpElapsedRealtime = client.getNtpTimeReference();
108 mCachedNtpCertainty = client.getRoundTripTime() / 2;
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DDefaultHttpClientTest.java33 import org.apache.http.client.methods.HttpGet;
35 import org.apache.http.impl.client.DefaultHttpClient;
75 DefaultHttpClient client = new DefaultHttpClient();
77 HttpResponse a = client.execute(new HttpGet(server.getUrl("/a").toURI()));
81 HttpResponse b = client.execute(new HttpGet(server.getUrl("/b").toURI()));
H A DAbstractProxyTest.java33 import org.apache.http.client.HttpClient;
34 import org.apache.http.client.methods.HttpGet;
196 HttpClient client = newHttpClient();
198 proxyConfig.configure(server, client, request);
199 HttpResponse response = client.execute(request);
212 HttpClient client = newHttpClient();
215 HttpResponse response = client.execute(request);
241 @Override void configure(MockWebServer server, HttpClient client, HttpRequest request) {
247 @Override void configure(MockWebServer server, HttpClient client, HttpRequest request) {
253 @Override void configure(MockWebServer server, HttpClient client, HttpReques
271 configure(MockWebServer proxy, HttpClient client, HttpRequest request) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIntRangeManager.java37 * client that enabled that range (or else rejected).
49 * <p>When a client is added, the IntRange may merge with one or more
51 * <p>When a client is removed, the IntRange may divide into several
61 * Create a new IntRange with a single client.
64 * @param client the client requesting the enabled range
66 IntRange(int startId, int endId, String client) { argument
70 mClients.add(new ClientRange(startId, endId, client));
118 // ignore duplicate ranges from the same client
125 // there may be more client followin
152 ClientRange(int startId, int endId, String client) argument
193 enableRange(int startId, int endId, String client) argument
437 disableRange(int startId, int endId, String client) argument
[all...]
/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h228 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client);
258 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const;
261 * Return a vector of active ClientDescriptors that prevent this client from being added.
264 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const;
289 * Block until the given client is no longer in the active clients list, or the timeout
295 status_t waitUntilRemoved(const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client,
299 * Set the current listener for client add/remove events.
309 * The onClientRemoved method will be called when the client has been removed or evicted
311 * method will be called when the client has been added to the ClientManager that this
324 * vector of ClientDescriptors that are higher priority than the incoming client an
372 wouldEvictLocked( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client, bool returnIncompatibleClients) const argument
465 addAndEvict( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) argument
582 waitUntilRemoved( const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client, nsecs_t timeout) const argument
[all...]
/frameworks/av/services/mediaresourcemanager/test/
H A DResourceManagerService_test.cpp32 static int64_t getId(sp<IResourceManagerClient> client) { argument
33 return (int64_t) client.get();
60 sp<IResourceManagerClient> client(this);
61 mService->removeResource(mPid, (int64_t) client.get());
118 static void expectEqResourceInfo(const ResourceInfo &info, sp<IResourceManagerClient> client, argument
120 EXPECT_EQ(client, info.client);
140 // pid priority client type number
234 EXPECT_EQ(mTestClient3, infos2[0].client);
440 // clean up client
447 sp<IResourceManagerClient> client; local
486 sp<IResourceManagerClient> client; local
[all...]
/frameworks/base/libs/hwui/tests/microbench/
H A DDisplayListCanvasBench.cpp134 NullClient client; local
135 CanvasState state(client);
149 NullClient client; local
150 CanvasState state(client);
161 NullClient client; local
162 CanvasState state(client);

Completed in 951 milliseconds

12345678910