Searched defs:client (Results 126 - 150 of 158) sorted by relevance

1234567

/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp73 ALOGV("%s: Initializing client for camera %d", __FUNCTION__, mCameraId);
391 // Allow both client and the media server to disconnect at all times
457 status_t Camera2Client::connect(const sp<ICameraClient>& client) { argument
471 mRemoteCallback = client;
472 mSharedCameraCallbacks = client;
481 ALOGV("%s: Camera %d: Lock call from pid %d; current client pid %d",
502 ALOGV("%s: Camera %d: Unlock call from pid %d; current client pid %d",
1314 * Send immediate notification back to client
/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.cpp99 MyMtpDatabase(JNIEnv *env, jobject client);
192 MyMtpDatabase::MyMtpDatabase(JNIEnv *env, jobject client) argument
193 : mDatabase(env->NewGlobalRef(client)),
H A Dandroid_media_MediaCodec.cpp260 sp<Surface> client; local
273 sp<Surface> client; local
275 client = new Surface(bufferProducer, true /* controlledByApp */);
277 status_t err = mCodec->setSurface(client);
279 mSurfaceTextureClient = client;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerService.java1289 public void setClient(IPrintSpoolerClient client) { argument
1291 HandlerCallerCallback.MSG_SET_CLIENT, client);
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java202 final ClientMonitor client = mRemoveClient;
206 if (client != null && client.sendRemoved(fingerId, groupId)) {
269 private void removeClient(ClientMonitor client) { argument
270 if (client == null) return;
271 client.destroy();
272 if (client == mAuthClient) {
274 } else if (client == mEnrollClient) {
276 } else if (client == mRemoveClient) {
317 Slog.w(TAG, "Cannot send lockout message to client");
[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
250 getLayerStateLocked( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id) argument
267 setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float x, float y) argument
279 setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t w, uint32_t h) argument
295 setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t z) argument
306 setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t flags, uint32_t mask) argument
324 setTransparentRegionHint( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Region& transparentRegion) argument
336 setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float alpha) argument
347 setLayerStack(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t layerStack) argument
358 setMatrix(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float dsdx, float dtdx, float dsdy, float dtdy) argument
375 setCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Rect& crop) argument
476 sp<ISurfaceComposerClient> client; local
[all...]
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp425 virtual void registerClient(const sp<IAudioFlingerClient>& client) argument
429 data.writeStrongBinder(IInterface::asBinder(client));
706 const sp<IEffectClient>& client,
727 data.writeStrongBinder(IInterface::asBinder(client));
1091 sp<IAudioFlingerClient> client = interface_cast<IAudioFlingerClient>( local
1093 registerClient(client);
1266 sp<IEffectClient> client = interface_cast<IEffectClient>(data.readStrongBinder()); local
1275 sp<IEffect> effect = createEffect(&desc, client, priority, output, sessionId,
704 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, int sessionId, const String16& opPackageName, status_t *status, int *id, int *enabled) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp310 ALOGV("Create new media recorder client from pid %d", pid);
314 void MediaPlayerService::removeMediaRecorderClient(wp<MediaRecorderClient> client) argument
317 mMediaRecorderClients.remove(client);
318 ALOGV("Delete media recorder client");
329 sp<IMediaPlayer> MediaPlayerService::create(const sp<IMediaPlayerClient>& client, argument
336 this, pid, connId, client, audioSessionId,
339 ALOGV("Create new client(%d) from pid %d, uid %d, ", connId, pid,
378 const sp<IRemoteDisplayClient>& client, const String8& iface) {
383 return new RemoteDisplay(opPackageName, client, iface.string());
439 SortedVector< sp<Client> > clients; //to serialise the mutex unlock & client destructio
376 listenForRemoteDisplay( const String16 &opPackageName, const sp<IRemoteDisplayClient>& client, const String8& iface) argument
555 removeClient(wp<Client> client) argument
561 Client( const sp<MediaPlayerService>& service, pid_t pid, int32_t connId, const sp<IMediaPlayerClient>& client, int audioSessionId, uid_t uid) argument
1240 Client* client = static_cast<Client*>(cookie); local
1303 Antagonizer(notify_callback_f cb, void* client) argument
[all...]
H A DStagefrightRecorder.cpp103 // The client side of mediaserver asks it to creat a SurfaceMediaSource
104 // and return a interface reference. The client side will use that
1218 OMXClient client; local
1219 CHECK_EQ(client.connect(), (status_t)OK);
1221 client.interface(),
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp57 static int64_t getId(sp<IResourceManagerClient> client) { argument
58 return (int64_t) client.get();
79 ALOGD("Wait for the client to release codec.");
146 const sp<IResourceManagerClient> client,
152 mService->addResource(mPid, clientId, client, resources);
198 OMXClient client; local
199 CHECK_EQ(client.connect(), (status_t)OK);
200 sp<IOMX> omx = client.interface();
1508 // We already notify the client of this by using the
1829 // notify the async client
144 addResource( int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument
[all...]
H A DACodec.cpp362 // Submit output buffers to the decoder, submit input buffers to client
4845 /* these are unfilled buffers returned by client */
5251 // The client wants this buffer to be rendered.
5263 // use media timestamp if client did not request a specific render timestamp
5452 OMXClient client; local
5453 if (client.connect() != OK) {
5458 sp<IOMX> omx = client.interface();
/frameworks/av/services/audioflinger/
H A DEffects.cpp1014 result.append("\t\t\t Pid Priority Ctrl Locked client server\n");
1038 const sp<AudioFlinger::Client>& client,
1042 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL),
1047 if (client == 0) {
1051 mCblkMemory = client->heap()->allocate(EFFECT_PARAM_BUFFER_SIZE + bufOffset);
1196 // Client destructor must run with AudioFlinger client mutex locked
1225 // particular client process: no risk to block the whole media server process or mixer
1037 EffectHandle(const sp<EffectModule>& effect, const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority) argument
H A DTracks.cpp67 const sp<Client>& client,
81 mClient(client),
122 if (client != 0) {
123 mCblkMemory = client->heap()->allocate(size);
127 client->heap()->dump("AudioTrack");
234 // Client destructor must run with AudioFlinger client mutex locked
236 // If the client's reference count drops to zero, the associated destructor
376 const sp<Client>& client,
388 : TrackBase(thread, client, sampleRate, format, channelMask, frameCount,
409 // client
65 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, int sessionId, int clientUid, IAudioFlinger::track_flags_t flags, bool isOut, alloc_type alloc, track_type type) argument
374 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, const sp<IMemory>& sharedBuffer, int sessionId, int uid, IAudioFlinger::track_flags_t flags, track_type type) argument
1122 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId, int uid) argument
1142 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId, int uid) argument
1938 RecordTrack( RecordThread *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, int sessionId, int uid, IAudioFlinger::track_flags_t flags, track_type type) argument
[all...]
H A DAudioFlinger.cpp315 sp<Client> client = mClients.valueAt(i).promote(); local
316 if (client != 0) {
317 snprintf(buffer, SIZE, " pid: %d\n", client->pid());
470 sp<Client> client = mClients.valueFor(pid).promote(); local
471 if (client == 0) {
472 client = new Client(this, pid);
473 mClients.add(pid, client);
476 return client;
555 sp<Client> client; local
559 // client AudioTrac
1248 registerClient(const sp<IAudioFlingerClient>& client) argument
1405 NotificationClient(const sp<AudioFlinger>& audioFlinger, const sp<IAudioFlingerClient>& client, pid_t pid) argument
1447 sp<Client> client; local
2658 sp<Client> client = registerPid(pid); local
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java227 public void setWebViewClient(WebViewClient client); argument
231 public void setWebChromeClient(WebChromeClient client); argument
H A DWebView.java1554 * Clears the client certificate preferences stored in response
1555 * to proceeding/cancelling client cert requests. Note that Webview
1560 * @param onCleared A runnable to be invoked when client certs are cleared.
1730 * @param client an implementation of WebViewClient
1732 public void setWebViewClient(WebViewClient client) { argument
1734 mProvider.setWebViewClient(client);
1754 * @param client an implementation of WebChromeClient
1756 public void setWebChromeClient(WebChromeClient client) { argument
1758 mProvider.setWebChromeClient(client);
/frameworks/base/media/java/android/media/
H A DMediaScanner.java72 * - the processDirectory() JNI method wraps the provided mediascanner client in a native
1857 private native void processDirectory(String path, MediaScannerClient client); argument
1858 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.java585 sendSessionTokenToClientLocked(sessionState.client,
609 sendSessionTokenToClientLocked(sessionState.client, sessionState.info.getId(), null,
615 private void sendSessionTokenToClientLocked(ITvInputClient client, String inputId, argument
618 client.onSessionCreated(inputId, sessionToken, channel, seq);
661 // Also remove the session token from the session token list of the current client and
663 ClientState clientState = userState.clientStateMap.get(sessionState.client.asBinder());
667 userState.clientStateMap.remove(sessionState.client.asBinder());
871 Slog.e(TAG, "client process has already died", e);
1005 public void createSession(final ITvInputClient client, final String inputId, argument
1017 sendSessionTokenToClientLocked(client, inputI
1913 private final ITvInputClient client; field in class:TvInputManagerService.SessionState
1923 SessionState(IBinder sessionToken, TvInputInfo info, 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.cpp59 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, argument
81 mClientRef(client),
279 * The layer handle is just a BBinder object passed to the client
559 // NOTE: buffer can be NULL if the client never drew into this
629 // SurfaceView because the WindowManager can't know when the client
909 // the size changed, we need to ask our client to request a new buffer
946 // record the new size, form this point on, when the client request
1475 sp<Client> client(mClientRef.promote());
1481 " client=%p\n",
1489 client
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp314 // Remove the client from the list of active clients
317 // Notify the client of disconnection
327 // Disconnect client
329 // Ensure not in binder RPC so client disconnect PID checks work correctly
706 /*out*/sp<BasicClient>* client) {
723 *client = new CameraClient(cameraService, tmp, packageName, id, facing,
738 *client = new Camera2Client(cameraService, tmp, packageName, id, facing,
743 *client = new CameraDeviceClient(cameraService, tmp, packageName, id,
759 *client = new CameraClient(cameraService, tmp, packageName, id, facing,
870 // We only trust our own process to forward client UID
702 makeClient(const sp<CameraService>& cameraService, const sp<IInterface>& cameraCb, const String16& packageName, const String8& cameraId, int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, int halVersion, int deviceVersion, apiLevel effectiveApiLevel, sp<BasicClient>* client) argument
938 finishConnectLocked(const sp<BasicClient>& client, const CameraService::DescriptorPtr& desc) argument
970 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
1167 sp<Client> client = nullptr; local
1208 sp<Client> client = nullptr; local
1233 sp<CameraDeviceClient> client = nullptr; local
1508 removeByClient(const BasicClient* client) argument
2106 OpsCallback(wp<BasicClient> client) argument
2112 sp<BasicClient> client = mClient.promote(); local
2394 auto client = clientDescriptor->getValue(); local
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java228 final ClientState client; field in class:InputMethodManagerService.SessionState
236 return "SessionState{uid " + client.uid + " pid " + client.pid
247 client = _client;
255 final IInputMethodClient client; field in class:InputMethodManagerService.ClientState
273 client = _client;
312 * The client that is currently bound to an input method.
322 * The input context last provided by the current client.
327 * The attributes last provided by the current client.
352 // Was the keyguard locked when this client becam
1227 addClient(IInputMethodClient client, IInputContext inputContext, int uid, int pid) argument
1239 removeClient(IInputMethodClient client) argument
1327 startInputLocked(IInputMethodClient client, IInputContext inputContext, EditorInfo attribute, int controlFlags) argument
1479 startInput(IInputMethodClient client, IInputContext inputContext, EditorInfo attribute, int controlFlags) argument
1495 finishInput(IInputMethodClient client) argument
2023 showSoftInput(IInputMethodClient client, int flags, ResultReceiver resultReceiver) argument
2107 hideSoftInput(IInputMethodClient client, int flags, ResultReceiver resultReceiver) argument
2185 windowGainedFocus(IInputMethodClient client, IBinder windowToken, int controlFlags, int softInputMode, int windowFlags, EditorInfo attribute, IInputContext inputContext) argument
2338 showInputMethodPickerFromClient( IInputMethodClient client, int auxiliarySubtypeMode) argument
2382 showInputMethodAndSubtypeEnablerFromClient( IInputMethodClient client, String inputMethodId) argument
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java386 public int addClient(IAccessibilityManagerClient client, int userId) { argument
393 // If the client is from a process that runs across users such as
398 mGlobalClients.register(client);
400 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid());
404 userState.mClients.register(client);
405 // If this client is not for the current user we do not
407 // We will send the state to the client on a user switch.
409 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid()
1851 IAccessibilityManagerClient client = clients.getBroadcastItem(i);
1853 client
[all...]

Completed in 3104 milliseconds

1234567