Searched refs:fd (Results 101 - 125 of 1007) sorted by relevance

1234567891011>>

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioRoute.cpp27 void AudioRoute::dump(int fd, int spaces) const argument
49 write(fd, result.string(), result.size());
H A DIOProfile.cpp103 void IOProfile::dump(int fd) argument
109 AudioPort::dump(fd, 4);
123 write(fd, result.string(), result.size());
124 mSupportedDevices.dump(fd, String8("Supported"), 4, false);
/frameworks/av/services/mediaextractor/
H A DMediaExtractorService.h38 virtual sp<IDataSource> makeIDataSource(int fd, int64_t offset, int64_t length);
40 virtual status_t dump(int fd, const Vector<String16>& args);
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHealthCallback.aidl31 ParcelFileDescriptor fd, int id);
/frameworks/base/core/java/android/net/
H A DLocalServerSocket.java59 * @param fd bound file descriptor
62 public LocalServerSocket(FileDescriptor fd) throws IOException argument
64 impl = new LocalSocketImpl(fd);
98 * @return fd or null
/frameworks/base/core/java/android/os/
H A DIBinder.java200 * @param fd The raw file descriptor that the dump is being sent to.
203 public void dump(FileDescriptor fd, String[] args) throws RemoteException; argument
210 * @param fd The raw file descriptor that the dump is being sent to.
213 public void dumpAsync(FileDescriptor fd, String[] args) throws RemoteException; argument
/frameworks/base/media/java/android/media/midi/
H A DIMidiDeviceServer.aidl31 int connectPorts(IBinder token, in FileDescriptor fd, int outputPortNumber);
/frameworks/base/services/core/java/com/android/server/wm/
H A DRemoteEventTrace.java37 RemoteEventTrace(WindowManagerService service, FileDescriptor fd) { argument
39 mOut = new DataOutputStream(new FileOutputStream(fd, false));
/frameworks/native/libs/binder/tests/
H A DbinderTextOutputTest.cpp35 ASSERT_EQ(0, lseek(cap.fd(), 0, SEEK_SET));
36 android::base::ReadFdToString(cap.fd(), &output);
64 ASSERT_EQ(0, lseek(cap.fd(), 0, SEEK_SET));
65 android::base::ReadFdToString(cap.fd(), &output);
73 ASSERT_EQ(0, lseek(cap.fd(), 0, SEEK_SET));
74 android::base::ReadFdToString(cap.fd(), &output);
82 ASSERT_EQ(0, lseek(cap.fd(), 0, SEEK_SET));
83 android::base::ReadFdToString(cap.fd(), &output);
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Depoll_file_descriptor.h21 explicit EpollFileDescriptor(int fd) : fd_(fd) {} argument
27 ALOGW("epoll fd has already been created.");
/frameworks/native/libs/vr/libvrflinger/
H A Depoll_event_dispatcher.cpp16 ALOGE("Failed to create epoll fd: %s", strerror(errno));
28 // identify events from the event fd.
45 pdx::Status<void> EpollEventDispatcher::AddEventHandler(int fd, int event_mask, argument
51 event.data.ptr = &(handlers_[fd] = handler);
55 "EpollEventDispatcher::AddEventHandler: fd=%d event_mask=0x%x handler=%p",
56 fd, event_mask, event.data.ptr);
58 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, fd, &event) < 0) {
60 ALOGE("Failed to add fd to epoll set because: %s", strerror(error));
67 pdx::Status<void> EpollEventDispatcher::RemoveEventHandler(int fd) { argument
68 ALOGD_IF(TRACE, "EpollEventDispatcher::RemoveEventHandler: fd
[all...]
H A Depoll_event_dispatcher.h29 // |handler| is called on the internal dispatch thread when |fd| is signaled
31 pdx::Status<void> AddEventHandler(int fd, int event_mask, Handler handler);
32 pdx::Status<void> RemoveEventHandler(int fd);
/frameworks/av/include/media/stagefright/
H A DStagefrightMediaScanner.h33 virtual MediaAlbumArt *extractAlbumArt(int fd);
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp43 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { argument
44 ALOGV("MidiIoWrapper(fd=%d)", fd);
45 mFd = fd < 0 ? -1 : dup(fd);
/frameworks/av/media/libstagefright/foundation/include/
H A DStagefrightMediaScanner.h33 virtual MediaAlbumArt *extractAlbumArt(int fd);
/frameworks/av/media/libstagefright/include/
H A DStagefrightMediaScanner.h33 virtual MediaAlbumArt *extractAlbumArt(int fd);
/frameworks/av/services/camera/libcameraservice/utils/
H A DCameraTraces.h45 static status_t dump(int fd, const Vector<String16>& args);
/frameworks/av/services/oboeservice/
H A DSharedMemoryProxy.h37 aaudio_result_t open(int fd, int32_t capacityInBytes);
/frameworks/base/core/java/android/hardware/
H A DSensorDirectChannel.java203 int fd;
205 fd = ashmem.getFileDescriptor().getInt$();
207 fd = -1;
209 return new long[] { 1 /*numFds*/, 0 /*numInts*/, fd };
/frameworks/base/libs/androidfw/include/androidfw/
H A DObbFile.h40 bool readFrom(int fd);
42 bool writeTo(int fd);
44 bool removeFrom(int fd);
134 bool parseObbFile(int fd);
/frameworks/base/libs/hwui/
H A DJankTracker.cpp184 ALOGW("Failed to get ashmem region size from fd %d, err %d %s", ashmemfd, err, strerror(err));
197 ALOGW("Failed to move profile data to ashmem fd %d, error = %d",
308 void JankTracker::dumpData(int fd, const ProfileDataDescription* description, const ProfileData* data) {
314 dprintf(fd, "\nPackage: %s", description->name.c_str());
317 dprintf(fd, "\nWindow: %s", description->name.c_str());
322 dprintf(fd, "\nNote: Data has been filtered!");
324 dprintf(fd, "\nStats since: %" PRIu64 "ns", data->statStartTime);
325 dprintf(fd, "\nTotal frames rendered: %u", data->totalFrameCount);
326 dprintf(fd, "\nJanky frames: %u (%.2f%%)", data->jankFrameCount,
328 dprintf(fd, "\n50t
[all...]
/frameworks/base/native/android/
H A Dlooper.cpp78 int ALooper_addFd(ALooper* looper, int fd, int ident, int events, argument
80 return ALooper_to_Looper(looper)->addFd(fd, ident, events, callback, data);
83 int ALooper_removeFd(ALooper* looper, int fd) { argument
84 return ALooper_to_Looper(looper)->removeFd(fd);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeComponent.java30 void dump(FileDescriptor fd, PrintWriter pw, String[] args); argument
/frameworks/native/cmds/dumpstate/
H A DDumpstateInternal.h52 int DumpFileFromFdToFd(const std::string& title, const std::string& path_string, int fd, int out_fd,
/frameworks/base/libs/androidfw/
H A DAsset.cpp139 int fd; local
141 fd = open(fileName, O_RDONLY | O_BINARY);
142 if (fd < 0)
153 length = lseek64(fd, 0, SEEK_END);
155 ::close(fd);
158 (void) lseek64(fd, 0, SEEK_SET);
161 if (fstat(fd, &st) < 0) {
162 ::close(fd);
167 ::close(fd);
173 result = pAsset->openChunk(fileName, fd,
200 int fd; local
424 openChunk(const char* fileName, int fd, off64_t offset, size_t length) argument
756 openChunk(int fd, off64_t offset, int compressionMethod, size_t uncompressedLen, size_t compressedLen) argument
[all...]

Completed in 443 milliseconds

1234567891011>>