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

1234567891011>>

/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.h45 virtual void dump(int fd, const Vector<String16> &args) const;
/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/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/packages/SystemUI/src/com/android/systemui/
H A DSystemUI.java35 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/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/accounts/
H A DIAccountAuthenticatorCache.java55 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); argument
/frameworks/av/media/libnbaio/
H A DNBLog.cpp285 void NBLog::Reader::dump(int fd, size_t indent) argument
342 if (fd >= 0) {
343 fdprintf(fd, "%*swarning: lost %u bytes worth of events\n", indent, "", lost);
366 if (fd >= 0) {
367 fdprintf(fd, "%*s%s%.*s\n", indent, "", prefix, length, (const char *) data);
404 if (fd >= 0) {
405 fdprintf(fd, "%*s[%d.%03d to .%.03d by .%.03d to .%.03d]\n", indent, "",
419 if (fd >= 0) {
420 fdprintf(fd, "%*s[%d.%03d]\n", indent, "", (int) ts.tv_sec,
429 if (fd >
[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,
58 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);
400 if (mFileLocator.fd >= 0) {
401 close(mFileLocator.fd);
403 mFileLocator.fd
[all...]
/frameworks/av/services/audioflinger/
H A DAudioWatchdog.cpp28 void AudioWatchdogDump::dump(int fd) argument
37 fdprintf(fd, "Watchdog: underruns=%u, logs=%u, most recent underrun log at %s",
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.h58 virtual status_t dump(int fd, const Vector<String16>& args);
110 virtual status_t dumpDevice(int fd, const Vector<String16>& args);
/frameworks/base/core/java/android/app/
H A DIApplicationThread.java107 void dumpService(FileDescriptor fd, IBinder servicetoken, String[] args) argument
109 void dumpProvider(FileDescriptor fd, IBinder servicetoken, String[] args) argument
116 void profilerControl(boolean start, String path, ParcelFileDescriptor fd, int profileType) argument
118 void dumpHeap(boolean managed, String path, ParcelFileDescriptor fd) argument
125 void dumpActivity(FileDescriptor fd, IBinder servicetoken, String prefix, String[] args) argument
130 void dumpMemInfo(FileDescriptor fd, Debug.MemoryInfo mem, boolean checkin, boolean dumpInfo, argument
132 void dumpGfxInfo(FileDescriptor fd, String[] args) throws RemoteException; argument
133 void dumpDbInfo(FileDescriptor fd, String[] args) throws RemoteException; argument
/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.h89 static int cb_eventReceiver(int fd, int events, void* data);
90 int eventReceiver(int fd, int events);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor3.cpp318 void ZslProcessor3::dump(int fd, const Vector<String16>& /*args*/) const { argument
322 write(fd, result.string(), result.size());
323 mLatestCapturedRequest.dump(fd, 2, 6);
326 write(fd, result.string(), result.size());
328 dumpZslQueue(fd);
337 void ZslProcessor3::dumpZslQueue(int fd) const {
341 if (fd != -1) {
343 write(fd, header.string(), header.size());
361 if (fd != -1) {
363 write(fd, resul
[all...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java895 AssetFileDescriptor fd = null;
898 fd = resolver.openAssetFileDescriptor(uri, "r");
899 if (fd == null) {
905 if (fd.getDeclaredLength() < 0) {
906 setDataSource(fd.getFileDescriptor());
908 setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getDeclaredLength());
914 if (fd != null) {
915 fd
1006 setDataSource(FileDescriptor fd) argument
1022 setDataSource(FileDescriptor fd, long offset, long length) argument
1028 _setDataSource(FileDescriptor fd, long offset, long length) argument
1960 addTimedTextSource(FileDescriptor fd, String mimeType) argument
1984 addTimedTextSource(FileDescriptor fd, long offset, long length, String mimeType) argument
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp123 String8 DrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
125 return mDrmManager->getOriginalMimeType(uniqueId, path, fd);
198 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
201 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime);
272 status_t DrmManagerService::dump(int fd, const Vector<String16>& args) argument
292 dumpMemoryAddresses(fd);
296 write(fd, result.string(), result.size());
197 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java141 * @param fd fd to use for connected socket, or -1 for a new socket
150 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
152 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) {
165 mFd = fd;
193 if (VDBG) Log.d(TAG, "socket fd passed by stack fds: " + fds);
195 Log.e(TAG, "socket fd passed from stack failed, fds: " + fds);
209 * @param fd fd to use for connected socket, or -1 for a new socket
217 private BluetoothSocket(int type, int fd, boolea argument
[all...]
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp69 String8 DrmEngineBase::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
70 return onGetOriginalMimeType(uniqueId, path, fd);
124 int fd, off64_t offset, off64_t length, const char* mime) {
127 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length);
130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime);
122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h56 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd);
84 int fd, off64_t offset, off64_t length, const char* mime);
225 * @param[in] fd descriptor of the protected content as a file source
229 virtual String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd) = 0;
377 * @param[in] fd File descriptor of the protected content to be decrypted
385 int fd, off64_t offset, off64_t length) = 0;
392 * @param[in] fd File descriptor of the protected content to be decrypted
402 int fd, off64_t offset, off64_t length,
400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument

Completed in 612 milliseconds

1234567891011>>