/frameworks/av/services/audioflinger/ |
H A D | AudioWatchdog.h | 38 void dump(int fd); // should only be called on a stable copy, not the original
|
H A D | AudioWatchdog.cpp | 25 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 D | BackupHelperDispatcher.java | 143 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 D | LocalLog.java | 50 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
|
/frameworks/base/core/jni/ |
H A D | android_util_Process.cpp | 206 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 D | Asset.h | 158 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 D | StreamingZipInflater.h | 33 // 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 D | utils.h | 59 // Dump the log to an fd (dumpsys style) 60 void dumpLog(int fd);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationProviderInterface.java | 43 public void dump(FileDescriptor fd, PrintWriter pw, String[] args); argument
|
/frameworks/native/include/utils/ |
H A D | FileMap.h | 55 * claim ownership of the fd. 59 bool create(const char* origFileName, int fd,
|
/frameworks/native/libs/utils/ |
H A D | FileMap.cpp | 87 * 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 D | Looper_test.cpp | 56 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 D | MPEG2TSWriter.h | 31 MPEG2TSWriter(int fd); 43 virtual status_t dump(int fd, const Vector<String16>& args);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.h | 42 virtual status_t setOutputFile(int fd, int64_t offset, 57 virtual status_t dump(int fd, const Vector<String16>& args) const;
|
H A D | StagefrightPlayer.h | 39 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 D | MidiFile.cpp | 64 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 D | IApplicationThread.java | 104 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 D | WallpaperManager.java | 272 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 D | BitmapFactory.java | 609 * @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 D | ObbFile_test.cpp | 48 int fd = ::open(mFileName, O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); local 49 if (fd < 0) {
|
/frameworks/ex/variablespeed/jni/ |
H A D | jni_entry.cc | 42 JNI_METHOD(playFileDescriptor, void) (JNIEnv*, jclass, int fd, jlong offset, 45 AudioEngine::GetEngine()->PlayFileDescriptor(fd, offset, length);
|
/frameworks/native/services/surfaceflinger/ |
H A D | MessageQueue.h | 87 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 D | ZslProcessor.cpp | 370 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 D | ContentResolver.java | 449 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 D | DrmManagerService.cpp | 128 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
|