/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbHostManager.java | 286 public void dump(FileDescriptor fd, PrintWriter pw) { argument 293 mUsbAudioManager.dump(fd, pw);
|
H A D | UsbService.java | 297 public void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument 303 mDeviceManager.dump(fd, pw); 306 mHostManager.dump(fd, pw); 315 settings.dump(fd, pw);
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 272 public void dumpLocked(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 142 int fd; member in class:TouchEvents::EventThread 148 read(fd, &event, sizeof(event)); 170 fd = open("/dev/input/event1", O_RDONLY); 224 int fd = open("/dev/graphics/fb0", O_RDWR); local 225 ioctl(fd, FBIOGET_VSCREENINFO, &vi); 226 ioctl(fd, FBIOGET_FSCREENINFO, &fi); 227 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 260 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); 292 close(fd);
|
/frameworks/native/libs/binder/ |
H A D | Binder.cpp | 133 status_t BBinder::dump(int /*fd*/, const Vector<String16>& /*args*/) 205 int fd = data.readFileDescriptor(); local 211 return dump(fd, args);
|
H A D | BpBinder.cpp | 145 status_t BpBinder::dump(int fd, const Vector<String16>& args) argument 149 send.writeFileDescriptor(fd);
|
H A D | ProcessState.cpp | 310 int fd = open("/dev/binder", O_RDWR); local 311 if (fd >= 0) { 312 fcntl(fd, F_SETFD, FD_CLOEXEC); 314 status_t result = ioctl(fd, BINDER_VERSION, &vers); 317 close(fd); 318 fd = -1; 322 close(fd); 323 fd = -1; 326 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads); 333 return fd; [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.cpp | 225 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); local 226 if (fd == -1) { 236 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); 238 if (fd == -1) { 251 close(fd); 261 close(fd); 271 if (write(fd, buf, fileSize) == -1) { 275 close(fd); 281 fchmod(fd, S_IRUSR); 282 close(fd); 290 int fd = open(mFilename.string(), O_RDONLY, 0); local [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | DecodeTask.java | 121 ParcelFileDescriptor fd = null; 126 Trace.beginSection("create fd"); 127 fd = mFactory.createFileDescriptor(); 154 if (fd != null) { 155 byteSize = fd.getStatSize(); 164 if (fd != null) { 167 Trace.beginSection("create orientation fd and stream"); 173 if (fd != null) { 200 if (fd == null) { 212 if (fd ! 485 decode(ParcelFileDescriptor fd, InputStream in) argument [all...] |
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetNetworkFactory.java | 455 synchronized void dump(FileDescriptor fd, IndentingPrintWriter pw, String[] args) { argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | SupplicantStateTracker.java | 408 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 409 super.dump(fd, pw, args);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneFactory.java | 409 public static void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 419 phoneBase.dump(fd, pw, args); 429 ((IccCardProxy)phoneProxy.getIccCard()).dump(fd, pw, args); 438 DctController.getInstance().dump(fd, pw, args); 444 mUiccController.dump(fd, pw, args); 452 SubscriptionController.getInstance().dump(fd, pw, args);
|
H A D | PhoneSubInfo.java | 326 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
H A D | PhoneSubInfoProxy.java | 277 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 278 mPhoneSubInfo.dump(fd, pw, args);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 461 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 463 super.dump(fd, pw, args);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcController.java | 434 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 435 super.dump(fd, pw, args);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccController.java | 345 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 362 mUiccCards[i].dump(fd, pw, args);
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | Loader.java | 388 * @param fd The raw file descriptor that the dump is being sent to. 392 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 164 XAint32 fd; member in struct:XADataLocator_AndroidFD_
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEqFdPath.cpp | 124 int fd = open(path, O_RDONLY); local 125 if (fd == -1) { 128 locatorFd.fd = (SLint32) fd; 272 close(fd);
|
H A D | slesTestEqOutputPath.cpp | 131 int fd = open(path, O_RDONLY); local 132 if (fd == -1) { 135 locatorFd.fd = (SLint32) fd; 276 close(fd);
|
H A D | slesTestSendToPresetReverb.cpp | 178 int fd = open(path, O_RDONLY); local 179 if (fd == -1) { 183 locatorFd.fd = (SLint32) fd; 188 fprintf(stderr, "option --fd is not supported\n"); 322 close(locatorFd.fd); 352 } else if (!strcmp(arg, "--fd")) { 362 fprintf(stdout, "Usage: \t%s [--always-on] [--fd] [--loop] path preset directLevel "
|
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 385 void CameraMetadata::dump(int fd, int verbosity, int indentation) const { argument 386 dump_indented_camera_metadata(mBuffer, fd, verbosity, indentation);
|
/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 47 // Object assumes ownership of fd. 48 MyStreamSource(int fd); 69 MyStreamSource::MyStreamSource(int fd) argument 70 : mFd(fd), 73 CHECK_GE(fd, 0); 75 mFileSize = lseek64(fd, 0, SEEK_END); 76 lseek64(fd, 0, SEEK_SET); 362 int fd = open(argv[1], O_RDONLY); local 364 if (fd < 0) { 369 source = new MyStreamSource(fd); [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManagerService.cpp | 134 String8 DrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 136 return mDrmManager->getOriginalMimeType(uniqueId, path, fd); 209 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 212 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime); 283 status_t DrmManagerService::dump(int fd, const Vector<String16>& args) argument 303 dumpMemoryAddresses(fd); 307 write(fd, result.string(), result.size()); 208 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|