/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiShellCommandTest.java | 46 import java.io.FileDescriptor; 101 new Binder(), new FileDescriptor(), new FileDescriptor(), new FileDescriptor(), in testSetIpReachDisconnect() 109 new Binder(), new FileDescriptor(), new FileDescriptor(), new FileDescriptor(), in testSetIpReachDisconnect() 114 new Binder(), new FileDescriptor(), new FileDescriptor(), new FileDescriptor(), in testSetIpReachDisconnect() 120 new Binder(), new FileDescriptor(), new FileDescriptor(), new FileDescriptor(), in testSetIpReachDisconnect() 130 new Binder(), new FileDescriptor(), new FileDescriptor(), new FileDescriptor(), in testGetIpReachDisconnect() 139 new Binder(), new FileDescriptor(), new FileDescriptor(), new FileDescriptor(), in testGetIpReachDisconnect() 147 new Binder(), new FileDescriptor(), new FileDescriptor(), new FileDescriptor(), in testGetIpReachDisconnect() 158 new Binder(), new FileDescriptor(), new FileDescriptor(), new FileDescriptor(), in testSetPollRssiIntervalMsecs() 166 new Binder(), new FileDescriptor(), new FileDescriptor(), new FileDescriptor(), in testSetPollRssiIntervalMsecs() [all …]
|
/frameworks/base/core/java/android/os/ |
D | NativeHandle.java | 28 import java.io.FileDescriptor; 40 private FileDescriptor[] mFds; 48 this(new FileDescriptor[0], new int[0], false); in NativeHandle() 55 public NativeHandle(@NonNull FileDescriptor descriptor, boolean own) { in NativeHandle() 56 this(new FileDescriptor[] {descriptor}, new int[0], own); in NativeHandle() 64 private static FileDescriptor[] createFileDescriptorArray(@NonNull int[] fds) { in createFileDescriptorArray() 65 FileDescriptor[] list = new FileDescriptor[fds.length]; in createFileDescriptorArray() 67 FileDescriptor descriptor = new FileDescriptor(); in createFileDescriptorArray() 89 public NativeHandle(@NonNull FileDescriptor[] fds, @NonNull int[] ints, boolean own) { in NativeHandle() 114 FileDescriptor[] fds = new FileDescriptor[mFds.length]; in dup() [all …]
|
D | ParcelFileDescriptor.java | 59 import java.io.FileDescriptor; 77 private final FileDescriptor mFd; 83 private FileDescriptor mCommFd; 190 public ParcelFileDescriptor(FileDescriptor fd) { in ParcelFileDescriptor() 195 public ParcelFileDescriptor(FileDescriptor fd, FileDescriptor commChannel) { in ParcelFileDescriptor() 231 final FileDescriptor fd = openInternal(file, mode); in open() 271 final FileDescriptor fd = openInternal(file, mode); in open() 291 final FileDescriptor original = new FileDescriptor(); in wrap() 297 public static ParcelFileDescriptor fromFd(FileDescriptor fd, Handler handler, in fromFd() 306 final FileDescriptor[] comm = createCommSocketPair(); in fromFd() [all …]
|
D | BasicShellCommandHandler.java | 22 import java.io.FileDescriptor; 40 private FileDescriptor mIn; 41 private FileDescriptor mOut; 42 private FileDescriptor mErr; 57 public void init(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, in init() 75 public int exec(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, in exec() 126 public FileDescriptor getOutFileDescriptor() { in getOutFileDescriptor() 153 public FileDescriptor getErrFileDescriptor() { in getErrFileDescriptor() 183 public FileDescriptor getInFileDescriptor() { in getInFileDescriptor()
|
D | FileBridge.java | 32 import java.io.FileDescriptor; 61 private FileDescriptor mTarget; 63 private final FileDescriptor mServer = new FileDescriptor(); 64 private final FileDescriptor mClient = new FileDescriptor(); 87 public void setTargetFile(FileDescriptor target) { in setTargetFile() 91 public FileDescriptor getClientSocket() { in getClientSocket() 138 private final FileDescriptor mClient; 146 public FileBridgeOutputStream(FileDescriptor client) { in FileBridgeOutputStream()
|
D | IBinder.java | 23 import java.io.FileDescriptor; 229 public void dump(@NonNull FileDescriptor fd, @Nullable String[] args) throws RemoteException; in dump() 239 public void dumpAsync(@NonNull FileDescriptor fd, @Nullable String[] args) in dumpAsync() 254 public void shellCommand(@Nullable FileDescriptor in, @Nullable FileDescriptor out, in shellCommand() 255 @Nullable FileDescriptor err, in shellCommand()
|
D | SharedMemory.java | 29 import java.io.FileDescriptor; 42 private final FileDescriptor mFileDescriptor; 47 private SharedMemory(FileDescriptor fd) { in SharedMemory() 147 public @NonNull FileDescriptor getFileDescriptor() { in getFileDescriptor() 294 FileDescriptor descriptor = source.readRawFileDescriptor(); 308 private FileDescriptor mFd; 311 private Closer(FileDescriptor fd, MemoryRegistration memoryReference) { in Closer() 377 private static native FileDescriptor nCreate(String name, int size) throws ErrnoException; in nCreate() 378 private static native int nGetSize(FileDescriptor fd); in nGetSize() 379 private static native int nSetProt(FileDescriptor fd, int prot); in nSetProt()
|
/frameworks/base/core/java/android/net/ |
D | LocalSocketImpl.java | 27 import java.io.FileDescriptor; 45 private FileDescriptor fd; 52 FileDescriptor[] inboundFileDescriptors; 55 FileDescriptor[] outboundFileDescriptors; 65 FileDescriptor myFd = fd; in available() 88 FileDescriptor myFd = fd; in read() 106 FileDescriptor myFd = fd; in read() 141 FileDescriptor myFd = fd; in write() 155 FileDescriptor myFd = fd; in write() 162 private native int read_native(FileDescriptor fd) throws IOException; in read_native() [all …]
|
D | NetworkUtils.java | 32 import java.io.FileDescriptor; 55 public static native void attachDropAllBPFFilter(FileDescriptor fd) throws SocketException; in attachDropAllBPFFilter() 61 public static native void detachBPFFilter(FileDescriptor fd) throws SocketException; in detachBPFFilter() 102 public static boolean protectFromVpn(FileDescriptor fd) { in protectFromVpn() 125 public static native FileDescriptor resNetworkSend( in resNetworkSend() 135 public static native FileDescriptor resNetworkQuery( in resNetworkQuery() 143 public static native DnsResolver.DnsResponse resNetworkResult(FileDescriptor fd) in resNetworkResult() 150 public static native void resNetworkCancel(FileDescriptor fd); in resNetworkCancel() 172 public static native TcpRepairWindow getTcpRepairWindow(FileDescriptor fd) in getTcpRepairWindow()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | RedactingFileDescriptorTest.java | 38 import java.io.FileDescriptor; 66 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testSingleByte() 82 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testRanges() 104 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testEntireFile() 117 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testReadWrite() 174 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtStart() 186 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtOffset() 198 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionStart() 210 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionEnd() 222 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeOutsideRedaction() [all …]
|
/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 26 import java.io.FileDescriptor; 75 public void tag(FileDescriptor fd) throws SocketException { in tag() 88 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { in tagSocketFd() 102 public void untag(FileDescriptor fd) throws SocketException { in untag() 109 private void unTagSocketFd(FileDescriptor fd) { in unTagSocketFd() 158 private static native int native_tagSocketFd(FileDescriptor fd, int tag, int uid); in native_tagSocketFd() 159 private static native int native_untagSocketFd(FileDescriptor fd); in native_untagSocketFd()
|
/frameworks/base/core/java/android/app/backup/ |
D | FileBackupHelperBase.java | 25 import java.io.FileDescriptor; 71 FileDescriptor oldStateFd = oldState != null ? oldState.getFileDescriptor() : null; in performBackup_checked() 72 FileDescriptor newStateFd = newState.getFileDescriptor(); in performBackup_checked() 123 native private static int performBackup_native(FileDescriptor oldState, in performBackup_native() 124 long data, FileDescriptor newState, String[] files, String[] keys); in performBackup_native() 126 private static native int writeSnapshot_native(long ptr, FileDescriptor fd); in writeSnapshot_native()
|
D | BackupDataOutput.java | 23 import java.io.FileDescriptor; 79 public BackupDataOutput(FileDescriptor fd) { in BackupDataOutput() 85 public BackupDataOutput(FileDescriptor fd, long quota) { in BackupDataOutput() 90 public BackupDataOutput(FileDescriptor fd, long quota, int transportFlags) { in BackupDataOutput() 170 private native static long ctor(FileDescriptor fd); in ctor()
|
D | BackupHelperDispatcher.java | 23 import java.io.FileDescriptor; 55 FileDescriptor oldStateFD = null; in performBackup() 86 FileDescriptor newStateFD = newState.getFileDescriptor(); in doOneBackup() 145 private static native int readHeader_native(Header h, FileDescriptor fd); in readHeader_native() 146 private static native int skipChunk_native(FileDescriptor fd, int bytesToSkip); in skipChunk_native() 148 private static native int allocateHeader_native(Header h, FileDescriptor fd); in allocateHeader_native() 149 private static native int writeHeader_native(Header h, FileDescriptor fd, int pos); in writeHeader_native()
|
/frameworks/base/cmds/locksettings/src/com/android/commands/locksettings/ |
D | LockSettingsCmd.java | 26 import java.io.FileDescriptor; 74 lockSettings.asBinder().shellCommand(FileDescriptor.in, FileDescriptor.out, in onRun() 75 FileDescriptor.err, getRawArgs(), new ShellCallback(), new ResultReceiver(null) {}); in onRun()
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | PriorityDump.java | 21 import java.io.FileDescriptor; 139 public static void dump(PriorityDumper dumper, FileDescriptor fd, PrintWriter pw, in dump() 220 default void dumpCritical(FileDescriptor fd, PrintWriter pw, String[] args, in dumpCritical() 228 default void dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dumpHigh() 235 default void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dumpNormal() 247 default void dump(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dump()
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiInputPort.java | 28 import java.io.FileDescriptor; 41 private FileDescriptor mFileDescriptor; 51 FileDescriptor fd, int portNumber) { in MidiInputPort() 62 /* package */ MidiInputPort(FileDescriptor fd, int portNumber) { in MidiInputPort() 105 /* package */ FileDescriptor claimFileDescriptor() { in claimFileDescriptor() 107 FileDescriptor fd; in claimFileDescriptor()
|
D | MidiDeviceServer.java | 35 import java.io.FileDescriptor; 172 private static FileDescriptor[] createSeqPacketSocketPair() throws IOException { in createSeqPacketSocketPair() 174 final FileDescriptor fd0 = new FileDescriptor(); in createSeqPacketSocketPair() 175 final FileDescriptor fd1 = new FileDescriptor(); in createSeqPacketSocketPair() 177 return new FileDescriptor[] { fd0, fd1 }; in createSeqPacketSocketPair() 187 public FileDescriptor openInputPort(IBinder token, int portNumber) { 206 FileDescriptor[] pair = createSeqPacketSocketPair(); 225 public FileDescriptor openOutputPort(IBinder token, int portNumber) { 238 FileDescriptor[] pair = createSeqPacketSocketPair(); 295 public int connectPorts(IBinder token, FileDescriptor fd,
|
D | IMidiDeviceServer.aidl | 24 FileDescriptor openInputPort(IBinder token, int portNumber); in openInputPort() 25 FileDescriptor openOutputPort(IBinder token, int portNumber); in openOutputPort() 31 int connectPorts(IBinder token, in FileDescriptor fd, int outputPortNumber); in connectPorts()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | TcpKeepaliveController.java | 51 import java.io.FileDescriptor; 104 private final SparseArray<FileDescriptor> mListeners = new SparseArray<>(); 111 public static TcpKeepalivePacketData getTcpKeepalivePacket(@NonNull FileDescriptor fd) in getTcpKeepalivePacket() 128 private static TcpKeepalivePacketDataParcelable switchToRepairMode(FileDescriptor fd) in switchToRepairMode() 230 private static void switchOutOfRepairMode(@NonNull final FileDescriptor fd) { in switchOutOfRepairMode() 246 public void startSocketMonitor(@NonNull final FileDescriptor fd, in startSocketMonitor() 283 final FileDescriptor fd; in stopSocketMonitor() 302 private static boolean isSocketIdle(FileDescriptor fd) throws ErrnoException { in isSocketIdle() 306 private static boolean isReceiveQueueEmpty(FileDescriptor fd) in isReceiveQueueEmpty() 317 private static boolean isSendQueueEmpty(FileDescriptor fd) in isSendQueueEmpty() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 33 import java.io.FileDescriptor; 51 FileDescriptor mOutFd; 59 void go(IInterface iface, FileDescriptor fd, String prefix, in go() 89 public static void dumpAsync(IBinder binder, FileDescriptor out, String[] args) in dumpAsync() 133 static void go(Caller caller, IInterface iface, FileDescriptor out, in go() 138 static void go(Caller caller, IInterface iface, FileDescriptor out, in go() 155 static void goDump(IBinder binder, FileDescriptor out, in goDump() 160 static void goDump(IBinder binder, FileDescriptor out, in goDump() 177 public void go(FileDescriptor out) throws IOException { in go() 181 public void go(FileDescriptor out, long timeout) throws IOException { in go()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/ |
D | ShadowBackupDataOutput.java | 21 import java.io.FileDescriptor; 47 public void __constructor__(FileDescriptor fd) {} in __constructor__() 49 public void __constructor__(FileDescriptor fd, long quota) {} in __constructor__() 51 public void __constructor__(FileDescriptor fd, long quota, int transportFlags) {} in __constructor__()
|
/frameworks/base/core/java/android/util/ |
D | LocalLog.java | 22 import java.io.FileDescriptor; 79 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() 100 public synchronized void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump() 117 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() 123 public void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/ |
D | DumpHandlerTest.kt | 31 import java.io.FileDescriptor 43 private lateinit var fd: FileDescriptor 84 any(FileDescriptor::class.java), in testDumpablesCanBeDumpedSelectively() 141 any(FileDescriptor::class.java), in testNormalDump() 145 any(FileDescriptor::class.java), in testNormalDump() 149 any(FileDescriptor::class.java), in testNormalDump()
|
/frameworks/base/core/java/android/content/res/ |
D | ApkAssets.java | 28 import java.io.FileDescriptor; 170 public static @NonNull ApkAssets loadFromFd(@NonNull FileDescriptor fd, in loadFromFd() 193 public static @NonNull ApkAssets loadFromFd(@NonNull FileDescriptor fd, in loadFromFd() 228 public static @NonNull ApkAssets loadTableFromFd(@NonNull FileDescriptor fd, in loadTableFromFd() 252 public static @NonNull ApkAssets loadTableFromFd(@NonNull FileDescriptor fd, in loadTableFromFd() 296 private ApkAssets(@FormatType int format, @NonNull FileDescriptor fd, in ApkAssets() 307 private ApkAssets(@FormatType int format, @NonNull FileDescriptor fd, in ApkAssets() 429 private static native long nativeLoadFd(@FormatType int format, @NonNull FileDescriptor fd, in nativeLoadFd() 433 @NonNull FileDescriptor fd, @NonNull String friendlyName, long offset, long length, in nativeLoadFdOffsets()
|