Home
last modified time | relevance | path

Searched refs:sink (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/tests/AccessoryDisplay/
DREADME6 There are two applications with two distinct roles: a sink
11 The role of the sink is to emulate an external display that happens
15 The sink application uses the UsbDevice APIs to receive connections
16 from the source device over USB. The sink acts as a USB host
19 The sink application decodes encoded video from the source and
20 displays it in a SurfaceView. The sink also injects passes touch
31 to the sink device over USB. The source acts as a USB peripheral
32 in this arrangement and will receive power from the sink.
36 an encoder and streams the output to the sink over USB. Then
44 Remember that the sink device is functioning as the USB host
[all …]
/frameworks/base/core/java/android/printservice/
DPrintDocument.java75 ParcelFileDescriptor sink = null; in getData() local
79 sink = fds[1]; in getData()
80 mPrintServiceClient.writePrintJobData(sink, mPrintJobId); in getData()
87 if (sink != null) { in getData()
89 sink.close(); in getData()
/frameworks/base/location/lib/java/com/android/location/provider/
DFusedLocationHardware.java67 public void registerSink(FusedLocationHardwareSink sink, Looper looper) { in registerSink() argument
68 if(sink == null || looper == null) { in registerSink()
77 if(mSinkList.containsKey(sink)) { in registerSink()
83 newSinkList.put(sink, new DispatcherHandler(looper)); in registerSink()
96 public void unregisterSink(FusedLocationHardwareSink sink) { in unregisterSink() argument
97 if(sink == null) { in unregisterSink()
103 if(!mSinkList.containsKey(sink)) { in unregisterSink()
110 newSinkList.remove(sink); in unregisterSink()
234 FusedLocationHardwareSink sink, in MessageCommand() argument
237 mSink = sink; in MessageCommand()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DRemotePrintDocumentAdapter.java90 ParcelFileDescriptor sink = null; in write() local
94 sink = pipe[1]; in write()
100 mRemoteInterface.write(pages, sink, callback, sequence); in write()
103 sink.close(); in write()
104 sink = null; in write()
122 IoUtils.closeQuietly(sink); in write()
/frameworks/base/services/java/com/android/server/location/
DFlpHardwareProvider.java109 IFusedLocationHardwareSink sink; in onLocationReport() local
111 sink = mLocationSink; in onLocationReport()
114 if (sink != null) { in onLocationReport()
115 sink.onLocationAvailable(locations); in onLocationReport()
124 IFusedLocationHardwareSink sink; in onDataReport() local
126 sink = mLocationSink; in onDataReport()
130 sink.onDiagnosticDataAvailable(data); in onDataReport()
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java150 for (TracerSink sink : mSinks) { in closeSinks()
151 sink.close(); in closeSinks()
180 for (TracerSink sink : mSinks) { in log()
181 sink.log(message); in log()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp49 const sp<IGraphicBufferProducer>& sink, in VirtualDisplaySurface() argument
61 mSource[SOURCE_SINK] = sink; in VirtualDisplaySurface()
67 sink->query(NATIVE_WINDOW_WIDTH, &sinkWidth); in VirtualDisplaySurface()
68 sink->query(NATIVE_WINDOW_HEIGHT, &sinkHeight); in VirtualDisplaySurface()
75 sink->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &sinkUsage); in VirtualDisplaySurface()
78 sink->query(NATIVE_WINDOW_FORMAT, &sinkFormat); in VirtualDisplaySurface()
DVirtualDisplaySurface.h75 const sp<IGraphicBufferProducer>& sink,
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbAccessoryConstants.java17 package com.android.accessorydisplay.sink;
DUsbAccessoryBulkTransport.java17 package com.android.accessorydisplay.sink;
DUsbHid.java17 package com.android.accessorydisplay.sink;
DDisplaySinkService.java17 package com.android.accessorydisplay.sink;
DSinkActivity.java17 package com.android.accessorydisplay.sink;
/frameworks/av/include/media/stagefright/
DUtils.h57 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h31 Renderer(const sp<MediaPlayerBase::AudioSink> &sink,
DNuPlayer.h50 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink);
DNuPlayerRenderer.cpp33 const sp<MediaPlayerBase::AudioSink> &sink, in Renderer() argument
36 : mAudioSink(sink), in Renderer()
DNuPlayer.cpp266 void NuPlayer::setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink) { in setAudioSink() argument
268 msg->setObject("sink", sink); in setAudioSink()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1857 CallbackThread(const wp<MediaPlayerBase::AudioSink> &sink,
1878 const wp<MediaPlayerBase::AudioSink> &sink, in CallbackThread() argument
1881 : mSink(sink), in CallbackThread()
1896 sp<MediaPlayerBase::AudioSink> sink = mSink.promote(); in threadLoop() local
1897 if (sink == NULL) { in threadLoop()
1902 mBufferSize = sink->bufferSize(); in threadLoop()
1907 (*mCallback)(sink.get(), mBuffer, mBufferSize, mCookie, in threadLoop()
1911 sink->write(mBuffer, actualSize); in threadLoop()
/frameworks/av/media/libstagefright/
DUtils.cpp479 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, in sendMetaDataToHal() argument
510 sink->setParameters(param.toString()); in sendMetaDataToHal()
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityInputFilter.java302 public void setNext(EventStreamTransformation sink) { in setNext() argument
/frameworks/base/keystore/tests/src/android/security/
DAndroidKeyStoreTest.java2586 OutputStream sink = new ByteArrayOutputStream(); in testKeyStore_Store_OutputStream_Encrypted_Failure() local
2588 mKeyStore.store(sink, null); in testKeyStore_Store_OutputStream_Encrypted_Failure()
2594 mKeyStore.store(sink, "blah".toCharArray()); in testKeyStore_Store_OutputStream_Encrypted_Failure()
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd1033 <td>A role defined in HDP. In HDP, a <em>sink</em> is the smart device that
1034 receives the medical data. In an Android HDP application, the sink is
1040 <td>Refers to registering a sink for a particular health device.</td>
1066 sink.</li>
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1188 XADataSink sink,
/frameworks/base/docs/html/about/versions/
Dandroid-4.0.jd390 android.view.Surface} to behave as the video sink.</li>

12