/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | AbstractClassAdapter.java | 53 String renameTypeDesc(String desc) { argument 54 if (desc == null) { 58 return renameType(Type.getType(desc)); 117 String renameMethodDesc(String desc) { argument 118 if (desc == null) { 122 Type[] args = Type.getArgumentTypes(desc); 131 Type ret = Type.getReturnType(desc); 190 public void visitOuterClass(String owner, String name, String desc) { argument 191 super.visitOuterClass(renameInternalType(owner), name, renameTypeDesc(desc)); 195 public MethodVisitor visitMethod(int access, String name, String desc, argument 204 visitAnnotation(String desc, boolean visible) argument 210 visitField(int access, String name, String desc, String signature, Object value) argument 234 visitAnnotation(String desc, boolean visible) argument 241 visitParameterAnnotation(int parameter, String desc, boolean visible) argument 259 visitFieldInsn(int opcode, String owner, String name, String desc) argument 267 visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) argument 291 visitMultiANewArrayInsn(String desc, int dims) argument 305 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument [all...] |
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 222 isReplacementNeeded(String owner, String name, String desc, String sourceClass) argument 240 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument 252 visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) argument 273 public String desc; field in class:ReplaceMethodCallsAdapter.MethodInformation 275 MethodInformation(int opcode, String owner, String name, String desc) argument 284 isNeeded(String owner, String name, String desc, String sourceClass) argument [all...] |
H A D | DelegateClassAdapter.java | 76 public FieldVisitor visitField(int access, String name, String desc, String signature, argument 83 return super.visitField(access, name, desc, signature, value); 87 public MethodVisitor visitMethod(int access, String name, String desc, argument 98 return super.visitMethod(access, name, desc, signature, exceptions); 106 mClassName, name, desc)); 112 MethodVisitor mwDelegate = super.visitMethod(access, name, desc, signature, exceptions); 115 mLog, null, mwDelegate, mClassName, name, desc, isStaticMethod, 126 desc, signature, exceptions); 141 desc, signature, exceptions); 143 desc, signatur [all...] |
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 | 115 * @param desc A method descriptor (c.f. {@link Type#getReturnType(String)} + 124 String desc, 133 mDesc = desc; 248 String desc = Type.getMethodDescriptor( 256 desc, 270 mLog.debug("Delegate: %1$s # %2$s %3$s", delegateClassName, mMethodName, desc); 302 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument 304 return mOrgWriter.visitAnnotation(desc, visible); 321 public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, argument 324 return mOrgWriter.visitParameterAnnotation(parameter, desc, visibl 119 DelegateMethodAdapter(Log log, MethodVisitor mvOriginal, MethodVisitor mvDelegate, String className, String methodName, String desc, boolean isStatic, boolean isStaticClass) argument 375 visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) argument 382 visitFieldInsn(int opcode, String owner, String name, String desc) argument 424 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument 439 visitMultiANewArrayInsn(String desc, int dims) argument [all...] |
H A D | PromoteFieldClassAdapter.java | 42 public FieldVisitor visitField(int access, String name, String desc, String signature, argument 49 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 | 366 public boolean considerDesc(String desc) { argument 367 if (desc != null) { 369 if (desc.length() > 0 && desc.charAt(0) == '(') { 371 Type t = Type.getReturnType(desc); 374 for (Type arg : Type.getArgumentTypes(desc)) { 379 Type t = Type.getType(desc); 417 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument 418 // desc is the class descriptor of the annotation class. 419 considerDesc(desc); 441 visitAnnotation(String desc, boolean visible) argument 460 visitField(int access, String name, String desc, String signature, Object value) argument 483 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument 495 visitOuterClass(String owner, String name, String desc) argument 528 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, boolean itf) 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...] |
/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 | 57 AString desc; local 59 sessionDesc->getFormatType(index, &PT, &desc, ¶ms); 61 if (!strncmp(desc.c_str(), "H264/", 5)) { 64 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { 66 } else if (!strncmp(desc.c_str(), "H263-1998/", 10) 67 || !strncmp(desc.c_str(), "H263-2000/", 10)) { 70 } else if (!strncmp(desc.c_str(), "AMR/", 4)) { 72 } else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) { 74 } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8) 75 || !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 | 55 effect_descriptor_t* desc; local 75 desc = new effect_descriptor_t[SUB_FX_COUNT]; 79 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT]; 86 delete[] desc; 89 delete[] pContext->desc; 95 // to the Context desc array 98 desc[0] = *(effect_descriptor_t*)(sube[0])->object; 99 desc[1] = *(effect_descriptor_t*)(sube[1])->object; 100 aeli[0] = sube[0]->lib->desc; 101 aeli[1] = sube[1]->lib->desc; 168 const effect_descriptor_t *desc = NULL; local 343 const effect_descriptor_t *desc; local [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactoryState.h | 47 effect_descriptor_t **desc); 54 void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent);
|
H A D | EffectsFactoryState.c | 34 effect_descriptor_t **desc) 65 if (desc) { 66 *desc = d; 114 void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent) { argument 124 snprintf(s, sizeof(s), "%s%s / %s\n", idt, desc->name, desc->implementor); 127 uuidToString(&desc->uuid, s, sizeof(s)); 131 uuidToString(&desc->type, s, sizeof(s)); 136 desc->apiVersion, idt, desc 31 findEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.cpp | 125 void Program::setUniforms(const Description& desc) { argument 131 glUniformMatrix4fv(mTextureMatrixLoc, 1, GL_FALSE, desc.mTexture.getMatrix().asArray()); 134 const float color[4] = {desc.mColor.r, desc.mColor.g, desc.mColor.b, desc.mColor.a}; 141 mat4 inputTransformMatrix = mat4(desc.mInputTransformMatrix) * desc.mSaturationMatrix; 147 mat4 outputTransformMatrix = desc.mColorMatrix * desc [all...] |
/frameworks/compile/slang/ |
H A D | llvm-rs-as.cpp | 41 InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-")); 44 OutputFilename("o", cl::desc("Override output filename"), 48 Force("f", cl::desc("Enable binary output on terminals")); 51 DisableOutput("disable-output", cl::desc("Disable output"), cl::init(false)); 54 TargetAPI("target-api", cl::desc("Specify RenderScript target API version " 59 DumpAsm("d", cl::desc("Print assembly as parsed"), cl::Hidden); 63 cl::desc("Do not run verifier on input LLVM (dangerous!)"));
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
H A D | IconLoader.java | 106 ActivityManager.TaskDescription desc, boolean returnDefault) { 108 Bitmap tdIcon = desc.getInMemoryIcon(); 110 return createDrawableFromBitmap(tdIcon, userId, desc); 112 if (desc.getIconResource() != 0) { 118 return createBadgedDrawable(res.getDrawable(desc.getIconResource(), null), userId, 119 desc); 126 desc.getIconFilename(), userId); 128 return createDrawableFromBitmap(tdIcon, userId, desc); 134 Drawable icon = getBadgedActivityIcon(activityInfo, userId, desc); 147 ActivityManager.TaskDescription desc) { 105 createNewIconForTask(Task.TaskKey taskKey, ActivityManager.TaskDescription desc, boolean returnDefault) argument 146 createDrawableFromBitmap(Bitmap icon, int userId, ActivityManager.TaskDescription desc) argument 152 createBadgedDrawable(Drawable icon, int userId, ActivityManager.TaskDescription desc) argument 158 getBadgedActivityIcon(ActivityInfo info, int userId, ActivityManager.TaskDescription desc) argument 183 createBadgedDrawable(Drawable icon, int userId, ActivityManager.TaskDescription desc) argument 192 getBadgedActivityIcon(ActivityInfo info, int userId, ActivityManager.TaskDescription desc) argument [all...] |
/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/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
H A D | AuthenticatorHelper.java | 104 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); 105 Context authContext = context.createPackageContextAsUser(desc.packageName, 0, 108 authContext.getDrawable(desc.iconId), mUserHandle); 131 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); 132 Context authContext = context.createPackageContextAsUser(desc.packageName, 0, 134 label = authContext.getResources().getText(desc.labelId); 151 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); 152 return desc.packageName; 165 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); 166 return desc [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...] |
/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/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioPolicyMix.h | 59 status_t registerMix(const String8& address, AudioMix mix, sp<SwAudioOutputDescriptor> desc); 63 void closeOutput(sp<SwAudioOutputDescriptor> &desc); 69 * @param[out] desc to return if an output could be found. 75 sp<SwAudioOutputDescriptor> &desc);
|
/frameworks/support/jetifier/jetifier/standalone/src/main/kotlin/com/android/tools/build/jetifier/standalone/ |
H A D | Main.kt | 42 desc = "Input library path (jar, aar, zip)", 48 desc = "Output file path", 54 desc = "Input config path (otherwise default is used)", 60 desc = "Logging level. Values: error, warning (default), info, verbose", 66 desc = "Run reversed process (de-jetification)", 73 desc = "Don't fallback in case rules are missing and throw errors instead", 80 desc = "Rebuild the zip of maven distribution according to the generated pom file." + 89 desc = "Versions of dependencies to be substituted by Jetifier. In most cases you " + 99 desc: String, 103 val op = Option(argName, argNameLong, hasArgs, desc) [all...] |
/frameworks/native/libs/nativewindow/ |
H A D | AHardwareBuffer.cpp | 43 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer) { argument 44 if (!outBuffer || !desc) 47 if (!AHardwareBuffer_isValidPixelFormat(desc->format)) { 48 ALOGE("Invalid AHardwareBuffer pixel format %u (%#x))", desc->format, desc->format); 52 int format = AHardwareBuffer_convertToPixelFormat(desc->format); 53 if (desc->rfu0 != 0 || desc->rfu1 != 0) { 58 if (desc->format == AHARDWAREBUFFER_FORMAT_BLOB && desc [all...] |