Home
last modified time | relevance | path

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

123456789

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java229 ByteBuffer dup = data.duplicate(); in bytesToBingoCard() local
230 dup.limit(dup.position() + len); in bytesToBingoCard()
231 return bytesToBingoCard(dup); in bytesToBingoCard()
235 ByteBuffer dup = data.duplicate(); in bytesToBingoCard() local
237 while (dup.hasRemaining()) { in bytesToBingoCard()
238 sbx.append(String.format("%02x ", dup.get() & BYTE_MASK)); in bytesToBingoCard()
240 dup = data.duplicate(); in bytesToBingoCard()
242 while (dup.hasRemaining()) { in bytesToBingoCard()
243 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.java354 public static ParcelFileDescriptor dup(FileDescriptor orig) throws IOException { in dup() method in ParcelFileDescriptor
371 public ParcelFileDescriptor dup() throws IOException { in dup() method in ParcelFileDescriptor
373 return mWrapped.dup(); in dup()
375 return dup(getFileDescriptor()); in dup()
394 final FileDescriptor dup = new FileDescriptor(); in fromFd() local
396 dup.setInt$(intfd); in fromFd()
397 return new ParcelFileDescriptor(dup); in fromFd()
451 return fd != null ? ParcelFileDescriptor.dup(fd) : null; in fromSocket()
484 return fd != null ? ParcelFileDescriptor.dup(fd) : null; in fromDatagramSocket()
619 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/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/ml/nn/runtime/
DEvent.h59 mSyncFenceFd = dup(sync_fence_fd); in SyncFenceEvent()
98 return dup(mSyncFenceFd); in getSyncFenceFd()
/frameworks/native/libs/incidentcompanion/src/
DIncidentManager.cpp92 mFileDescriptor = dup(fd); in readFromParcel()
109 mFileDescriptor = dup(fd); in setFileDescriptor()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp221 sp<DumpstateListener> listener(new DumpstateListener(dup(fileno(stdout)), sections)); in SetUpTestCase()
460 sp<DumpstateListener> listener(new DumpstateListener(dup(fileno(stdout)))); in TEST_F()
496 sp<DumpstateListener> listener(new DumpstateListener(dup(fileno(stdout)))); in TEST_F()
519 unique_fd bugreport_fd2(dup(bugreport_fd.get())); in TEST_F()
521 unique_fd screenshot_fd2(dup(screenshot_fd.get())); in TEST_F()
528 sp<DumpstateListener> listener1(new DumpstateListener(dup(fileno(stdout)))); in TEST_F()
535 sp<DumpstateListener> listener2(new DumpstateListener(dup(fileno(stdout)))); in TEST_F()
/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/base/media/java/android/media/
DAudioMetadataReadMap.java57 AudioMetadataMap dup(); // lint checker doesn't like clone(). in dup() method
/frameworks/native/libs/ui/
DFence.cpp121 int Fence::dup() const { in dup() function in android::Fence
122 return ::dup(mFenceFd); in dup()
/frameworks/av/media/libstagefright/
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/base/libs/hostgraphics/ui/
DFence.h52 int dup() const { return 0; } in dup() function
/frameworks/av/services/mediaextractor/seccomp_policy/
Dmediaextractor-arm64.policy9 dup: 1
Dmediaextractor-x86_64.policy9 dup: 1
/frameworks/base/apex/media/framework/java/android/media/
DProxyDataSourceCallback.java38 mPFD = pfd.dup(); in ProxyDataSourceCallback()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/transport/
DIntermediateEncryptingTransport.java108 packageInfo, ParcelFileDescriptor.dup(encryptedInput.getFD()), flags); in performBackup()
134 int status = super.getRestoreData(ParcelFileDescriptor.dup(outputStream.getFD())); in getRestoreData()

123456789