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

123

/frameworks/av/media/libmedia/
H A DIAudioFlingerClient.cpp53 const AudioSystem::OutputDescriptor *desc = (const AudioSystem::OutputDescriptor *)param2; local
54 data.writeInt32(desc->samplingRate);
55 data.writeInt32(desc->format);
56 data.writeInt32(desc->channels);
57 data.writeInt32(desc->frameCount);
58 data.writeInt32(desc->latency);
77 AudioSystem::OutputDescriptor desc; local
84 desc.samplingRate = data.readInt32();
85 desc.format = data.readInt32();
86 desc
[all...]
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.h36 audio_effect_library_t *desc; member in struct:lib_entry_s
H A DEffectsFactory.c59 effect_descriptor_t **desc);
60 static void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len);
114 effect_descriptor_t *desc)
129 ret = (*fx->subItfe)->get_descriptor(fx->subItfe, desc);
233 ALOGV("EffectQueryEffect() desc:%s", str);
294 ret = l->desc->create_effect(uuid, sessionId, ioId, &itfe);
365 fx->lib->desc->release_effect(fx->subItfe);
448 audio_effect_library_t *desc; local
463 desc = (audio_effect_library_t *)dlsym(hdl, AUDIO_EFFECT_LIBRARY_INFO_SYM_AS_STR);
464 if (desc
113 Effect_GetDescriptor(effect_handle_t self, effect_descriptor_t *desc) argument
631 findEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument
673 dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG2TSAssembler.cpp37 const sp<AMessage> &notify, const char *desc, const AString &params)
36 AMPEG2TSAssembler( const sp<AMessage> &notify, const char *desc, const AString &params) argument
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.cpp37 const sp<AMessage> &notify, const char *desc, const AString &params)
118 bool ARawAudioAssembler::Supports(const char *desc) { argument
119 return !strncmp(desc, "PCMU/", 5)
120 || !strncmp(desc, "PCMA/", 5);
125 const char *desc, const sp<MetaData> &format) {
126 if (!strncmp(desc, "PCMU/", 5)) {
128 } else if (!strncmp(desc, "PCMA/", 5)) {
136 desc, &sampleRate, &numChannels);
36 ARawAudioAssembler( const sp<AMessage> &notify, const char *desc, const AString &params) argument
124 MakeFormat( const char *desc, const sp<MetaData> &format) argument
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...]
H A DAMPEG4ElementaryAssembler.cpp110 const sp<AMessage> &notify, const AString &desc, const AString &params)
129 mIsGeneric = !strncasecmp(desc.c_str(),"mpeg4-generic/", 14);
191 desc.c_str(), &sampleRate, &numChannels);
109 AMPEG4ElementaryAssembler( const sp<AMessage> &notify, const AString &desc, const AString &params) argument
H A DASessionDescription.cpp55 AString desc((const char *)data, size);
59 ssize_t eolPos = desc.find("\n", i);
66 if ((size_t)eolPos > i && desc.c_str()[eolPos - 1] == '\r') {
69 line.setTo(desc, i, eolPos - i - 1);
71 line.setTo(desc, i, eolPos - i);
200 AString *desc, AString *params) const {
217 CHECK(findAttribute(index, key, desc));
278 const char *desc, int32_t *timescale, int32_t *numChannels) {
279 const char *slash1 = strchr(desc, '/');
198 getFormatType( size_t index, unsigned long *PT, AString *desc, AString *params) const argument
277 ParseFormatDesc( const char *desc, int32_t *timescale, int32_t *numChannels) argument
H A DAPacketSource.cpp415 AString desc; local
417 sessionDesc->getFormatType(index, &PT, &desc, &params);
427 if (!strncmp(desc.c_str(), "H264/", 5)) {
458 } else if (!strncmp(desc.c_str(), "H263-2000/", 10)
459 || !strncmp(desc.c_str(), "H263-1998/", 10)) {
470 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) {
475 desc.c_str(), &sampleRate, &numChannels);
486 } else if (!strncmp(desc.c_str(), "AMR/", 4)) {
491 desc.c_str(), &sampleRate, &numChannels);
499 } else if (!strncmp(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/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.getResources().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
83 return super.visitMethod(access, name, desc, signature, exceptions);
92 mClassName, name, desc));
99 MethodVisitor mwDelegate = super.visitMethod(access, name, desc, signature, exceptions);
102 mLog, null /*mwOriginal*/, mwDelegate, mClassName, name, desc, isStatic);
125 desc, signature, exceptions);
127 desc, signature, exceptions);
130 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 DTransformClassAdapter.java105 public MethodVisitor visitMethod(int access, String name, String desc, argument
109 Type t = Type.getReturnType(desc);
145 String invokeSignature = methodSignature + desc;
148 MethodVisitor mw = super.visitMethod(access, name, desc, signature, exceptions);
149 return new StubMethodAdapter(mw, name, returnType(desc), invokeSignature,
153 mLog.debug(" Keep: %s %s", name, desc);
154 return super.visitMethod(access, name, desc, signature, exceptions);
160 public FieldVisitor visitField(int access, String name, String desc, String signature, argument
167 return super.visitField(access, name, desc, signature, value);
173 Type returnType(String desc) { argument
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DLDSymbol.h67 unsigned int desc() const { function in class:mcld::LDSymbol
69 return m_pResolveInfo->desc();
/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);
H A DResolveInfo.cpp195 uint32_t ResolveInfo::desc() const function in class:ResolveInfo
/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/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/native/opengl/tests/hwc/
H A DhwcTestLib.h41 const char *desc; member in struct:hwcTestGraphicFormat
111 const struct hwcTestGraphicFormat *hwcTestGraphicFormatLookup(const char *desc);
/frameworks/base/services/java/com/android/server/wm/
H A DDragState.java210 ClipDescription desc) {
225 touchX, touchY, null, desc, null, false);
209 sendDragStartedLw(WindowState newWin, float touchX, float touchY, ClipDescription desc) argument
/frameworks/base/services/jni/
H A Dcom_android_server_UsbHostManager.cpp55 struct usb_descriptor_header* desc; local
78 while ((desc = usb_descriptor_iter_next(&iter)) != NULL) {
79 if (desc->bDescriptorType == USB_DT_INTERFACE) {
80 struct usb_interface_descriptor *interface = (struct usb_interface_descriptor *)desc;
88 } else if (desc->bDescriptorType == USB_DT_ENDPOINT) {
89 struct usb_endpoint_descriptor *endpoint = (struct usb_endpoint_descriptor *)desc;

Completed in 303 milliseconds

123