/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.cpp | 126 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());
|
H A D | Program.h | 55 void setUniforms(const Description& desc);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | StubMethodAdapter.java | 212 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { argument 213 return mParentVisitor.visitAnnotation(desc, visible); 223 public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, argument 225 return mParentVisitor.visitParameterAnnotation(parameter, desc, visible); 285 public void visitMethodInsn(int opcode, String owner, String name, String desc) { argument 287 mParentVisitor.visitMethodInsn(opcode, owner, name, desc); 292 public void visitFieldInsn(int opcode, String owner, String name, String desc) { argument 294 mParentVisitor.visitFieldInsn(opcode, owner, name, desc); 334 public void visitLocalVariable(String name, String desc, String signature, argument 337 mParentVisitor.visitLocalVariable(name, desc, signatur 349 visitMultiANewArrayInsn(String desc, int dims) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG2TSAssembler.h | 32 const char *desc, const AString ¶ms);
|
H A D | ASessionDescription.cpp | 55 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 D | ASessionDescription.h | 45 AString *desc, AString *params) const; 54 const char *desc, int32_t *timescale, int32_t *numChannels);
|
H A D | APacketSource.cpp | 413 AString desc; local 415 sessionDesc->getFormatType(index, &PT, &desc, ¶ms); 425 if (!strncmp(desc.c_str(), "H264/", 5)) { 456 } else if (!strncmp(desc.c_str(), "H263-2000/", 10) 457 || !strncmp(desc.c_str(), "H263-1998/", 10)) { 468 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { 473 desc.c_str(), &sampleRate, &numChannels); 484 } else if (!strncmp(desc.c_str(), "AMR/", 4)) { 489 desc.c_str(), &sampleRate, &numChannels); 497 } else if (!strncmp(desc [all...] |
H A D | AMPEG4ElementaryAssembler.h | 37 const sp<AMessage> ¬ify, const AString &desc,
|
H A D | ARTPSession.h | 33 status_t setup(const sp<ASessionDescription> &desc);
|
H A D | rtp_test.cpp | 163 sp<ASessionDescription> desc = new ASessionDescription; local 164 CHECK(desc->setTo(raw, strlen(raw))); 166 CHECK_EQ(session->setup(desc), (status_t)OK);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioPolicyMix.h | 61 void closeOutput(sp<SwAudioOutputDescriptor> &desc); 67 * @param[out] desc to return if an output could be found. 72 status_t getOutputForAttr(audio_attributes_t attributes, sp<SwAudioOutputDescriptor> &desc);
|
H A D | EffectDescriptor.h | 45 status_t registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io,
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbHostManager.cpp | 59 struct usb_descriptor_header* desc; local 99 while ((desc = usb_descriptor_iter_next(&iter)) != NULL) { 100 if (desc->bDescriptorType == USB_DT_CONFIG) { 101 struct usb_config_descriptor *config = (struct usb_config_descriptor *)desc; 111 } else if (desc->bDescriptorType == USB_DT_INTERFACE) { 112 struct usb_interface_descriptor *interface = (struct usb_interface_descriptor *)desc; 123 } else if (desc->bDescriptorType == USB_DT_ENDPOINT) { 124 struct usb_endpoint_descriptor *endpoint = (struct usb_endpoint_descriptor *)desc;
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 66 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) 140 ret = (*fx->subItfe)->get_descriptor(fx->subItfe, desc); 244 ALOGV("EffectQueryEffect() desc:%s", str); 310 ret = l->desc->create_effect(uuid, sessionId, ioId, &itfe); 381 fx->lib->desc->release_effect(fx->subItfe); 411 // Check if the size of the desc buffer is large enough for 2 subeffects 512 audio_effect_library_t *desc; local 124 Effect_GetDescriptor(effect_handle_t self, effect_descriptor_t *desc) argument 778 findSubEffect(const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument 875 findEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, lib_entry_t **lib, effect_descriptor_t **desc) argument 917 dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent) argument [all...] |
H A D | EffectsFactory.h | 38 // object holds the effect desc and the list sub_elem holds the sub effects 46 audio_effect_library_t *desc; member in struct:lib_entry_s
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 60 effect_descriptor_t *desc, 65 mDescriptor(*desc), 78 mStatus = EffectCreate(&desc->uuid, sessionId, thread->id(), &mEffectInterface); 1372 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { 1400 if (memcmp(&mEffects[i]->desc().type, type, sizeof(effect_uuid_t)) == 0) { 1477 effect_descriptor_t desc = effect->desc(); local 1478 uint32_t insertPref = desc.flags & EFFECT_FLAG_INSERT_MASK; 1488 if ((desc.flags & EFFECT_FLAG_TYPE_MASK) == EFFECT_FLAG_TYPE_AUXILIARY) { 1524 effect_descriptor_t d = mEffects[i]->desc(); 58 EffectModule(ThreadBase *thread, const wp<AudioFlinger::EffectChain>& chain, effect_descriptor_t *desc, int id, int sessionId) argument 1765 sp<SuspendedEffectDesc> desc; local 1818 sp<SuspendedEffectDesc> desc; local 1871 isEffectEligibleForSuspend(const effect_descriptor_t& desc) argument 1924 sp<SuspendedEffectDesc> desc = mSuspendedEffects.valueAt(index); local 1937 sp<SuspendedEffectDesc> desc = mSuspendedEffects.valueAt(index); local [all...] |
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | usb.c | 109 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;
|
H A D | hid.c | 56 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);
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 160 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); local 164 (((desc->mFlags & AUDIO_OUTPUT_FLAG_DIRECT) != 0) && 165 (desc->mDirectOpenCount == 0))) { 179 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); local 180 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (desc != mPrimaryOutput)) { 181 audio_devices_t newDevice = getNewOutputDevice(desc, true /*fromCache*/); 185 bool force = !desc->isDuplicated() 189 setOutputDevice(desc, newDevice, force, 0); 459 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); local 463 if ((isStrategyActive(desc, STRATEGY_MEDI 672 sp<SwAudioOutputDescriptor> desc; local 835 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); local 1098 sp<AudioOutputDescriptor> desc = mOutputs.valueAt(i); local 1214 sp<AudioOutputDescriptor> desc = mOutputs.valueAt(i); local 1262 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(index); local 1713 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); local 1770 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); local 1792 getOutputForEffect(const effect_descriptor_t *desc) argument 1807 registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, int id) argument 3153 sp<SwAudioOutputDescriptor> desc; local 3450 sp<AudioInputDescriptor> desc; local 3776 const sp<SwAudioOutputDescriptor> desc = mPreviousOutputs.valueAt(i); local 3783 const sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); local 3795 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(srcOutputs[i]); local 4076 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); local 4162 sp<AudioOutputDescriptor> desc = mOutputs.valueAt(j); local [all...] |
/frameworks/compile/libbcc/tools/bcc_strip_attr/ |
H A D | bcc_strip_attr.cpp | 36 cl::desc("<input bitcode files>")); 39 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"), 44 cl::desc("Write output as LLVM assembly"), cl::Hidden);
|
/frameworks/base/tools/aapt/tests/ |
H A D | CrunchCache_test.cpp | 18 void expectEqual(int got, int expected, const char* desc) { argument 19 cout << "Checking " << desc << ": "; local
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | LDSymbol.h | 82 unsigned int desc() const { function in class:mcld::LDSymbol 84 return m_pResolveInfo->desc();
|
/frameworks/base/core/java/android/accounts/ |
H A D | ChooseAccountActivity.java | 92 for(AuthenticatorDescription desc : AccountManager.get(this).getAuthenticatorTypes()) { 93 mTypeToAuthDescription.put(desc.type, desc); 101 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); 102 Context authContext = createPackageContext(desc.packageName, 0); 103 icon = authContext.getDrawable(desc.iconId);
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 175 effect_descriptor_t desc = effects[i]->descriptor(); local 177 descriptors[i] = desc; 208 effect_descriptor_t desc = effects[i]->descriptor(); local 210 descriptors[i] = desc; 527 EffectDescVector *desc = new EffectDescVector(); local 545 desc->mEffects.add(effect); 548 if (desc->mEffects.size() == 0) { 550 delete desc; 553 return desc; 572 EffectDescVector *desc local 599 EffectDescVector *desc = loadEffectConfig(node, effects); local [all...] |
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 293 bool setUp(const LayerDesc& desc, GLHelper* helper) { argument 296 mDesc = desc; 305 mRenderer = desc.rendererFactory(); 311 mComposer = desc.composerFactory(); 312 result = mComposer->setUp(desc, helper); 380 BenchmarkRunner(const BenchmarkDesc& desc, size_t instance) : argument 381 mDesc(desc), 383 mNumLayers(countLayers(desc)), 559 static size_t countLayers(const BenchmarkDesc& desc) { argument 562 if (desc [all...] |