Searched refs:fd (Results 376 - 400 of 555) sorted by relevance

<<11121314151617181920>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneSubInfo.java226 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/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/src/android/
H A Dandroid_GenericPlayer.h67 void setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse = false);
/frameworks/av/camera/
H A DCameraParameters2.cpp363 status_t CameraParameters2::dump(int fd, const Vector<String16>& args) const
377 write(fd, result.string(), result.size());
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp167 String8 DrmPassthruPlugIn::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
238 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) {
237 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp244 status_t StagefrightRecorder::setOutputFile(int fd, int64_t offset, int64_t length) { argument
245 ALOGV("setOutputFile: %d, %lld, %lld", fd, offset, length);
250 if (fd < 0) {
251 ALOGE("Invalid file descriptor: %d", fd);
258 mOutputFd = dup(fd);
1734 int fd, const Vector<String16>& args) const {
1740 mWriter->dump(fd, args);
1746 snprintf(buffer, SIZE, " Output file (fd %d):\n", mOutputFd);
1796 ::write(fd, result.string(), result.size());
1733 dump( int fd, const Vector<String16>& args) const argument
/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h69 status_t setDataSource(int fd, int64_t offset, int64_t length);
105 status_t dump(int fd, const Vector<String16> &args) const;
/frameworks/av/services/audioflinger/
H A DEffects.h123 void dump(int fd, const Vector<String16>& args);
319 void dump(int fd, const Vector<String16>& args);
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h103 virtual status_t dump(int fd, const Vector<String16>& args);
147 virtual status_t dump(int fd, const Vector<String16>& args) = 0;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealth.java439 ParcelFileDescriptor fd, int channelId) {
440 mCallback.onHealthChannelStateChange(config, device, prevState, newState, fd,
437 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java215 protected void dump(FileDescriptor fd, PrintWriter fout, String[] args) { argument
231 fd, fout, args, latch));
/frameworks/base/media/jni/
H A Dandroid_media_MediaScanner.cpp349 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local
350 char* data = mp->extractAlbumArt(fd);
/frameworks/native/libs/binder/
H A DBpBinder.cpp145 status_t BpBinder::dump(int fd, const Vector<String16>& args) argument
149 send.writeFileDescriptor(fd);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcController.java360 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
361 super.dump(fd, pw, args);
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp831 int fd = open(filename, O_RDONLY | O_LARGEFILE); local
832 CHECK_GE(fd, 0);
834 off64_t fileSize = lseek64(fd, 0, SEEK_END);
837 CHECK_EQ(retriever->setDataSource(fd, 0, fileSize), (status_t)OK);
839 close(fd);
840 fd = -1;
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DStreamingProcessor.cpp844 status_t StreamingProcessor::dump(int fd, const Vector<String16>& /*args*/) { argument
850 write(fd, result.string(), result.size());
851 mPreviewRequest.dump(fd, 2, 6);
859 write(fd, result.string(), result.size());
860 mRecordingRequest.dump(fd, 2, 6);
873 write(fd, result.string(), result.size());
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp518 int fd = ashmem_create_region(NULL, length); local
519 if (fd < 0) {
524 void* ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
535 if (ashmem_set_prot_region(fd, PROT_READ) < 0) {
539 return fd;
543 close(fd);
/frameworks/native/libs/input/
H A DInputTransport.cpp98 InputChannel::InputChannel(const String8& name, int fd) : argument
99 mName(name), mFd(fd) {
101 ALOGD("Input channel constructed: name='%s', fd=%d",
102 mName.string(), fd);
112 ALOGD("Input channel destroyed: name='%s', fd=%d",
224 int fd = ::dup(getFd()); local
225 return fd >= 0 ? new InputChannel(getName(), fd) : NULL;
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp258 int fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_RDONLY)); local
259 if (fd == -1) {
266 ssize_t r = TEMP_FAILURE_RETRY(read(fd, buf + ResTable::IDMAP_HEADER_SIZE_BYTES - bytesLeft,
269 TEMP_FAILURE_RETRY(close(fd));
277 TEMP_FAILURE_RETRY(close(fd));
324 int fd = 0; local
358 fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_WRONLY | O_CREAT | O_TRUNC, 0644));
359 if (fd == -1) {
364 ssize_t written = TEMP_FAILURE_RETRY(write(fd, data + offset, size));
379 TEMP_FAILURE_RETRY(close(fd));
[all...]
/frameworks/base/services/java/com/android/server/wifi/
H A DWifiService.java1190 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
1204 mWifiController.dump(fd, pw, args);
1205 mSettingsStore.dump(fd, pw, args);
1206 mNotificationController.dump(fd, pw, args);
1207 mTrafficPoller.dump(fd, pw, args);
1233 mWifiWatchdogStateMachine.dump(fd, pw, args);
1235 mWifiStateMachine.dump(fd, pw, args);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp680 int fd = INVALID_OPERATION; local
684 fd = disp.framebufferTarget->releaseFenceFd;
689 return fd >= 0 ? new Fence(fd) : Fence::NO_FENCE;
867 int fd = getLayer()->releaseFenceFd;
869 return fd >= 0 ? new Fence(fd) : Fence::NO_FENCE;
/frameworks/av/media/libmedia/
H A DSoundPool.cpp212 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority) argument
214 ALOGV("load: fd=%d, offset=%lld, length=%lld, priority=%d",
215 fd, offset, length, priority);
217 sp<Sample> sample = new Sample(++mNextSampleID, fd, offset, length);
457 Sample::Sample(int sampleID, int fd, int64_t offset, int64_t length) argument
461 mFd = dup(fd);
464 ALOGV("create sampleID=%d, fd=%d, offset=%lld, length=%lld", mSampleID, mFd, mLength, mOffset);
481 ALOGV("Sample::destructor sampleID=%d, fd=%d", mSampleID, mFd);
/frameworks/base/tools/aidl/
H A Daidl.cpp1106 int fd = open( options.outputFileName.c_str(), local
1113 if (fd == -1) {
1123 if (len != write(fd, s.c_str(), len)) {
1126 close(fd);
1132 close(fd);
/frameworks/native/cmds/installd/
H A Dutils.c294 int fd, res; local
297 fd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
298 if (fd < 0) {
302 d = fdopendir(fd);
305 close(fd);
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp482 status_t CameraDeviceClient::dump(int fd, const Vector<String16>& args) { argument
491 mFrameProcessor->dump(fd, args);
493 return dumpDevice(fd, args);

Completed in 2593 milliseconds

<<11121314151617181920>>