Home
last modified time | relevance | path

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

123

/frameworks/base/location/lib/java/com/android/location/provider/
DActivityRecognitionProvider.java76 public void registerSink(Sink sink) { in registerSink() argument
77 Preconditions.checkNotNull(sink); in registerSink()
79 mSinkSet.add(sink); in registerSink()
85 public void unregisterSink(Sink sink) { in unregisterSink() argument
86 Preconditions.checkNotNull(sink); in unregisterSink()
88 mSinkSet.remove(sink); in unregisterSink()
128 for (Sink sink : sinks) { in onActivityChanged()
129 sink.onActivityChanged(gmsEvent); in onActivityChanged()
DFusedLocationHardware.java37 public void registerSink(FusedLocationHardwareSink sink, Looper looper) {} in registerSink() argument
39 public void unregisterSink(FusedLocationHardwareSink sink) {} in unregisterSink() argument
/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.java77 ParcelFileDescriptor sink = null; in getData() local
81 sink = fds[1]; in getData()
82 mPrintServiceClient.writePrintJobData(sink, mPrintJobId); in getData()
89 if (sink != null) { in getData()
91 sink.close(); in getData()
/frameworks/base/core/java/android/hardware/location/
DActivityRecognitionHardware.java105 public boolean registerSink(IActivityRecognitionHardwareSink sink) { in registerSink() argument
107 return mSinks.register(sink); in registerSink()
111 public boolean unregisterSink(IActivityRecognitionHardwareSink sink) { in unregisterSink() argument
113 return mSinks.unregister(sink); in unregisterSink()
180 IActivityRecognitionHardwareSink sink = mSinks.getBroadcastItem(i); in onActivityChanged() local
182 sink.onActivityChanged(activityChangedEvent); in onActivityChanged()
DIActivityRecognitionHardware.aidl41 boolean registerSink(in IActivityRecognitionHardwareSink sink); in registerSink() argument
46 boolean unregisterSink(in IActivityRecognitionHardwareSink sink); in unregisterSink() argument
/frameworks/av/media/mtp/
DMtpDescriptors.cpp121 .sink = fs_sink,
128 .sink = hs_sink,
135 .sink = ss_sink,
145 .sink = fs_sink,
152 .sink = hs_sink,
159 .sink = ss_sink,
DMtpDescriptors.h43 struct usb_endpoint_descriptor_no_audio sink; member
50 struct usb_endpoint_descriptor_no_audio sink; member
/frameworks/av/media/libstagefright/webm/
DWebmFrameThread.h102 WebmFrameSourceThread(int type, LinkedBlockingQueue<const sp<WebmFrame> >& sink);
115 WebmFrameEmptySourceThread(int type, LinkedBlockingQueue<const sp<WebmFrame> >& sink) in WebmFrameEmptySourceThread() argument
116 : WebmFrameSourceThread(type, sink) { in WebmFrameEmptySourceThread()
129 LinkedBlockingQueue<const sp<WebmFrame> >& sink,
DWebmFrameThread.cpp64 LinkedBlockingQueue<const sp<WebmFrame> >& sink) in WebmFrameSourceThread()
65 : mType(type), mSink(sink) { in WebmFrameSourceThread()
266 LinkedBlockingQueue<const sp<WebmFrame> >& sink, in WebmFrameMediaSourceThread()
272 : WebmFrameSourceThread(type, sink), in WebmFrameMediaSourceThread()
/frameworks/av/media/codec2/hidl/1.0/utils/
DInputSurface.cpp130 const sp<IInputSink>& sink, in connect() argument
134 if (!sink) { in connect()
138 std::shared_ptr<C2Component> comp = Component::findLocalComponent(sink); in connect()
142 connection = new InputSurfaceConnection(mSource, sink, mParameterCache); in connect()
DInputSurfaceConnection.cpp82 const sp<IInputSink>& sink) in Impl()
83 : mSource{source}, mLocalComp{}, mSink{sink}, mFrameIndex{0} { in Impl()
84 Return<sp<IConfigurable>> transResult = sink->getConfigurable();
459 const sp<IInputSink>& sink, in InputSurfaceConnection() argument
461 : mImpl{new Impl(source, sink)}, in InputSurfaceConnection()
DComponent.cpp159 const sp<IInputSink>& sink);
194 const sp<IInputSink>& sink) { in findLocalComponent() argument
196 auto i = sSink2Component.find(sink.get()); in findLocalComponent()
474 const sp<IInputSink>& sink) { in findLocalComponent() argument
475 return Component::Sink::findLocalComponent(sink); in findLocalComponent()
/frameworks/base/cmds/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/av/services/audiopolicy/common/managerdefinitions/include/
DAudioRoute.h44 void setSink(const sp<PolicyAudioPort> &sink) { mSink = sink; } in setSink() argument
/frameworks/base/media/java/android/media/
DAudioPatch.java82 for (AudioPortConfig sink : mSinks) { in toString()
83 s.append(sink.toString()); in toString()
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl51 void executeShellCommand(String command, in ParcelFileDescriptor sink, in executeShellCommand() argument
59 void executeShellCommandWithStderr(String command, in ParcelFileDescriptor sink, in executeShellCommandWithStderr() argument
DUiAutomationConnection.java418 public void executeShellCommand(final String command, final ParcelFileDescriptor sink, in executeShellCommand() argument
420 executeShellCommandWithStderr(command, sink, source, null /* stderrSink */); in executeShellCommand()
424 public void executeShellCommandWithStderr(final String command, final ParcelFileDescriptor sink, in executeShellCommandWithStderr() argument
442 if (sink != null) { in executeShellCommandWithStderr()
444 OutputStream sink_out = new FileOutputStream(sink.getFileDescriptor()); in executeShellCommandWithStderr()
492 IoUtils.closeQuietly(sink); in executeShellCommandWithStderr()
/frameworks/base/core/java/android/app/backup/
DBlobBackupHelper.java164 ByteArrayOutputStream sink = new ByteArrayOutputStream(); in deflate() local
165 DataOutputStream headerOut = new DataOutputStream(sink); in deflate()
170 DeflaterOutputStream out = new DeflaterOutputStream(sink); in deflate()
173 result = sink.toByteArray(); in deflate()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp61 const sp<IGraphicBufferProducer>& sink, in VirtualDisplaySurface() argument
88 mSource[SOURCE_SINK] = sink;
94 sink->query(NATIVE_WINDOW_WIDTH, &sinkWidth);
95 sink->query(NATIVE_WINDOW_HEIGHT, &sinkHeight);
104 sink->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &sinkUsage);
107 sink->query(NATIVE_WINDOW_FORMAT, &sinkFormat);
118 sink->setAsyncMode(true);
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbAccessoryConstants.java17 package com.android.accessorydisplay.sink;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPanProfile.java116 for (BluetoothDevice sink : sinks) { in setEnabled()
117 mService.setConnectionPolicy(sink, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
/frameworks/av/media/codec2/hidl/1.1/utils/
DComponent.cpp159 const sp<IInputSink>& sink);
194 const sp<IInputSink>& sink) { in findLocalComponent() argument
196 auto i = sSink2Component.find(sink.get()); in findLocalComponent()
481 const sp<IInputSink>& sink) { in findLocalComponent() argument
482 return Component::Sink::findLocalComponent(sink); in findLocalComponent()
/frameworks/av/media/codec2/hidl/1.2/utils/
DComponent.cpp159 const sp<IInputSink>& sink);
194 const sp<IInputSink>& sink) { in findLocalComponent() argument
196 auto i = sSink2Component.find(sink.get()); in findLocalComponent()
512 const sp<IInputSink>& sink) { in findLocalComponent() argument
513 return Component::Sink::findLocalComponent(sink); in findLocalComponent()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp161 static constexpr const char *sink = "sink"; /**< <sink: involved in this route>. */ member
599 std::string sinkAttr = getXmlAttribute(cur, Attributes::sink); in deserialize()
601 ALOGE("%s: No %s found", __func__, Attributes::sink); in deserialize()
605 sp<PolicyAudioPort> sink = ctx->findPortByTagName(sinkAttr); in deserialize() local
606 if (sink == NULL && !mIgnoreVendorExtensions) { in deserialize()
609 } else if (sink == NULL) { in deserialize()
614 route->setSink(sink); in deserialize()
642 sink->addRoute(route); in deserialize()

123