Searched refs:dup (Results 1 - 25 of 148) sorted by relevance

123456

/frameworks/native/libs/hwc2on1adapter/
H A DMiniFence.cpp39 int MiniFence::dup() const { function in class:android::MiniFence
40 return ::dup(mFenceFd);
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
H A Dparcelable_unique_fd.h20 fence_.reset(dup(fence.get()));
22 base::unique_fd fence() const { return base::unique_fd(dup(fence_.get())); }
H A Dparcelable_unique_fd.cpp11 : fence_(dup(fence.get())) {}
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
H A DMiniFence.h48 int dup() const;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java227 ByteBuffer dup = data.duplicate();
228 dup.limit(dup.position() + len);
229 return bytesToBingoCard(dup);
233 ByteBuffer dup = data.duplicate();
235 while (dup.hasRemaining()) {
236 sbx.append(String.format("%02x ", dup.get() & BYTE_MASK));
238 dup = data.duplicate();
240 while (dup.hasRemaining()) {
241 sbx.append(String.format("%c", toAscii(dup
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG2TSAssembler.cpp98 sp<AMessage> msg = mNotifyMsg->dup();
114 sp<AMessage> msg = mNotifyMsg->dup();
H A DARawAudioAssembler.cpp98 sp<AMessage> msg = mNotifyMsg->dup();
114 sp<AMessage> msg = mNotifyMsg->dup();
H A DAH263Assembler.cpp196 sp<AMessage> msg = mNotifyMsg->dup();
209 sp<AMessage> msg = mNotifyMsg->dup();
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dfile_handle.h55 return FileHandle(dup(fd));
97 return FileHandle(Mode == FileHandleMode::Local ? dup(fd_) : fd_);
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DUtils.java238 ByteBuffer dup = data.duplicate();
239 dup.limit(dup.position() + len);
240 return bytesToBingoCard(dup);
244 ByteBuffer dup = data.duplicate();
246 while (dup.hasRemaining()) {
247 sbx.append(String.format("%02x ", dup.get() & BYTE_MASK));
249 dup = data.duplicate();
251 while (dup.hasRemaining()) {
252 sbx.append(String.format("%c", toAscii(dup
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp202 sp<AMessage> tmp = mOutputFormat->dup();
273 sp<AMessage> notify = mNotify->dup();
429 sp<AMessage> notify = mNotify->dup();
488 mEncoder->requestActivityNotification(mEncoderActivityNotify->dup());
541 sp<AMessage> notify = mNotify->dup();
589 sp<AMessage> notify = mNotify->dup();
655 sp<ABuffer> dup = new ABuffer(accessUnit->size() + mCSD0->size()); local
656 memcpy(dup->data(), mCSD0->data(), mCSD0->size());
657 memcpy(dup->data() + mCSD0->size(), accessUnit->data(), accessUnit->size());
662 dup
[all...]
H A DMediaPuller.cpp161 sp<AMessage> notify = mNotify->dup();
185 sp<AMessage> notify = mNotify->dup();
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java318 * Create a new ParcelFileDescriptor that is a dup of an existing
323 public static ParcelFileDescriptor dup(FileDescriptor orig) throws IOException { method in class:ParcelFileDescriptor
325 final FileDescriptor fd = Os.dup(orig);
333 * Create a new ParcelFileDescriptor that is a dup of the existing
338 public ParcelFileDescriptor dup() throws IOException { method in class:ParcelFileDescriptor
340 return mWrapped.dup();
342 return dup(getFileDescriptor());
348 * ParcelFileDescriptor holds a dup of the original fd passed in here,
351 * @param fd The native fd that the ParcelFileDescriptor should dup.
354 * for a dup o
[all...]
/frameworks/native/libs/ui/
H A DFence.cpp109 int Fence::dup() const { function in class:android::Fence
110 return ::dup(mFenceFd);
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp45 mFd = fd < 0 ? -1 : dup(fd);
H A DIMediaExtractorService.cpp103 const int fd = dup(data.readFileDescriptor()); // -1 fd checked in makeIDataSource
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderPassThrough.cpp243 sp<AMessage> msg = mNotify->dup();
368 sp<AMessage> notify = mNotify->dup();
395 sp<AMessage> notify = mNotify->dup();
406 sp<AMessage> notify = mNotify->dup();
H A DNuPlayerSource.h154 sp<AMessage> dupNotify() const { return mNotify->dup(); }
/frameworks/base/core/java/android/view/
H A DInputChannel.java132 public InputChannel dup() { method in class:InputChannel
/frameworks/native/include/ui/
H A DFence.h98 int dup() const;
/frameworks/av/media/libstagefright/
H A DACodecBufferChannel.cpp95 sp<AMessage> msg = mInputBufferFilled->dup();
202 sp<AMessage> msg = mInputBufferFilled->dup();
219 sp<AMessage> msg = mOutputBufferDrained->dup();
242 sp<AMessage> msg = input ? mInputBufferFilled->dup() : mOutputBufferDrained->dup();
H A DMediaCodec.cpp239 sp<AMessage> notify(mNotify->dup());
248 sp<AMessage> notify(mNotify->dup());
288 sp<AMessage> notify(mNotify->dup());
295 sp<AMessage> notify(mNotify->dup());
301 sp<AMessage> notify(mNotify->dup());
307 sp<AMessage> notify(mNotify->dup());
313 sp<AMessage> notify(mNotify->dup());
319 sp<AMessage> notify(mNotify->dup());
327 sp<AMessage> notify(mNotify->dup());
335 sp<AMessage> notify(mNotify->dup());
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_advsimd_Resize.S172 dup v6.8h, w2
173 dup v7.8h, w3
213 dup v11.4h, v12.h[0]
219 dup v11.4s, v12.s[0]
226 dup v12.2d, v14.d[0]
227 dup v13.2d, v14.d[0]
304 dup v13.8h, v12.h[7]
306 dup v13.4s, v12.s[3]
316 dup v12.8h, v12.h[7]
318 dup v1
[all...]
/frameworks/av/include/media/
H A DOMXFenceParcelable.h79 int fd = ::dup(parcel->readFileDescriptor());
/frameworks/av/media/libmedia/include/media/
H A DOMXFenceParcelable.h79 int fd = ::dup(parcel->readFileDescriptor());

Completed in 298 milliseconds

123456