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

123456

/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DReplaceMethodCallsAdapter.java65 public boolean isNeeded(String owner, String name, String desc) {
67 ARRAYCOPY_DESCRIPTORS.contains(desc);
72 assert isNeeded(mi.owner, mi.name, mi.desc);
73 mi.desc = "(Ljava/lang/Object;ILjava/lang/Object;II)V";
84 public boolean isNeeded(String owner, String name, String desc) {
85 return JAVA_LOCALE_CLASS.equals(owner) && "()Ljava/lang/String;".equals(desc) &&
91 assert isNeeded(mi.owner, mi.name, mi.desc);
94 mi.desc = LOCALE_TO_STRING;
106 public boolean isNeeded(String owner, String name, String desc) {
108 ("adjustLanguageCode".equals(name) && desc
162 isReplacementNeeded(String owner, String name, String desc) argument
176 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument
188 visitMethodInsn(int opcode, String owner, String name, String desc) argument
208 public String desc; field in class:ReplaceMethodCallsAdapter.MethodInformation
210 MethodInformation(int opcode, String owner, String name, String desc) argument
219 isNeeded(String owner, String name, String desc) argument
[all...]
H A DAbstractClassAdapter.java54 String renameTypeDesc(String desc) { argument
55 if (desc == null) {
59 return renameType(Type.getType(desc));
118 String renameMethodDesc(String desc) { argument
119 if (desc == null) {
123 Type[] args = Type.getArgumentTypes(desc);
132 Type ret = Type.getReturnType(desc);
202 public void visitOuterClass(String owner, String name, String desc) { argument
203 super.visitOuterClass(renameInternalType(owner), name, renameTypeDesc(desc));
207 public MethodVisitor visitMethod(int access, String name, String desc, argument
216 visitAnnotation(String desc, boolean visible) argument
222 visitField(int access, String name, String desc, String signature, Object value) argument
246 visitAnnotation(String desc, boolean visible) argument
253 visitParameterAnnotation(int parameter, String desc, boolean visible) argument
271 visitFieldInsn(int opcode, String owner, String name, String desc) argument
279 visitMethodInsn(int opcode, String owner, String name, String desc) argument
302 visitMultiANewArrayInsn(String desc, int dims) argument
316 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
[all...]
H A DDelegateClassAdapter.java71 public MethodVisitor visitMethod(int access, String name, String desc, argument
82 return super.visitMethod(access, name, desc, signature, exceptions);
90 mClassName, name, desc));
96 MethodVisitor mwDelegate = super.visitMethod(access, name, desc, signature, exceptions);
99 mLog, null, mwDelegate, mClassName, name, desc, isStatic);
118 desc, signature, exceptions);
120 desc, signature, exceptions);
123 mLog, mwOriginal, mwDelegate, mClassName, name, desc, isStatic);
H A DTransformClassAdapter.java91 public MethodVisitor visitMethod(int access, String name, String desc, argument
95 Type t = Type.getReturnType(desc);
125 String invokeSignature = methodSignature + desc;
128 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions);
129 return new StubMethodAdapter(mw, name, returnType(desc), invokeSignature,
133 mLog.debug(" Keep: %s %s", name, desc);
134 return super.visitMethod(access, name, desc, signature, exceptions);
141 Type returnType(String desc) { argument
142 if (desc != null) {
144 return Type.getReturnType(desc);
[all...]
H A DDelegateMethodAdapter.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 DelegateMethodAdapter(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.java365 public boolean considerDesc(String desc) { argument
366 if (desc != null) {
368 if (desc.length() > 0 && desc.charAt(0) == '(') {
370 Type t = Type.getReturnType(desc);
373 for (Type arg : Type.getArgumentTypes(desc)) {
378 Type t = Type.getType(desc);
416 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument
417 // desc is the class descriptor of the annotation class.
418 considerDesc(desc);
440 visitAnnotation(String desc, boolean visible) argument
459 visitField(int access, String name, String desc, String signature, Object value) argument
482 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument
494 visitOuterClass(String owner, String name, String desc) argument
527 visitFieldInsn(int opcode, String owner, String name, String desc) argument
578 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
599 visitMethodInsn(int opcode, String owner, String name, String desc) argument
611 visitMultiANewArrayInsn(String desc, int dims) argument
618 visitParameterAnnotation(int parameter, String desc, boolean visible) argument
768 visitAnnotation(String name, String desc) argument
780 visitEnum(String name, String desc, String value) argument
[all...]
/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->channelMask);
58 data.writeInt64(desc->frameCount);
59 data.writeInt32(desc->latency);
78 AudioSystem::OutputDescriptor desc; local
85 desc.samplingRate = data.readInt32();
86 desc.format = (audio_format_t) 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.cpp38 const char * /* desc */,
120 bool ARawAudioAssembler::Supports(const char *desc) { argument
121 return !strncmp(desc, "PCMU/", 5)
122 || !strncmp(desc, "PCMA/", 5);
127 const char *desc, const sp<MetaData> &format) {
128 if (!strncmp(desc, "PCMU/", 5)) {
130 } else if (!strncmp(desc, "PCMA/", 5)) {
138 desc, &sampleRate, &numChannels);
126 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...]
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp58 effect_descriptor_t* desc; local
78 desc = new effect_descriptor_t[SUB_FX_COUNT];
82 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT];
89 delete[] desc;
92 delete[] pContext->desc;
97 // to the Context desc array
100 desc[0] = *(effect_descriptor_t*)(sube[0])->object;
101 desc[1] = *(effect_descriptor_t*)(sube[1])->object;
102 aeli[0] = sube[0]->lib->desc;
103 aeli[1] = sube[1]->lib->desc;
170 const effect_descriptor_t *desc = NULL; local
340 const effect_descriptor_t *desc; local
[all...]
/frameworks/compile/mclinker/tools/mcld/lib/
H A DTargetControlOptions.cpp16 llvm::cl::desc("Set the maximum size of objects to be optimized using GP"),
21 llvm::cl::desc("Warn if adding DT_TEXTREL in a shared object."),
26 llvm::cl::desc("Enable Cortex-A8 Thumb-2 branch erratum fix"),
30 llvm::cl::desc("Link big-endian objects. This affects the output format."),
34 llvm::cl::desc("Link little-endian objects. This affects the output format."),
38 llvm::cl::desc("This option is ignored for SVR4 compatibility"),
H A DOutputFormatOptions.cpp18 llvm::cl::desc("Output filename"),
22 llvm::cl::desc("alias for -o"),
27 llvm::cl::desc("Choose a file type\n"
44 llvm::cl::desc("set output format"),
53 llvm::cl::desc("Create a shared library."),
57 llvm::cl::desc("alias for -shared"),
61 llvm::cl::desc("Emit a position-independent executable file"),
65 llvm::cl::desc("Generate relocatable output"),
69 llvm::cl::desc("alias for --relocatable"),
74 llvm::cl::desc("se
[all...]
H A DDynamicSectionOptions.cpp17 llvm::cl::desc("Use the explicit symbol as the entrance of your program."),
22 llvm::cl::desc("alias for -e"),
27 llvm::cl::desc("Bind references within the shared library."),
31 llvm::cl::desc("Info the dynamic linker to lookups only inside the group."),
35 llvm::cl::desc("Set internal name of shared library"),
40 llvm::cl::desc("Do not allow unresolved references"));
43 llvm::cl::desc("Allow multiple definition"));
49 llvm::cl::desc("The -z options for GNU ld compatibility."),
55 llvm::cl::desc("Set the name of the dynamic linker."),
59 llvm::cl::desc("Enabl
[all...]
H A DSymbolOptions.cpp17 llvm::cl::desc("Force symbol to be undefined in the output file"),
22 llvm::cl::desc("alias for -u"),
26 llvm::cl::desc("Version script."),
30 llvm::cl::desc("warn common symbol"),
35 llvm::cl::desc("Define common symbol"),
40 llvm::cl::desc("alias for -d"),
45 llvm::cl::desc("alias for -d"),
H A DPreferenceOptions.cpp35 llvm::cl::desc("Print the names of the input files as ld processes them."));
38 llvm::cl::desc("alias for -t"),
43 llvm::cl::desc("Display the version number for ld and list the\n"
48 llvm::cl::desc("Display the version number for MCLinker."));
52 llvm::cl::desc("limits the maximum number of erros."));
56 llvm::cl::desc("limits the maximum number of warnings."));
60 llvm::cl::desc("Surround the result strings with the marker"),
72 llvm::cl::desc("Print a link map to the standard output."),
76 llvm::cl::desc("alias for -M"),
83 llvm::cl::desc("d
[all...]
H A DOptimizationOptions.cpp21 llvm::cl::desc("Enable garbage collection of unused input sections."),
27 llvm::cl::desc("disable garbage collection of unused input sections."),
35 llvm::cl::desc("List all sections removed by garbage collection."),
41 llvm::cl::desc("disable --print-gc-sections"),
50 llvm::cl::desc("Don't create unwind info for linker"
58 llvm::cl::desc("Request creation of unwind info for linker"
65 llvm::cl::desc("Identical Code Folding"),
77 llvm::cl::desc("Number of iterations to do ICF."),
81 llvm::cl::desc("Print the folded identical sections."),
85 llvm::cl::desc("Optimizatio
[all...]
H A DSearchPathOptions.cpp19 llvm::cl::desc("Use directory as the location of the sysroot"),
27 llvm::cl::desc("Add [searchdir] to the list of search paths"),
32 llvm::cl::desc("alias for -L"),
36 llvm::cl::desc("Only search lib dirs explicitly specified on cmdline"),
43 llvm::cl::desc("Add a directory to the runtime library search path"),
47 llvm::cl::desc("alias for --rpath"),
55 llvm::cl::desc("Add a directory to the link time library search path"),
59 llvm::cl::desc("Add path to the default library search path"),
H A DPositionalOptions.cpp23 llvm::cl::desc("[input object files]"),
29 llvm::cl::desc("Linker script"),
37 llvm::cl::desc("Add the archive or object file specified by namespec to\n"
43 llvm::cl::desc("alias for -l"),
51 llvm::cl::desc("For each archive mentioned on the command line after\n"
57 llvm::cl::desc("Turn off the effect of the --whole-archive option for\n"
62 llvm::cl::desc("This option affects ELF DT_NEEDED tags for dynamic\n"
68 llvm::cl::desc("Turn off the effect of the --as-needed option for\n"
73 llvm::cl::desc("--add-needed causes DT_NEEDED tags are always\n"
79 llvm::cl::desc("
[all...]
/frameworks/av/camera/
H A DVendorTagDescriptor.cpp78 sp<VendorTagDescriptor> desc = new VendorTagDescriptor(); local
79 desc->mTagCount = tagCount;
95 desc->mTagToNameMap.add(tag, String8(tagName));
112 desc->mTagToTypeMap.add(tag, tagType);
115 desc->mSections = sections;
124 desc->mTagToSectionMap.add(tag, static_cast<uint32_t>(index));
128 if ((reverseIndex = desc->mReverseMapping.indexOfKey(sectionString)) < 0) {
130 reverseIndex = desc->mReverseMapping.add(sectionString, nameMapper);
132 desc->mReverseMapping[reverseIndex]->add(desc
[all...]
/frameworks/compile/slang/
H A Dllvm-rs-as.cpp40 InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-"));
43 OutputFilename("o", cl::desc("Override output filename"),
47 Force("f", cl::desc("Enable binary output on terminals"));
50 DisableOutput("disable-output", cl::desc("Disable output"), cl::init(false));
53 DumpAsm("d", cl::desc("Print assembly as parsed"), cl::Hidden);
57 cl::desc("Do not run verifier on input LLVM (dangerous!)"));
64 cl::desc("Set the bitcode version to be written:"),
/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.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/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/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...]

Completed in 2882 milliseconds

123456