Searched refs:fd (Results 126 - 150 of 486) sorted by relevance

1234567891011>>

/frameworks/av/services/audioflinger/
H A DAudioWatchdog.h38 void dump(int fd); // should only be called on a stable copy, not the original
H A DAudioWatchdog.cpp25 void AudioWatchdogDump::dump(int fd) argument
34 fdprintf(fd, "Watchdog: underruns=%u, logs=%u, most recent underrun log at %s",
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java143 private static native int readHeader_native(Header h, FileDescriptor fd); argument
144 private static native int skipChunk_native(FileDescriptor fd, int bytesToSkip); argument
146 private static native int allocateHeader_native(Header h, FileDescriptor fd); argument
147 private static native int writeHeader_native(Header h, FileDescriptor fd, int pos); argument
/frameworks/base/core/java/android/util/
H A DLocalLog.java50 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp206 int fd; local
211 fd = open(proc_path, O_RDONLY);
212 if (fd >= 0) {
213 int rc = read(fd, cmdline, sizeof(cmdline)-1);
215 close(fd);
359 int fd = open(text, O_WRONLY); local
360 if (fd >= 0) {
362 write(fd, text, strlen(text));
363 close(fd);
407 int fd local
520 int fd = open(file.string(), O_RDONLY); local
805 int fd = open(file8, O_RDONLY); local
940 int fd = open(path, O_RDONLY); local
[all...]
/frameworks/base/include/androidfw/
H A DAsset.h158 static Asset* createFromFileSegment(int fd, off64_t offset, size_t length,
162 * Create from compressed data. "fd" should be seeked to the start of
171 static Asset* createFromCompressedData(int fd, off64_t offset,
224 * On success, the object takes ownership of "fd".
226 status_t openChunk(const char* fileName, int fd, off64_t offset, size_t length);
279 * On success, the object takes ownership of "fd".
281 status_t openChunk(int fd, off64_t offset, int compressionMethod,
287 * On success, the object takes ownership of "fd".
H A DStreamingZipInflater.h33 // Flavor that pages in the compressed data from a fd
34 StreamingZipInflater(int fd, off64_t compDataStart, size_t uncompSize, size_t compSize);
/frameworks/base/services/common_time/
H A Dutils.h59 // Dump the log to an fd (dumpsys style)
60 void dumpLog(int fd);
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java43 public void dump(FileDescriptor fd, PrintWriter pw, String[] args); argument
/frameworks/native/include/utils/
H A DFileMap.h55 * claim ownership of the fd.
59 bool create(const char* origFileName, int fd,
/frameworks/native/libs/utils/
H A DFileMap.cpp87 * claim ownership of the fd.
91 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length, argument
108 mFileHandle = (HANDLE) _get_osfhandle(fd);
141 assert(fd >= 0);
169 ptr = mmap(NULL, adjLength, prot, flags, fd, adjOffset);
/frameworks/native/libs/utils/tests/
H A DLooper_test.cpp56 void setCallback(const sp<Looper>& looper, int fd, int events) { argument
57 looper->addFd(fd, 0, events, staticHandler, this);
63 virtual int handler(int fd, int events) = 0;
66 static int staticHandler(int fd, int events, void* data) { argument
67 return static_cast<CallbackHandler*>(data)->handler(fd, events);
76 int fd; member in class:android::StubCallbackHandler
80 callbackCount(0), fd(-1), events(-1) {
84 virtual int handler(int fd, int events) { argument
86 this->fd = fd;
345 int fd; local
[all...]
/frameworks/av/include/media/stagefright/
H A DMPEG2TSWriter.h31 MPEG2TSWriter(int fd);
43 virtual status_t dump(int fd, const Vector<String16>& args);
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.h42 virtual status_t setOutputFile(int fd, int64_t offset,
57 virtual status_t dump(int fd, const Vector<String16>& args) const;
H A DStagefrightPlayer.h39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
65 virtual status_t dump(int fd, const Vector<String16> &args) const;
H A DMidiFile.cpp64 mFileLocator.fd = -1;
128 mFileLocator.fd = -1;
147 status_t MidiFile::setDataSource(int fd, int64_t offset, int64_t length) argument
149 ALOGV("MidiFile::setDataSource fd=%d", fd);
158 mFileLocator.fd = dup(fd);
394 if (mFileLocator.fd >= 0) {
395 close(mFileLocator.fd);
397 mFileLocator.fd
[all...]
/frameworks/base/core/java/android/app/
H A DIApplicationThread.java104 void dumpService(FileDescriptor fd, IBinder servicetoken, String[] args) argument
106 void dumpProvider(FileDescriptor fd, IBinder servicetoken, String[] args) argument
113 void profilerControl(boolean start, String path, ParcelFileDescriptor fd, int profileType) argument
115 void dumpHeap(boolean managed, String path, ParcelFileDescriptor fd) argument
123 void dumpActivity(FileDescriptor fd, IBinder servicetoken, String prefix, String[] args) argument
128 Debug.MemoryInfo dumpMemInfo(FileDescriptor fd, boolean checkin, boolean all, argument
130 void dumpGfxInfo(FileDescriptor fd, String[] args) throws RemoteException; argument
131 void dumpDbInfo(FileDescriptor fd, String[] args) throws RemoteException; argument
H A DWallpaperManager.java272 ParcelFileDescriptor fd = mService.getWallpaper(this, params);
273 if (fd != null) {
280 fd.getFileDescriptor(), null, options);
286 fd.close();
489 ParcelFileDescriptor fd = sGlobals.mService.setWallpaper(
491 if (fd != null) {
494 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd);
526 ParcelFileDescriptor fd = sGlobals.mService.setWallpaper(null);
527 if (fd == null) {
532 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd);
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java609 * @param fd The file descriptor containing the bitmap data to decode
618 public static Bitmap decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) { argument
619 if (nativeIsSeekable(fd)) {
620 Bitmap bm = nativeDecodeFileDescriptor(fd, outPadding, opts);
626 FileInputStream fis = new FileInputStream(fd);
642 * @param fd The file descriptor containing the bitmap data to decode
645 public static Bitmap decodeFileDescriptor(FileDescriptor fd) { argument
646 return decodeFileDescriptor(fd, null, null);
653 private static native Bitmap nativeDecodeFileDescriptor(FileDescriptor fd, argument
661 private static native boolean nativeIsSeekable(FileDescriptor fd); argument
[all...]
/frameworks/base/libs/androidfw/tests/
H A DObbFile_test.cpp48 int fd = ::open(mFileName, O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); local
49 if (fd < 0) {
/frameworks/ex/variablespeed/jni/
H A Djni_entry.cc42 JNI_METHOD(playFileDescriptor, void) (JNIEnv*, jclass, int fd, jlong offset,
45 AudioEngine::GetEngine()->PlayFileDescriptor(fd, offset, length);
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.h87 static int cb_eventReceiver(int fd, int events, void* data);
88 int eventReceiver(int fd, int events);
/frameworks/av/services/camera/libcameraservice/camera2/
H A DZslProcessor.cpp370 void ZslProcessor::dump(int fd, const Vector<String16>& args) const { argument
374 write(fd, result.string(), result.size());
375 mLatestCapturedRequest.dump(fd, 2, 6);
378 write(fd, result.string(), result.size());
380 dumpZslQueue(fd);
505 void ZslProcessor::dumpZslQueue(int fd) const {
509 if (fd != -1) {
511 write(fd, header.string(), header.size());
529 if (fd != -1) {
531 write(fd, resul
[all...]
/frameworks/base/core/java/android/content/
H A DContentResolver.java449 AssetFileDescriptor fd = openAssetFileDescriptor(uri, "r");
451 return fd != null ? fd.createInputStream() : null;
489 AssetFileDescriptor fd = openAssetFileDescriptor(uri, mode);
491 return fd != null ? fd.createOutputStream() : null;
621 AssetFileDescriptor fd = null;
625 fd = unstableProvider.openAssetFile(uri, mode);
626 if (fd == null) {
639 fd
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp128 String8 DrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
130 return mDrmManager->getOriginalMimeType(uniqueId, path, fd);
203 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
206 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime);
277 status_t DrmManagerService::dump(int fd, const Vector<String16>& args) argument
297 dumpMemoryAddresses(fd);
301 write(fd, result.string(), result.size());
202 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument

Completed in 581 milliseconds

1234567891011>>