Home
last modified time | relevance | path

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

123456789

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java272 ByteBuffer dup = data.duplicate(); in bytesToBingoCard() local
273 dup.limit(dup.position() + len); in bytesToBingoCard()
274 return bytesToBingoCard(dup); in bytesToBingoCard()
278 ByteBuffer dup = data.duplicate(); in bytesToBingoCard() local
280 while (dup.hasRemaining()) { in bytesToBingoCard()
281 sbx.append(String.format("%02x ", dup.get() & BYTE_MASK)); in bytesToBingoCard()
283 dup = data.duplicate(); in bytesToBingoCard()
285 while (dup.hasRemaining()) { in bytesToBingoCard()
286 sbx.append(String.format("%c", toAscii(dup.get() & BYTE_MASK))); in bytesToBingoCard()
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_parcelable.cpp109 data_fd_.Reset(dup(parcel->readFileDescriptor())); in readFromParcel()
110 pollin_event_fd_.Reset(dup(parcel->readFileDescriptor())); in readFromParcel()
111 pollhup_event_fd_.Reset(dup(parcel->readFileDescriptor())); in readFromParcel()
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
Dparcelable_unique_fd.h20 fence_.reset(dup(fence.get())); in set_fence()
22 base::unique_fd fence() const { return base::unique_fd(dup(fence_.get())); } in fence()
Dparcelable_unique_fd.cpp11 : fence_(dup(fence.get())) {} in ParcelableUniqueFd()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java325 public static ParcelFileDescriptor dup(FileDescriptor orig) throws IOException { in dup() method in ParcelFileDescriptor
342 public ParcelFileDescriptor dup() throws IOException { in dup() method in ParcelFileDescriptor
344 return mWrapped.dup(); in dup()
346 return dup(getFileDescriptor()); in dup()
365 final FileDescriptor dup = new FileDescriptor(); in fromFd() local
367 dup.setInt$(intfd); in fromFd()
368 return new ParcelFileDescriptor(dup); in fromFd()
422 return fd != null ? ParcelFileDescriptor.dup(fd) : null; in fromSocket()
455 return fd != null ? ParcelFileDescriptor.dup(fd) : null; in fromDatagramSocket()
590 return fd != null ? ParcelFileDescriptor.dup(fd) : null; in fromData()
DHidlMemory.java72 public HidlMemory dup() throws IOException { in dup() method in HidlMemory
73 return new HidlMemory(mName, mSize, mHandle != null ? mHandle.dup() : null); in dup()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp209 sp<DumpstateListener> listener(new DumpstateListener(dup(fileno(stdout)), sections)); in SetUpTestCase()
450 sp<DumpstateListener> listener(new DumpstateListener(dup(fileno(stdout)))); in TEST_F()
486 sp<DumpstateListener> listener(new DumpstateListener(dup(fileno(stdout)))); in TEST_F()
509 unique_fd bugreport_fd2(dup(bugreport_fd.get())); in TEST_F()
511 unique_fd screenshot_fd2(dup(screenshot_fd.get())); in TEST_F()
518 sp<DumpstateListener> listener1(new DumpstateListener(dup(fileno(stdout)))); in TEST_F()
525 sp<DumpstateListener> listener2(new DumpstateListener(dup(fileno(stdout)))); in TEST_F()
/frameworks/av/media/libstagefright/rtsp/
DAMPEG2TSAssembler.cpp98 sp<AMessage> msg = mNotifyMsg->dup(); in addPacket()
114 sp<AMessage> msg = mNotifyMsg->dup(); in onByeReceived()
DARawAudioAssembler.cpp98 sp<AMessage> msg = mNotifyMsg->dup(); in addPacket()
114 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/native/libs/incidentcompanion/src/
DIncidentManager.cpp92 mFileDescriptor = dup(fd); in readFromParcel()
109 mFileDescriptor = dup(fd); in setFileDescriptor()
/frameworks/ml/nn/runtime/
DEvent.h58 mSyncFenceFd = dup(sync_fence_fd); in SyncFenceEvent()
97 return dup(mSyncFenceFd); in getSyncFenceFd()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dfile_handle.h55 return FileHandle(dup(fd)); in AsDuplicate()
97 return FileHandle(Mode == FileHandleMode::Local ? dup(fd_) : fd_); in Duplicate()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderPassThrough.cpp243 sp<AMessage> msg = mNotify->dup(); in fetchInputData()
368 sp<AMessage> notify = mNotify->dup(); in onResume()
395 sp<AMessage> notify = mNotify->dup(); in onFlush()
406 sp<AMessage> notify = mNotify->dup(); in onShutdown()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_advsimd_Resize.S174 dup v6.8h, w2
175 dup v7.8h, w3
215 dup v11.4h, v12.h[0]
221 dup v11.4s, v12.s[0]
228 dup v12.2d, v14.d[0]
229 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 v12.4s, v12.s[3]
[all …]
DrsCpuIntrinsics_advsimd_ColorMatrix.S77 dup v6.4s, v4.s[0]
78 dup v7.4s, v4.s[0]
94 dup v6.4s, v4.s[0]
95 dup v7.4s, v4.s[0]
112 dup v6.4s, v4.s[1]
113 dup v7.4s, v4.s[1]
129 dup v6.4s, v4.s[1]
130 dup v7.4s, v4.s[1]
147 dup v6.4s, v4.s[2]
148 dup v7.4s, v4.s[2]
[all …]
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp100 sp<AMessage> msg = mInputBufferFilled->dup(); in queueInputBuffer()
243 sp<AMessage> msg = mInputBufferFilled->dup(); in queueSecureInputBuffer()
260 sp<AMessage> msg = mOutputBufferDrained->dup(); in renderOutputBuffer()
283 sp<AMessage> msg = input ? mInputBufferFilled->dup() : mOutputBufferDrained->dup(); in discardBuffer()
DMediaCodec.cpp282 sp<AMessage> notify(mNotify->dup()); in onInputBufferAvailable()
291 sp<AMessage> notify(mNotify->dup()); in onOutputBufferAvailable()
331 sp<AMessage> notify(mNotify->dup()); in onEos()
338 sp<AMessage> notify(mNotify->dup()); in onStartCompleted()
344 sp<AMessage> notify(mNotify->dup()); in onStopCompleted()
350 sp<AMessage> notify(mNotify->dup()); in onReleaseCompleted()
356 sp<AMessage> notify(mNotify->dup()); in onFlushCompleted()
362 sp<AMessage> notify(mNotify->dup()); in onError()
370 sp<AMessage> notify(mNotify->dup()); in onComponentAllocated()
378 sp<AMessage> notify(mNotify->dup()); in onComponentConfigured()
[all …]
DMPEG2TSWriter.cpp245 sp<AMessage> notify = mNotify->dup(); in extractCodecSpecificData()
253 sp<AMessage> notify = mNotify->dup(); in appendAVCFrame()
283 sp<AMessage> notify = mNotify->dup(); in appendAACFrames()
356 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
375 sp<AMessage> notify = mNotify->dup(); in onMessageReceived()
447 : mFile(fdopen(dup(fd), "wb")), in MPEG2TSWriter()
/frameworks/native/libs/ui/
DFence.cpp103 int Fence::dup() const { in dup() function in android::Fence
104 return ::dup(mFenceFd); in dup()
/frameworks/av/services/mediaextractor/seccomp_policy/
Dmediaextractor-arm64.policy9 dup: 1
Dmediaextractor-x86_64.policy9 dup: 1
/frameworks/base/media/apex/java/android/media/
DProxyDataSourceCallback.java38 mPFD = pfd.dup(); in ProxyDataSourceCallback()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreFileRunnable.java51 mSocket = ParcelFileDescriptor.dup(socket.getFileDescriptor()); in RestoreFileRunnable()

123456789