Searched refs:client (Results 51 - 75 of 78) sorted by relevance

1234

/frameworks/base/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp286 wp<MediaRecorderClient> client(this);
287 mMediaPlayerService->removeMediaRecorderClient(client);
H A DStagefrightRecorder.cpp714 OMXClient client; local
715 CHECK_EQ(client.connect(), OK);
718 OMXCodec::Create(client.interface(), encMeta,
1054 OMXClient client; local
1055 CHECK_EQ(client.connect(), OK);
1058 client.interface(), enc_meta,
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp131 OMXClient *client, const sp<MediaSource>& source) {
134 client->interface(), meta, false /* createEncoder */, source);
130 getDecoder( OMXClient *client, const sp<MediaSource>& source) argument
/frameworks/base/services/camera/libcameraservice/
H A DCameraService.h72 // atomics to record whether the hardware is allocated to some client.
87 virtual status_t connect(const sp<ICameraClient>& client);
115 // return our camera client
140 // convert client from cookie
153 const sp<ICameraClient>& client,
186 // trying to deliver the callback messages if the client is not
187 // interested in it anymore. For example, if the client is calling
/frameworks/base/services/surfaceflinger/
H A DLayerBlur.cpp37 const sp<Client>& client)
38 : LayerBaseClient(flinger, display, client), mCacheDirty(true),
36 LayerBlur(SurfaceFlinger* flinger, DisplayID display, const sp<Client>& client) argument
H A DLayerBase.cpp523 const sp<Client>& client)
524 : LayerBase(flinger, display), mClientRef(client),
559 sp<Client> client(mClientRef.promote());
562 " client=%p, identity=%u\n",
564 client.get(), getIdentity());
582 * This is a good place to clean-up all client resources
585 // destroy client resources
522 LayerBaseClient(SurfaceFlinger* flinger, DisplayID display, const sp<Client>& client) argument
H A DLayer.h51 const sp<Client>& client);
H A DLayerBase.h280 const sp<Client>& client);
H A DLayerBuffer.h58 const sp<Client>& client);
H A DLayerBuffer.cpp47 const sp<Client>& client)
48 : LayerBaseClient(flinger, display, client),
46 LayerBuffer(SurfaceFlinger* flinger, DisplayID display, const sp<Client>& client) argument
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java452 // Regression test for #1204316: Missing client cert unit test. Passes on
518 * Defines the keystore contents for the client, JKS version. Holds just a
548 * Defines the keystore contents for the client, BKS version. Holds just a
617 * port, requests client authentication (if specified), and read 256 bytes
702 * Implements a test SSL socket client. It open a connection to localhost on
783 * Implements the actual test case. Launches a server and a client, requires
784 * client authentication and checks the certificates afterwards (not in the
791 TestClient client = new TestClient(8088, true);
794 Thread clientThread = new Thread(client);
807 // The client mus
[all...]
/frameworks/base/services/audioflinger/
H A DAudioFlinger.h115 virtual void registerClient(const sp<IAudioFlingerClient>& client);
243 const sp<IAudioFlingerClient>& client,
247 sp<IAudioFlingerClient> client() { return mClient; } function in class:android::AudioFlinger::NotificationClient
302 const sp<Client>& client,
442 const sp<Client>& client,
585 const sp<AudioFlinger::Client>& client,
607 const sp<AudioFlinger::Client>& client,
831 const sp<Client>& client,
921 // from different client threads. It keeps a list of EffectHandle objects corresponding
922 // to all client application
[all...]
H A DAudioFlinger.cpp182 sp<Client> client = wClient.promote(); local
183 if (client != 0) {
184 snprintf(buffer, SIZE, " pid: %d\n", client->pid());
296 sp<Client> client; local
320 client = wclient.promote();
322 client = new Client(this, pid);
323 mClients.add(pid, client);
353 track = thread->createTrack_l(client, streamType, sampleRate, format,
369 client.clear();
771 void AudioFlinger::registerClient(const sp<IAudioFlingerClient>& client) argument
806 sp <NotificationClient> client = mNotificationClients.valueFor(pid); local
1129 createTrack_l( const sp<AudioFlinger::Client>& client, int streamType, uint32_t sampleRate, int format, int channelCount, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, status_t *status) argument
2751 TrackBase( const wp<ThreadBase>& thread, const sp<Client>& client, uint32_t sampleRate, int format, int channelCount, int frameCount, uint32_t flags, const sp<IMemory>& sharedBuffer, int sessionId) argument
2905 Track( const wp<ThreadBase>& thread, const sp<Client>& client, int streamType, uint32_t sampleRate, int format, int channelCount, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
3207 RecordTrack( const wp<ThreadBase>& thread, const sp<Client>& client, uint32_t sampleRate, int format, int channelCount, int frameCount, uint32_t flags, int sessionId) argument
3578 NotificationClient(const sp<AudioFlinger>& audioFlinger, const sp<IAudioFlingerClient>& client, pid_t pid) argument
3668 sp<Client> client; local
4654 sp<Client> client; local
4906 createEffect_l( const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority, int sessionId, effect_descriptor_t *desc, int *enabled, status_t *status ) argument
5917 EffectHandle(const sp<EffectModule>& effect, const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority) argument
[all...]
/frameworks/base/libs/surfaceflinger_client/
H A DSharedBufferStack.cpp212 SharedClient& client( *mSharedClient );
216 Mutex::Autolock _l(client.lock);
221 status_t err = client.cv.waitRelative(client.lock, TIMEOUT);
260 // NOTE: if stack.head is messed up, we could crash the client
262 // limited to the client.
579 * 'head' cannot move during this operation. The client-side
/frameworks/base/services/java/com/android/server/
H A DAccessibilityManagerService.java272 public void addClient(IAccessibilityManagerClient client) { argument
275 client.setEnabled(mIsEnabled);
276 mClients.add(client);
278 Slog.w(LOG_TAG, "Dead AccessibilityManagerClient: " + client, re);
H A DWindowManagerService.java339 * Windows that are being resized. Used so we can tell the client about
703 final IWindow client = win.mClient;
746 + client.asBinder() + " (token=" + token + ")");
1543 // First, make sure the client has the current visibility
1780 public int addWindow(Session session, IWindow client, argument
1805 if (mWindowMap.containsKey(client.asBinder())) {
1806 Slog.w(TAG, "Window " + client + " is already added");
1878 win = new WindowState(session, client, token,
1883 Slog.w(TAG, "Adding window client " + client
1998 removeWindow(Session session, IWindow client) argument
2171 setTransparentRegionWindow(Session session, IWindow client, Region region) argument
2194 setInsetsWindow(Session session, IWindow client, int touchableInsets, Rect contentInsets, Rect visibleInsets) argument
2215 getWindowDisplayFrame(Session session, IWindow client, Rect outDisplayFrame) argument
2281 relayoutWindow(Session session, IWindow client, WindowManager.LayoutParams attrs, int requestedWidth, int requestedHeight, int viewVisibility, boolean insetsPending, Rect outFrame, Rect outContentInsets, Rect outVisibleInsets, Configuration outConfig, Surface outSurface) argument
2558 finishDrawingWindow(Session session, IWindow client) argument
4699 viewServerListWindows(Socket client) argument
4752 viewServerGetFocusedWindow(Socket client) argument
4810 viewServerWindowCommand(Socket client, String command, String parameters) argument
5582 Session(IInputMethodClient client, IInputContext inputContext) argument
8132 openSession(IInputMethodClient client, IInputContext inputContext) argument
8140 inputMethodClientHasFocus(IInputMethodClient client) argument
8163 windowForClientLocked(Session session, IWindow client, boolean throwOnError) argument
8168 windowForClientLocked(Session session, IBinder client, boolean throwOnError) argument
[all...]
H A DThrottleService.java740 SntpClient client = new SntpClient();
741 if (client.requestTime(mNtpServer, MAX_NTP_FETCH_WAIT)) {
742 cachedNtp = client.getNtpTime();
/frameworks/base/media/java/android/media/
H A DAudioService.java251 // List of binder death handlers for setMode() client processes.
433 // If either the client forces allowing ringer modes for this adjustment,
660 private IBinder mCb; // To be notified of client's death
661 private int mMode = AudioSystem.MODE_NORMAL; // Current mode set by this client
669 Log.w(TAG, "setMode() client died");
672 Log.w(TAG, "unregistered setMode() client died");
675 // If dead client was a the top of client list,
730 // Remove from client list so that it is re-inserted at top of list
739 // Register for client deat
[all...]
/frameworks/base/core/java/android/webkit/
H A DCallbackProxy.java48 * posted to the UI thread for the actual client callback.
57 // Instance of WebViewClient that is the client callback.
72 // Back/Forward list client
116 // Message triggered by the client to resume execution
150 * @param client An implementation of WebViewClient.
152 public void setWebViewClient(WebViewClient client) { argument
153 mWebViewClient = client;
168 * @param client An implementation of WebChromeClient.
170 public void setWebChromeClient(WebChromeClient client) { argument
171 mWebChromeClient = client;
186 setDownloadListener(DownloadListener client) argument
198 setWebBackForwardListClient(WebBackForwardListClient client) argument
[all...]
H A DWebView.java1394 // We grab a copy of the back/forward list because a client of WebView
2058 if (0 == mNativeClass) return; // client isn't initialized
2830 if (0 == mNativeClass) return; // client isn't initialized
2841 if (0 == mNativeClass) return 0; // client isn't initialized
2858 if (0 == mNativeClass) return; // client isn't initialized
3239 * @param client An implementation of WebViewClient.
3241 public void setWebViewClient(WebViewClient client) { argument
3242 mCallbackProxy.setWebViewClient(client);
3269 * @param client An implementation of WebChromeClient.
3271 public void setWebChromeClient(WebChromeClient client) { argument
3292 setWebBackForwardListClient(WebBackForwardListClient client) argument
[all...]
/frameworks/base/media/libmedia/
H A DIAudioFlinger.cpp348 virtual void registerClient(const sp<IAudioFlingerClient>& client) argument
352 data.writeStrongBinder(client->asBinder());
632 const sp<IEffectClient>& client,
653 data.writeStrongBinder(client->asBinder());
852 sp<IAudioFlingerClient> client = interface_cast<IAudioFlingerClient>(data.readStrongBinder()); local
853 registerClient(client);
1023 sp<IEffectClient> client = interface_cast<IEffectClient>(data.readStrongBinder()); local
1031 sp<IEffect> effect = createEffect(pid, &desc, client, priority, output, sessionId, &status, &id, &enabled);
630 createEffect(pid_t pid, effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, int output, int sessionId, status_t *status, int *id, int *enabled) argument
/frameworks/base/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp109 OMXClient *client,
117 client->interface(), source->getFormat(), false, source,
108 extractVideoFrameWithCodecFlags( OMXClient *client, const sp<MetaData> &trackMeta, const sp<MediaSource> &source, uint32_t flags, int64_t frameTimeUs, int seekMode) argument
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java530 SntpClient client = new SntpClient();
533 if (client.requestTime(mNtpServer, 10000)) {
534 long time = client.getNtpTime();
535 long timeReference = client.getNtpTimeReference();
536 int certainty = (int)(client.getRoundTripTime()/2);
/frameworks/base/include/surfaceflinger/
H A DSurface.h109 const sp<SurfaceComposerClient>& client,
/frameworks/base/media/libstagefright/rtsp/
H A DMyTransmitter.h117 OMXClient client; local
118 client.connect();
121 client.interface(), encMeta,

Completed in 1606 milliseconds

1234