Searched defs:fd (Results 201 - 225 of 466) sorted by relevance

1234567891011>>

/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java286 public void dump(FileDescriptor fd, PrintWriter pw) { argument
293 mUsbAudioManager.dump(fd, pw);
H A DUsbService.java297 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 DVoiceInteractionManagerServiceImpl.java272 public void dumpLocked(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp142 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 DBinder.cpp133 status_t BBinder::dump(int /*fd*/, const Vector<String16>& /*args*/)
205 int fd = data.readFileDescriptor(); local
211 return dump(fd, args);
H A DBpBinder.cpp145 status_t BpBinder::dump(int fd, const Vector<String16>& args) argument
149 send.writeFileDescriptor(fd);
H A DProcessState.cpp310 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 Degl_cache.cpp225 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 DDecodeTask.java121 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 DEthernetNetworkFactory.java455 synchronized void dump(FileDescriptor fd, IndentingPrintWriter pw, String[] args) { argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStateTracker.java408 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 DPhoneFactory.java409 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 DPhoneSubInfo.java326 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DPhoneSubInfoProxy.java277 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 DCDMALTEPhone.java461 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 DDcController.java434 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 DUiccController.java345 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 DLoader.java388 * @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 DOpenMAXAL_Android.h164 XAint32 fd; member in struct:XADataLocator_AndroidFD_
/frameworks/wilhelm/tests/examples/
H A DslesTestEqFdPath.cpp124 int fd = open(path, O_RDONLY); local
125 if (fd == -1) {
128 locatorFd.fd = (SLint32) fd;
272 close(fd);
H A DslesTestEqOutputPath.cpp131 int fd = open(path, O_RDONLY); local
132 if (fd == -1) {
135 locatorFd.fd = (SLint32) fd;
276 close(fd);
H A DslesTestSendToPresetReverb.cpp178 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 DCameraMetadata.cpp385 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 Dstream.cpp47 // 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 DDrmManagerService.cpp134 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

Completed in 2103 milliseconds

1234567891011>>