/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPatch.cpp | 32 mPatch(*patch), in AudioPatch() 52 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources); in dump() 54 for (size_t i = 0; i < mPatch.num_sources; i++) { in dump() 55 if (mPatch.sources[i].type == AUDIO_PORT_TYPE_DEVICE) { in dump() 57 DeviceConverter::toString(mPatch.sources[i].ext.device.type, device); in dump() 59 mPatch.sources[i].id, in dump() 63 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle); in dump() 67 snprintf(buffer, SIZE, "%*s- %d sinks:\n", spaces, "", mPatch.num_sinks); in dump() 69 for (size_t i = 0; i < mPatch.num_sinks; i++) { in dump() 70 if (mPatch.sinks[i].type == AUDIO_PORT_TYPE_DEVICE) { in dump() [all …]
|
/frameworks/av/include/media/ |
D | AudioIoDescriptor.h | 40 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/ |
D | NinePatchPeeker.h | 30 : mPatch(NULL) in NinePatchPeeker() 40 free(mPatch); in ~NinePatchPeeker() 45 Res_png_9patch* mPatch; variable
|
D | NinePatchPeeker.cpp | 36 free(mPatch); in readChunk() 37 mPatch = patchNew; in readChunk()
|
D | BitmapFactory.cpp | 290 if (peeker.mPatch && kRGB_565_SkColorType == prefColorType) { in doDecode() 427 if (peeker.mPatch != NULL) { in doDecode() 429 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight); in doDecode() 432 size_t ninePatchArraySize = peeker.mPatch->serializedSize(); in doDecode() 443 memcpy(array, peeker.mPatch, peeker.mPatchSize); in doDecode() 507 if (peeker.mPatch != NULL) { in doDecode() 509 peeker.mPatch->paddingLeft, peeker.mPatch->paddingTop, in doDecode() 510 peeker.mPatch->paddingRight, peeker.mPatch->paddingBottom); in doDecode()
|
/frameworks/base/libs/hwui/ |
D | PatchCache.h | 94 PatchDescription(): mPatch(nullptr), mBitmapWidth(0), mBitmapHeight(0), in PatchDescription() 100 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight), in PatchDescription() 106 const Res_png_9patch* getPatch() const { return mPatch; } in getPatch() 133 const Res_png_9patch* mPatch;
|
D | PatchCache.cpp | 66 uint32_t hash = JenkinsHashMix(0, android::hash_type(mPatch)); in hash()
|
D | DisplayListOp.h | 776 mBitmap(bitmap), mPatch(patch), mGenerationId(0), mMesh(nullptr), in DrawPatchOp() 792 mLocalBounds.getWidth(), mLocalBounds.getHeight(), mPatch); in getMesh() 903 const Res_png_9patch* mPatch; variable
|
/frameworks/av/media/libmedia/ |
D | IAudioFlingerClient.cpp | 48 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/ |
D | AudioPatch.h | 35 struct audio_patch mPatch; variable
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1675 inputDesc->getModuleHandle() == mCallTxPatch->mPatch.sources[0].ext.device.hw_module) { in startInput() 2167 if ((patch != 0) && (patch->mPatch.num_sinks != 0) in registerPolicyMixes() 2168 && (patch->mPatch.sinks[0].type == AUDIO_PORT_TYPE_DEVICE) in registerPolicyMixes() 2169 && (patch->mPatch.sinks[0].ext.device.type == device) in registerPolicyMixes() 2170 && (strncmp(patch->mPatch.sinks[0].ext.device.address, address.string(), in registerPolicyMixes() 2515 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatch() 2517 patchDesc->mPatch.sources[0].id, patch->sources[0].id); in createAudioPatch() 2583 if (patchDesc->mPatch.sinks[0].id != patch->sinks[0].id) { in createAudioPatch() 2626 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatch() 2698 patchDesc->mPatch = newPatch; in createAudioPatch() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 543 command->mStatus = af->createAudioPatch(&data->mPatch, &data->mHandle); in threadLoop() 805 data->mPatch = *patch; in createAudioPatchCommand() 1008 patch = ((CreateAudioPatchData *)command->mParam.get())->mPatch; in insertCommand_l() 1016 patch2 = ((CreateAudioPatchData *)command2->mParam.get())->mPatch; in insertCommand_l()
|
D | AudioPolicyService.h | 385 struct audio_patch mPatch; variable
|
/frameworks/av/services/audioflinger/ |
D | Threads.h | 176 mPatch(patch), mHandle(handle) {} in CreateAudioPatchConfigEventData() 182 const struct audio_patch mPatch; variable 467 struct audio_patch mPatch; variable
|
D | Threads.cpp | 646 memset(&mPatch, 0, sizeof(struct audio_patch)); in ThreadBase() 836 event->mStatus = createAudioPatch_l(&data->mPatch, &data->mHandle); in processConfigEvents_l() 2300 desc->mPatch = mPatch; in ioConfigChanged() 3530 mPatch = *patch; in createAudioPatch_l() 7433 desc->mPatch = mPatch; in ioConfigChanged() 7598 mPatch = *patch; in createAudioPatch_l()
|