Home
last modified time | relevance | path

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

/packages/modules/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()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java2104 ParcelFileDescriptor dup; in createSocketKeepalive() local
2108 dup = ParcelFileDescriptor.dup(socket.getFileDescriptor()); in createSocketKeepalive()
2112 dup = createInvalidFd(); in createSocketKeepalive()
2114 return new NattSocketKeepalive(mService, network, dup, socket.getResourceId(), source, in createSocketKeepalive()
2147 ParcelFileDescriptor dup; in createNattKeepalive() local
2150 dup = pfd.dup(); in createNattKeepalive()
2154 dup = createInvalidFd(); in createNattKeepalive()
2156 return new NattSocketKeepalive(mService, network, dup, in createNattKeepalive()
2185 ParcelFileDescriptor dup; in createSocketKeepalive() local
2187 dup = ParcelFileDescriptor.fromSocket(socket); in createSocketKeepalive()
[all …]
/packages/modules/NeuralNetworks/runtime/
DEvent.h68 mSyncFenceFd = dup(sync_fence_fd); in SyncFenceEvent()
109 return dup(mSyncFenceFd); in getSyncFenceFd()
DManager.cpp594 int dupFd = dup(fd); in executeFenced()
638 syncFenceFd = dup(syncFence.getFd()); in executeFenced()
732 int dupFd = dup(fd); in computeFenced()
776 syncFenceFd = dup(syncFence.getFd()); in computeFenced()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DLivePreviewFragment.java238 MotionEvent dup = MotionEvent.obtainNoHistory(ev); in setupCurrentWallpaperPreview() local
239 dup.setLocation(ev.getX() / scaleRatio, ev.getY() / scaleRatio); in setupCurrentWallpaperPreview()
241 mWallpaperConnection.getEngine().dispatchPointer(dup); in setupCurrentWallpaperPreview()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DRemoteSocketFactoryClient.java88 FileDescriptor fd = Os.dup(pfd.getFileDescriptor()); in openSocketFd()
DVpnTest.java563 FileDescriptor fd = Os.dup(ParcelFileDescriptor.fromSocket(s).getFileDescriptor()); in openSocketFd()
/packages/modules/Virtualization/vm/src/
Drun.rs108 let dup_fd = unsafe { libc::dup(stdout_fd) }; in duplicate_stdout()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java873 ArrayList<DbEntry> dup = new ArrayList<>(src.size());
875 dup.add(e.copy());
877 return dup;
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java565 MotionEvent dup = MotionEvent.obtainNoHistory(ev); in dispatchTouchEvent() local
567 mWallpaperConnection.mEngine.dispatchPointer(dup); in dispatchTouchEvent()
/packages/modules/NeuralNetworks/common/
DSharedMemoryAndroid.cpp256 auto uniqueFd = base::unique_fd(dup(fd)); in dupFd()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveTracker.java181 mFd = Os.dup(fd); in KeepaliveInfo()
/packages/modules/adb/daemon/
Dshell_service.cpp444 child_stderr_sfd.reset(dup(child_stdinout_sfd.get())); in ExecInProcess()
/packages/modules/adb/
Dadb.cpp604 const int fd = dup(original_fd); in _redirect_pipe_thread()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java116 return ParcelFileDescriptor.dup(fd); in openSafely()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java6062 return thumbRead.dup();
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java5810 ParcelFileDescriptor.dup(testSocket.getFileDescriptor()); in doTestNattSocketKeepalivesFdWithExecutor()
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...