/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ActivityRecognitionProvider.java | 74 public void registerSink(Sink sink) { in registerSink() argument 75 Preconditions.checkNotNull(sink); in registerSink() 77 mSinkSet.add(sink); in registerSink() 83 public void unregisterSink(Sink sink) { in unregisterSink() argument 84 Preconditions.checkNotNull(sink); in unregisterSink() 86 mSinkSet.remove(sink); in unregisterSink() 129 for (Sink sink : sinks) { in onActivityChanged() 130 sink.onActivityChanged(gmsEvent); in onActivityChanged()
|
D | FusedLocationHardware.java | 67 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/tests/AccessoryDisplay/ |
D | README | 6 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/ |
D | PrintDocument.java | 75 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/core/java/android/hardware/location/ |
D | ActivityRecognitionHardware.java | 89 public boolean registerSink(IActivityRecognitionHardwareSink sink) { in registerSink() argument 91 return mSinks.register(sink); in registerSink() 95 public boolean unregisterSink(IActivityRecognitionHardwareSink sink) { in unregisterSink() argument 97 return mSinks.unregister(sink); in unregisterSink() 156 IActivityRecognitionHardwareSink sink = mSinks.getBroadcastItem(i); in onActivityChanged() local 158 sink.onActivityChanged(activityChangedEvent); in onActivityChanged()
|
D | IActivityRecognitionHardware.aidl | 41 boolean registerSink(in IActivityRecognitionHardwareSink sink); in registerSink() argument 46 boolean unregisterSink(in IActivityRecognitionHardwareSink sink); in unregisterSink() argument
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | FlpHardwareProvider.java | 114 IFusedLocationHardwareSink sink; in onLocationReport() local 116 sink = mLocationSink; in onLocationReport() 119 if (sink != null) { in onLocationReport() 120 sink.onLocationAvailable(locations); in onLocationReport() 129 IFusedLocationHardwareSink sink; in onDataReport() local 131 sink = mLocationSink; in onDataReport() 135 sink.onDiagnosticDataAvailable(data); in onDataReport()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrameThread.h | 101 WebmFrameSourceThread(int type, LinkedBlockingQueue<const sp<WebmFrame> >& sink); 114 WebmFrameEmptySourceThread(int type, LinkedBlockingQueue<const sp<WebmFrame> >& sink) in WebmFrameEmptySourceThread() argument 115 : WebmFrameSourceThread(type, sink) { in WebmFrameEmptySourceThread() 128 LinkedBlockingQueue<const sp<WebmFrame> >& sink,
|
D | WebmFrameThread.cpp | 58 LinkedBlockingQueue<const sp<WebmFrame> >& sink) in WebmFrameSourceThread() 59 : mType(type), mSink(sink) { in WebmFrameSourceThread() 251 LinkedBlockingQueue<const sp<WebmFrame> >& sink, in WebmFrameMediaSourceThread() 257 : WebmFrameSourceThread(type, sink), in WebmFrameMediaSourceThread()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | Tracer.java | 150 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/base/media/java/android/media/ |
D | AudioPatch.java | 68 for (AudioPortConfig sink : mSinks) { in toString() 69 s.append(sink.toString()); in toString()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 49 const sp<IGraphicBufferProducer>& sink, in VirtualDisplaySurface() argument 63 mSource[SOURCE_SINK] = sink; in VirtualDisplaySurface() 69 sink->query(NATIVE_WINDOW_WIDTH, &sinkWidth); in VirtualDisplaySurface() 70 sink->query(NATIVE_WINDOW_HEIGHT, &sinkHeight); in VirtualDisplaySurface() 79 sink->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &sinkUsage); in VirtualDisplaySurface() 82 sink->query(NATIVE_WINDOW_FORMAT, &sinkFormat); in VirtualDisplaySurface()
|
D | VirtualDisplaySurface.h | 76 const sp<IGraphicBufferProducer>& sink,
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | UsbAccessoryConstants.java | 17 package com.android.accessorydisplay.sink;
|
D | UsbAccessoryBulkTransport.java | 17 package com.android.accessorydisplay.sink;
|
D | UsbHid.java | 17 package com.android.accessorydisplay.sink;
|
D | DisplaySinkService.java | 17 package com.android.accessorydisplay.sink;
|
/frameworks/base/core/java/android/app/ |
D | UiAutomationConnection.java | 230 public void executeShellCommand(String command, ParcelFileDescriptor sink) in executeShellCommand() argument 245 out = new FileOutputStream(sink.getFileDescriptor()); in executeShellCommand() 260 IoUtils.closeQuietly(sink); in executeShellCommand()
|
D | UiAutomation.java | 866 ParcelFileDescriptor sink = null; in executeShellCommand() local 871 sink = pipe[1]; in executeShellCommand() 874 mUiAutomationConnection.executeShellCommand(command, sink); in executeShellCommand() 880 IoUtils.closeQuietly(sink); in executeShellCommand()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothUtil.java | 159 private static Profile newProfile(final BluetoothA2dpSink sink) { 163 return sink.connect(device); 168 return sink.disconnect(device);
|
/frameworks/av/include/media/stagefright/ |
D | Utils.h | 60 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | RemotePrintDocument.java | 906 ParcelFileDescriptor sink = null; in run() local 911 sink = pipe[1]; in run() 920 mAdapter.write(mPages, sink, mRemoteResultCallback, mSequence); in run() 923 sink.close(); in run() 924 sink = null; in run() 940 IoUtils.closeQuietly(sink); in run()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 2000 CallbackThread(const wp<MediaPlayerBase::AudioSink> &sink, 2021 const wp<MediaPlayerBase::AudioSink> &sink, in CallbackThread() argument 2024 : mSink(sink), in CallbackThread() 2039 sp<MediaPlayerBase::AudioSink> sink = mSink.promote(); in threadLoop() local 2040 if (sink == NULL) { in threadLoop() 2045 mBufferSize = sink->bufferSize(); in threadLoop() 2050 (*mCallback)(sink.get(), mBuffer, mBufferSize, mCookie, in threadLoop() 2054 sink->write(mBuffer, actualSize); in threadLoop()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.h | 53 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink);
|
D | NuPlayerRenderer.h | 34 Renderer(const sp<MediaPlayerBase::AudioSink> &sink,
|