Searched defs:desc (Results 1 - 25 of 76) sorted by relevance

1234

/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/libeffects/proxy/
H A DEffectProxy.h68 effect_descriptor_t* desc; // Points to the sub effect descriptors member in struct:android::EffectContext
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/av/media/libstagefright/rtsp/
H A Drtp_test.cpp163 sp<ASessionDescription> desc = new ASessionDescription; local
164 CHECK(desc->setTo(raw, strlen(raw)));
166 CHECK_EQ(session->setup(desc), (status_t)OK);
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 DSDPLoader.cpp86 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);
H A DARTPSession.cpp42 status_t ARTPSession::setup(const sp<ASessionDescription> &desc) { argument
45 mDesc = desc;
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/base/tools/aapt/tests/
H A DCrunchCache_test.cpp18 void expectEqual(int got, int expected, const char* desc) { argument
19 cout << "Checking " << desc << ": "; local
/frameworks/compile/mclinker/lib/LD/
H A DDiagnostic.cpp33 llvm::StringRef desc = m_Engine.infoMap().getDescription(getID(), false); local
35 format(desc.begin(), desc.end(), pOutStr);
/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/av/media/libeffects/factory/
H A DEffectsFactory.h37 // object holds the effect desc and the list sub_elem holds the sub effects
45 audio_effect_library_t *desc; member in struct:lib_entry_s
/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/core/jni/
H A Dandroid_hardware_UsbRequest.cpp54 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/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
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 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 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 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...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DLDSymbol.h83 unsigned int desc() const { function in class:mcld::LDSymbol
85 return m_pResolveInfo->desc();
/frameworks/compile/mclinker/unittests/
H A DNamePoolTest.cpp73 ResolveInfo::Desc desc = ResolveInfo::Define; local
82 desc,
93 EXPECT_EQ(desc, result1.info->desc());
102 desc,
113 EXPECT_EQ(desc, result1.info->desc());
125 ResolveInfo::Desc desc = ResolveInfo::Undefined; local
133 desc,
144 EXPECT_EQ(desc, result
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.cpp126 void Program::setUniforms(const Description& desc) { argument
133 glUniformMatrix4fv(mTextureMatrixLoc, 1, GL_FALSE, desc.mTexture.getMatrix().asArray());
136 glUniform1f(mAlphaPlaneLoc, desc.mPlaneAlpha);
139 glUniform4fv(mColorLoc, 1, desc.mColor);
142 glUniformMatrix4fv(mColorMatrixLoc, 1, GL_FALSE, desc.mColorMatrix.asArray());
145 glUniformMatrix4fv(mProjectionMatrixLoc, 1, GL_FALSE, desc.mProjectionMatrix.asArray());
/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/base/libs/usb/tests/accessorytest/
H A Dhid.c56 struct hidraw_report_descriptor desc; local
67 desc.size = HID_MAX_DESCRIPTOR_SIZE - 1;
68 if (ioctl(fd, HIDIOCGRDESC, &desc)) {
101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000);
H A Dusb.c109 struct usb_descriptor_header* desc; local
117 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) {
118 if (desc->bDescriptorType == USB_DT_INTERFACE) {
119 intf = (struct usb_interface_descriptor *)desc;
120 } else if (desc->bDescriptorType == USB_DT_ENDPOINT) {
122 ep2 = (struct usb_endpoint_descriptor *)desc;
124 ep1 = (struct usb_endpoint_descriptor *)desc;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DConsole.java104 public static void logTraceTime(boolean condition, String key, String desc) { argument
107 Console.log(condition, "[Recents|" + key + "|" + desc + "]",

Completed in 6259 milliseconds

1234