Searched defs:descriptor (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/android/os/
H A DIServiceManager.java62 static final String descriptor = "android.os.IServiceManager"; field in interface:IServiceManager
H A DFileObserver.java104 public void stopWatching(int descriptor) { argument
105 stopWatching(m_fd, descriptor);
H A DIBinder.java108 * of the transaction for its canonical interface descriptor.
180 public IInterface queryLocalInterface(String descriptor); argument
185 * @param fd The raw file descriptor that the dump is being sent to.
195 * @param fd The raw file descriptor that the dump is being sent to.
H A DBinder.java163 * descriptor is requested.
165 public void attachInterface(IInterface owner, String descriptor) { argument
167 mDescriptor = descriptor;
198 * descriptor.
200 public IInterface queryLocalInterface(String descriptor) { argument
201 if (mDescriptor.equals(descriptor)) {
279 * @param fd The raw file descriptor that the dump is being sent to.
360 public IInterface queryLocalInterface(String descriptor) { argument
H A DParcelFileDescriptor.java123 * new file descriptor shared state such as file position with the
124 * original file descriptor.
134 * new file descriptor shared state such as file position with the
135 * original file descriptor.
156 // Extracts the file descriptor from the specified socket and returns it untouched
174 // Extracts the file descriptor from the specified socket and returns it untouched
226 * Gets a file descriptor for a read-only copy of the given data.
229 * @param name Name for the shared memory area that may back the file descriptor.
315 // If this is a proxy to another file descriptor, just call through to its
385 public ParcelFileDescriptor(ParcelFileDescriptor descriptor) { argument
391 ParcelFileDescriptor(FileDescriptor descriptor) argument
[all...]
/frameworks/base/core/java/android/database/
H A DIBulkCursor.java68 static final String descriptor = "android.content.IBulkCursor"; field in interface:IBulkCursor
/frameworks/base/core/jni/
H A Dandroid_os_ParcelFileDescriptor.cpp72 jobject descriptor = env->GetObjectField(clazz, gParcelFileDescriptorOffsets.mFileDescriptor); local
73 if (descriptor == NULL) return -1;
74 return jniGetFDFromFileDescriptor(env, descriptor);
82 jniThrowException(env, "java/lang/IllegalArgumentException", "bad file descriptor");
103 jniThrowException(env, "java/lang/IllegalArgumentException", "bad file descriptor");
114 jniThrowException(env, "java/lang/IllegalArgumentException", "bad file descriptor");
H A Dcom_android_internal_os_ZygoteInit.cpp133 jobject clazz, jobject descriptor, jboolean flag)
139 fd = jniGetFDFromFileDescriptor(env, descriptor);
132 com_android_internal_os_ZygoteInit_setCloseOnExec(JNIEnv *env, jobject clazz, jobject descriptor, jboolean flag) argument
/frameworks/base/core/java/android/content/
H A DIContentProvider.java60 static final String descriptor = "android.content.IContentProvider"; field in interface:IContentProvider
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp112 jint descriptor = jniGetFDFromFileDescriptor(env, fileDescriptor); local
116 if (fstat(descriptor, &fdStat) == -1) {
117 doThrowIOE(env, "broken file descriptor");
123 (newFD = ::dup(descriptor)) != -1) {
132 with the same descriptor. This is only required if we didn't dup the
133 file descriptor, but it is OK to do it all the time.
135 AutoFDSeek as(descriptor);
137 SkFDStream* fdStream = new SkFDStream(descriptor, false);
H A DBitmapFactory.cpp297 jint descriptor = jniGetFDFromFileDescriptor(env, fileDescriptor); local
303 int newFD = ::dup(descriptor);
306 descriptor = newFD;
310 SkFDStream* stream = new SkFDStream(descriptor, weOwnTheFD);
317 with the same descriptor. This is only required if we didn't dup the
318 file descriptor, but it is OK to do it all the time.
320 AutoFDSeek as(descriptor);
458 jint descriptor = jniGetFDFromFileDescriptor(env, fileDescriptor); local
459 return ::lseek64(descriptor, 0, SEEK_CUR) != -1 ? JNI_TRUE : JNI_FALSE;
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java88 public IInterface queryLocalInterface(String descriptor) { argument
/frameworks/base/libs/binder/
H A DBinder.cpp41 sp<IInterface> IBinder::queryLocalInterface(const String16& descriptor) argument
/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A DBlock_private.h68 struct Block_descriptor *descriptor; member in struct:Block_layout
/frameworks/base/media/libmedia/
H A DAudioEffect.cpp192 effect_descriptor_t AudioEffect::descriptor() const function in class:android::AudioEffect
408 status_t AudioEffect::queryEffect(uint32_t index, effect_descriptor_t *descriptor) argument
412 return af->queryEffect(index, descriptor);
415 status_t AudioEffect::getEffectDescriptor(effect_uuid_t *uuid, effect_descriptor_t *descriptor) argument
419 return af->getEffectDescriptor(uuid, descriptor);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DRenameClassAdapter.java71 * Renames a type descriptor, e.g. "Lcom.package.MyClass;"
139 descriptor sometimes so descriptors are renamed too.
160 // descriptor sometimes. This is the case with visitTypeInsn(type) and
170 * Renames a method descriptor, i.e. applies renameType to all arguments and to the
385 public void visitBaseType(char descriptor) { argument
386 mSv.visitBaseType(descriptor);
H A DAsmAnalyzer.java439 * Considers a descriptor string. The descriptor is converted to a {@link Type}
478 // desc is the class descriptor of the annotation class.
494 // desc is the field's descriptor (see Type).
511 // desc is the method's descriptor (see Type).
546 // desc is the field's descriptor (see Type).
587 // desc is the type descriptor of this local variable.
607 // desc is the method's descriptor (see Type).
614 // desc an array type descriptor.
620 // desc is the class descriptor o
672 visitBaseType(char descriptor) argument
[all...]
/frameworks/base/tools/aidl/
H A Dgenerate_java.cpp71 // descriptor
72 Field* descriptor = new Field(STATIC | FINAL | PRIVATE, local
74 descriptor->value = "\"" + interfaceType->QualifiedName() + "\"";
75 this->elements.push_back(descriptor);
562 // the interface descriptor transaction handler
569 // and the proxy-side method returning the descriptor directly
/frameworks/base/core/java/android/app/
H A DIApplicationThread.java129 String descriptor = "android.app.IApplicationThread"; field in interface:IApplicationThread
H A DIActivityManager.java469 String descriptor = "android.app.IActivityManager"; field in interface:IActivityManager
/frameworks/base/services/audioflinger/
H A DAudioFlinger.cpp5384 status_t AudioFlinger::queryEffect(uint32_t index, effect_descriptor_t *descriptor) argument
5387 return EffectQueryEffect(index, descriptor);
5390 status_t AudioFlinger::getEffectDescriptor(effect_uuid_t *pUuid, effect_descriptor_t *descriptor) argument
5393 return EffectGetDescriptor(pUuid, descriptor);
5453 // if uuid is specified, request effect descriptor
5484 // If matching type found save effect descriptor. If the session is
5522 // return effect descriptor
7106 sp<AudioFlinger::EffectModule> AudioFlinger::EffectChain::getEffectFromDesc_l(effect_descriptor_t *descriptor) argument
7112 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) {

Completed in 198 milliseconds