Searched refs:fd (Results 176 - 200 of 637) sorted by relevance

1234567891011>>

/frameworks/base/services/backup/java/com/android/server/backup/
H A DTrampoline.java224 public void fullBackup(ParcelFileDescriptor fd, boolean includeApks, boolean includeObbs, argument
230 svc.fullBackup(fd, includeApks, includeObbs, includeShared, doWidgets,
244 public void fullRestore(ParcelFileDescriptor fd) throws RemoteException { argument
247 svc.fullRestore(fd);
320 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
323 svc.dump(fd, pw, args);
/frameworks/av/drm/libdrmframework/include/
H A DNoOpDrmManagerClientImpl.h41 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
56 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h50 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd);
77 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length);
/frameworks/av/include/drm/
H A DDrmManagerClient.h66 * @param[in] fd File descriptor of the protected content to be decrypted
73 sp<DecryptHandle> openDecryptSession(int fd, off64_t offset, off64_t length, const char* mime);
282 * @param[in] fd the file descriptor of the protected content
286 String8 getOriginalMimeType(const String8& path, int fd);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.h38 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
64 virtual status_t dump(int fd, const Vector<String16> &args) const;
/frameworks/base/core/java/android/content/
H A DContentProviderNative.java239 ParcelFileDescriptor fd;
240 fd = openFile(callingPkg, url, mode, signal, callerToken);
242 if (fd != null) {
244 fd.writeToParcel(reply,
261 AssetFileDescriptor fd;
262 fd = openAssetFile(callingPkg, url, mode, signal);
264 if (fd != null) {
266 fd.writeToParcel(reply,
312 AssetFileDescriptor fd;
313 fd
[all...]
H A DContentResolver.java646 AssetFileDescriptor fd = openAssetFileDescriptor(uri, "r", null);
648 return fd != null ? fd.createInputStream() : null;
686 AssetFileDescriptor fd = openAssetFileDescriptor(uri, mode, null);
688 return fd != null ? fd.createOutputStream() : null;
928 AssetFileDescriptor fd = null;
939 fd = unstableProvider.openAssetFile(
941 if (fd == null) {
954 fd
[all...]
/frameworks/base/core/java/android/net/
H A DLocalSocket.java71 public LocalSocket(FileDescriptor fd) throws IOException { argument
72 this(new LocalSocketImpl(fd), SOCKET_UNKNOWN);
319 * @return fd or null
/frameworks/base/core/java/android/print/
H A DIPrintSpooler.aidl46 void writePrintJobData(in ParcelFileDescriptor fd, in PrintJobId printJobId);
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfEditor.cpp71 const int fd = reinterpret_cast<intptr_t>(param); local
72 const int readCount = pread(fd, outBuffer, size, position);
80 static jlong nativeOpen(JNIEnv* env, jclass thiz, jint fd, jlong size) { argument
85 loader.m_Param = reinterpret_cast<void*>(intptr_t(fd));
131 static bool writeAllBytes(const int fd, const void* buffer, const size_t byteCount) { argument
135 ssize_t writtenByteCount = write(fd, writeBuffer, remainingBytes);
160 static void nativeWrite(JNIEnv* env, jclass thiz, jlong documentPtr, jint fd) { argument
163 writer.dstFd = fd;
168 "cannot write to fd. Error:" + errno);
/frameworks/base/core/jni/
H A Dandroid_backup_FileBackupHelperBase.cpp102 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local
104 err = restore->WriteSnapshot(fd);
H A Dandroid_os_Debug.cpp600 int fd = open("/proc/meminfo", O_RDONLY); local
602 if (fd < 0) {
607 int len = read(fd, buffer, sizeof(buffer)-1);
608 close(fd);
675 fd = open("/sys/block/zram0/mem_used_total", O_RDONLY);
676 if (fd >= 0) {
677 len = read(fd, buffer, sizeof(buffer)-1);
678 close(fd);
899 jniThrowNullPointerException(env, "fd == null");
909 int fd local
946 int fd = open(fileName8.string(), O_CREAT | O_WRONLY | O_NOFOLLOW, 0666); /* -rw-rw-rw- */ local
[all...]
/frameworks/base/libs/common_time/
H A Dcommon_time_config_service.cpp34 status_t CommonTimeConfigService::dump(int fd, const Vector<String16>& args) { argument
35 return mTimeServer.dumpConfigInterface(fd, args);
/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.h98 ANDROID_API void dumpProfileInfo(int fd);
99 ANDROID_API static void outputLogBuffer(int fd);
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java121 public void onDump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
123 mEngine.dump(fd, pw, args);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSystemBars.java81 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
83 mStatusBar.dump(fd, pw, args);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java101 /*package*/ static Bitmap nativeDecodeFileDescriptor(FileDescriptor fd, argument
121 /*package*/ static boolean nativeIsSeekable(FileDescriptor fd) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneSubInfoProxy.java277 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
278 mPhoneSubInfo.dump(fd, pw, args);
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteConnection.java231 FileDescriptor fd = mSocket.getFileDescriptor();
233 if (fd != null) {
234 fdsToClose[0] = fd.getInt$();
237 fd = ZygoteInit.getServerSocketFileDescriptor();
239 if (fd != null) {
240 fdsToClose[1] = fd.getInt$();
243 fd = null;
892 for (FileDescriptor fd: descriptors) {
893 IoUtils.closeQuietly(fd);
969 for (FileDescriptor fd
[all...]
/frameworks/native/cmds/servicemanager/
H A Dbinder.c90 int fd; member in struct:binder_state
106 bs->fd = open("/dev/binder", O_RDWR);
107 if (bs->fd < 0) {
113 if ((ioctl(bs->fd, BINDER_VERSION, &vers) == -1) ||
120 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0);
130 close(bs->fd);
139 close(bs->fd);
145 return ioctl(bs->fd, BINDER_SET_CONTEXT_MGR, 0);
159 res = ioctl(bs->fd, BINDER_WRITE_READ, &bwr);
351 res = ioctl(bs->fd, BINDER_WRITE_REA
[all...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java988 AssetFileDescriptor fd = null;
991 fd = resolver.openAssetFileDescriptor(uri, "r");
992 if (fd == null) {
998 if (fd.getDeclaredLength() < 0) {
999 setDataSource(fd.getFileDescriptor());
1001 setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getDeclaredLength());
1007 if (fd != null) {
1008 fd
1101 setDataSource(FileDescriptor fd) argument
1117 setDataSource(FileDescriptor fd, long offset, long length) argument
1122 _setDataSource(FileDescriptor fd, long offset, long length) argument
2160 addTimedTextSource(FileDescriptor fd, String mimeType) argument
2184 addTimedTextSource(FileDescriptor fd, long offset, long length, String mime) argument
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp67 String8 DrmManagerClient::getOriginalMimeType(const String8& path, int fd) { argument
68 return mDrmManagerClientImpl->getOriginalMimeType(mUniqueId, path, fd);
120 int fd, off64_t offset, off64_t length, const char* mime) {
123 mUniqueId, fd, offset, length, mime);
119 openDecryptSession( int fd, off64_t offset, off64_t length, const char* mime) argument
/frameworks/av/include/camera/
H A DVendorTagDescriptor.h87 void dump(int fd, int verbosity, int indentation) const;
/frameworks/av/include/media/
H A Dmediametadataretriever.h76 status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/av/include/media/stagefright/
H A DAACWriter.h30 AACWriter(int fd);

Completed in 1512 milliseconds

1234567891011>>