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

1234

/frameworks/compile/libbcc/include/bcc/Support/
H A DOutputFile.h38 // This is similar to the system call dup(). It creates a copy of the file
42 llvm::raw_fd_ostream *dup();
/frameworks/compile/libbcc/lib/Support/
H A DOutputFile.cpp74 llvm::raw_fd_ostream *OutputFile::dup() { function in class:OutputFile
78 newfd = ::dup(mFD);
87 // dup() returns ok.
/frameworks/av/media/libmediaplayerservice/
H A DActivityManager.cpp48 fd = dup(reply.readFileDescriptor());
H A DStagefrightPlayer.cpp62 // the method returns, if you want to keep it, dup it!
65 return mPlayer->setDataSource(dup(fd), offset, length);
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG2TSAssembler.cpp96 sp<AMessage> msg = mNotifyMsg->dup();
112 sp<AMessage> msg = mNotifyMsg->dup();
H A DARawAudioAssembler.cpp96 sp<AMessage> msg = mNotifyMsg->dup();
112 sp<AMessage> msg = mNotifyMsg->dup();
H A DAH263Assembler.cpp196 sp<AMessage> msg = mNotifyMsg->dup();
209 sp<AMessage> msg = mNotifyMsg->dup();
H A DSDPLoader.cpp147 sp<AMessage> notify = mNotify->dup();
H A DAAMRAssembler.cpp212 sp<AMessage> msg = mNotifyMsg->dup();
228 sp<AMessage> msg = mNotifyMsg->dup();
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp225 sp<AMessage> tmp = mOutputFormat->dup();
296 sp<AMessage> notify = mNotify->dup();
451 sp<AMessage> notify = mNotify->dup();
510 mEncoder->requestActivityNotification(mEncoderActivityNotify->dup());
563 sp<AMessage> notify = mNotify->dup();
611 sp<AMessage> notify = mNotify->dup();
677 sp<ABuffer> dup = new ABuffer(accessUnit->size() + mCSD0->size()); local
678 memcpy(dup->data(), mCSD0->data(), mCSD0->size());
679 memcpy(dup->data() + mCSD0->size(), accessUnit->data(), accessUnit->size());
684 dup
[all...]
H A DMediaPuller.cpp161 sp<AMessage> notify = mNotify->dup();
185 sp<AMessage> notify = mNotify->dup();
H A DTSPacketizer.cpp183 sp<ABuffer> dup = new ABuffer(accessUnit->size() + size); local
188 memcpy(dup->data() + offset, csd->data(), csd->size());
192 memcpy(dup->data() + offset, accessUnit->data(), accessUnit->size());
194 return dup;
205 sp<ABuffer> dup = new ABuffer(aac_frame_length); local
216 uint8_t *ptr = dup->data();
238 return dup;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerSource.h98 sp<AMessage> dupNotify() const { return mNotify->dup(); }
H A DNuPlayerDecoder.cpp95 sp<AMessage> notify = mNotify->dup();
128 sp<AMessage> notify = mNotify->dup();
H A DNuPlayerRenderer.cpp236 sp<AMessage> notify = mNotify->dup();
435 sp<AMessage> notify = mNotify->dup();
441 sp<AMessage> notify = mNotify->dup();
618 sp<AMessage> notify = mNotify->dup();
673 sp<AMessage> notify = mNotify->dup();
/frameworks/base/core/java/android/net/
H A DVpnService.java168 ParcelFileDescriptor dup = null;
170 dup = ParcelFileDescriptor.fromFd(socket);
171 return getService().protectVpn(dup);
176 dup.close();
/frameworks/native/include/ui/
H A DFence.h88 int dup() const;
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java256 * Create a new ParcelFileDescriptor that is a dup of an existing
261 public static ParcelFileDescriptor dup(FileDescriptor orig) throws IOException { method in class:ParcelFileDescriptor
263 final FileDescriptor fd = Libcore.os.dup(orig);
271 * Create a new ParcelFileDescriptor that is a dup of the existing
276 public ParcelFileDescriptor dup() throws IOException { method in class:ParcelFileDescriptor
278 return mWrapped.dup();
280 return dup(getFileDescriptor());
286 * ParcelFileDescriptor holds a dup of the original fd passed in here,
289 * @param fd The native fd that the ParcelFileDescriptor should dup.
292 * for a dup o
[all...]
/frameworks/native/libs/ui/
H A DFence.cpp98 int Fence::dup() const { function in class:android::Fence
99 return ::dup(mFenceFd);
/frameworks/base/core/java/android/view/
H A DInputChannel.java132 public InputChannel dup() { method in class:InputChannel
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp354 sp<AMessage> notify = mNotify->dup();
368 sp<AMessage> notify = mNotify->dup();
375 sp<AMessage> notify = mNotify->dup();
382 sp<AMessage> notify = mNotify->dup();
/frameworks/base/core/jni/
H A Dandroid_view_InputChannel.cpp204 int dupFd = dup(rawFd);
206 ALOGE("Error %d dup channel fd %d.", errno, rawFd);
254 new NativeInputChannel(nativeInputChannel->getInputChannel()->dup()));
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h181 virtual HWCLayer* dup() = 0;
183 return rhs ? rhs->dup() : NULL;
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp205 sp<AMessage> msg = mNotify->dup();
297 sp<AMessage> notify = mNotify->dup();
376 sp<AMessage> notify = mNotify->dup();
399 sp<AMessage> notify = mNotify->dup();
425 sp<AMessage> notify = mNotify->dup();
505 sp<AMessage> notify = mNotify->dup();
677 sp<AMessage> msg = mNotify->dup();
782 sp<AMessage> msg = mNotify->dup();
792 sp<AMessage> msg = mNotify->dup();
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h89 // Performs a deep-copy of "this", contained messages are in turn "dup'ed".
92 sp<AMessage> dup() const;

Completed in 957 milliseconds

1234