Searched refs:fd (Results 151 - 175 of 486) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java140 * @param fd fd to use for connected socket, or -1 for a new socket
149 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
151 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) {
164 mFd = fd;
192 if (VDBG) Log.d(TAG, "socket fd passed by stack fds: " + fds);
194 Log.e(TAG, "socket fd passed from stack failed, fds: " + fds);
207 * @param fd fd to use for connected socket, or -1 for a new socket
215 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
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp167 status_t MediaRecorderClient::setOutputFile(int fd, int64_t offset, int64_t length) argument
169 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
175 return mRecorder->setOutputFile(fd, offset, length);
328 status_t MediaRecorderClient::dump(int fd, const Vector<String16>& args) const { argument
330 return mRecorder->dump(fd, args);
H A DMediaPlayerService.cpp298 status_t MediaPlayerService::AudioCache::dump(int fd, const Vector<String16>& args) const argument
316 ::write(fd, result.string(), result.size());
320 status_t MediaPlayerService::AudioOutput::dump(int fd, const Vector<String16>& args) const argument
337 ::write(fd, result.string(), result.size());
339 mTrack->dump(fd, args);
344 status_t MediaPlayerService::Client::dump(int fd, const Vector<String16>& args) const argument
353 write(fd, result.string(), result.size());
355 mPlayer->dump(fd, args);
358 mAudioOutput->dump(fd, args);
360 write(fd, "\
364 dump(int fd, const Vector<String16>& args) argument
628 int fd = android::openContentProviderFile(url16); local
649 setDataSource(int fd, int64_t offset, int64_t length) argument
1222 decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat) argument
[all...]
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp468 sp<MediaRecorder> SurfaceMediaSourceGLTest::setUpMediaRecorder(int fd, int videoSource, argument
474 mr->setOutputFile(fd, 0, 0);
740 int fd = open(fileName, O_RDWR | O_CREAT, 0744);
741 if (fd < 0) {
742 ALOGE("ERROR: Could not open the the file %s, fd = %d !!", fileName, fd);
744 CHECK(fd >= 0);
746 sp<MediaRecorder> mr = SurfaceMediaSourceGLTest::setUpMediaRecorder(fd,
770 close(fd);
875 int fd
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp119 int fd = open(path, O_RDONLY); local
120 if (fd == -1) {
123 locatorFd.fd = (SLint32) fd;
243 close(fd);
H A DslesTestPlayFdPath.cpp111 int fd = open(path, O_RDONLY); local
112 if (fd == -1) {
116 locatorFd.fd = (SLint32) fd;
187 close(fd);
H A DslesTestVirtualizerPath.cpp120 int fd = open(path, O_RDONLY); local
121 if (fd == -1) {
124 locatorFd.fd = (SLint32) fd;
245 close(fd);
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp70 void dumpMemoryAddresses(int fd) argument
161 write(fd, result.string(), result.size());
166 void dumpMemoryAddresses(int fd) {}
/frameworks/base/services/common_time/
H A Dutils.cpp113 void LogRing::dumpLog(int fd) { argument
130 write(fd, buf, res);
160 write(fd, buf, res);
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/native/libs/binder/
H A DBinder.cpp132 status_t BBinder::dump(int fd, const Vector<String16>& args) argument
195 int fd = data.readFileDescriptor(); local
201 return dump(fd, args);
/frameworks/native/libs/utils/
H A DZipFileRO.cpp136 int fd = -1; local
143 fd = TEMP_FAILURE_RETRY(::open(zipFileName, O_RDONLY | O_BINARY));
144 if (fd < 0) {
149 mFileLength = lseek64(fd, 0, SEEK_END);
151 TEMP_FAILURE_RETRY(close(fd));
160 mFd = fd;
181 TEMP_FAILURE_RETRY(close(fd));
752 bool ZipFileRO::uncompressEntry(ZipEntryRO entry, int fd) const
774 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, ptr, uncompLen));
786 if (!inflateBuffer(fd, pt
866 inflateBuffer(int fd, const void* inBuf, size_t uncompLen, size_t compLen) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp155 int fd = open("/dev/" LOGGER_LOG_EVENTS, O_RDONLY | O_NONBLOCK); local
156 if (fd < 0) {
173 FD_SET(fd, &readset);
174 int r = select(fd + 1, &readset, NULL, NULL, &timeout);
184 int len = read(fd, buf, sizeof(buf));
223 close(fd);
H A Dandroid_backup_FileBackupHelperBase.cpp102 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local
104 err = restore->WriteSnapshot(fd);
/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.h36 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
62 virtual status_t dump(int fd, const Vector<String16> &args) const;
/frameworks/base/core/java/android/net/
H A DLocalSocket.java50 public LocalSocket(FileDescriptor fd) throws IOException { argument
51 this(new LocalSocketImpl(fd));
297 * @return fd or null
/frameworks/native/include/utils/
H A DZipFileRO.h157 bool uncompressEntry(ZipEntryRO entry, int fd) const;
172 * Utility function: uncompress deflated data, buffer to fd.
174 static bool inflateBuffer(int fd, const void* inBuf,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaDataConnection.java120 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
122 super.dump(fd, pw, args);
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java104 public void onDump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
106 mEngine.dump(fd, pw, args);
/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/media/
H A Dmediametadataretriever.h74 status_t setDataSource(int fd, int64_t offset, int64_t length);

Completed in 182 milliseconds

1234567891011>>