Searched defs:client (Results 51 - 75 of 83) sorted by relevance

1234

/frameworks/av/media/libstagefright/rtsp/
H A DMyTransmitter.h117 OMXClient client; local
118 client.connect();
121 client.interface(), encMeta,
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp46 const sp<IRemoteDisplayClient> &client)
49 mClient(client),
197 ALOGW("A client tried to connect, but we already "
206 CHECK(msg->findString("client-ip", &mClientInfo.mRemoteIP));
222 ALOGI("We now have a client (%d) connected.", sessionID);
365 // Obsolete event, client is already gone.
973 // We only support a single playback session per client.
44 WifiDisplaySource( const sp<ANetworkSession> &netSession, const sp<IRemoteDisplayClient> &client) argument
/frameworks/av/services/camera/libcameraservice/
H A DCameraClient.cpp94 // tear down the client
100 // client will not be accessed from callback. should unlock to prevent dead-lock in disconnect
148 // lock camera to this client if the the camera is unlocked
154 // returns NO_ERROR if the client already owns the camera, EBUSY otherwise
179 // connect a new client to the camera
180 status_t CameraClient::connect(const sp<ICameraClient>& client) { argument
191 if (mCameraClient != 0 && (client->asBinder() == mCameraClient->asBinder())) {
192 LOG1("Connect to the same client");
198 mCameraClient = client;
220 // Allow both client an
694 CameraClient* client = local
719 CameraClient* client = local
757 CameraClient* client = local
900 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
[all...]
H A DCamera2Client.cpp78 ALOGV("%s: Initializing client for camera %d", __FUNCTION__, mCameraId);
375 // Allow both client and the media server to disconnect at all times
420 status_t Camera2Client::connect(const sp<ICameraClient>& client) { argument
434 mCameraClient = client;
435 mSharedCameraClient = client;
444 ALOGV("%s: Camera %d: Lock call from pid %d; current client pid %d",
465 ALOGV("%s: Camera %d: Unlock call from pid %d; current client pid %d",
999 * Send immediate notification back to client
1509 Camera2Client::SharedCameraClient::Lock::Lock(SharedCameraClient &client): argument
1510 mCameraClient(client
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java73 * @param client The <code>DrmManagerClient</code> instance.
77 public void onInfo(DrmManagerClient client, DrmInfoEvent event); argument
88 * @param client The <code>DrmManagerClient</code> instance.
92 public void onEvent(DrmManagerClient client, DrmEvent event); argument
102 * @param client The <code>DrmManagerClient</code> instance.
105 public void onError(DrmManagerClient client, DrmErrorEvent event); argument
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java49 * This class represents an active client session. There is generally one
64 public Session(WindowManagerService service, IInputMethodClient client, argument
67 mClient = client;
100 mService.mInputMethodManager.addClient(client, inputContext,
103 client.setUsingInputMethod(false);
105 client.asBinder().linkToDeath(this, 0);
110 mService.mInputMethodManager.removeClient(client);
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java227 public void setWebViewClient(WebViewClient client) { argument
233 public void setWebChromeClient(WebChromeClient client) { argument
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp98 if (lhs.client < rhs.client) return -1;
99 if (lhs.client > rhs.client) return 1;
129 const sp<SurfaceComposerClient>& client, SurfaceID id);
137 status_t setPosition(const sp<SurfaceComposerClient>& client, SurfaceID id,
139 status_t setSize(const sp<SurfaceComposerClient>& client, SurfaceID id,
141 status_t setLayer(const sp<SurfaceComposerClient>& client, SurfaceID id,
143 status_t setFlags(const sp<SurfaceComposerClient>& client, SurfaceID id,
146 const sp<SurfaceComposerClient>& client, SurfaceI
221 getLayerStateLocked( const sp<SurfaceComposerClient>& client, SurfaceID id) argument
238 setPosition(const sp<SurfaceComposerClient>& client, SurfaceID id, float x, float y) argument
250 setSize(const sp<SurfaceComposerClient>& client, SurfaceID id, uint32_t w, uint32_t h) argument
266 setLayer(const sp<SurfaceComposerClient>& client, SurfaceID id, int32_t z) argument
277 setFlags(const sp<SurfaceComposerClient>& client, SurfaceID id, uint32_t flags, uint32_t mask) argument
291 setTransparentRegionHint( const sp<SurfaceComposerClient>& client, SurfaceID id, const Region& transparentRegion) argument
303 setAlpha(const sp<SurfaceComposerClient>& client, SurfaceID id, float alpha) argument
314 setLayerStack(const sp<SurfaceComposerClient>& client, SurfaceID id, uint32_t layerStack) argument
325 setMatrix(const sp<SurfaceComposerClient>& client, SurfaceID id, float dsdx, float dtdx, float dsdy, float dtdy) argument
342 setCrop(const sp<SurfaceComposerClient>& client, SurfaceID id, const Rect& crop) argument
435 sp<ISurfaceComposerClient> client; local
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp53 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client) argument
54 : LayerBaseClient(flinger, client),
286 // NOTE: buffer can be NULL if the client never drew into this
317 // SurfaceView because the WindowManager can't know when the client
438 // the size changed, we need to ask our client to request a new buffer
475 // record the new size, form this point on, when the client request
H A DLayerBase.cpp489 const sp<Client>& client)
492 mClientRef(client),
544 sp<Client> client(mClientRef.promote());
546 " client=%p, identity=%u\n",
547 client.get(), getIdentity());
566 // destroy client resources
488 LayerBaseClient(SurfaceFlinger* flinger, const sp<Client>& client) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp117 sp<SurfaceTextureClient> client; local
H A Dandroid_mtp_MtpDatabase.cpp92 MyMtpDatabase(JNIEnv *env, jobject client);
185 MyMtpDatabase::MyMtpDatabase(JNIEnv *env, jobject client) argument
186 : mDatabase(env->NewGlobalRef(client)),
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp165 static void playSource(OMXClient *client, sp<MediaSource> &source) { argument
184 client->interface(), meta, false /* createEncoder */, source,
954 OMXClient client; local
955 status_t err = client.connect();
1113 OMXClient client; local
1114 CHECK_EQ(client.connect(), (status_t)OK);
1118 client.interface(),
1129 playSource(&client, mediaSource);
1145 client.disconnect();
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoEncoder.cpp319 OMXClient client; local
333 // Connect to the OMX client
334 result = client.connect();
340 encoder = OMXCodec::Create(client.interface(), metaData, true,
393 client.disconnect();
706 // Connect to the OMX client
H A DVideoEditorVideoDecoder.cpp674 OMXClient client; local
682 status = client.connect();
687 CHECK_EQ(QueryCodecs(client.interface(), kMimeTypes[k],
1029 // Connect to the OMX client
1191 // Connect to the OMX client
1411 // The OMXCodec client should expect to receive 0-length buffers
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp348 virtual void registerClient(const sp<IAudioFlingerClient>& client) argument
352 data.writeStrongBinder(client->asBinder());
623 const sp<IEffectClient>& client,
644 data.writeStrongBinder(client->asBinder());
868 sp<IAudioFlingerClient> client = interface_cast<IAudioFlingerClient>(data.readStrongBinder()); local
869 registerClient(client);
1038 sp<IEffectClient> client = interface_cast<IEffectClient>(data.readStrongBinder()); local
1046 sp<IEffect> effect = createEffect(pid, &desc, client, priority, output, sessionId, &status, &id, &enabled);
621 createEffect(pid_t pid, effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, int sessionId, status_t *status, int *id, int *enabled) argument
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java181 WebChromeClient client = webView.getWebChromeClient();
182 if (client != null) {
183 client.onHideCustomView();
192 WebChromeClient client, int videoLayerId) {
374 WebChromeClient client = mWebView.getWebChromeClient();
376 if (client != null) {
377 VideoPlayer.play(url, mSeekPosition, this, client, videoLayerID);
383 WebChromeClient client = mWebView.getWebChromeClient();
385 if (client != null) {
406 WebChromeClient client
191 play(String url, int time, HTML5VideoViewProxy proxy, WebChromeClient client, int videoLayerId) argument
[all...]
H A DCallbackProxy.java51 * posted to the UI thread for the actual client callback.
60 // Instance of WebViewClient that is the client callback.
75 // Back/Forward list client
124 // Message triggered by the client to resume execution
206 * @param client An implementation of WebViewClient.
208 public void setWebViewClient(WebViewClient client) { argument
209 mWebViewClient = client;
222 * @param client An implementation of WebChromeClient.
224 public void setWebChromeClient(WebChromeClient client) { argument
225 mWebChromeClient = client;
240 setDownloadListener(DownloadListener client) argument
252 setWebBackForwardListClient(WebBackForwardListClient client) argument
[all...]
H A DWebViewProvider.java210 public void setWebViewClient(WebViewClient client); argument
214 public void setWebChromeClient(WebChromeClient client); argument
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp182 JNIEnv* env, jobject thiz, const sp<DrmManagerClientImpl>& client) {
188 if (client.get()) {
189 client->incStrong(thiz);
194 env->SetIntField(thiz, fieldId, (int)client.get());
203 DrmManagerClientImpl* const client = (DrmManagerClientImpl*)env->GetIntField(thiz, fieldId); local
204 return sp<DrmManagerClientImpl>(client);
181 setDrmManagerClientImpl( JNIEnv* env, jobject thiz, const sp<DrmManagerClientImpl>& client) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp233 ALOGV("Create new media recorder client from pid %d", pid);
237 void MediaPlayerService::removeMediaRecorderClient(wp<MediaRecorderClient> client) argument
240 mMediaRecorderClients.remove(client);
241 ALOGV("Delete media recorder client");
251 sp<IMediaPlayer> MediaPlayerService::create(pid_t pid, const sp<IMediaPlayerClient>& client, argument
257 this, pid, connId, client, audioSessionId,
260 ALOGV("Create new client(%d) from pid %d, uid %d, ", connId, pid,
290 const sp<IRemoteDisplayClient>& client, const String8& iface) {
295 return new RemoteDisplay(client, iface.string());
382 result.append(" No media recorder client\
289 listenForRemoteDisplay( const sp<IRemoteDisplayClient>& client, const String8& iface) argument
478 removeClient(wp<Client> client) argument
484 Client( const sp<MediaPlayerService>& service, pid_t pid, int32_t connId, const sp<IMediaPlayerClient>& client, int audioSessionId, uid_t uid) argument
1068 Client* client = static_cast<Client*>(cookie); local
1131 Antagonizer(notify_callback_f cb, void* client) argument
[all...]
H A DStagefrightRecorder.cpp89 // The client side of mediaserver asks it to creat a SurfaceMediaSource
90 // and return a interface reference. The client side will use that
850 OMXClient client; local
851 CHECK_EQ(client.connect(), (status_t)OK);
853 OMXCodec::Create(client.interface(), encMeta,
1258 // to the client side when queried
1408 OMXClient client; local
1409 CHECK_EQ(client.connect(), (status_t)OK);
1424 client.interface(), enc_meta,
/frameworks/av/media/libstagefright/
H A DACodec.cpp238 // Submit output buffers to the decoder, submit input buffers to client
717 // We shouldn't have sent out any buffers to the client at this
2202 // We need to reconnect to the ANativeWindow as a CPU client to ensure that
2880 // The client wants this buffer to be rendered.
3019 OMXClient client; local
3020 CHECK_EQ(client.connect(), (status_t)OK);
3022 sp<IOMX> omx = client.interface();
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java316 public int addClient(IAccessibilityManagerClient client, int userId) { argument
320 // If the client is from a process that runs across users such as
325 mGlobalClients.register(client);
327 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid());
331 userState.mClients.register(client);
332 // If this client is not for the current user we do not
334 // We will send the state to the client on a user switch.
336 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid()
606 AccessibilityInteractionClient client = AccessibilityInteractionClient.getInstance();
607 client
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java72 * - the processDirectory() JNI method wraps the provided mediascanner client in a native
1825 private native void processDirectory(String path, MediaScannerClient client); argument
1826 private native void processFile(String path, String mimeType, MediaScannerClient client); argument

Completed in 2046 milliseconds

1234