Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libstagefright/wifi-display/source/
DConverter.cpp225 sp<AMessage> tmp = mOutputFormat->dup(); in initEncoder()
296 sp<AMessage> notify = mNotify->dup(); in notifyError()
451 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
510 mEncoder->requestActivityNotification(mEncoderActivityNotify->dup()); in scheduleDoMoreWork()
563 sp<AMessage> notify = mNotify->dup(); in feedRawAudioInputBuffers()
611 sp<AMessage> notify = mNotify->dup(); in feedRawAudioInputBuffers()
677 sp<ABuffer> dup = new ABuffer(accessUnit->size() + mCSD0->size()); in prependCSD() local
678 memcpy(dup->data(), mCSD0->data(), mCSD0->size()); in prependCSD()
679 memcpy(dup->data() + mCSD0->size(), accessUnit->data(), accessUnit->size()); in prependCSD()
684 dup->meta()->setInt64("timeUs", timeUs); in prependCSD()
[all …]
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.cpp161 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
185 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
/frameworks/base/core/java/android/net/
DVpnService.java168 ParcelFileDescriptor dup = null; in protect() local
170 dup = ParcelFileDescriptor.fromFd(socket); in protect()
171 return getService().protectVpn(dup); in protect()
176 dup.close(); in protect()
/frameworks/compile/libbcc/lib/Support/
DOutputFile.cpp74 llvm::raw_fd_ostream *OutputFile::dup() { in dup() function in OutputFile
78 newfd = ::dup(mFD); in dup()
/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()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java261 public static ParcelFileDescriptor dup(FileDescriptor orig) throws IOException { in dup() method in ParcelFileDescriptor
263 final FileDescriptor fd = Libcore.os.dup(orig); in dup()
276 public ParcelFileDescriptor dup() throws IOException { in dup() method in ParcelFileDescriptor
278 return mWrapped.dup(); in dup()
280 return dup(getFileDescriptor()); in dup()
299 final FileDescriptor dup = Libcore.os.dup(original); in fromFd() local
300 return new ParcelFileDescriptor(dup); in fromFd()
/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.h42 llvm::raw_fd_ostream *dup();
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp236 sp<AMessage> notify = mNotify->dup(); in notifyIfMediaRenderingStarted()
435 sp<AMessage> notify = mNotify->dup(); in notifyVideoRenderingStart()
441 sp<AMessage> notify = mNotify->dup(); in notifyEOS()
618 sp<AMessage> notify = mNotify->dup(); in notifyFlushComplete()
673 sp<AMessage> notify = mNotify->dup(); in notifyPosition()
DNuPlayerDecoder.cpp95 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
128 sp<AMessage> notify = mNotify->dup(); in onFillThisBuffer()
DNuPlayerSource.h98 sp<AMessage> dupNotify() const { return mNotify->dup(); } in dupNotify()
/frameworks/av/media/libmediaplayerservice/
DActivityManager.cpp48 fd = dup(reply.readFileDescriptor()); in openContentProviderFile()
/frameworks/av/media/libstagefright/wifi-display/
DMediaSender.cpp354 sp<AMessage> notify = mNotify->dup(); in onSenderNotify()
368 sp<AMessage> notify = mNotify->dup(); in notifyInitDone()
375 sp<AMessage> notify = mNotify->dup(); in notifyError()
382 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/av/media/libstagefright/foundation/
DANetworkSession.cpp205 sp<AMessage> msg = mNotify->dup(); in Session()
297 sp<AMessage> notify = mNotify->dup(); in readMore()
376 sp<AMessage> notify = mNotify->dup(); in readMore()
399 sp<AMessage> notify = mNotify->dup(); in readMore()
425 sp<AMessage> notify = mNotify->dup(); in readMore()
505 sp<AMessage> notify = mNotify->dup(); in readMore()
677 sp<AMessage> msg = mNotify->dup(); in writeMore()
782 sp<AMessage> msg = mNotify->dup(); in notifyError()
792 sp<AMessage> msg = mNotify->dup(); in notify()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp59 mStartTimeUsNotify(notify->dup()), in PlaylistFetcher()
386 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
397 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
407 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
580 sp<AMessage> notify = mNotify->dup(); in notifyError()
645 sp<AMessage> msg = mNotify->dup(); in onMonitorQueue()
662 sp<AMessage> msg = mNotify->dup(); in onMonitorQueue()
1369 sp<AMessage> msg = mNotify->dup(); in updateDuration()
/frameworks/base/core/java/android/view/
DInputChannel.java132 public InputChannel dup() { in dup() method in InputChannel
/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp773 sp<AMessage> notify = mNotify->dup(); in parseAPP()
784 sp<AMessage> notify = mNotify->dup(); in notifyInitDone()
791 sp<AMessage> notify = mNotify->dup(); in notifyError()
798 sp<AMessage> notify = mNotify->dup(); in notifyNetworkStall()
/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()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h181 virtual HWCLayer* dup() = 0;
183 return rhs ? rhs->dup() : NULL; in copy()

1234