Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 754) sorted by relevance

12345678910>>...31

/frameworks/base/libs/androidfw/
DObbFile.cpp88 int fd; in readFrom() local
107 bool ObbFile::readFrom(int fd) in readFrom()
117 bool ObbFile::parseObbFile(int fd) in parseObbFile()
228 int fd; in writeTo() local
245 bool ObbFile::writeTo(int fd) in writeTo()
313 int fd; in removeFrom() local
330 bool ObbFile::removeFrom(int fd) in removeFrom()
/frameworks/base/services/core/java/com/android/server/utils/
DPriorityDump.java104 public static void dump(PriorityDumper dumper, FileDescriptor fd, PrintWriter pw, in dump()
147 default void dumpCritical(FileDescriptor fd, PrintWriter pw, String[] args) { in dumpCritical()
154 default void dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args) { in dumpHigh()
161 default void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args) { in dumpNormal()
173 default void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
/frameworks/base/core/jni/
Dandroid_hardware_SerialPort.cpp135 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); in android_hardware_SerialPort_open() local
163 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_close() local
171 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_read_array() local
193 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_read_direct() local
210 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_write_array() local
227 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_write_direct() local
242 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_send_break() local
Dandroid_util_MemoryIntArray.cpp39 int fd = ashmem_create_region(nameStr, ashmemSize); in android_util_MemoryIntArray_create() local
56 static jlong android_util_MemoryIntArray_open(JNIEnv* env, jobject clazz, jint fd, in android_util_MemoryIntArray_open()
114 static void android_util_MemoryIntArray_close(JNIEnv* env, jobject clazz, jint fd, in android_util_MemoryIntArray_close()
150 jint fd, jlong address, jint index) in android_util_MemoryIntArray_get()
172 jint fd, jlong address, jint index, jint newValue) in android_util_MemoryIntArray_set()
193 static jint android_util_MemoryIntArray_size(JNIEnv* env, jobject clazz, jint fd) { in android_util_MemoryIntArray_size()
Dfd_utils.cpp123 FileDescriptorInfo* FileDescriptorInfo::CreateFromFd(int fd) { in CreateFromFd()
268 FileDescriptorInfo::FileDescriptorInfo(int fd) : in FileDescriptorInfo()
279 int fd, int open_flags, int fd_flags, int fs_flags, in FileDescriptorInfo()
292 bool FileDescriptorInfo::GetSocketName(const int fd, std::string* result) { in GetSocketName()
365 const int fd = ParseFd(e, dir_fd); in Create() local
404 const int fd = ParseFd(e, dir_fd); in Restat() local
506 const int fd = (*it); in RestatInternal() local
525 const int fd = strtol(e->d_name, &end, 10); in ParseFd() local
Dandroid_net_LocalSocketImpl.cpp59 int fd; in socket_connect_local() local
92 int fd; in socket_bind_local() local
183 static ssize_t socket_read_all(JNIEnv *env, jobject thisJ, int fd, in socket_read_all()
238 static int socket_write_all(JNIEnv *env, jobject object, int fd, in socket_write_all()
320 int fd; in socket_read() local
354 int fd; in socket_readba() local
399 int fd; in socket_write() local
421 int fd; in socket_writeba() local
460 int fd; in socket_get_peer_credentials() local
Dandroid_util_FileObserver.cpp49 static void android_os_fileobserver_observe(JNIEnv* env, jobject object, jint fd) in android_os_fileobserver_observe()
101 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pat… in android_os_fileobserver_startWatching()
121 static void android_os_fileobserver_stopWatching(JNIEnv* env, jobject object, jint fd, jint wfd) in android_os_fileobserver_stopWatching()
/frameworks/native/libs/binder/
DMemoryHeapBase.cpp49 int fd = ashmem_create_region(name == NULL ? "MemoryHeapBase" : name, size); in MemoryHeapBase() local
68 int fd = open(device, open_flags); in MemoryHeapBase() local
79 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_t flags, uint32_t offset) in MemoryHeapBase()
88 status_t MemoryHeapBase::init(int fd, void *base, int size, int flags, const char* device) in init()
101 status_t MemoryHeapBase::mapfd(int fd, size_t size, uint32_t offset) in mapfd()
140 int fd = android_atomic_or(-1, &mFD); in dispose() local
/frameworks/base/core/java/android/view/textclassifier/
DSmartSelection.java40 SmartSelection(int fd) { in SmartSelection()
81 public static String getLanguage(int fd) { in getLanguage()
88 public static int getVersion(int fd) { in getVersion()
92 private static native long nativeNew(int fd); in nativeNew()
102 private static native String nativeGetLanguage(int fd); in nativeGetLanguage()
104 private static native int nativeGetVersion(int fd); in nativeGetVersion()
/frameworks/base/services/core/jni/
Dcom_android_server_PersistentDataBlockService.cpp35 uint64_t get_block_device_size(int fd) in get_block_device_size()
48 int wipe_block_device(int fd) in wipe_block_device()
82 int fd = open(path.c_str(), O_RDONLY); in com_android_server_PersistentDataBlockService_getBlockDeviceSize() local
96 int fd = open(path.c_str(), O_WRONLY); in com_android_server_PersistentDataBlockService_wipe() local
Dcom_android_server_UsbDeviceManager.cpp44 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) in set_accessory_string()
61 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAccessoryStrings() local
83 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_openAccessory() local
99 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_isStartRequested() local
111 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAudioMode() local
/frameworks/base/core/java/com/android/server/
DNetworkManagementSocketTagger.java71 public void tag(FileDescriptor fd) throws SocketException { in tag()
84 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { in tagSocketFd()
98 public void untag(FileDescriptor fd) throws SocketException { in untag()
105 private void unTagSocketFd(FileDescriptor fd) { in unTagSocketFd()
154 private static native int native_tagSocketFd(FileDescriptor fd, int tag, int uid); in native_tagSocketFd()
155 private static native int native_untagSocketFd(FileDescriptor fd); in native_untagSocketFd()
/frameworks/av/drm/common/
DReadWriteUtils.cpp41 int fd = fileno(file); in readBytes() local
63 int fd = fileno(file); in readBytes() local
83 int fd = fileno(file); in writeToFile() local
100 int fd = fileno(file); in appendToFile() local
/frameworks/base/core/java/android/util/
DLocalLog.java53 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
60 public synchronized void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
72 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
75 public void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
DMemoryIntArray.java228 private native long nativeOpen(int fd, boolean owner); in nativeOpen()
229 private native void nativeClose(int fd, long memoryAddr, boolean owner); in nativeClose()
230 private native int nativeGet(int fd, long memoryAddr, int index); in nativeGet()
231 private native void nativeSet(int fd, long memoryAddr, int index, int value); in nativeSet()
232 private native int nativeSize(int fd); in nativeSize()
/frameworks/native/cmds/lshal/
DPipeRelay.cpp39 PipeRelay::RelayThread::RelayThread(int fd, std::ostream &os) in RelayThread()
73 void PipeRelay::CloseFd(int *fd) { in CloseFd()
102 int PipeRelay::fd() const { in fd() function in android::lshal::PipeRelay
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java180 public ParcelFileDescriptor(FileDescriptor fd) { in ParcelFileDescriptor()
185 public ParcelFileDescriptor(FileDescriptor fd, FileDescriptor commChannel) { in ParcelFileDescriptor()
211 final FileDescriptor fd = openInternal(file, mode); in open() local
244 final FileDescriptor fd = openInternal(file, mode); in open() local
252 FileDescriptor fd, Handler handler, final OnCloseListener listener) throws IOException { in fromFd()
325 final FileDescriptor fd = Os.dup(orig); in dup() local
356 public static ParcelFileDescriptor fromFd(int fd) throws IOException { in fromFd()
378 public static ParcelFileDescriptor adoptFd(int fd) { in adoptFd()
398 FileDescriptor fd = socket.getFileDescriptor$(); in fromSocket() local
412 FileDescriptor fd = datagramSocket.getFileDescriptor$(); in fromDatagramSocket() local
[all …]
/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp() local
75 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() local
117 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() local
165 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() local
220 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() local
259 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() local
320 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() local
388 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() local
/frameworks/base/core/java/android/net/
DLocalSocketImpl.java44 private FileDescriptor fd; field in LocalSocketImpl
193 private native int read_native(FileDescriptor fd) throws IOException; in read_native()
195 FileDescriptor fd) throws IOException; in readba_native()
197 FileDescriptor fd) throws IOException; in writeba_native()
198 private native void write_native(int b, FileDescriptor fd) in write_native()
200 private native void connectLocal(FileDescriptor fd, String name, in connectLocal()
202 private native void bindLocal(FileDescriptor fd, String name, int namespace) in bindLocal()
205 FileDescriptor fd) throws IOException; in getPeerCredentials_native()
221 /*package*/ LocalSocketImpl(FileDescriptor fd) in LocalSocketImpl()
/frameworks/base/cmds/idmap/
Dcreate.cpp35 int fd = TEMP_FAILURE_RETRY(open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644)); in open_idmap() local
58 int write_idmap(int fd, const uint32_t *data, size_t size) in write_idmap()
172 int fd, bool check_if_stale) in create_and_write_idmap()
206 int fd = open_idmap(idmap_path); in idmap_create_path() local
219 int idmap_create_fd(const char *target_apk_path, const char *overlay_apk_path, int fd) in idmap_create_fd()
225 int idmap_verify_fd(const char *target_apk_path, const char *overlay_apk_path, int fd) in idmap_verify_fd()
/frameworks/base/native/android/
Dsharedmem.cpp54 size_t ASharedMemory_getSize(int fd) { in ASharedMemory_getSize()
58 int ASharedMemory_setProt(int fd, int prot) { in ASharedMemory_setProt()
72 int fd = env->CallIntMethod(javaSharedMemory, sSharedMemory.getFd); in ASharedMemory_dupFromJava() local
/frameworks/ml/nn/runtime/
DMemory.cpp49 int fd = mHandle->data[0]; in ~MemoryFd() local
57 int MemoryFd::set(size_t size, int prot, int fd, size_t offset) { in set()
98 int fd = mHandle->data[0]; in getPointer() local
/frameworks/native/libs/vr/libpdx/private/pdx/
Dfile_handle.h29 explicit FileHandle(int fd) : fd_(fd) {} in FileHandle()
53 static FileHandle AsDuplicate(const int fd) { in AsDuplicate()
74 void Reset(int fd) { in Reset()
/frameworks/base/core/java/com/android/internal/os/
DAppFuseMount.java32 final public ParcelFileDescriptor fd; field in AppFuseMount
39 public AppFuseMount(int mountPointId, ParcelFileDescriptor fd) { in AppFuseMount()
/frameworks/base/core/tests/utiltests/jni/
Dandroid_util_MemoryIntArrayTest.cpp39 int fd = ashmem_create_region(nameStr, ashmemSize); in android_util_MemoryIntArrayTest_createAshmem() local
55 __attribute__((unused)) jobject clazz, jint fd, jint size) in android_util_MemoryIntArrayTest_setAshmemSize()

12345678910>>...31