/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ActivityRecognitionProvider.java | 76 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()
|
D | FusedLocationHardware.java | 37 public void registerSink(FusedLocationHardwareSink sink, Looper looper) {} in registerSink() argument 39 public void unregisterSink(FusedLocationHardwareSink sink) {} in unregisterSink() argument
|
/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 | 77 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/ |
D | ActivityRecognitionHardware.java | 105 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()
|
D | IActivityRecognitionHardware.aidl | 41 boolean registerSink(in IActivityRecognitionHardwareSink sink); in registerSink() argument 46 boolean unregisterSink(in IActivityRecognitionHardwareSink sink); in unregisterSink() argument
|
/frameworks/av/media/mtp/ |
D | MtpDescriptors.cpp | 121 .sink = fs_sink, 128 .sink = hs_sink, 135 .sink = ss_sink, 145 .sink = fs_sink, 152 .sink = hs_sink, 159 .sink = ss_sink,
|
D | MtpDescriptors.h | 43 struct usb_endpoint_descriptor_no_audio sink; member 50 struct usb_endpoint_descriptor_no_audio sink; member
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrameThread.h | 102 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,
|
D | WebmFrameThread.cpp | 64 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/ |
D | InputSurface.cpp | 130 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()
|
D | InputSurfaceConnection.cpp | 82 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()
|
D | Component.cpp | 159 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/ |
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/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioRoute.h | 44 void setSink(const sp<PolicyAudioPort> &sink) { mSink = sink; } in setSink() argument
|
/frameworks/base/media/java/android/media/ |
D | AudioPatch.java | 82 for (AudioPortConfig sink : mSinks) { in toString() 83 s.append(sink.toString()); in toString()
|
/frameworks/base/core/java/android/app/ |
D | IUiAutomationConnection.aidl | 51 void executeShellCommand(String command, in ParcelFileDescriptor sink, in executeShellCommand() argument 59 void executeShellCommandWithStderr(String command, in ParcelFileDescriptor sink, in executeShellCommandWithStderr() argument
|
D | UiAutomationConnection.java | 418 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/ |
D | BlobBackupHelper.java | 164 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/ |
D | VirtualDisplaySurface.cpp | 61 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/ |
D | UsbAccessoryConstants.java | 17 package com.android.accessorydisplay.sink;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | PanProfile.java | 116 for (BluetoothDevice sink : sinks) { in setEnabled() 117 mService.setConnectionPolicy(sink, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
|
/frameworks/av/media/codec2/hidl/1.1/utils/ |
D | Component.cpp | 159 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/ |
D | Component.cpp | 159 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/ |
D | Serializer.cpp | 161 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()
|