/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | Trampoline.java | 224 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 D | NoOpDrmManagerClientImpl.h | 41 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 D | DrmPassthruPlugIn.h | 50 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 D | DrmManagerClient.h | 66 * @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 D | NuPlayerDriver.h | 38 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 D | ContentProviderNative.java | 239 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 D | ContentResolver.java | 646 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 D | LocalSocket.java | 71 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 D | IPrintSpooler.aidl | 46 void writePrintJobData(in ParcelFileDescriptor fd, in PrintJobId printJobId);
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 71 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 D | android_backup_FileBackupHelperBase.cpp | 102 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local 104 err = restore->WriteSnapshot(fd);
|
H A D | android_os_Debug.cpp | 600 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 D | common_time_config_service.cpp | 34 status_t CommonTimeConfigService::dump(int fd, const Vector<String16>& args) { argument 35 return mTimeServer.dumpConfigInterface(fd, args);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.h | 98 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 D | FusedLocationProvider.java | 121 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 D | SystemBars.java | 81 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 D | BitmapFactory_Delegate.java | 101 /*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 D | PhoneSubInfoProxy.java | 277 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 D | ZygoteConnection.java | 231 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 D | binder.c | 90 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 D | MediaPlayer.java | 988 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 D | DrmManagerClient.cpp | 67 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 D | VendorTagDescriptor.h | 87 void dump(int fd, int verbosity, int indentation) const;
|
/frameworks/av/include/media/ |
H A D | mediametadataretriever.h | 76 status_t setDataSource(int fd, int64_t offset, int64_t length);
|
/frameworks/av/include/media/stagefright/ |
H A D | AACWriter.h | 30 AACWriter(int fd);
|