/frameworks/av/services/medialog/ |
H A D | MediaLogService.cpp | 57 status_t MediaLogService::dump(int fd, const Vector<String16>& args __unused) argument 63 dprintf(fd, "Permission Denial: can't dump media.log from pid=%d, uid=%d\n", 76 if (fd >= 0) { 77 dprintf(fd, "\n%s:\n", namedReader.name()); 81 namedReader.reader()->dump(fd, 0 /*indent*/);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 90 read_snapshot_file(int fd, KeyedVector<String8,FileState>* snapshot) argument 96 amt = read(fd, &header, sizeof(header)); 111 amt = read(fd, &file, sizeof(FileState)); 123 amt = read(fd, filename, nameBufSize); 147 write_snapshot_file(int fd, const KeyedVector<String8,FileRec>& snapshot) argument 162 LOGP("write_snapshot_file fd=%d\n", fd); 167 amt = write(fd, &header, sizeof(header)); 179 amt = write(fd, &r.s, sizeof(FileState)); 186 amt = write(fd, nam 215 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, char const* realFilename) argument 300 int fd = open(realFilename, O_RDONLY); local 312 int fd = open(file, O_RDONLY); local 416 int fd = open(g.file.string(), O_RDONLY); local 543 int fd = open(filepath.string(), O_RDONLY); local 747 int fd; local 822 WriteSnapshot(int fd) argument 835 int fd; local 859 int fd; local [all...] |
H A D | Asset.cpp | 126 int fd; local 128 fd = open(fileName, O_RDONLY | O_BINARY); 129 if (fd < 0) 140 length = lseek64(fd, 0, SEEK_END); 142 ::close(fd); 145 (void) lseek64(fd, 0, SEEK_SET); 148 if (fstat(fd, &st) < 0) { 149 ::close(fd); 154 ::close(fd); 160 result = pAsset->openChunk(fileName, fd, 187 int fd; local 373 openChunk(const char* fileName, int fd, off64_t offset, size_t length) argument 698 openChunk(int fd, off64_t offset, int compressionMethod, size_t uncompressedLen, size_t compressedLen) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 51 * @param fd The underlying file descriptor. 57 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, argument 59 this(fd, startOffset, length, null); 65 * @param fd The underlying file descriptor. 73 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, argument 75 if (fd == null) { 76 throw new IllegalArgumentException("fd must not be null"); 82 mFd = fd; 204 public AutoCloseInputStream(AssetFileDescriptor fd) throws IOException { argument 205 super(fd 291 AutoCloseOutputStream(AssetFileDescriptor fd) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 309 void RsdShader::logUniform(const Element *field, const float *fd, uint32_t arraySize ) { argument 318 ALOGV("{%f, %f, %f, %f", fd[0], fd[4], fd[8], fd[12]); 319 ALOGV(" %f, %f, %f, %f", fd[1], fd[5], fd[9], fd[13]); 320 ALOGV(" %f, %f, %f, %f", fd[ 355 setUniform(const Context *rsc, const Element *field, const float *fd, int32_t slot, uint32_t arraySize ) argument 539 const float *fd = reinterpret_cast<const float *>(&data[offset]); local [all...] |
/frameworks/rs/cpu_ref/linkloader/ |
H A D | main.cpp | 34 int &fd, 38 void close_mmap_file(int fd, 56 int fd = -1; local 60 if (!open_mmap_file(filename, fd, image, image_size)) { 68 close_mmap_file(fd, image, image_size); 210 int &fd, 228 fd = open(filename, O_RDONLY); 229 if (fd < 0) { 236 mmap(0, size, PROT_READ, MAP_PRIVATE, fd, 0)); 240 close(fd); 209 open_mmap_file(char const *filename, int &fd, unsigned char const *&image, size_t &size) argument 247 close_mmap_file(int fd, unsigned char const *image, size_t size) argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpEventPacket.cpp | 43 int MtpEventPacket::write(int fd) { argument 51 int ret = ::ioctl(fd, MTP_SEND_EVENT, (unsigned long)&event);
|
H A D | MtpRequestPacket.cpp | 39 int MtpRequestPacket::read(int fd) { argument 40 int ret = ::read(fd, mBuffer, mBufferSize);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothHealthCallback.aidl | 31 ParcelFileDescriptor fd, int id);
|
/frameworks/base/core/java/android/net/ |
H A D | LocalServerSocket.java | 59 * @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 D | IBinder.java | 187 * @param fd The raw file descriptor that the dump is being sent to. 190 public void dump(FileDescriptor fd, String[] args) throws RemoteException; argument 197 * @param fd The raw file descriptor that the dump is being sent to. 200 public void dumpAsync(FileDescriptor fd, String[] args) throws RemoteException; argument
|
H A D | ParcelFileDescriptor.java | 168 public ParcelFileDescriptor(FileDescriptor fd) { argument 169 this(fd, null); 173 public ParcelFileDescriptor(FileDescriptor fd, FileDescriptor commChannel) { argument 174 if (fd == null) { 178 mFd = fd; 199 final FileDescriptor fd = openInternal(file, mode); 200 if (fd == null) return null; 202 return new ParcelFileDescriptor(fd); 232 final FileDescriptor fd = openInternal(file, mode); 233 if (fd 295 fromFd(int fd) argument 317 adoptFd(int fd) argument [all...] |
H A D | Binder.java | 281 ParcelFileDescriptor fd = data.readFileDescriptor(); 283 if (fd != null) { 285 dump(fd.getFileDescriptor(), args); 288 fd.close(); 309 public void dump(FileDescriptor fd, String[] args) { argument 310 FileOutputStream fout = new FileOutputStream(fd); 319 dump(fd, pw, args); 344 public void dumpAsync(final FileDescriptor fd, final String[] args) { argument 345 final FileOutputStream fout = new FileOutputStream(fd); 350 dump(fd, p 367 dump(FileDescriptor fd, PrintWriter fout, String[] args) argument 506 dump(FileDescriptor fd, String[] args) argument 520 dumpAsync(FileDescriptor fd, String[] args) argument [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | StagefrightMediaScanner.h | 33 virtual MediaAlbumArt *extractAlbumArt(int fd);
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | CameraTraces.h | 45 static status_t dump(int fd, const Vector<String16>& args);
|
/frameworks/base/cmds/idmap/ |
H A D | idmap.h | 24 int idmap_create_fd(const char *target_apk_path, const char *overlay_apk_path, int fd);
|
/frameworks/base/include/androidfw/ |
H A D | ObbFile.h | 40 bool readFrom(int fd); 42 bool writeTo(int fd); 44 bool removeFrom(int fd); 141 bool parseObbFile(int fd);
|
/frameworks/base/native/android/ |
H A D | looper.cpp | 78 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/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 60 status_t MetadataRetrieverClient::dump(int fd, const Vector<String16>& /*args*/) const argument 68 write(fd, result.string(), result.size()); 69 write(fd, "\n", 1); 138 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) argument 140 ALOGV("setDataSource fd=%d, offset=%lld, length=%lld", fd, offset, length); 143 int ret = fstat(fd, &sb); 145 ALOGE("fstat(%d) failed: %d, %s", fd, ret, strerror(errno)); 156 ::close(fd); 166 fd, [all...] |
H A D | MidiMetadataRetriever.cpp | 54 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument 56 ALOGV("setDataSource: fd(%d), offset(%lld), and length(%lld)", fd, offset, length); 62 return mMidiPlayer->setDataSource(fd, offset, length);;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3DummyStream.cpp | 64 void Camera3DummyStream::dump(int fd, const Vector<String16> &args) const { argument 68 write(fd, lines.string(), lines.size()); 70 Camera3IOStreamBase::dump(fd, args);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_SerialService.cpp | 41 int fd = open(pathStr, O_RDWR | O_NOCTTY); local 42 if (fd < 0) { 49 jobject fileDescriptor = jniCreateFileDescriptor(env, fd);
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | VariableSpeedNative.java | 47 int fd = descriptorField.getInt(fileDescriptor); 48 VariableSpeedNative.playFileDescriptor(fd, afd.getStartOffset(), afd.getLength()); 66 /*package*/ static native void playFileDescriptor(int fd, long offset, long length); argument
|
/frameworks/native/include/binder/ |
H A D | MemoryHeapBase.h | 42 * maps the memory referenced by fd. but DOESN'T take ownership 45 MemoryHeapBase(int fd, size_t size, uint32_t flags = 0, uint32_t offset = 0); 84 // init() takes ownership of fd 85 status_t init(int fd, void *base, int size, 89 status_t mapfd(int fd, size_t size, uint32_t offset = 0);
|
/frameworks/wilhelm/src/android/ |
H A D | android_LocAVPlayer.cpp | 70 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, 75 // Binder dups the fd for use by mediaserver, so if we own the fd then OK to close now 77 (void) ::close(mDataLocator.fdi.fd); 78 mDataLocator.fdi.fd = -1;
|