Searched refs:fd (Results 176 - 200 of 1163) sorted by relevance

1234567891011>>

/frameworks/native/libs/binder/
H A DIActivityManager.cpp42 int fd = -1; local
46 // Success is indicated here by a nonzero int followed by the fd;
49 fd = fcntl(reply.readParcelFileDescriptor(), F_DUPFD_CLOEXEC, 0);
57 return fd;
/frameworks/av/include/media/
H A DEffectsFactoryApi.h182 int EffectDumpEffects(int fd);
H A DMidiIoWrapper.h29 explicit MidiIoWrapper(int fd, off64_t offset, int64_t size);
H A DOMXFenceParcelable.h79 int fd = ::dup(parcel->readFileDescriptor()); local
80 if (fd < 0) {
81 return fd;
83 mFenceFd = fd;
/frameworks/av/include/media/stagefright/
H A DDataSourceFactory.h40 static sp<DataSource> CreateFromFd(int fd, int64_t offset, int64_t length);
/frameworks/av/include/media/stagefright/foundation/
H A DALooperRoster.h36 void dump(int fd, const Vector<String16>& args);
/frameworks/av/media/libeffects/factory/include/media/
H A DEffectsFactoryApi.h182 int EffectDumpEffects(int fd);
/frameworks/av/media/libmedia/include/media/
H A DMidiIoWrapper.h29 explicit MidiIoWrapper(int fd, off64_t offset, int64_t size);
H A DOMXFenceParcelable.h79 int fd = ::dup(parcel->readFileDescriptor()); local
80 if (fd < 0) {
81 return fd;
83 mFenceFd = fd;
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DALooperRoster.h36 void dump(int fd, const Vector<String16>& args);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DDataSourceFactory.h40 static sp<DataSource> CreateFromFd(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DALooperRoster.h36 void dump(int fd, const Vector<String16>& args);
/frameworks/av/media/ndk/include/media/
H A DNdkMediaMuxer.h53 AMediaMuxer* AMediaMuxer_new(int fd, OutputFormat format);
/frameworks/av/services/audioflinger/
H A DStateQueue.cpp29 void StateQueueObserverDump::dump(int fd) argument
31 dprintf(fd, "State queue observer: stateChanges=%u\n", mStateChanges);
34 void StateQueueMutatorDump::dump(int fd) argument
36 dprintf(fd, "State queue mutator: pushDirty=%u pushAck=%u blockedSequence=%u\n",
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioCollections.h41 status_t dump(int fd, int spaces) const;
/frameworks/av/services/camera/libcameraservice/utils/
H A DLatencyHistogram.h35 void dump(int fd, const char* name) const;
/frameworks/base/cmds/bootanimation/iot/
H A DBootParameters.cpp60 int fd = open(kNextBootFile, O_CREAT, DEFFILEMODE); local
61 if (fd == -1) {
66 if (fchmod(fd, DEFFILEMODE))
68 close(fd);
/frameworks/base/core/java/android/os/
H A DRevocableFileDescriptor.java70 public RevocableFileDescriptor(Context context, FileDescriptor fd) throws IOException { argument
71 init(context, fd);
75 public void init(Context context, FileDescriptor fd) throws IOException { argument
76 mInner = fd;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfUtils.h27 jlong nativeOpen(JNIEnv* env, jclass thiz, jint fd, jlong size);
/frameworks/base/core/jni/
H A Dandroid_ddm_DdmHandleNativeHeap.cpp57 int fd = open(path, O_RDONLY); local
58 if (fd != -1) {
61 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) {
64 close(fd);
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java109 public void dump(FileDescriptor fd, String[] args) { argument
110 PrintWriter pw = new FastPrintWriter(new FileOutputStream(fd));
111 onDump(fd, pw, args);
172 public void onDump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/media/java/android/media/midi/
H A DMidiOutputPort.java95 FileDescriptor fd, int portNumber) {
99 mInputStream = new ParcelFileDescriptor.AutoCloseInputStream(new ParcelFileDescriptor(fd));
104 /* package */ MidiOutputPort(FileDescriptor fd, int portNumber) { argument
105 this(null, null, fd, portNumber);
94 MidiOutputPort(IMidiDeviceServer server, IBinder token, FileDescriptor fd, int portNumber) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBatteryController.java31 void dump(FileDescriptor fd, PrintWriter pw, String[] args); argument
/frameworks/base/services/backup/java/com/android/server/backup/params/
H A DAdbBackupParams.java36 fd = output;
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationProviderInterface.java41 public void dump(FileDescriptor fd, PrintWriter pw, String[] args); argument

Completed in 266 milliseconds

1234567891011>>