Searched defs:fd (Results 26 - 50 of 364) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDebugService.java42 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
68 phoneBase.dump(fd, pw, args);
75 phoneBase.mDataConnectionTracker.dump(fd, pw, args);
82 phoneBase.getServiceStateTracker().dump(fd, pw, args);
89 phoneBase.getCallTracker().dump(fd, pw, args);
96 ((RIL)phoneBase.mCM).dump(fd, pw, args);
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DActivityCompatHoneycomb.java32 static void dump(Activity activity, String prefix, FileDescriptor fd, argument
34 activity.dump(prefix, fd, writer, args);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUI.java33 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DSystemUIService.java119 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
123 ui.dump(fd, pw, args);
130 ui.dump(fd, pw, args);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h154 * @param fd descriptor of the protected content as a file source
158 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd);
325 * @param fd File descriptor of the protected content to be decrypted
334 int fd, off64_t offset, off64_t length);
338 int fd, int offset, int length);
542 DecodeSession(int fd) { argument
543 fileDesc = fd;
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.h37 int fd,
55 int fd,
36 scoreFactory(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length, float curScore) argument
H A DMidiMetadataRetriever.cpp50 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument
52 ALOGV("setDataSource: fd(%d), offset(%lld), and length(%lld)", fd, offset, length);
58 return mMidiPlayer->setDataSource(fd, offset, length);;
/frameworks/av/services/audioflinger/
H A DStateQueue.cpp28 void StateQueueObserverDump::dump(int fd) argument
30 fdprintf(fd, "State queue observer: stateChanges=%u\n", mStateChanges);
33 void StateQueueMutatorDump::dump(int fd) argument
35 fdprintf(fd, "State queue mutator: pushDirty=%u pushAck=%u blockedSequence=%u\n",
/frameworks/base/core/java/android/app/backup/
H A DBackupDataOutput.java68 public BackupDataOutput(FileDescriptor fd) { argument
69 if (fd == null) throw new NullPointerException();
70 mBackupWriter = ctor(fd);
72 throw new RuntimeException("Native initialization failed with fd=" + fd);
124 private native static int ctor(FileDescriptor fd); argument
H A DBackupDataInput.java73 public BackupDataInput(FileDescriptor fd) { argument
74 if (fd == null) throw new NullPointerException();
75 mBackupReader = ctor(fd);
77 throw new RuntimeException("Native initialization failed with fd=" + fd);
188 private native static int ctor(FileDescriptor fd); argument
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/jni/
H A Dandroid_os_FileUtils.cpp68 int fd = open(pathStr, O_RDONLY); local
69 if (fd >= 0) {
70 result = ioctl(fd, VFAT_IOCTL_GET_VOLUME_ID);
71 close(fd);
H A Dandroid_backup_BackupDataInput.cpp35 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local
36 if (fd == -1) {
40 return (int)new BackupDataReader(fd);
H A Dandroid_backup_BackupDataOutput.cpp31 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local
32 if (fd == -1) {
36 return (int)new BackupDataWriter(fd);
H A Dandroid_ddm_DdmHandleNativeHeap.cpp74 int fd = open(path, O_RDONLY); local
76 if (mapsFile != NULL && fd != -1) {
80 amount = read(fd, ptr, MAPS_FILE_SIZE);
H A Dandroid_hardware_SerialPort.cpp135 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor); local
137 fd = dup(fd);
138 if (fd < 0) {
142 env->SetIntField(thiz, field_context, fd);
145 if (tcgetattr(fd, &tio))
156 tcsetattr(fd, TCSANOW, &tio);
157 tcflush(fd, TCIFLUSH);
163 int fd = env->GetIntField(thiz, field_context); local
164 close(fd);
171 int fd = env->GetIntField(thiz, field_context); local
193 int fd = env->GetIntField(thiz, field_context); local
210 int fd = env->GetIntField(thiz, field_context); local
227 int fd = env->GetIntField(thiz, field_context); local
242 int fd = env->GetIntField(thiz, field_context); local
[all...]
H A Dandroid_os_ParcelFileDescriptor.cpp40 int fd = dup(origfd); local
41 if (fd < 0) {
45 return jniCreateFileDescriptor(env, fd);
49 jobject clazz, jint fd)
51 return jniCreateFileDescriptor(env, fd);
80 jint fd = getFd(env, clazz); local
81 if (fd < 0) {
87 if (fstat(fd, &st) != 0) {
101 jint fd = getFd(env, clazz); local
102 if (fd <
48 android_os_ParcelFileDescriptor_getFileDescriptorFromFdNoDup(JNIEnv* env, jobject clazz, jint fd) argument
112 jint fd = getFd(env, clazz); local
[all...]
/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/base/services/jni/
H A Dcom_android_server_AlarmManagerService.cpp40 static jint android_server_AlarmManagerService_setKernelTimezone(JNIEnv* env, jobject obj, jint fd, jint minswest) argument
63 static void android_server_AlarmManagerService_close(JNIEnv* env, jobject obj, jint fd) argument
65 close(fd);
68 static void android_server_AlarmManagerService_set(JNIEnv* env, jobject obj, jint fd, jint type, jlong seconds, jlong nanoseconds) argument
74 int result = ioctl(fd, ANDROID_ALARM_SET(type), &ts);
81 static jint android_server_AlarmManagerService_waitForAlarm(JNIEnv* env, jobject obj, jint fd) argument
87 result = ioctl(fd, ANDROID_ALARM_WAIT);
/frameworks/compile/linkloader/android/
H A Dtest-librsloader.c74 int fd = open(argv[1], O_RDONLY); local
75 if (fd < 0) {
81 if (fstat(fd, &sb) != 0) {
83 close(fd);
88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
92 close(fd);
99 close(fd);
113 close(fd);
/frameworks/native/libs/utils/
H A DStatic.cpp69 FdTextOutput(int fd) : BufferedTextOutput(MULTITHREADED), mFD(fd) { } argument
H A DZipFileCRO.cpp50 bool ZipFileCRO_uncompressEntry(ZipFileCRO zipToken, ZipEntryRO entryToken, int fd) { argument
53 return zip->uncompressEntry(entry, fd);
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp28 int receiver(int fd, int events, void* data) argument
/frameworks/av/include/media/stagefright/
H A DMediaWriter.h47 virtual status_t dump(int fd, const Vector<String16>& args) { argument
/frameworks/av/media/libstagefright/
H A DFileSource.cpp46 FileSource::FileSource(int fd, int64_t offset, int64_t length) argument
47 : mFd(fd),

Completed in 1537 milliseconds

1234567891011>>