/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | ReplaceMethodCallsAdapter.java | 65 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { 67 ARRAYCOPY_DESCRIPTORS.contains(desc); 72 mi.desc = "(Ljava/lang/Object;ILjava/lang/Object;II)V"; 83 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { 84 return JAVA_LOCALE_CLASS.equals(owner) && "()Ljava/lang/String;".equals(desc) && 92 mi.desc = LOCALE_TO_STRING; 107 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { 109 ("adjustLanguageCode".equals(name) && desc.equals(STRING_TO_STRING) || 110 "forLanguageTag".equals(name) && desc.equals(STRING_TO_LOCALE) || 111 "getDefault".equals(name) && desc 196 isReplacementNeeded(String owner, String name, String desc, String sourceClass) argument 214 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument 226 visitMethodInsn(int opcode, String owner, String name, String desc) argument 246 public String desc; field in class:ReplaceMethodCallsAdapter.MethodInformation 248 MethodInformation(int opcode, String owner, String name, String desc) argument 257 isNeeded(String owner, String name, String desc, String sourceClass) argument [all...] |
H A D | AbstractClassAdapter.java | 54 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 D | DelegateClassAdapter.java | 71 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 D | TransformClassAdapter.java | 91 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 D | DelegateMethodAdapter.java | 113 * @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 D | PromoteFieldClassAdapter.java | 43 public FieldVisitor visitField(int access, String name, String desc, String signature, argument 50 return super.visitField(access, name, desc, signature, value);
|
H A D | ClassHasNativeVisitor.java | 55 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 D | DependencyFinder.java | 367 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 580 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument 601 visitMethodInsn(int opcode, String owner, String name, String desc) argument 613 visitMultiANewArrayInsn(String desc, int dims) argument 620 visitParameterAnnotation(int parameter, String desc, boolean visible) argument 770 visitAnnotation(String name, String desc) argument 782 visitEnum(String name, String desc, String value) argument [all...] |
H A D | AsmAnalyzer.java | 503 public void considerDesc(String desc) { argument 504 if (desc != null) { 506 Type t = Type.getType(desc); 540 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument 541 // desc is the class descriptor of the annotation class. 542 considerDesc(desc); 564 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument 565 // desc is the class descriptor of the annotation class. 566 considerDesc(desc); 583 public FieldVisitor visitField(int access, String name, String desc, argument 602 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument 614 visitOuterClass(String owner, String name, String desc) argument 650 visitFieldInsn(int opcode, String owner, String name, String desc) argument 701 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument 722 visitMethodInsn(int opcode, String owner, String name, String desc) argument 738 visitMultiANewArrayInsn(String desc, int dims) argument 745 visitParameterAnnotation(int parameter, String desc, boolean visible) argument 895 visitAnnotation(String name, String desc) argument 907 visitEnum(String name, String desc, String value) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARawAudioAssembler.h | 32 const char *desc, const AString ¶ms); 34 static bool Supports(const char *desc); 37 const char *desc, const sp<MetaData> &format);
|
H A D | ARawAudioAssembler.cpp | 38 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 D | ARTPSource.cpp | 54 AString desc; local 56 sessionDesc->getFormatType(index, &PT, &desc, ¶ms); 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 D | SDPLoader.cpp | 86 sp<ASessionDescription> desc = NULL; local 128 desc = new ASessionDescription; 130 if (desc == NULL || !desc->setTo(buffer->data(), (size_t)readSize)) { 142 notify->setObject("description", desc);
|
/frameworks/av/media/libeffects/proxy/ |
H A D | EffectProxy.cpp | 58 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/av/camera/ |
H A D | VendorTagDescriptor.cpp | 78 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 D | llvm-rs-as.cpp | 40 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 D | ChooseAccountTypeActivity.java | 96 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/compile/mclinker/unittests/ |
H A D | NamePoolTest.cpp | 67 ResolveInfo::Desc desc = ResolveInfo::Define; local 74 name, isDyn, type, desc, binding, size, other, NULL, result1); 80 EXPECT_EQ(desc, result1.info->desc()); 87 name, isDyn, type, desc, binding, size, other, NULL, result2); 93 EXPECT_EQ(desc, result1.info->desc()); 105 ResolveInfo::Desc desc = ResolveInfo::Undefined; local 111 name, isDyn, type, desc, binding, size, other, NULL, result1); 117 EXPECT_EQ(desc, result [all...] |
H A D | StaticResolverTest.cpp | 53 ASSERT_TRUE(mcld::ResolveInfo::Define == new_sym->desc()); 54 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc()); 80 ASSERT_TRUE(mcld::ResolveInfo::Undefined == new_sym->desc()); 81 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc()); 107 ASSERT_TRUE(mcld::ResolveInfo::Define == new_sym->desc()); 108 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc()); 134 ASSERT_TRUE(mcld::ResolveInfo::Undefined == new_sym->desc()); 135 ASSERT_TRUE(mcld::ResolveInfo::Undefined == old_sym->desc()); 184 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc()); 185 ASSERT_TRUE(mcld::ResolveInfo::Define == new_sym->desc()); [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPolicyMix.cpp | 91 void AudioPolicyMixCollection::closeOutput(sp<SwAudioOutputDescriptor> &desc) argument 95 if (policyMix->getOutput() == desc) { 102 sp<SwAudioOutputDescriptor> &desc) 114 desc = policyMix->getOutput(); 121 desc = policyMix->getOutput(); 131 desc = policyMix->getOutput(); 134 if (desc != 0) { 135 desc->mPolicyMix = mix; 101 getOutputForAttr(audio_attributes_t attributes, sp<SwAudioOutputDescriptor> &desc) argument
|
H A D | EffectDescriptor.cpp | 53 status_t EffectDescriptorCollection::registerEffect(const effect_descriptor_t *desc, argument 59 if (mTotalEffectsMemory + desc->memoryUsage > getMaxEffectsMemory()) { 61 desc->name, desc->memoryUsage); 64 mTotalEffectsMemory += desc->memoryUsage; 66 desc->name, io, strategy, session, id); 67 ALOGV("registerEffect() memory %d, total memory %d", desc->memoryUsage, mTotalEffectsMemory); 70 memcpy (&effectDesc->mDesc, desc, sizeof(effect_descriptor_t));
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbRequest.cpp | 54 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 D | accessorychat.c | 86 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/libbcc/tools/bcc_compat/ |
H A D | Main.cpp | 50 llvm::cl::desc("<input bitcode files>")); 53 OptOutputFilename("o", llvm::cl::desc("Specify the output filename"), 57 OptRuntimePath("rt-path", llvm::cl::desc("Specify the runtime library path"), 62 llvm::cl::desc("Specify the target triple (default: " 68 llvm::cl::desc("Alias for -mtriple"), 75 OptPIC("fPIC", llvm::cl::desc("Generate fully relocatable, position independent" 79 OptOptLevel("O", llvm::cl::desc("Optimization level. [-O0, -O1, -O2, or -O3] " 84 OptC("c", llvm::cl::desc("Compile and assemble, but do not link.")); 93 OptImmObjectOutput("or", llvm::cl::desc("Specify the filename for output the " 99 OptShared("shared", llvm::cl::desc("Creat [all...] |
/frameworks/compile/libbcc/tools/bcc/ |
H A D | Main.cpp | 62 llvm::cl::desc("<input bitcode files>")); 66 llvm::cl::desc("Lists of kernels to merge (as source-and-slot " 71 llvm::cl::desc("Invocable functions")); 74 OptOutputFilename("o", llvm::cl::desc("Specify the output filename"), 79 OptBCLibFilename("bclib", llvm::cl::desc("Specify the bclib filename"), 83 OptBCLibRelaxedFilename("bclib_relaxed", llvm::cl::desc("Specify the bclib filename optimized for " 89 OptOutputPath("output_path", llvm::cl::desc("Specify the output path"), 95 llvm::cl::desc("Emit an LLVM-IR version of the generated program")); 99 llvm::cl::desc("Specify the target triple (default: " 105 llvm::cl::desc("Alia [all...] |