/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 37 private FileDescriptor fd; field in class:LocalSocketImpl 53 return available_native(fd); 67 FileDescriptor myFd = fd; 85 FileDescriptor myFd = fd; 120 FileDescriptor myFd = fd; 134 FileDescriptor myFd = fd; 141 private native int available_native(FileDescriptor fd) throws IOException; argument 142 private native void close_native(FileDescriptor fd) throws IOException; argument 143 private native int read_native(FileDescriptor fd) throws IOException; argument 145 FileDescriptor fd) throw 144 readba_native(byte[] b, int off, int len, FileDescriptor fd) argument 146 writeba_native(byte[] b, int off, int len, FileDescriptor fd) argument 148 write_native(int b, FileDescriptor fd) argument 150 connectLocal(FileDescriptor fd, String name, int namespace) argument 152 bindLocal(FileDescriptor fd, String name, int namespace) argument 156 listen_native(FileDescriptor fd, int backlog) argument 158 shutdown(FileDescriptor fd, boolean shutdownInput) argument 159 getPeerCredentials_native( FileDescriptor fd) argument 161 getOption_native(FileDescriptor fd, int optID) argument 163 setOption_native(FileDescriptor fd, int optID, int b, int value) argument 176 accept(FileDescriptor fd, LocalSocketImpl s) argument 193 LocalSocketImpl(FileDescriptor fd) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerGlobal.java | 433 public void dumpGfxInfo(FileDescriptor fd) { argument 434 FileOutputStream fout = new FileOutputStream(fd);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteInit.java | 720 * @param fd non-null; file descriptor 724 static native void setCloseOnExec(FileDescriptor fd, boolean flag) argument 758 * Creates a file descriptor from an int fd. 760 * @param fd integer OS file descriptor 762 * @throws IOException if fd is invalid 764 static native FileDescriptor createFileDescriptor(int fd) argument
|
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 67 /* private native void connectLocal(FileDescriptor fd, 76 int fd; local 80 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); 87 fd, 102 /* private native void bindLocal(FileDescriptor fd, String name, namespace) 111 int fd; local 119 fd = jniGetFDFromFileDescriptor(env, fileDescriptor); 127 ret = socket_local_server_bind(fd, nameUtf8, namespaceId); 137 /* private native void listen_native(int fd, int backlog) throws IOException; */ 142 int fd; local 172 int fd; local 208 int fd; local 263 int fd; local 312 int fd; local 378 int fd; local 426 int fd; local 517 socket_read_all(JNIEnv *env, jobject thisJ, int fd, void *buffer, size_t len) argument 575 socket_write_all(JNIEnv *env, jobject object, int fd, void *buf, size_t len) argument 657 int fd; local 691 int fd; local 736 int fd; local 758 int fd; local 797 int fd; local [all...] |
H A D | android_net_TrafficStats.cpp | 66 int fd = open(filename, O_RDONLY); local 67 if (fd < 0) { 72 int len = read(fd, buf, sizeof(buf) - 1); 75 close(fd); 79 close(fd);
|
H A D | android_os_SELinux.cpp | 107 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local 114 if (getpeercon(fd, &context) == -1)
|
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 122 int fd = TEMP_FAILURE_RETRY(open(filePath, O_RDONLY)); local 123 if (fd < 0) { 131 while ((numBytes = TEMP_FAILURE_RETRY(read(fd, crcBuffer, sizeof(crcBuffer)))) > 0) { 134 close(fd); 223 int fd = mkstemp(localTmpFileName); local 224 if (fd < 0) { 229 if (!zipFile->uncompressEntry(zipEntry, fd)) { 231 close(fd); 236 close(fd);
|
/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 126 int fd; local 128 fd = open(fileName, O_RDONLY | O_BINARY); 129 if (fd < 0) 140 length = lseek64(fd, 0, SEEK_END); 142 ::close(fd); 145 (void) lseek64(fd, 0, SEEK_SET); 148 if (fstat(fd, &st) < 0) { 149 ::close(fd); 154 ::close(fd); 160 result = pAsset->openChunk(fileName, fd, 187 int fd; local 373 openChunk(const char* fileName, int fd, off64_t offset, size_t length) argument 698 openChunk(int fd, off64_t offset, int compressionMethod, size_t uncompressedLen, size_t compressedLen) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | BatteryService.java | 587 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | DeviceStorageMonitorService.java | 484 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | NativeDaemonConnector.java | 470 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 471 mLocalLog.dump(fd, pw, args); 473 mResponseQueue.dump(fd, pw, args); 585 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | UiModeManagerService.java | 583 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | BroadcastQueue.java | 965 final boolean dumpLocked(FileDescriptor fd, PrintWriter pw, String[] args, argument
|
/frameworks/base/services/jni/ |
H A D | com_android_server_BatteryService.cpp | 140 int fd = open(path, O_RDONLY, 0); local 141 if (fd == -1) { 146 ssize_t count = read(fd, buf, size); 155 close(fd);
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 553 int fd = open(file->getSourceFile().string(), O_RDONLY | O_BINARY); local 554 if (fd < 0) { 573 len = read(fd, buf, sizeof(buf)); 577 close(fd); 583 close(fd); 592 close(fd); variable
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 63 int fd; local 73 if ((fd = open(cmdpath, O_RDONLY)) < 0) { 76 read(fd, cmdline, sizeof(cmdline)); 77 close(fd); 88 int fd; local 93 if ((fd = open(path, O_RDONLY)) < 0) { 98 if (read(fd, buffer, sizeof(buffer)) < 0) { 106 close(fd); 147 int fd = open(path, O_RDONLY); local 148 if (fd < 289 int fd = accept(s, &addr, &alen); local 318 int fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); local 408 int fd = open(traces_path, O_CREAT | O_WRONLY | O_TRUNC | O_NOFOLLOW, 0666); /* -rw-rw-rw- */ local 458 int fd = open(path, O_RDONLY); local [all...] |
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 247 ALOGD("UNMAPPING binder=%p, heap=%p, size=%d, fd=%d", 301 ALOGE_IF(err, "binder=%p transaction failed fd=%d, size=%ld, err=%d (%s)", 304 int fd = dup( parcel_fd ); local 305 ALOGE_IF(fd==-1, "cannot dup fd=%d, size=%ld, err=%d (%s)", 316 mBase = mmap(0, size, access, MAP_SHARED, fd, offset); 318 ALOGE("cannot map BpMemoryHeap (binder=%p), size=%ld, fd=%d (%s)", 319 asBinder().get(), size, fd, strerror(errno)); 320 close(fd); 325 android_atomic_write(fd, [all...] |
/frameworks/native/libs/utils/ |
H A D | Looper.cpp | 53 int SimpleLooperCallback::handleEvent(int fd, int events, void* data) { argument 54 return mCallback(fd, events, data); 94 eventItem.data.fd = mWakeReadPipeFd; 164 int fd = response.request.fd; local 169 "fd=%d, events=0x%x, data=%p", 170 this, ident, fd, events, data); 172 if (outFd != NULL) *outFd = fd; 248 int fd = eventItems[i].data.fd; local 314 int fd = response.request.fd; local 396 addFd(int fd, int ident, int events, ALooper_callbackFunc callback, void* data) argument 400 addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) argument 458 removeFd(int fd) argument [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 191 status_t SensorService::dump(int fd, const Vector<String16>& args) argument 236 write(fd, result.string(), result.size());
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 247 int fd = hwc.getAndResetReleaseFenceFd(mType); local 248 mFramebufferSurface->setReleaseFenceFd(fd);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmCallTracker.java | 930 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 932 super.dump(fd, pw, args);
|
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 309 void RsdShader::logUniform(const Element *field, const float *fd, uint32_t arraySize ) { argument 318 ALOGV("{%f, %f, %f, %f", fd[0], fd[4], fd[8], fd[12]); 319 ALOGV(" %f, %f, %f, %f", fd[1], fd[5], fd[9], fd[13]); 320 ALOGV(" %f, %f, %f, %f", fd[ 355 setUniform(const Context *rsc, const Element *field, const float *fd, int32_t slot, uint32_t arraySize ) argument 535 const float *fd = reinterpret_cast<const float *>(&data[offset]); local [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | LoaderManager.java | 165 * @param fd The raw file descriptor that the dump is being sent to. 169 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); argument 450 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 456 mLoader.dump(prefix + " ", fd, writer, args); 472 mPendingLoader.dump(prefix + " ", fd, writer, args); 799 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 807 li.dump(innerPrefix, fd, writer, args); 817 li.dump(innerPrefix, fd, writer, args);
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 306 SLint32 fd; member in struct:SLDataLocator_AndroidFD_
|
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.cpp | 202 // As FileSource unconditionally takes ownership of the fd and closes it, then 204 int fd = mDataLocator.fdi.fd; local 208 fd = ::dup(fd); 210 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length);
|