Home
last modified time | relevance | path

Searched refs:mPatch (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp34 mPatch(*patch), in AudioPatch()
54 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources); in dump()
56 for (size_t i = 0; i < mPatch.num_sources; i++) { in dump()
57 if (mPatch.sources[i].type == AUDIO_PORT_TYPE_DEVICE) { in dump()
59 deviceToString(mPatch.sources[i].ext.device.type, device); in dump()
61 mPatch.sources[i].id, in dump()
65 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle); in dump()
69 snprintf(buffer, SIZE, "%*s- %d sinks:\n", spaces, "", mPatch.num_sinks); in dump()
71 for (size_t i = 0; i < mPatch.num_sinks; i++) { in dump()
72 if (mPatch.sinks[i].type == AUDIO_PORT_TYPE_DEVICE) { in dump()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h40 memset(&mPatch, 0, sizeof(struct audio_patch)); in AudioIoDescriptor()
46 if (mPatch.num_sources != 0 && mPatch.num_sinks != 0) { in getDeviceId()
47 if (mPatch.sources[0].type == AUDIO_PORT_TYPE_MIX) { in getDeviceId()
50 return mPatch.sinks[0].id; in getDeviceId()
53 return mPatch.sources[0].id; in getDeviceId()
60 struct audio_patch mPatch; variable
/frameworks/av/include/media/
DAudioIoDescriptor.h40 memset(&mPatch, 0, sizeof(struct audio_patch)); in AudioIoDescriptor()
46 if (mPatch.num_sources != 0 && mPatch.num_sinks != 0) { in getDeviceId()
47 if (mPatch.sources[0].type == AUDIO_PORT_TYPE_MIX) { in getDeviceId()
50 return mPatch.sinks[0].id; in getDeviceId()
53 return mPatch.sources[0].id; in getDeviceId()
60 struct audio_patch mPatch; variable
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.h30 : mPatch(NULL) in NinePatchPeeker()
40 free(mPatch); in ~NinePatchPeeker()
45 Res_png_9patch* mPatch; variable
DNinePatchPeeker.cpp35 free(mPatch); in readChunk()
36 mPatch = patchNew; in readChunk()
DBitmapFactory.cpp308 if (peeker.mPatch && kRGB_565_SkColorType == prefColorType) { in doDecode()
472 if (peeker.mPatch != NULL) { in doDecode()
474 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight); in doDecode()
477 size_t ninePatchArraySize = peeker.mPatch->serializedSize(); in doDecode()
488 memcpy(array, peeker.mPatch, peeker.mPatchSize); in doDecode()
554 if (peeker.mPatch != NULL) { in doDecode()
556 peeker.mPatch->paddingLeft, peeker.mPatch->paddingTop, in doDecode()
557 peeker.mPatch->paddingRight, peeker.mPatch->paddingBottom); in doDecode()
/frameworks/base/libs/hwui/
DPatchCache.h87 PatchDescription(): mPatch(nullptr), mBitmapWidth(0), mBitmapHeight(0), in PatchDescription()
93 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight), in PatchDescription()
99 const Res_png_9patch* getPatch() const { return mPatch; } in getPatch()
126 const Res_png_9patch* mPatch;
DPatchCache.cpp50 uint32_t hash = JenkinsHashMix(0, android::hash_type(mPatch)); in hash()
/frameworks/av/media/libaudioclient/
DIAudioFlingerClient.cpp48 data.write(&ioDesc->mPatch, sizeof(struct audio_patch)); in ioConfigChanged()
72 data.read(&ioDesc->mPatch, sizeof(struct audio_patch)); in onTransact()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h35 struct audio_patch mPatch; variable
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1766 inputDesc->getModuleHandle() == mCallTxPatch->mPatch.sources[0].ext.device.hw_module) { in isConcurentCaptureAllowed()
1829 inputDesc->getModuleHandle() == mCallTxPatch->mPatch.sources[0].ext.device.hw_module) { in startInput()
2403 if ((patch != 0) && (patch->mPatch.num_sinks != 0) in registerPolicyMixes()
2404 && (patch->mPatch.sinks[0].type == AUDIO_PORT_TYPE_DEVICE) in registerPolicyMixes()
2405 && (patch->mPatch.sinks[0].ext.device.type == device) in registerPolicyMixes()
2406 && (strncmp(patch->mPatch.sinks[0].ext.device.address, address.string(), in registerPolicyMixes()
2754 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatch()
2756 patchDesc->mPatch.sources[0].id, patch->sources[0].id); in createAudioPatch()
2822 if (patchDesc->mPatch.sinks[0].id != patch->sinks[0].id) { in createAudioPatch()
2865 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatch()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp482 command->mStatus = af->createAudioPatch(&data->mPatch, &data->mHandle); in threadLoop()
744 data->mPatch = *patch; in createAudioPatchCommand()
947 patch = ((CreateAudioPatchData *)command->mParam.get())->mPatch; in insertCommand_l()
955 patch2 = ((CreateAudioPatchData *)command2->mParam.get())->mPatch; in insertCommand_l()
DAudioPolicyService.h381 struct audio_patch mPatch; variable
/frameworks/av/services/audioflinger/
DThreads.h180 mPatch(patch), mHandle(handle) {} in CreateAudioPatchConfigEventData()
186 const struct audio_patch mPatch; variable
475 struct audio_patch mPatch; variable
DThreads.cpp518 memset(&mPatch, 0, sizeof(struct audio_patch)); in ThreadBase()
712 event->mStatus = createAudioPatch_l(&data->mPatch, &data->mHandle); in processConfigEvents_l()
2255 desc->mPatch = mPatch; in ioConfigChanged()
3500 mPatch = *patch; in createAudioPatch_l()
7218 desc->mPatch = mPatch; in ioConfigChanged()
7381 mPatch = *patch; in createAudioPatch_l()
7895 desc->mPatch = mPatch; in ioConfigChanged()