Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 201) sorted by relevance

123456789

/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DAbstractClassAdapter.java53 String renameTypeDesc(String desc) { in renameTypeDesc() argument
54 if (desc == null) { in renameTypeDesc()
58 return renameType(Type.getType(desc)); in renameTypeDesc()
117 String renameMethodDesc(String desc) { in renameMethodDesc() argument
118 if (desc == null) { in renameMethodDesc()
122 Type[] args = Type.getArgumentTypes(desc); in renameMethodDesc()
131 Type ret = Type.getReturnType(desc); in renameMethodDesc()
190 public void visitOuterClass(String owner, String name, String desc) { in visitOuterClass() argument
191 super.visitOuterClass(renameInternalType(owner), name, renameTypeDesc(desc)); in visitOuterClass()
195 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
[all …]
DReplaceMethodCallsAdapter.java65 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
67 ARRAYCOPY_DESCRIPTORS.contains(desc); in METHOD_REPLACERS.add()
72 mi.desc = "(Ljava/lang/Object;ILjava/lang/Object;II)V"; in METHOD_REPLACERS.add()
84 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
86 ("adjustLanguageCode".equals(name) && desc.equals(STRING_TO_STRING) || in METHOD_REPLACERS.add()
87 "getDefault".equals(name) && desc.equals(VOID_TO_LOCALE)); in METHOD_REPLACERS.add()
99 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
106 assert mi.desc.equals("(Ljava/lang/String;Ljava/lang/Throwable;)V") in METHOD_REPLACERS.add()
107 || mi.desc.equals("(Ljava/lang/String;)V"); in METHOD_REPLACERS.add()
116 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
[all …]
DDelegateClassAdapter.java76 public FieldVisitor visitField(int access, String name, String desc, String signature, in visitField() argument
83 return super.visitField(access, name, desc, signature, value); in visitField()
87 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
98 return super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
106 mClassName, name, desc)); in visitMethod()
112 MethodVisitor mwDelegate = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
115 mLog, null, mwDelegate, mClassName, name, desc, isStaticMethod, in visitMethod()
126 desc, signature, exceptions); in visitMethod()
141 desc, signature, exceptions); in visitMethod()
143 desc, signature, exceptions); in visitMethod()
[all …]
DDependencyFinder.java366 public boolean considerDesc(String desc) { in considerDesc() argument
367 if (desc != null) { in considerDesc()
369 if (desc.length() > 0 && desc.charAt(0) == '(') { in considerDesc()
371 Type t = Type.getReturnType(desc); in considerDesc()
374 for (Type arg : Type.getArgumentTypes(desc)) { in considerDesc()
379 Type t = Type.getType(desc); in considerDesc()
417 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { in visitAnnotation() argument
419 considerDesc(desc); in visitAnnotation()
441 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { in visitAnnotation() argument
443 considerDesc(desc); in visitAnnotation()
[all …]
DDelegateMethodAdapter.java124 String desc, in DelegateMethodAdapter() argument
133 mDesc = desc; in DelegateMethodAdapter()
248 String desc = Type.getMethodDescriptor( in generateDelegateCode() local
256 desc, in generateDelegateCode()
270 mLog.debug("Delegate: %1$s # %2$s %3$s", delegateClassName, mMethodName, desc); in generateDelegateCode()
302 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { in visitAnnotation() argument
304 return mOrgWriter.visitAnnotation(desc, visible); in visitAnnotation()
321 public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, in visitParameterAnnotation() argument
324 return mOrgWriter.visitParameterAnnotation(parameter, desc, visible); in visitParameterAnnotation()
375 public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) { in visitMethodInsn() argument
[all …]
DStubClassAdapter.java214 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
225 Type t = Type.getReturnType(desc); in visitMethod()
256 String invokeSignature = methodSignature + desc; in visitMethod()
259 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
260 return mMethodVisitorFactory.create(mw, name, returnType(desc), invokeSignature, in visitMethod()
264 mLog.debug(" Keep: %s %s", name, desc); in visitMethod()
265 return super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
270 public FieldVisitor visitField(int access, String name, String desc, String signature, in visitField() argument
276 return super.visitField(access, name, desc, signature, value); in visitField()
282 private static Type returnType(String desc) { in returnType() argument
[all …]
DAsmAnalyzer.java559 public void considerDesc(String desc) { in considerDesc() argument
560 if (desc != null) { in considerDesc()
562 Type t = Type.getType(desc); in considerDesc()
596 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { in visitAnnotation() argument
598 considerDesc(desc); in visitAnnotation()
620 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { in visitAnnotation() argument
622 considerDesc(desc); in visitAnnotation()
639 public FieldVisitor visitField(int access, String name, String desc, in visitField() argument
642 considerDesc(desc); in visitField()
658 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
[all …]
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp43 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer) { in AHardwareBuffer_allocate() argument
44 if (!outBuffer || !desc) return BAD_VALUE; in AHardwareBuffer_allocate()
45 if (!AHardwareBuffer_isValidDescription(desc, /*log=*/true)) return BAD_VALUE; in AHardwareBuffer_allocate()
47 int format = AHardwareBuffer_convertToPixelFormat(desc->format); in AHardwareBuffer_allocate()
48 uint64_t usage = AHardwareBuffer_convertToGrallocUsageBits(desc->usage); in AHardwareBuffer_allocate()
50 desc->width, desc->height, format, desc->layers, usage, in AHardwareBuffer_allocate()
59 desc->width, desc->height, desc->layers, strerror(-err), gbuffer->handle); in AHardwareBuffer_allocate()
368 int AHardwareBuffer_isSupported(const AHardwareBuffer_Desc* desc) { in AHardwareBuffer_isSupported() argument
369 if (!desc) return 0; in AHardwareBuffer_isSupported()
370 if (!AHardwareBuffer_isValidDescription(desc, /*log=*/false)) return 0; in AHardwareBuffer_isSupported()
[all …]
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp119 for (const std::shared_ptr<C2ParamDescriptor> &desc : paramDescs) { in addParamDesc() local
121 desc->index().coreIndex()); in addParamDesc()
123 ALOGD("Could not describe %s", desc->name().c_str()); in addParamDesc()
126 addParamDesc(desc, *structDesc, reflector, true /* markVendor */); in addParamDesc()
130 for (const std::shared_ptr<C2ParamDescriptor> &desc : paramDescs) { in addParamDesc() local
131 if (!desc->index().isVendor()) { in addParamDesc()
135 desc->index().coreIndex()); in addParamDesc()
137 addParamDesc(desc, *structDesc, reflector, false /* markVendor */); in addParamDesc()
143 std::shared_ptr<C2ParamDescriptor> desc, in addParamStructDesc() argument
161 addParamStructDesc(desc, fieldName, offset + _C2ParamInspector::GetOffset(*it), in addParamStructDesc()
[all …]
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp55 effect_descriptor_t* desc; in EffectProxyCreate() local
75 desc = new effect_descriptor_t[SUB_FX_COUNT]; in EffectProxyCreate()
79 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT]; in EffectProxyCreate()
86 delete[] desc; in EffectProxyCreate()
89 delete[] pContext->desc; in EffectProxyCreate()
98 desc[0] = *(effect_descriptor_t*)(sube[0])->object; in EffectProxyCreate()
99 desc[1] = *(effect_descriptor_t*)(sube[1])->object; in EffectProxyCreate()
100 aeli[0] = sube[0]->lib->desc; in EffectProxyCreate()
101 aeli[1] = sube[1]->lib->desc; in EffectProxyCreate()
102 if ((desc[0].flags & EFFECT_FLAG_HW_ACC_TUNNEL) && in EffectProxyCreate()
[all …]
/frameworks/av/services/audiopolicy/engine/common/src/
DLastRemovableMediaDevices.cpp25 void LastRemovableMediaDevices::setRemovableMediaDevices(sp<DeviceDescriptor> desc, in setRemovableMediaDevices() argument
28 if (desc == nullptr) { in setRemovableMediaDevices()
32 (getDeviceOutGroup(desc->type()) != GROUP_NONE)) { in setRemovableMediaDevices()
33 setRemovableMediaDevices(desc, AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE); in setRemovableMediaDevices()
34 mMediaDevices.insert(mMediaDevices.begin(), {desc, getDeviceOutGroup(desc->type())}); in setRemovableMediaDevices()
37 if ((iter->desc)->equals(desc)) { in setRemovableMediaDevices()
51 if ((group == GROUP_NONE) || (group == getDeviceOutGroup((iter->desc)->type()))) { in getLastRemovableMediaDevices()
52 ret.push_back((iter->desc)->type()); in getLastRemovableMediaDevices()
/frameworks/native/libs/renderengine/gl/
DProgram.cpp116 void Program::setUniforms(const Description& desc) { in setUniforms() argument
122 glUniformMatrix4fv(mTextureMatrixLoc, 1, GL_FALSE, desc.texture.getMatrix().asArray()); in setUniforms()
125 const float color[4] = {desc.color.r, desc.color.g, desc.color.b, desc.color.a}; in setUniforms()
129 mat4 inputTransformMatrix = desc.inputTransformMatrix; in setUniforms()
135 mat4 outputTransformMatrix = desc.colorMatrix * desc.outputTransformMatrix; in setUniforms()
139 glUniform1f(mDisplayMaxLuminanceLoc, desc.displayMaxLuminance); in setUniforms()
142 glUniform1f(mCornerRadiusLoc, desc.cornerRadius); in setUniforms()
145 glUniform2f(mCropCenterLoc, desc.cropSize.x / 2.0f, desc.cropSize.y / 2.0f); in setUniforms()
148 glUniformMatrix4fv(mProjectionMatrixLoc, 1, GL_FALSE, desc.projectionMatrix.asArray()); in setUniforms()
/frameworks/av/camera/
DVendorTagDescriptor.cpp397 sp<android::VendorTagDescriptor> desc = new android::VendorTagDescriptor(); in readFromParcel() local
398 if ((res = parcel->readParcelable(desc.get())) != OK) { in readFromParcel()
404 if ((res = addVendorDescriptor(id, desc)) != OK) { in readFromParcel()
421 auto desc = mVendorMap.find(id); in getTagCount() local
422 if (desc != mVendorMap.end()) { in getTagCount()
423 ret = desc->second->getTagCount(); in getTagCount()
433 auto desc = mVendorMap.find(id); in getTagArray() local
434 if (desc != mVendorMap.end()) { in getTagArray()
435 desc->second->getTagArray(tagArray); in getTagArray()
444 auto desc = mVendorMap.find(id); in getSectionName() local
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DIconLoader.java106 ActivityManager.TaskDescription desc, boolean returnDefault) { in createNewIconForTask() argument
108 Bitmap tdIcon = desc.getInMemoryIcon(); in createNewIconForTask()
110 return createDrawableFromBitmap(tdIcon, userId, desc); in createNewIconForTask()
112 if (desc.getIconResource() != 0) { in createNewIconForTask()
118 return createBadgedDrawable(res.getDrawable(desc.getIconResource(), null), userId, in createNewIconForTask()
119 desc); in createNewIconForTask()
126 desc.getIconFilename(), userId); in createNewIconForTask()
128 return createDrawableFromBitmap(tdIcon, userId, desc); in createNewIconForTask()
134 Drawable icon = getBadgedActivityIcon(activityInfo, userId, desc); in createNewIconForTask()
147 ActivityManager.TaskDescription desc) { in createDrawableFromBitmap() argument
[all …]
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/
DVtsHalBufferHubV1_0TargetTest.cpp94 AHardwareBuffer_Desc desc; in isValidTraits() local
95 memcpy(&desc, &bufferTraits.bufferDesc, sizeof(AHardwareBuffer_Desc)); in isValidTraits()
108 return desc.format == kDesc.format && desc.height == kDesc.height && in isValidTraits()
109 desc.layers == kDesc.layers && desc.usage == kDesc.usage && desc.width == kDesc.width && in isValidTraits()
117 HardwareBufferDescription desc; in TEST_F() local
118 memcpy(&desc, &kDesc, sizeof(HardwareBufferDescription)); in TEST_F()
129 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F()
140 HardwareBufferDescription desc; in TEST_F() local
141 memcpy(&desc, &kDesc, sizeof(HardwareBufferDescription)); in TEST_F()
152 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPSource.cpp57 AString desc; in ARTPSource() local
59 sessionDesc->getFormatType(index, &PT, &desc, &params); in ARTPSource()
61 if (!strncmp(desc.c_str(), "H264/", 5)) { in ARTPSource()
64 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { in ARTPSource()
66 } else if (!strncmp(desc.c_str(), "H263-1998/", 10) in ARTPSource()
67 || !strncmp(desc.c_str(), "H263-2000/", 10)) { in ARTPSource()
70 } else if (!strncmp(desc.c_str(), "AMR/", 4)) { in ARTPSource()
72 } else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) { in ARTPSource()
74 } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8) in ARTPSource()
75 || !strncasecmp(desc.c_str(), "mpeg4-generic/", 14)) { in ARTPSource()
[all …]
DARawAudioAssembler.cpp120 bool ARawAudioAssembler::Supports(const char *desc) { in Supports() argument
121 return !strncmp(desc, "PCMU/", 5) in Supports()
122 || !strncmp(desc, "PCMA/", 5); in Supports()
127 const char *desc, const sp<MetaData> &format) { in MakeFormat() argument
128 if (!strncmp(desc, "PCMU/", 5)) { in MakeFormat()
130 } else if (!strncmp(desc, "PCMA/", 5)) { in MakeFormat()
138 desc, &sampleRate, &numChannels); in MakeFormat()
/frameworks/av/media/libeffects/factory/
DEffectsFactoryState.c34 effect_descriptor_t **desc) in findEffect() argument
65 if (desc) { in findEffect()
66 *desc = d; in findEffect()
114 void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent) { in dumpEffectDescriptor() argument
124 snprintf(s, sizeof(s), "%s%s / %s\n", idt, desc->name, desc->implementor); in dumpEffectDescriptor()
127 uuidToString(&desc->uuid, s, sizeof(s)); in dumpEffectDescriptor()
131 uuidToString(&desc->type, s, sizeof(s)); in dumpEffectDescriptor()
136 desc->apiVersion, idt, desc->flags); in dumpEffectDescriptor()
/frameworks/base/core/java/android/accounts/
DChooseAccountTypeActivity.java96 setResultAndFinish(mAuthenticatorInfosToDisplay.get(0).desc.type); in onCreate()
110 setResultAndFinish(mAuthenticatorInfosToDisplay.get(position).desc.type); in onCreate()
127 for(AuthenticatorDescription desc : AccountManager.get(this).getAuthenticatorTypes()) { in buildTypeToAuthDescriptionMap()
131 Context authContext = createPackageContext(desc.packageName, 0); in buildTypeToAuthDescriptionMap()
132 icon = authContext.getDrawable(desc.iconId); in buildTypeToAuthDescriptionMap()
133 final CharSequence sequence = authContext.getResources().getText(desc.labelId); in buildTypeToAuthDescriptionMap()
141 Log.w(TAG, "No icon name for account type " + desc.type); in buildTypeToAuthDescriptionMap()
146 Log.w(TAG, "No icon resource for account type " + desc.type); in buildTypeToAuthDescriptionMap()
149 AuthInfo authInfo = new AuthInfo(desc, name, icon); in buildTypeToAuthDescriptionMap()
150 mTypeToAuthenticatorInfo.put(desc.type, authInfo); in buildTypeToAuthDescriptionMap()
[all …]
/frameworks/compile/mclinker/unittests/
DStaticResolverTest.cpp53 ASSERT_TRUE(mcld::ResolveInfo::Define == new_sym->desc()); in TEST_F()
54 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc()); in TEST_F()
80 ASSERT_TRUE(mcld::ResolveInfo::Undefined == new_sym->desc()); in TEST_F()
81 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc()); in TEST_F()
107 ASSERT_TRUE(mcld::ResolveInfo::Define == new_sym->desc()); in TEST_F()
108 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc()); in TEST_F()
134 ASSERT_TRUE(mcld::ResolveInfo::Undefined == new_sym->desc()); in TEST_F()
135 ASSERT_TRUE(mcld::ResolveInfo::Undefined == old_sym->desc()); in TEST_F()
184 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc()); in TEST_F()
185 ASSERT_TRUE(mcld::ResolveInfo::Define == new_sym->desc()); in TEST_F()
[all …]
DNamePoolTest.cpp67 ResolveInfo::Desc desc = ResolveInfo::Define; in TEST_F() local
74 name, isDyn, type, desc, binding, size, other, NULL, result1); in TEST_F()
80 EXPECT_EQ(desc, result1.info->desc()); in TEST_F()
87 name, isDyn, type, desc, binding, size, other, NULL, result2); in TEST_F()
93 EXPECT_EQ(desc, result1.info->desc()); in TEST_F()
105 ResolveInfo::Desc desc = ResolveInfo::Undefined; in TEST_F() local
111 name, isDyn, type, desc, binding, size, other, NULL, result1); in TEST_F()
117 EXPECT_EQ(desc, result1.info->desc()); in TEST_F()
124 name, isDyn, type, desc, binding, size, other, NULL, result2); in TEST_F()
132 desc, in TEST_F()
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp63 llvm::cl::desc("<input bitcode files>"));
67 llvm::cl::desc("Lists of kernels to merge (as source-and-slot "
72 llvm::cl::desc("Invocable functions"));
75 OptOutputFilename("o", llvm::cl::desc("Specify the output filename"),
80 OptBCLibFilename("bclib", llvm::cl::desc("Specify the bclib filename"),
84 OptBCLibRelaxedFilename("bclib_relaxed", llvm::cl::desc("Specify the bclib filename optimized for "
90 OptOutputPath("output_path", llvm::cl::desc("Specify the output path"),
96 llvm::cl::desc("Emit an LLVM-IR version of the generated program"));
100 llvm::cl::desc("Specify the target triple (default: "
106 llvm::cl::desc("Alias for -mtriple"),
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
DAuthenticatorHelper.java104 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); in getDrawableForType() local
105 Context authContext = context.createPackageContextAsUser(desc.packageName, 0, in getDrawableForType()
108 authContext.getDrawable(desc.iconId), mUserHandle); in getDrawableForType()
131 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); in getLabelForType() local
132 Context authContext = context.createPackageContextAsUser(desc.packageName, 0, in getLabelForType()
134 label = authContext.getResources().getText(desc.labelId); in getLabelForType()
151 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); in getPackageForType() local
152 return desc.packageName; in getPackageForType()
165 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); in getLabelIdForType() local
166 return desc.labelId; in getLabelIdForType()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp189 effect_descriptor_t desc = effects[i]->descriptor(); in queryDefaultInputEffects() local
191 descriptors[i] = desc; in queryDefaultInputEffects()
222 effect_descriptor_t desc = effects[i]->descriptor(); in queryDefaultOutputSessionEffects() local
224 descriptors[i] = desc; in queryDefaultOutputSessionEffects()
365 EffectDescVector *desc = NULL; in addSourceDefaultEffect() local
368 desc = new EffectDescVector(); in addSourceDefaultEffect()
369 mInputSources.add(source, desc); in addSourceDefaultEffect()
371 desc = mInputSources.valueAt(index); in addSourceDefaultEffect()
382 desc->mEffects.add(effect); in addSourceDefaultEffect()
430 EffectDescVector *desc = NULL; in addStreamDefaultEffect() local
[all …]
/frameworks/compile/slang/
Dllvm-rs-as.cpp41 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!)"));

123456789