Searched refs:desc (Results 1 - 25 of 102) sorted by relevance

12345

/frameworks/av/media/libmedia/
H A DIAudioFlingerClient.cpp53 const AudioSystem::OutputDescriptor *desc = local
55 data.writeInt32(desc->samplingRate);
56 data.writeInt32(desc->format);
57 data.writeInt32(desc->channels);
58 data.writeInt32(desc->frameCount);
59 data.writeInt32(desc->latency);
78 AudioSystem::OutputDescriptor desc; local
85 desc.samplingRate = data.readInt32();
86 desc.format = data.readInt32();
87 desc
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARawAudioAssembler.h32 const char *desc, const AString &params);
34 static bool Supports(const char *desc);
37 const char *desc, const sp<MetaData> &format);
H A DARawAudioAssembler.cpp37 const sp<AMessage> &notify, const char *desc, const AString &params)
118 bool ARawAudioAssembler::Supports(const char *desc) { argument
119 return !strncmp(desc, "PCMU/", 5)
120 || !strncmp(desc, "PCMA/", 5);
125 const char *desc, const sp<MetaData> &format) {
126 if (!strncmp(desc, "PCMU/", 5)) {
128 } else if (!strncmp(desc, "PCMA/", 5)) {
136 desc, &sampleRate, &numChannels);
36 ARawAudioAssembler( const sp<AMessage> &notify, const char *desc, const AString &params) argument
124 MakeFormat( const char *desc, const sp<MetaData> &format) argument
H A DARTPSource.cpp54 AString desc; local
56 sessionDesc->getFormatType(index, &PT, &desc, &params);
58 if (!strncmp(desc.c_str(), "H264/", 5)) {
61 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) {
63 } else if (!strncmp(desc.c_str(), "H263-1998/", 10)
64 || !strncmp(desc.c_str(), "H263-2000/", 10)) {
67 } else if (!strncmp(desc.c_str(), "AMR/", 4)) {
69 } else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) {
71 } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8)
72 || !strncasecmp(desc
[all...]
H A DSDPLoader.cpp90 sp<ASessionDescription> desc = NULL; local
136 desc = new ASessionDescription;
138 if (desc == NULL || !desc->setTo(buffer->data(), (size_t)readSize)) {
150 notify->setObject("description", desc);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DRenameClassAdapter.java74 String renameTypeDesc(String desc) { argument
75 if (desc == null) {
79 return renameType(Type.getType(desc));
173 String renameMethodDesc(String desc) { argument
174 if (desc == null) {
178 Type[] args = Type.getArgumentTypes(desc);
187 Type ret = Type.getReturnType(desc);
249 public MethodVisitor visitMethod(int access, String name, String desc, argument
251 desc = renameMethodDesc(desc);
258 visitAnnotation(String desc, boolean visible) argument
264 visitField(int access, String name, String desc, String signature, Object value) argument
289 visitAnnotation(String desc, boolean visible) argument
296 visitParameterAnnotation(int parameter, String desc, boolean visible) argument
310 visitFieldInsn(int opcode, String owner, String name, String desc) argument
318 visitMethodInsn(int opcode, String owner, String name, String desc) argument
336 visitMultiANewArrayInsn(String desc, int dims) argument
350 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
[all...]
H A DTransformClassAdapter.java105 public MethodVisitor visitMethod(int access, String name, String desc, argument
109 Type t = Type.getReturnType(desc);
145 String invokeSignature = methodSignature + desc;
148 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions);
149 return new StubMethodAdapter(mw, name, returnType(desc), invokeSignature,
153 mLog.debug(" Keep: %s %s", name, desc);
154 return super.visitMethod(access, name, desc, signature, exceptions);
160 public FieldVisitor visitField(int access, String name, String desc, String signature, argument
167 return super.visitField(access, name, desc, signature, value);
173 Type returnType(String desc) { argument
[all...]
H A DDelegateClassAdapter.java71 public MethodVisitor visitMethod(int access, String name, String desc, argument
83 return super.visitMethod(access, name, desc, signature, exceptions);
92 mClassName, name, desc));
99 MethodVisitor mwDelegate = super.visitMethod(access, name, desc, signature, exceptions);
102 mLog, null /*mwOriginal*/, mwDelegate, mClassName, name, desc, isStatic);
125 desc, signature, exceptions);
127 desc, signature, exceptions);
130 mLog, mwOriginal, mwDelegate, mClassName, name, desc, isStatic);
H A DDelegateMethodAdapter2.java113 * @param desc A method descriptor (c.f. {@link Type#getReturnType(String)} +
122 String desc,
130 mDesc = desc;
244 String desc = Type.getMethodDescriptor(
252 desc);
265 mLog.debug("Delegate: %1$s # %2$s %3$s", delegateClassName, mMethodName, desc);
297 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument
299 return mOrgWriter.visitAnnotation(desc, visible);
316 public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, argument
319 return mOrgWriter.visitParameterAnnotation(parameter, desc, visibl
117 DelegateMethodAdapter2(Log log, MethodVisitor mvOriginal, MethodVisitor mvDelegate, String className, String methodName, String desc, boolean isStatic) argument
370 visitMethodInsn(int opcode, String owner, String name, String desc) argument
377 visitFieldInsn(int opcode, String owner, String name, String desc) argument
419 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
434 visitMultiANewArrayInsn(String desc, int dims) argument
[all...]
H A DClassHasNativeVisitor.java55 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument
71 public FieldVisitor visitField(int access, String name, String desc, argument
84 public MethodVisitor visitMethod(int access, String name, String desc, argument
93 public void visitOuterClass(String owner, String name, String desc) { argument
H A DDependencyFinder.java367 public boolean considerDesc(String desc) { argument
368 if (desc != null) {
370 if (desc.length() > 0 && desc.charAt(0) == '(') {
372 Type t = Type.getReturnType(desc);
375 for (Type arg : Type.getArgumentTypes(desc)) {
380 Type t = Type.getType(desc);
418 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument
419 // desc is the class descriptor of the annotation class.
420 considerDesc(desc);
442 visitAnnotation(String desc, boolean visible) argument
461 visitField(int access, String name, String desc, String signature, Object value) argument
484 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument
496 visitOuterClass(String owner, String name, String desc) argument
529 visitFieldInsn(int opcode, String owner, String name, String desc) argument
579 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
600 visitMethodInsn(int opcode, String owner, String name, String desc) argument
612 visitMultiANewArrayInsn(String desc, int dims) argument
619 visitParameterAnnotation(int parameter, String desc, boolean visible) argument
769 visitAnnotation(String name, String desc) argument
781 visitEnum(String name, String desc, String value) argument
[all...]
H A DAsmAnalyzer.java443 public void considerDesc(String desc) { argument
444 if (desc != null) {
446 Type t = Type.getType(desc);
481 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument
482 // desc is the class descriptor of the annotation class.
483 considerDesc(desc);
505 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument
506 // desc is the class descriptor of the annotation class.
507 considerDesc(desc);
524 public FieldVisitor visitField(int access, String name, String desc, argument
543 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument
555 visitOuterClass(String owner, String name, String desc) argument
588 visitFieldInsn(int opcode, String owner, String name, String desc) argument
639 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
660 visitMethodInsn(int opcode, String owner, String name, String desc) argument
670 visitMultiANewArrayInsn(String desc, int dims) argument
677 visitParameterAnnotation(int parameter, String desc, boolean visible) argument
827 visitAnnotation(String name, String desc) argument
839 visitEnum(String name, String desc, String value) argument
[all...]
H A DStubMethodAdapter.java212 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument
213 return mParentVisitor.visitAnnotation(desc, visible);
223 public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, argument
225 return mParentVisitor.visitParameterAnnotation(parameter, desc, visible);
285 public void visitMethodInsn(int opcode, String owner, String name, String desc) { argument
287 mParentVisitor.visitMethodInsn(opcode, owner, name, desc);
292 public void visitFieldInsn(int opcode, String owner, String name, String desc) { argument
294 mParentVisitor.visitFieldInsn(opcode, owner, name, desc);
334 public void visitLocalVariable(String name, String desc, String signature, argument
337 mParentVisitor.visitLocalVariable(name, desc, signatur
349 visitMultiANewArrayInsn(String desc, int dims) argument
[all...]
/frameworks/compile/mclinker/tools/llvm-mcld/
H A Dllvm-mcld.cpp68 UnitTest("unittest", cl::desc("do unit test") );
85 cl::desc("Optimization level. [-O0, -O1, -O2, or -O3] "
92 TargetTriple("mtriple", cl::desc("Override target triple for module"));
95 MArch("march", cl::desc("Architecture to generate code for (see --version)"));
99 cl::desc("Target a specific cpu type (-mcpu=help for details)"),
106 cl::desc("Target specific attributes (-mattr=help for details)"),
111 cl::desc("Choose code model"),
126 cl::desc("Do not verify input module"));
130 cl::desc("Enable less precise MAD instructions to be generated"),
135 cl::desc("Disabl
[all...]
/frameworks/base/core/java/android/accounts/
H A DChooseAccountTypeActivity.java96 setResultAndFinish(mAuthenticatorInfosToDisplay.get(0).desc.type);
110 setResultAndFinish(mAuthenticatorInfosToDisplay.get(position).desc.type);
127 for(AuthenticatorDescription desc : AccountManager.get(this).getAuthenticatorTypes()) {
131 Context authContext = createPackageContext(desc.packageName, 0);
132 icon = authContext.getResources().getDrawable(desc.iconId);
133 final CharSequence sequence = authContext.getResources().getText(desc.labelId);
141 Log.w(TAG, "No icon name for account type " + desc.type);
146 Log.w(TAG, "No icon resource for account type " + desc.type);
149 AuthInfo authInfo = new AuthInfo(desc, name, icon);
150 mTypeToAuthenticatorInfo.put(desc
155 final AuthenticatorDescription desc; field in class:ChooseAccountTypeActivity.AuthInfo
159 AuthInfo(AuthenticatorDescription desc, String name, Drawable drawable) argument
[all...]
/frameworks/compile/libbcc/tools/mcld/
H A DMain.cpp45 llvm::cl::desc("Specify the target triple (default: "
51 llvm::cl::desc("Alias for -mtriple"),
67 llvm::cl::desc("Output filename"),
71 OptSysRoot("sysroot", llvm::cl::desc("Use directory as the location of the "
80 llvm::cl::desc("Add path searchdir to the list of paths that "
88 llvm::cl::desc("Set internal name of shared library"),
94 llvm::cl::desc("Create a shared library."),
99 llvm::cl::desc("Bind references within the shared library."),
104 llvm::cl::desc("Set the name of the dynamic linker."),
109 llvm::cl::desc("Generat
[all...]
/frameworks/compile/mclinker/tools/mcld/
H A Dmain.cpp38 llvm::cl::desc("Specify the target triple (default: "
44 llvm::cl::desc("Alias for -mtriple"),
60 llvm::cl::desc("Output filename"),
64 OptSysRoot("sysroot", llvm::cl::desc("Use directory as the location of the "
73 llvm::cl::desc("Add path searchdir to the list of paths that "
81 llvm::cl::desc("Set internal name of shared library"),
87 llvm::cl::desc("Create a shared library."),
92 llvm::cl::desc("Bind references within the shared library."),
97 llvm::cl::desc("Set the name of the dynamic linker."),
102 llvm::cl::desc("Generat
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbRequest.cpp54 struct usb_endpoint_descriptor desc; local
55 desc.bLength = USB_DT_ENDPOINT_SIZE;
56 desc.bDescriptorType = USB_DT_ENDPOINT;
57 desc.bEndpointAddress = ep_address;
58 desc.bmAttributes = ep_attributes;
59 desc.wMaxPacketSize = ep_max_packet_size;
60 desc.bInterval = ep_interval;
62 struct usb_request* request = usb_request_new(device, &desc);
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c86 struct usb_descriptor_header* desc; local
103 struct usb_descriptor_header* desc; local
113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) {
114 if (desc->bDescriptorType == USB_DT_INTERFACE) {
115 intf = (struct usb_interface_descriptor *)desc;
116 } else if (desc->bDescriptorType == USB_DT_ENDPOINT) {
118 ep2 = (struct usb_endpoint_descriptor *)desc;
120 ep1 = (struct usb_endpoint_descriptor *)desc;
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.h36 audio_effect_library_t *desc; member in struct:lib_entry_s
H A DEffectsFactory.c59 effect_descriptor_t **desc);
60 static void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len);
114 effect_descriptor_t *desc)
129 ret = (*fx->subItfe)->get_descriptor(fx->subItfe, desc);
233 ALOGV("EffectQueryEffect() desc:%s", str);
294 ret = l->desc->create_effect(uuid, sessionId, ioId, &itfe);
365 fx->lib->desc->release_effect(fx->subItfe);
448 audio_effect_library_t *desc; local
463 desc = (audio_effect_library_t *)dlsym(hdl, AUDIO_EFFECT_LIBRARY_INFO_SYM_AS_STR);
464 if (desc
113 Effect_GetDescriptor(effect_handle_t self, effect_descriptor_t *desc) argument
631 findEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument
673 dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len) argument
[all...]
/frameworks/compile/mclinker/lib/CodeGen/
H A DMCLinker.cpp69 cl::desc("[input object files]"),
78 cl::desc("Add the archive or object file specified by namespec to "
85 cl::desc("alias for -l"),
94 cl::desc("For each archive mentioned on the command line after "
101 cl::desc("Turn off the effect of the --whole-archive option for "
107 cl::desc("This option affects ELF DT_NEEDED tags for dynamic "
114 cl::desc("Turn off the effect of the --as-needed option for "
120 cl::desc("--add-needed causes DT_NEEDED tags are always "
127 cl::desc("--no-add-needed causes DT_NEEDED tags will never be "
133 cl::desc("Lin
[all...]
/frameworks/compile/mclinker/unittests/
H A DStaticResolverTest.cpp57 ASSERT_TRUE( mcld::ResolveInfo::Define == new_sym->desc());
58 ASSERT_TRUE( mcld::ResolveInfo::Define == old_sym->desc());
84 ASSERT_TRUE( mcld::ResolveInfo::Undefined == new_sym->desc());
85 ASSERT_TRUE( mcld::ResolveInfo::Define == old_sym->desc());
111 ASSERT_TRUE( mcld::ResolveInfo::Define == new_sym->desc());
112 ASSERT_TRUE( mcld::ResolveInfo::Define == old_sym->desc());
138 ASSERT_TRUE( mcld::ResolveInfo::Undefined == new_sym->desc());
139 ASSERT_TRUE( mcld::ResolveInfo::Undefined == old_sym->desc());
189 ASSERT_TRUE( mcld::ResolveInfo::Define == old_sym->desc());
190 ASSERT_TRUE( mcld::ResolveInfo::Define == new_sym->desc());
[all...]
H A DNamePoolTest.cpp73 ResolveInfo::Desc desc = ResolveInfo::Define; local
82 desc,
93 EXPECT_EQ(desc, result1.info->desc());
102 desc,
113 EXPECT_EQ(desc, result1.info->desc());
125 ResolveInfo::Desc desc = ResolveInfo::Undefined; local
133 desc,
144 EXPECT_EQ(desc, result
[all...]
/frameworks/compile/libbcc/tools/bcc_compat/
H A DMain.cpp56 llvm::cl::desc("<input bitcode files>"));
59 OptOutputFilename("o", llvm::cl::desc("Specify the output filename"),
63 OptRuntimePath("rt-path", llvm::cl::desc("Specify the runtime library path"),
69 llvm::cl::desc("Specify the target triple (default: "
75 llvm::cl::desc("Alias for -mtriple"),
83 OptPIC("fPIC", llvm::cl::desc("Generate fully relocatable, position independent"
87 OptOptLevel("O", llvm::cl::desc("Optimization level. [-O0, -O1, -O2, or -O3] "
92 OptC("c", llvm::cl::desc("Compile and assemble, but do not link."));
101 OptImmObjectOutput("or", llvm::cl::desc("Specify the filename for output the "
107 OptShared("shared", llvm::cl::desc("Creat
[all...]

Completed in 741 milliseconds

12345