Home
last modified time | relevance | path

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

123456

/frameworks/base/tools/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()
83 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
84 return JAVA_LOCALE_CLASS.equals(owner) && "()Ljava/lang/String;".equals(desc) && in METHOD_REPLACERS.add()
92 mi.desc = LOCALE_TO_STRING; in METHOD_REPLACERS.add()
107 public boolean isNeeded(String owner, String name, String desc, String sourceClass) { in METHOD_REPLACERS.add() argument
109 ("adjustLanguageCode".equals(name) && desc.equals(STRING_TO_STRING) || in METHOD_REPLACERS.add()
110 "forLanguageTag".equals(name) && desc.equals(STRING_TO_LOCALE) || in METHOD_REPLACERS.add()
111 "getDefault".equals(name) && desc.equals(VOID_TO_LOCALE)); in METHOD_REPLACERS.add()
[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 …]
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()
135 desc, signature, exceptions); in visitMethod()
137 desc, signature, exceptions); in visitMethod()
140 mLog, mwOriginal, mwDelegate, mClassName, name, desc, isStaticMethod, in visitMethod()
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 …]
DTransformClassAdapter.java91 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
95 Type t = Type.getReturnType(desc); in visitMethod()
125 String invokeSignature = methodSignature + desc; in visitMethod()
128 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
129 return new StubMethodAdapter(mw, name, returnType(desc), invokeSignature, in visitMethod()
133 mLog.debug(" Keep: %s %s", name, desc); in visitMethod()
134 return super.visitMethod(access, name, desc, signature, exceptions); in visitMethod()
141 Type returnType(String desc) { in returnType() argument
142 if (desc != null) { in returnType()
144 return Type.getReturnType(desc); in returnType()
DAsmAnalyzer.java503 public void considerDesc(String desc) { in considerDesc() argument
504 if (desc != null) { in considerDesc()
506 Type t = Type.getType(desc); in considerDesc()
540 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { in visitAnnotation() argument
542 considerDesc(desc); in visitAnnotation()
564 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { in visitAnnotation() argument
566 considerDesc(desc); in visitAnnotation()
583 public FieldVisitor visitField(int access, String name, String desc, in visitField() argument
586 considerDesc(desc); in visitField()
602 public MethodVisitor visitMethod(int access, String name, String desc, in visitMethod() argument
[all …]
DStubMethodAdapter.java219 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { in visitAnnotation() argument
220 return mParentVisitor.visitAnnotation(desc, visible); in visitAnnotation()
230 public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, in visitParameterAnnotation() argument
232 return mParentVisitor.visitParameterAnnotation(parameter, desc, visible); in visitParameterAnnotation()
292 public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) { in visitMethodInsn() argument
294 mParentVisitor.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn()
299 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument
301 mParentVisitor.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn()
341 public void visitLocalVariable(String name, String desc, String signature, in visitLocalVariable() argument
344 mParentVisitor.visitLocalVariable(name, desc, signature, start, end, index); in visitLocalVariable()
[all …]
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp58 effect_descriptor_t* desc; in EffectProxyCreate() local
78 desc = new effect_descriptor_t[SUB_FX_COUNT]; in EffectProxyCreate()
82 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT]; in EffectProxyCreate()
89 delete[] desc; in EffectProxyCreate()
92 delete[] pContext->desc; in EffectProxyCreate()
100 desc[0] = *(effect_descriptor_t*)(sube[0])->object; in EffectProxyCreate()
101 desc[1] = *(effect_descriptor_t*)(sube[1])->object; in EffectProxyCreate()
102 aeli[0] = sube[0]->lib->desc; in EffectProxyCreate()
103 aeli[1] = sube[1]->lib->desc; in EffectProxyCreate()
104 if ((desc[0].flags & EFFECT_FLAG_HW_ACC_TUNNEL) && in EffectProxyCreate()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPSource.cpp54 AString desc; in ARTPSource() local
56 sessionDesc->getFormatType(index, &PT, &desc, &params); in ARTPSource()
58 if (!strncmp(desc.c_str(), "H264/", 5)) { in ARTPSource()
61 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { in ARTPSource()
63 } else if (!strncmp(desc.c_str(), "H263-1998/", 10) in ARTPSource()
64 || !strncmp(desc.c_str(), "H263-2000/", 10)) { in ARTPSource()
67 } else if (!strncmp(desc.c_str(), "AMR/", 4)) { in ARTPSource()
69 } else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) { in ARTPSource()
71 } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8) in ARTPSource()
72 || !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/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/libbcc/tools/bcc/
DMain.cpp62 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("Alias for -mtriple"),
[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/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/base/docs/html/ndk/reference/
Dfiles.jd13 …l" href="asset__manager_8h.html" target="_self">asset_manager.h</a></td><td class="desc"></td></tr>
14 …asset__manager__jni_8h.html" target="_self">asset_manager_jni.h</a></td><td class="desc"></td></tr>
15 …" /><a class="el" href="bitmap_8h.html" target="_self">bitmap.h</a></td><td class="desc"></td></tr>
16 …el" href="configuration_8h.html" target="_self">configuration.h</a></td><td class="desc"></td></tr>
17 …22" /><a class="el" href="input_8h.html" target="_self">input.h</a></td><td class="desc"></td></tr>
18 …<a class="el" href="keycodes_8h.html" target="_self">keycodes.h</a></td><td class="desc"></td></tr>
19 …" /><a class="el" href="looper_8h.html" target="_self">looper.h</a></td><td class="desc"></td></tr>
20 …ref="native__activity_8h.html" target="_self">native_activity.h</a></td><td class="desc"></td></tr>
21 …l" href="native__window_8h.html" target="_self">native_window.h</a></td><td class="desc"></td></tr>
22 …native__window__jni_8h.html" target="_self">native_window_jni.h</a></td><td class="desc"></td></tr>
[all …]
Dmodules.jd13 … /><a class="el" href="group___asset.html" target="_self">Asset</a></td><td class="desc"></td></tr>
14 …><a class="el" href="group___bitmap.html" target="_self">Bitmap</a></td><td class="desc"></td></tr>
15 … href="group___configuration.html" target="_self">Configuration</a></td><td class="desc"></td></tr>
16 … /><a class="el" href="group___input.html" target="_self">Input</a></td><td class="desc"></td></tr>
17 …><a class="el" href="group___looper.html" target="_self">Looper</a></td><td class="desc"></td></tr>
18 …f="group___native_activity.html" target="_self">Native Activity</a></td><td class="desc"></td></tr>
19 …a class="el" href="group___storage.html" target="_self">Storage</a></td><td class="desc"></td></tr>
20 …><a class="el" href="group___sensor.html" target="_self">Sensor</a></td><td class="desc"></td></tr>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp55 sp<SwAudioOutputDescriptor> desc) in registerMix() argument
66 if (desc != 0) { in registerMix()
67 desc->mPolicyMix = policyMix->getMix(); in registerMix()
68 policyMix->setOutput(desc); in registerMix()
97 void AudioPolicyMixCollection::closeOutput(sp<SwAudioOutputDescriptor> &desc) in closeOutput() argument
101 if (policyMix->getOutput() == desc) { in closeOutput()
108 sp<SwAudioOutputDescriptor> &desc) in getOutputForAttr() argument
111 desc = 0; in getOutputForAttr()
211 desc = policyMix->getOutput(); in getOutputForAttr()
220 desc = policyMix->getOutput(); in getOutputForAttr()
[all …]
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c66 effect_descriptor_t **desc);
70 effect_descriptor_t **desc);
71 static void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent);
125 effect_descriptor_t *desc) in Effect_GetDescriptor() argument
140 ret = (*fx->subItfe)->get_descriptor(fx->subItfe, desc); in Effect_GetDescriptor()
310 ret = l->desc->create_effect(uuid, sessionId, ioId, &itfe); in EffectCreate()
381 fx->lib->desc->release_effect(fx->subItfe); in EffectRelease()
512 audio_effect_library_t *desc; in loadLibrary() local
543 desc = (audio_effect_library_t *)dlsym(hdl, AUDIO_EFFECT_LIBRARY_INFO_SYM_AS_STR); in loadLibrary()
544 if (desc == NULL) { in loadLibrary()
[all …]
/frameworks/compile/slang/
Dllvm-rs-as.cpp39 InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-"));
42 OutputFilename("o", cl::desc("Override output filename"),
46 Force("f", cl::desc("Enable binary output on terminals"));
49 DisableOutput("disable-output", cl::desc("Disable output"), cl::init(false));
52 TargetAPI("target-api", cl::desc("Specify RenderScript target API version "
57 DumpAsm("d", cl::desc("Print assembly as parsed"), cl::Hidden);
61 cl::desc("Do not run verifier on input LLVM (dangerous!)"));
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp166 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); in setDeviceConnectionStateInt() local
170 (((desc->mFlags & AUDIO_OUTPUT_FLAG_DIRECT) != 0) && in setDeviceConnectionStateInt()
171 (desc->mDirectOpenCount == 0))) { in setDeviceConnectionStateInt()
185 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt() local
186 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (desc != mPrimaryOutput)) { in setDeviceConnectionStateInt()
187 audio_devices_t newDevice = getNewOutputDevice(desc, true /*fromCache*/); in setDeviceConnectionStateInt()
191 bool force = !desc->isDuplicated() in setDeviceConnectionStateInt()
195 setOutputDevice(desc, newDevice, force, 0); in setDeviceConnectionStateInt()
496 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState() local
500 if ((isStrategyActive(desc, STRATEGY_MEDIA, in setPhoneState()
[all …]
/frameworks/av/services/audioflinger/
DEffects.cpp60 effect_descriptor_t *desc, in EffectModule() argument
65 mDescriptor(*desc), in EffectModule()
78 mStatus = EffectCreate(&desc->uuid, sessionId, thread->id(), &mEffectInterface); in EffectModule()
1377 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc_l()
1405 if (memcmp(&mEffects[i]->desc().type, type, sizeof(effect_uuid_t)) == 0) { in getEffectFromType_l()
1482 effect_descriptor_t desc = effect->desc(); in addEffect_l() local
1483 uint32_t insertPref = desc.flags & EFFECT_FLAG_INSERT_MASK; in addEffect_l()
1493 if ((desc.flags & EFFECT_FLAG_TYPE_MASK) == EFFECT_FLAG_TYPE_AUXILIARY) { in addEffect_l()
1529 effect_descriptor_t d = mEffects[i]->desc(); in addEffect_l()
1537 desc.name, d.name); in addEffect_l()
[all …]
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c86 struct usb_descriptor_header* desc; in usb_device_added() local
103 struct usb_descriptor_header* desc; in usb_device_added() local
113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added()
114 if (desc->bDescriptorType == USB_DT_INTERFACE) { in usb_device_added()
115 intf = (struct usb_interface_descriptor *)desc; in usb_device_added()
116 } else if (desc->bDescriptorType == USB_DT_ENDPOINT) { in usb_device_added()
118 ep2 = (struct usb_endpoint_descriptor *)desc; in usb_device_added()
120 ep1 = (struct usb_endpoint_descriptor *)desc; in usb_device_added()
/frameworks/compile/libbcc/tools/bcc_compat/
DMain.cpp50 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("Create a shared library from input bitcode "

123456