Home
last modified time | relevance | path

Searched refs:dup (Results 1 – 25 of 95) sorted by relevance

1234

/frameworks/base/core/java/android/net/
DVpnService.java166 ParcelFileDescriptor dup = null; in protect() local
168 dup = ParcelFileDescriptor.fromFd(socket); in protect()
169 return getService().protectVpn(dup); in protect()
174 dup.close(); in protect()
/frameworks/av/media/libstagefright/wifi-display/source/
DConverter.cpp182 mOutputFormat = mInputFormat->dup(); in initEncoder()
230 sp<AMessage> tmp = mOutputFormat->dup(); in initEncoder()
281 sp<AMessage> notify = mNotify->dup(); in notifyError()
462 mEncoder->requestActivityNotification(mEncoderActivityNotify->dup()); in scheduleDoMoreWork()
515 sp<AMessage> notify = mNotify->dup(); in feedRawAudioInputBuffers()
563 sp<AMessage> notify = mNotify->dup(); in feedRawAudioInputBuffers()
666 sp<AMessage> notify = mNotify->dup(); in doMoreWork()
683 sp<AMessage> notify = mNotify->dup(); in doMoreWork()
DTSPacketizer.cpp183 sp<ABuffer> dup = new ABuffer(accessUnit->size() + size); in prependCSD() local
188 memcpy(dup->data() + offset, csd->data(), csd->size()); in prependCSD()
192 memcpy(dup->data() + offset, accessUnit->data(), accessUnit->size()); in prependCSD()
194 return dup; in prependCSD()
205 sp<ABuffer> dup = new ABuffer(aac_frame_length); in prependADTSHeader() local
216 uint8_t *ptr = dup->data(); in prependADTSHeader()
238 return dup; in prependADTSHeader()
DMediaPuller.cpp158 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
182 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
/frameworks/av/media/libstagefright/rtsp/
DAMPEG2TSAssembler.cpp96 sp<AMessage> msg = mNotifyMsg->dup(); in addPacket()
112 sp<AMessage> msg = mNotifyMsg->dup(); in onByeReceived()
DARawAudioAssembler.cpp96 sp<AMessage> msg = mNotifyMsg->dup(); in addPacket()
112 sp<AMessage> msg = mNotifyMsg->dup(); in onByeReceived()
DAH263Assembler.cpp196 sp<AMessage> msg = mNotifyMsg->dup(); in submitAccessUnit()
209 sp<AMessage> msg = mNotifyMsg->dup(); in onByeReceived()
DAAMRAssembler.cpp212 sp<AMessage> msg = mNotifyMsg->dup(); in addPacket()
228 sp<AMessage> msg = mNotifyMsg->dup(); in onByeReceived()
DAAVCAssembler.cpp347 sp<AMessage> msg = mNotifyMsg->dup(); in submitAccessUnit()
371 sp<AMessage> msg = mNotifyMsg->dup(); in onByeReceived()
/frameworks/compile/libbcc/lib/Support/
DOutputFile.cpp127 llvm::raw_fd_ostream *OutputFile::dup() { in dup() function in OutputFile
131 newfd = ::dup(mFD); in dup()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java127 public static ParcelFileDescriptor dup(FileDescriptor orig) throws IOException { in dup() method in ParcelFileDescriptor
138 public ParcelFileDescriptor dup() throws IOException { in dup() method in ParcelFileDescriptor
139 return dup(getFileDescriptor()); in dup()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp94 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
127 sp<AMessage> notify = mNotify->dup(); in onFillThisBuffer()
DNuPlayerRenderer.cpp412 sp<AMessage> notify = mNotify->dup(); in notifyVideoRenderingStart()
418 sp<AMessage> notify = mNotify->dup(); in notifyEOS()
590 sp<AMessage> notify = mNotify->dup(); in notifyFlushComplete()
645 sp<AMessage> notify = mNotify->dup(); in notifyPosition()
DNuPlayerSource.h88 sp<AMessage> dupNotify() const { return mNotify->dup(); } in dupNotify()
/frameworks/native/libs/ui/
DFence.cpp98 int Fence::dup() const { in dup() function in android::Fence
99 return ::dup(mFenceFd); in dup()
/frameworks/compile/libbcc/include/bcc/Support/
DOutputFile.h48 llvm::raw_fd_ostream *dup();
/frameworks/av/media/libmediaplayerservice/
DActivityManager.cpp48 fd = dup(reply.readFileDescriptor()); in openContentProviderFile()
/frameworks/av/media/libstagefright/wifi-display/
DANetworkSession.cpp186 sp<AMessage> msg = mNotify->dup(); in Session()
266 sp<AMessage> notify = mNotify->dup(); in readMore()
345 sp<AMessage> notify = mNotify->dup(); in readMore()
368 sp<AMessage> notify = mNotify->dup(); in readMore()
394 sp<AMessage> notify = mNotify->dup(); in readMore()
583 sp<AMessage> msg = mNotify->dup(); in writeMore()
640 sp<AMessage> msg = mNotify->dup(); in notifyError()
650 sp<AMessage> msg = mNotify->dup(); in notify()
DMediaSender.cpp350 sp<AMessage> notify = mNotify->dup(); in notifyInitDone()
357 sp<AMessage> notify = mNotify->dup(); in notifyError()
364 sp<AMessage> notify = mNotify->dup(); in notifyNetworkStall()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp246 sp<AMessage> notify = mNotify->dup(); in extractCodecSpecificData()
254 sp<AMessage> notify = mNotify->dup(); in postAVCFrame()
353 sp<AMessage> notify = mNotify->dup(); in flushAACFrames()
373 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
395 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
471 : mFile(fdopen(dup(fd), "wb")), in MPEG2TSWriter()
/frameworks/native/include/ui/
DFence.h88 int dup() const;
/frameworks/base/core/java/android/view/
DInputChannel.java132 public InputChannel dup() { in dup() method in InputChannel
/frameworks/base/core/jni/
Dandroid_view_InputChannel.cpp204 int dupFd = dup(rawFd); in android_view_InputChannel_nativeReadFromParcel()
254 new NativeInputChannel(nativeInputChannel->getInputChannel()->dup())); in android_view_InputChannel_nativeDup()
Dandroid_os_ParcelFileDescriptor.cpp40 int fd = dup(origfd); in android_os_ParcelFileDescriptor_getFileDescriptorFromFd()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h177 virtual HWCLayer* dup() = 0;
179 return rhs ? rhs->dup() : NULL; in copy()

1234