/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 140 * @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 D | DrmEngineBase.cpp | 69 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 D | DrmEngineBase.h | 56 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 D | MediaRecorderClient.cpp | 167 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 D | MediaPlayerService.cpp | 298 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 D | SurfaceMediaSource_test.cpp | 468 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 D | slesTestBassBoostPath.cpp | 119 int fd = open(path, O_RDONLY); local 120 if (fd == -1) { 123 locatorFd.fd = (SLint32) fd; 243 close(fd);
|
H A D | slesTestPlayFdPath.cpp | 111 int fd = open(path, O_RDONLY); local 112 if (fd == -1) { 116 locatorFd.fd = (SLint32) fd; 187 close(fd);
|
H A D | slesTestVirtualizerPath.cpp | 120 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 D | MemoryLeakTrackUtil.cpp | 70 void dumpMemoryAddresses(int fd) argument 161 write(fd, result.string(), result.size()); 166 void dumpMemoryAddresses(int fd) {}
|
/frameworks/base/services/common_time/ |
H A D | utils.cpp | 113 void LogRing::dumpLog(int fd) { argument 130 write(fd, buf, res); 160 write(fd, buf, res);
|
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/native/libs/binder/ |
H A D | Binder.cpp | 132 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 D | ZipFileRO.cpp | 136 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 D | android_util_EventLog.cpp | 155 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 D | android_backup_FileBackupHelperBase.cpp | 102 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local 104 err = restore->WriteSnapshot(fd);
|
/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 | 36 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 D | LocalSocket.java | 50 public LocalSocket(FileDescriptor fd) throws IOException { argument 51 this(new LocalSocketImpl(fd)); 297 * @return fd or null
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
H A D | FusedLocationProvider.java | 104 public void onDump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 106 mEngine.dump(fd, pw, args);
|
/frameworks/native/include/utils/ |
H A D | ZipFileRO.h | 157 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 D | CdmaDataConnection.java | 120 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 122 super.dump(fd, pw, args);
|
/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/media/ |
H A D | mediametadataretriever.h | 74 status_t setDataSource(int fd, int64_t offset, int64_t length);
|