/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/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputBroadcastDialog.java | 195 public void onSourceAdded(@NonNull BluetoothDevice sink, int sourceId, int reason) { 196 Log.d(TAG, "Assistant-onSourceAdded: Device: " + sink 202 public void onSourceAddFailed(@NonNull BluetoothDevice sink, 204 Log.d(TAG, "Assistant-onSourceAddFailed: Device: " + sink); 208 public void onSourceModified(@NonNull BluetoothDevice sink, int sourceId, 214 public void onSourceModifyFailed(@NonNull BluetoothDevice sink, int sourceId, 220 public void onSourceRemoved(@NonNull BluetoothDevice sink, int sourceId, 226 public void onSourceRemoveFailed(@NonNull BluetoothDevice sink, int sourceId, 232 public void onReceiveStateChanged(@NonNull BluetoothDevice sink, int sourceId, 408 for (BluetoothDevice sink : mMediaOutputController.getConnectedBroadcastSinkDevices()) { in startBroadcastWithConnectedDevices() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothLeBroadcastAssistant.java | 129 public void addSource(BluetoothDevice sink, BluetoothLeBroadcastMetadata metadata, in addSource() argument 135 mService.addSource(sink, metadata, isGroupOp); in addSource() 158 public void addSource(@NonNull BluetoothDevice sink, int sourceAddressType, in addSource() argument 167 addSource(sink, mBluetoothLeBroadcastMetadata, isGroupOp); in addSource() 184 public void removeSource(@NonNull BluetoothDevice sink, int sourceId) { in removeSource() argument 192 mService.removeSource(sink, sourceId); in removeSource() 253 @NonNull BluetoothDevice sink) { in getAllSources() 261 return mService.getAllSources(sink); in getAllSources()
|
D | LocalBluetoothLeBroadcast.java | 223 public void onSourceAdded(@NonNull BluetoothDevice sink, int sourceId, 241 public void onSourceAddFailed(@NonNull BluetoothDevice sink, 245 public void onSourceModified(@NonNull BluetoothDevice sink, int sourceId, 249 public void onSourceModifyFailed(@NonNull BluetoothDevice sink, int sourceId, 253 public void onSourceRemoved(@NonNull BluetoothDevice sink, int sourceId, 256 Log.d(TAG, "onSourceRemoved(), sink = " + sink + ", reason = " 262 public void onSourceRemoveFailed(@NonNull BluetoothDevice sink, int sourceId, 265 Log.d(TAG, "onSourceRemoveFailed(), sink = " + sink + ", reason = " 271 public void onReceiveStateChanged(@NonNull BluetoothDevice sink, int sourceId,
|
D | PanProfile.java | 116 for (BluetoothDevice sink : sinks) { in setEnabled() 117 mService.setConnectionPolicy(sink, CONNECTION_POLICY_FORBIDDEN); in setEnabled()
|
/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 | 55 struct usb_endpoint_descriptor_no_audio sink; member 62 struct usb_endpoint_descriptor_no_audio sink; member
|
/frameworks/av/media/libstagefright/webm/include/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,
|
/frameworks/base/core/java/android/hardware/location/ |
D | ActivityRecognitionHardware.java | 110 public boolean registerSink(IActivityRecognitionHardwareSink sink) { in registerSink() argument 113 return mSinks.register(sink); in registerSink() 118 public boolean unregisterSink(IActivityRecognitionHardwareSink sink) { in unregisterSink() argument 121 return mSinks.unregister(sink); in unregisterSink() 194 IActivityRecognitionHardwareSink sink = mSinks.getBroadcastItem(i); in onActivityChanged() local 196 sink.onActivityChanged(activityChangedEvent); in onActivityChanged()
|
D | IActivityRecognitionHardware.aidl | 44 boolean registerSink(in IActivityRecognitionHardwareSink sink); in registerSink() argument 50 boolean unregisterSink(in IActivityRecognitionHardwareSink sink); in unregisterSink() argument
|
/frameworks/av/media/codec2/hal/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()
|
/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/libs/net/common/testutils/devicetests/com/android/testutils/async/ |
D | FakeOsAccess.java | 201 if (file.type == FileType.PIPE && file.sink.openCount == 0) { in write() 223 + ", src_red=" + file.outboundLimiter + ", dst_red=" + file.sink.inboundLimiter)); in write() 230 boolean hasChanges = copyFileBuffers(file, file.sink); in maybeTransferData() 330 file1.sink = file2; in registerFilePair() 332 file2.sink = file1; in registerFilePair() 374 copyFileBuffers(file, file.sink); in poll() 439 if (file.type == FileType.PIPE && file.sink.openCount == 0) { in calculateReadyCount() 518 File sink; field in FakeOsAccess.File
|
/frameworks/base/core/java/android/app/ |
D | IUiAutomationConnection.aidl | 54 void executeShellCommand(String command, in ParcelFileDescriptor sink, in executeShellCommand() argument 62 void executeShellCommandWithStderr(String command, in ParcelFileDescriptor sink, in executeShellCommandWithStderr() argument
|
D | UiAutomationConnection.java | 455 public void executeShellCommand(final String command, final ParcelFileDescriptor sink, in executeShellCommand() argument 457 executeShellCommandWithStderr(command, sink, source, null /* stderrSink */); in executeShellCommand() 461 public void executeShellCommandWithStderr(final String command, final ParcelFileDescriptor sink, in executeShellCommandWithStderr() argument 479 if (sink != null) { in executeShellCommandWithStderr() 481 OutputStream sink_out = new FileOutputStream(sink.getFileDescriptor()); in executeShellCommandWithStderr() 529 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/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | UsbAccessoryConstants.java | 17 package com.android.accessorydisplay.sink;
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrameThread.cpp | 64 LinkedBlockingQueue<const sp<WebmFrame> >& sink) in WebmFrameSourceThread() 65 : mType(type), mSink(sink) { in WebmFrameSourceThread() 265 LinkedBlockingQueue<const sp<WebmFrame> >& sink, in WebmFrameMediaSourceThread() 271 : WebmFrameSourceThread(type, sink), in WebmFrameMediaSourceThread()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 50 const sp<IGraphicBufferProducer>& sink, in VirtualDisplaySurface() argument 73 mSource[SOURCE_SINK] = sink; 79 sink->query(NATIVE_WINDOW_WIDTH, &sinkWidth); 80 sink->query(NATIVE_WINDOW_HEIGHT, &sinkHeight); 89 sink->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &sinkUsage); 92 sink->query(NATIVE_WINDOW_FORMAT, &sinkFormat); 103 sink->setAsyncMode(true);
|