Searched defs:client (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/base/services/surfaceflinger/tests/surface/
H A Dsurface.cpp23 // create a client to surfaceflinger
24 sp<SurfaceComposerClient> client = new SurfaceComposerClient(); local
27 sp<SurfaceControl> surfaceControl = client->createSurface(
29 client->openTransaction();
31 client->closeTransaction();
/frameworks/base/cmds/stagefright/
H A Daudioloop.cpp24 OMXClient client; local
25 CHECK_EQ(client.connect(), OK);
54 client.interface(),
66 client.interface(),
H A Drecord.cpp185 OMXClient client; local
186 CHECK_EQ(client.connect(), OK);
201 client.interface(), meta, false /* createEncoder */, source);
228 client.interface(), enc_meta, true /* createEncoder */, decoder);
263 client.disconnect();
301 OMXClient client; local
302 CHECK_EQ(client.connect(), OK);
328 OMXCodec::Create(client.interface(), encMeta, true, audioSource);
350 client.disconnect();
H A Dstagefright.cpp71 static void playSource(OMXClient *client, sp<MediaSource> &source) { argument
82 client->interface(), meta, false /* createEncoder */, source,
690 OMXClient client; local
691 status_t err = client.connect();
847 playSource(&client, mediaSource);
858 client.disconnect();
/frameworks/base/services/surfaceflinger/tests/overlays/
H A Doverlays.cpp29 // create a client to surfaceflinger
30 sp<SurfaceComposerClient> client = new SurfaceComposerClient(); local
33 sp<Surface> surface = client->createSurface(getpid(), 0, 320, 240,
/frameworks/base/services/surfaceflinger/tests/resize/
H A Dresize.cpp32 // create a client to surfaceflinger
33 sp<SurfaceComposerClient> client = new SurfaceComposerClient(); local
36 sp<Surface> surface = client->createSurface(getpid(), 0, 160, 240,
40 client->openTransaction();
42 client->closeTransaction();
54 client->openTransaction();
56 client->closeTransaction();
/frameworks/base/core/java/android/widget/
H A DCursorFilter.java38 CursorFilter(CursorFilterClient client) { argument
39 mClient = client;
/frameworks/base/media/libstagefright/rtsp/
H A Drtp_test.cpp181 OMXClient client; local
182 CHECK_EQ(client.connect(), (status_t)OK);
185 client.interface(),
/frameworks/base/services/java/com/android/server/am/
H A DAppBindRecord.java24 * An association between a service and one of its client applications.
29 final ProcessRecord client; // Who has started/bound the service. field in class:AppBindRecord
32 // All ConnectionRecord for this client.
36 pw.println(prefix + "client=" + client);
55 client = _client;
61 + " " + service.shortName + ":" + client.processName + "}";
/frameworks/base/tests/CoreTests/android/core/
H A DSocketTest.java139 Socket client = new Socket("localhost", 8383);
140 client.getOutputStream().write(1);
141 // Just leave this connection open from the client side. It will be
246 private Socket client; field in class:SocketTest
258 client = new Socket();
264 client.connect(new InetSocketAddress(PACKAGE_DROPPING_ADDRESS, 1357));
278 client.close();
/frameworks/base/libs/surfaceflinger_client/tests/SharedBufferStack/
H A DSharedBufferStackTest.cpp34 SharedClient client; local
35 SharedBufferServer s(&client, 0, 4, 0);
36 SharedBufferClient c(&client, 0, 4, 0);
/frameworks/base/services/surfaceflinger/
H A DLayerDim.cpp42 const sp<Client>& client)
43 : LayerBaseClient(flinger, display, client)
41 LayerDim(SurfaceFlinger* flinger, DisplayID display, const sp<Client>& client) argument
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
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java39 * to the client of the MediaScannerConnection class.
52 MediaScannerConnectionClient client = mClient;
53 if (client != null) {
54 client.onScanCompleted(path, uri);
65 * Called to notify the client when the media scanner has finished
81 * Called to notify the client when a connection to the
87 * Called to notify the client when the media scanner has finished
100 * @param client an optional object implementing the MediaScannerConnectionClient
103 public MediaScannerConnection(Context context, MediaScannerConnectionClient client) { argument
105 mClient = client;
186 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) argument
[all...]
/frameworks/base/media/libmedia/
H A DMediaScanner.cpp52 MediaScannerClient &client,
71 client.setLocale(locale());
75 pathBuffer, pathRemaining, extensions, client,
102 MediaScannerClient &client, ExceptionCheck exceptionCheck,
114 client.addNoMediaFolder(path);
168 int err = doProcessDirectory(path, pathRemaining - nameLength - 1, extensions, client, exceptionCheck, exceptionEnv);
179 client.scanFile(path, statbuf.st_mtime, statbuf.st_size);
50 processDirectory( const char *path, const char *extensions, MediaScannerClient &client, ExceptionCheck exceptionCheck, void *exceptionEnv) argument
100 doProcessDirectory( char *path, int pathRemaining, const char *extensions, MediaScannerClient &client, ExceptionCheck exceptionCheck, void *exceptionEnv) argument
H A DIMediaPlayerService.cpp59 pid_t pid, const sp<IMediaPlayerClient>& client,
64 data.writeStrongBinder(client->asBinder());
93 virtual sp<IMediaPlayer> create(pid_t pid, const sp<IMediaPlayerClient>& client, int fd, argument
99 data.writeStrongBinder(client->asBinder());
155 sp<IMediaPlayerClient> client = local
169 pid, client, url, numHeaders > 0 ? &headers : NULL, audioSessionId);
177 sp<IMediaPlayerClient> client = interface_cast<IMediaPlayerClient>(data.readStrongBinder()); local
183 sp<IMediaPlayer> player = create(pid, client, fd, offset, length, audioSessionId);
58 create( pid_t pid, const sp<IMediaPlayerClient>& client, const char* url, const KeyedVector<String8, String8> *headers, int audioSessionId) argument
/frameworks/base/media/libstagefright/
H A DStagefrightMediaScanner.cpp57 const char *filename, MediaScannerClient *client) {
97 if (!client->addStringTag("duration", buffer)) return UNKNOWN_ERROR;
104 MediaScannerClient &client) {
107 client.setLocale(locale());
108 client.beginFile();
117 client.endFile();
130 return HandleMIDI(path, &client);
137 client.setMimeType(value);
163 client.addStringTag(kKeyMap[i].tag, value);
168 client
56 HandleMIDI( const char *filename, MediaScannerClient *client) argument
102 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument
[all...]
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/
H A DViewServer.java178 Socket client = mServer.accept();
180 mThreadPool.submit(new ViewServerWorker(client));
183 client.close();
194 private static boolean writeValue(Socket client, String value) { argument
198 OutputStream clientStream = client.getOutputStream();
222 public ViewServerWorker(Socket client) { argument
223 mClient = client;
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);
/frameworks/base/telephony/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 clients.add(new ClientRange(startId, endId, client));
117 // ignore duplicate ranges from the same client
129 * The message id range for a single client
134 final String client; field in class:IntRangeManager.ClientRange
136 ClientRange(int startId, int endId, String client) argument
177 enableRange(int startId, int endId, String client) argument
363 disableRange(int startId, int endId, String client) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaScanner.cpp52 MyMediaScannerClient(JNIEnv *env, jobject client) argument
54 mClient(env->NewGlobalRef(client)),
149 android_media_MediaScanner_processDirectory(JNIEnv *env, jobject thiz, jstring path, jstring extensions, jobject client) argument
174 MyMediaScannerClient myClient(env, client);
181 android_media_MediaScanner_processFile(JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument
202 MyMediaScannerClient myClient(env, client);
/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/core/java/android/webkit/
H A DHTML5VideoViewProxy.java158 WebChromeClient client) {
197 mProgressView = client.getVideoLoadingProgressView();
205 client.onShowCustomView(mLayout, mCallback);
296 WebChromeClient client = mWebView.getWebChromeClient();
297 if (client != null) {
298 VideoPlayer.play(url, mSeekPosition, this, client);
316 WebChromeClient client = mWebView.getWebChromeClient();
317 if (client != null) {
318 client.onHideCustomView();
323 WebChromeClient client
157 play(String url, int time, HTML5VideoViewProxy proxy, WebChromeClient client) argument
[all...]
/frameworks/base/libs/surfaceflinger_client/
H A DSurfaceComposerClient.cpp85 void addClientImpl(const sp<SurfaceComposerClient>& client) { argument
87 mActiveConnections.add(client);
90 void removeClientImpl(const sp<SurfaceComposerClient>& client) { argument
92 mActiveConnections.remove(client);
104 sp<SurfaceComposerClient> client(mActiveConnections[i].promote());
105 if (client != 0 && mOpenTransactions.indexOf(client) < 0) {
106 if (client->openTransaction() == NO_ERROR) {
107 mOpenTransactions.add(client);
109 LOGE("openTransaction on client
136 addClient(const sp<SurfaceComposerClient>& client) argument
139 removeClient(const sp<SurfaceComposerClient>& client) argument
207 sp<ISurfaceComposerClient> client; local
[all...]

Completed in 491 milliseconds

12