Searched defs:client (Results 101 - 125 of 136) sorted by relevance

123456

/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp73 ALOGV("%s: Initializing client for camera %d", __FUNCTION__, mCameraId);
376 // Allow both client and the cameraserver to disconnect at all times
439 status_t Camera2Client::connect(const sp<hardware::ICameraClient>& client) { argument
453 mRemoteCallback = client;
454 mSharedCameraCallbacks = client;
463 ALOGV("%s: Camera %d: Lock call from pid %d; current client pid %d",
484 ALOGV("%s: Camera %d: Unlock call from pid %d; current client pid %d",
1294 * Send immediate notification back to client
H A DCameraClient.cpp101 // tear down the client
165 // lock camera to this client if the the camera is unlocked
171 // returns NO_ERROR if the client already owns the camera, EBUSY otherwise
196 // connect a new client to the camera
197 status_t CameraClient::connect(const sp<hardware::ICameraClient>& client) { argument
209 (IInterface::asBinder(client) == IInterface::asBinder(mRemoteCallback))) {
210 LOG1("Connect to the same client");
216 mRemoteCallback = client;
239 // Allow both client and the cameraserver to disconnect at all times
241 ALOGW("different client
770 sp<CameraClient> client = static_cast<CameraClient*>(getClientFromCookie(user).get()); local
790 sp<CameraClient> client = static_cast<CameraClient*>(getClientFromCookie(user).get()); local
823 sp<CameraClient> client = static_cast<CameraClient*>(getClientFromCookie(user).get()); local
991 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<hardware::ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
[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/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp182 JNIEnv* env, jobject thiz, const sp<DrmManagerClientImpl>& client) {
189 if (client.get()) {
190 client->incStrong(thiz);
195 env->SetLongField(thiz, fieldId, reinterpret_cast<jlong>(client.get()));
205 DrmManagerClientImpl* const client = reinterpret_cast<DrmManagerClientImpl*>(clientHandle); local
206 return sp<DrmManagerClientImpl>(client);
181 setDrmManagerClientImpl( JNIEnv* env, jobject thiz, const sp<DrmManagerClientImpl>& client) argument
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp104 MyMtpDatabase(JNIEnv *env, jobject client);
197 MyMtpDatabase::MyMtpDatabase(JNIEnv *env, jobject client) argument
198 : mDatabase(env->NewGlobalRef(client)),
H A Dandroid_media_MediaCodec.cpp271 sp<Surface> client; local
284 sp<Surface> client; local
286 client = new Surface(bufferProducer, true /* controlledByApp */);
288 status_t err = mCodec->setSurface(client);
290 mSurfaceTextureClient = client;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerService.java1431 public void setClient(IPrintSpoolerClient client) { argument
1433 HandlerCallerCallback.MSG_SET_CLIENT, client);
/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/base/services/core/java/com/android/server/wm/
H A DSession.java58 * This class represents an active client session. There is generally one
76 IInputMethodClient client, IInputContext inputContext) {
79 mClient = client;
113 mService.mInputMethodManager.addClient(client, inputContext,
116 client.setUsingInputMethod(false);
118 client.asBinder().linkToDeath(this, 0);
123 mService.mInputMethodManager.removeClient(client);
75 Session(WindowManagerService service, IWindowSessionCallback callback, IInputMethodClient client, IInputContext inputContext) argument
/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/media/libmedia/
H A DIAudioFlinger.cpp432 virtual void registerClient(const sp<IAudioFlingerClient>& client) argument
436 data.writeStrongBinder(IInterface::asBinder(client));
714 const sp<IEffectClient>& client,
735 data.writeStrongBinder(IInterface::asBinder(client));
1117 sp<IAudioFlingerClient> client = interface_cast<IAudioFlingerClient>( local
1119 registerClient(client);
1292 sp<IEffectClient> client = interface_cast<IEffectClient>(data.readStrongBinder()); local
1301 sp<IEffect> effect = createEffect(&desc, client, priority, output, sessionId,
712 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, audio_session_t sessionId, const String16& opPackageName, status_t *status, int *id, int *enabled) argument
H A DIAudioPolicyService.cpp646 virtual void registerClient(const sp<IAudioPolicyServiceClient>& client) argument
650 data.writeStrongBinder(IInterface::asBinder(client));
1265 sp<IAudioPolicyServiceClient> client = interface_cast<IAudioPolicyServiceClient>( local
1267 registerClient(client);
1279 sp<IAudioPolicyServiceClient> client = interface_cast<IAudioPolicyServiceClient>( local
1296 sp<IAudioPolicyServiceClient> client = interface_cast<IAudioPolicyServiceClient>( local
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp56 static int64_t getId(sp<IResourceManagerClient> client) { argument
57 return (int64_t) client.get();
78 ALOGD("Wait for the client to release codec.");
145 const sp<IResourceManagerClient> client,
151 mService->addResource(mPid, clientId, client, resources);
213 OMXClient client; local
214 CHECK_EQ(client.connect(), (status_t)OK);
215 sp<IOMX> omx = client.interface();
951 "(the index %zu is not owned by client)", index);
1590 // We already notify the client o
143 addResource( int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument
[all...]
/frameworks/av/services/audioflinger/
H A DEffects.cpp1019 result.append("\t\t\t Pid Priority Ctrl Locked client server\n");
1043 const sp<AudioFlinger::Client>& client,
1047 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL),
1052 if (client == 0) {
1056 mCblkMemory = client->heap()->allocate(EFFECT_PARAM_BUFFER_SIZE + bufOffset);
1201 // Client destructor must run with AudioFlinger client mutex locked
1230 // particular client process: no risk to block the whole media server process or mixer
1042 EffectHandle(const sp<EffectModule>& effect, const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority) argument
H A DAudioFlinger.cpp326 sp<Client> client = mClients.valueAt(i).promote(); local
327 if (client != 0) {
328 snprintf(buffer, SIZE, " pid: %d\n", client->pid());
504 sp<Client> client = mClients.valueFor(pid).promote(); local
505 if (client == 0) {
506 client = new Client(this, pid);
507 mClients.add(pid, client);
510 return client;
590 sp<Client> client; local
603 // client AudioTrac
1307 registerClient(const sp<IAudioFlingerClient>& client) argument
1439 NotificationClient(const sp<AudioFlinger>& audioFlinger, const sp<IAudioFlingerClient>& client, pid_t pid) argument
1478 sp<Client> client; local
2761 sp<Client> client = registerPid(pid); local
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java230 public void setWebViewClient(WebViewClient client); argument
234 public void setWebChromeClient(WebChromeClient client); argument
H A DWebView.java1598 * Clears the client certificate preferences stored in response
1599 * to proceeding/cancelling client cert requests. Note that Webview
1604 * @param onCleared A runnable to be invoked when client certs are cleared.
1774 * @param client an implementation of WebViewClient
1776 public void setWebViewClient(WebViewClient client) { argument
1778 mProvider.setWebViewClient(client);
1798 * @param client an implementation of WebChromeClient
1800 public void setWebChromeClient(WebChromeClient client) { argument
1802 mProvider.setWebChromeClient(client);
/frameworks/base/media/java/android/media/
H A DMediaScanner.java77 * - the processDirectory() JNI method wraps the provided mediascanner client in a native
1893 private native void processDirectory(String path, MediaScannerClient client); argument
1894 private native void processFile(String path, String mimeType, MediaScannerClient client); argument
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaRouterService.java118 public void registerClientAsUser(IMediaRouterClient client, String packageName, int userId) { argument
119 if (client == null) {
120 throw new IllegalArgumentException("client must not be null");
137 registerClientLocked(client, pid, packageName, resolvedUserId, trusted);
146 public void unregisterClient(IMediaRouterClient client) { argument
147 if (client == null) {
148 throw new IllegalArgumentException("client must not be null");
154 unregisterClientLocked(client, false);
163 public MediaRouterClientState getState(IMediaRouterClient client) { argument
164 if (client
180 setDiscoveryRequest(IMediaRouterClient client, int routeTypes, boolean activeScan) argument
203 setSelectedRoute(IMediaRouterClient client, String routeId, boolean explicit) argument
220 requestSetVolume(IMediaRouterClient client, String routeId, int volume) argument
240 requestUpdateVolume(IMediaRouterClient client, String routeId, int direction) argument
311 registerClientLocked(IMediaRouterClient client, int pid, String packageName, int userId, boolean trusted) argument
340 unregisterClientLocked(IMediaRouterClient client, boolean died) argument
350 getStateLocked(IMediaRouterClient client) argument
358 setDiscoveryRequestLocked(IMediaRouterClient client, int routeTypes, boolean activeScan) argument
382 setSelectedRouteLocked(IMediaRouterClient client, String routeId, boolean explicit) argument
412 requestSetVolumeLocked(IMediaRouterClient client, String routeId, int volume) argument
422 requestUpdateVolumeLocked(IMediaRouterClient client, String routeId, int direction) argument
506 ClientRecord(UserRecord userRecord, IMediaRouterClient client, int pid, String packageName, boolean trusted) argument
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java461 if (state.client != null) {
463 state.client.onSessionReleased(state.seq);
474 sessionState.client.onSessionReleased(sessionState.seq);
659 sendSessionTokenToClientLocked(sessionState.client,
687 sendSessionTokenToClientLocked(sessionState.client, sessionState.inputId, null,
693 private void sendSessionTokenToClientLocked(ITvInputClient client, String inputId, argument
696 client.onSessionCreated(inputId, sessionToken, channel, seq);
739 // Also remove the session token from the session token list of the current client and
741 ClientState clientState = userState.clientStateMap.get(sessionState.client.asBinder());
745 userState.clientStateMap.remove(sessionState.client
1131 createSession(final ITvInputClient client, final String inputId, boolean isRecordingSession, int seq, int userId) argument
2112 private final ITvInputClient client; field in class:TvInputManagerService.SessionState
2122 SessionState(IBinder sessionToken, String inputId, ComponentName componentName, boolean isRecordingSession, ITvInputClient client, int seq, int callingUid, int userId) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java108 public void registerClient(FrameClient client) { argument
111 clientTargets.add(client);
112 mClients.add(client);
113 onRegisterClient(client, context);
116 public void unregisterClient(FrameClient client) { argument
119 clientTargets.remove(client);
123 mClients.remove(client);
150 protected void onRegisterClient(FrameClient client, EGLContext context) { argument
256 for (FrameClient client : mClients) {
257 client
313 onRegisterClient(FrameClient client, EGLContext context) argument
1775 registerClient(FrameClient client) argument
1783 unregisterClient(FrameClient client) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp62 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, argument
91 mClientRef(client),
315 * The layer handle is just a BBinder object passed to the client
770 // NOTE: buffer can be NULL if the client never drew into this
880 // SurfaceView because the WindowManager can't know when the client
1387 // the size changed, we need to ask our client to request a new buffer
1413 // record the new size, form this point on, when the client request
2107 sp<Client> client(mClientRef.promote());
2118 " client=%p\n",
2128 client
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp305 ALOGV("Create new media recorder client from pid %d", pid);
309 void MediaPlayerService::removeMediaRecorderClient(wp<MediaRecorderClient> client) argument
312 mMediaRecorderClients.remove(client);
313 ALOGV("Delete media recorder client");
324 sp<IMediaPlayer> MediaPlayerService::create(const sp<IMediaPlayerClient>& client, argument
331 this, pid, connId, client, audioSessionId,
334 ALOGV("Create new client(%d) from pid %d, uid %d, ", connId, pid,
366 const sp<IRemoteDisplayClient>& client, const String8& iface) {
371 return new RemoteDisplay(opPackageName, client, iface.string());
427 SortedVector< sp<Client> > clients; //to serialise the mutex unlock & client destructio
364 listenForRemoteDisplay( const String16 &opPackageName, const sp<IRemoteDisplayClient>& client, const String8& iface) argument
554 removeClient(wp<Client> client) argument
560 Client( const sp<MediaPlayerService>& service, pid_t pid, int32_t connId, const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId, uid_t uid) argument
1270 Client* client = static_cast<Client*>(cookie); local
1336 Antagonizer(notify_callback_f cb, void* client) argument
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp334 // Remove the client from the list of active clients
337 // Notify the client of disconnection
346 // Disconnect client
348 // Ensure not in binder RPC so client disconnect PID checks work correctly
754 /*out*/sp<BasicClient>* client) {
763 *client = new CameraClient(cameraService, tmp, packageName, cameraId, facing,
779 *client = new Camera2Client(cameraService, tmp, packageName, cameraId, facing,
784 *client = new CameraDeviceClient(cameraService, tmp, packageName, cameraId,
802 *client = new CameraClient(cameraService, tmp, packageName, cameraId, facing,
937 "forward camera access to camera %s for client
750 makeClient(const sp<CameraService>& cameraService, const sp<IInterface>& cameraCb, const String16& packageName, int cameraId, int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, int halVersion, int deviceVersion, apiLevel effectiveApiLevel, sp<BasicClient>* client) argument
1034 finishConnectLocked(const sp<BasicClient>& client, const CameraService::DescriptorPtr& desc) argument
1066 handleEvictionsLocked(const String8& cameraId, int clientPid, apiLevel effectiveApiLevel, const sp<IBinder>& remoteCallback, const String8& packageName, sp<BasicClient>* client, std::shared_ptr<resource_policy::ClientDescriptor<String8, sp<BasicClient>>>* partial) argument
1260 sp<Client> client = nullptr; local
1305 sp<Client> client = nullptr; local
1332 sp<CameraDeviceClient> client = nullptr; local
1643 removeByClient(const BasicClient* client) argument
2298 OpsCallback(wp<BasicClient> client) argument
2304 sp<BasicClient> client = mClient.promote(); local
2587 auto client = clientDescriptor->getValue(); local
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java396 public int addClient(IAccessibilityManagerClient client, int userId) { argument
403 // If the client is from a process that runs across users such as
408 mGlobalClients.register(client);
410 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid());
414 userState.mClients.register(client);
415 // If this client is not for the current user we do not
417 // We will send the state to the client on a user switch.
419 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid()
2099 IAccessibilityManagerClient client = clients.getBroadcastItem(i);
2101 client
[all...]

Completed in 806 milliseconds

123456