/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()
|
/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, mStore); 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(); 457 const sp<IInputSink>& sink, in InputSurfaceConnection() argument 459 : mImpl{new Impl(source, sink)}, in InputSurfaceConnection()
|
D | Component.cpp | 155 const sp<IInputSink>& sink); 190 const sp<IInputSink>& sink) { in findLocalComponent() argument 192 auto i = sSink2Component.find(sink.get()); in findLocalComponent() 462 const sp<IInputSink>& sink) { in findLocalComponent() argument 463 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 | 81 for (AudioPortConfig sink : mSinks) { in toString() 82 s.append(sink.toString()); in toString()
|
/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 | 57 const sp<IGraphicBufferProducer>& sink, in VirtualDisplaySurface() argument 83 mSource[SOURCE_SINK] = sink; 89 sink->query(NATIVE_WINDOW_WIDTH, &sinkWidth); 90 sink->query(NATIVE_WINDOW_HEIGHT, &sinkHeight); 99 sink->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &sinkUsage); 102 sink->query(NATIVE_WINDOW_FORMAT, &sinkFormat); 113 sink->setAsyncMode(true);
|
/frameworks/base/core/java/android/app/ |
D | UiAutomationConnection.java | 365 public void executeShellCommand(final String command, final ParcelFileDescriptor sink, in executeShellCommand() argument 382 if (sink != null) { in executeShellCommand() 384 OutputStream sink_out = new FileOutputStream(sink.getFileDescriptor()); in executeShellCommand() 417 IoUtils.closeQuietly(sink); in executeShellCommand()
|
D | IUiAutomationConnection.aidl | 47 void executeShellCommand(String command, in ParcelFileDescriptor sink, in executeShellCommand() argument
|
/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/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;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | Serializer.cpp | 163 static constexpr const char *sink = "sink"; /**< <sink: involved in this route>. */ member 554 std::string sinkAttr = getXmlAttribute(cur, Attributes::sink); in deserialize() 556 ALOGE("%s: No %s found", __func__, Attributes::sink); in deserialize() 560 sp<PolicyAudioPort> sink = ctx->findPortByTagName(sinkAttr); in deserialize() local 561 if (sink == NULL) { in deserialize() 565 route->setSink(sink); in deserialize() 589 sink->addRoute(route); in deserialize()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 1428 private final boolean sink; field in FileUtils.MemoryPipe 1430 private MemoryPipe(byte[] data, boolean sink) throws IOException { in MemoryPipe() argument 1437 this.sink = sink; in MemoryPipe() 1454 return sink ? pipe[1] : pipe[0]; in getFD() 1458 return sink ? pipe[0] : pipe[1]; in getInternalFD() 1467 if (sink) { in run() 1476 if (sink) { in run()
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | InputSurfaceConnection.h | 69 const sp<IInputSink>& sink,
|