/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPatch.cpp | 31 mPatch(*patch), in AudioPatch() 51 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources); in dump() 53 for (size_t i = 0; i < mPatch.num_sources; i++) { in dump() 54 if (mPatch.sources[i].type == AUDIO_PORT_TYPE_DEVICE) { in dump() 56 deviceToString(mPatch.sources[i].ext.device.type, device); in dump() 58 mPatch.sources[i].id, in dump() 62 mPatch.sources[i].id, mPatch.sources[i].ext.mix.handle); in dump() 66 snprintf(buffer, SIZE, "%*s- %d sinks:\n", spaces, "", mPatch.num_sinks); in dump() 68 for (size_t i = 0; i < mPatch.num_sinks; i++) { in dump() 69 if (mPatch.sinks[i].type == AUDIO_PORT_TYPE_DEVICE) { in dump() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchPeeker.cpp | 36 free(mPatch); in readChunk() 37 mPatch = patchNew; in readChunk() 76 if (!mPatch) { in scale() 83 mPatch->paddingLeft = int(mPatch->paddingLeft * scaleX + 0.5f); in scale() 84 mPatch->paddingRight = int(mPatch->paddingRight * scaleX + 0.5f); in scale() 85 scaleDivRange(mPatch->getXDivs(), mPatch->numXDivs, scaleX, scaledWidth - 1); in scale() 89 mPatch->paddingTop = int(mPatch->paddingTop * scaleY + 0.5f); in scale() 90 mPatch->paddingBottom = int(mPatch->paddingBottom * scaleY + 0.5f); in scale() 91 scaleDivRange(mPatch->getYDivs(), mPatch->numYDivs, scaleY, scaledHeight - 1); in scale()
|
D | NinePatchPeeker.h | 30 : mPatch(NULL) in NinePatchPeeker() 40 free(mPatch); in ~NinePatchPeeker() 49 Res_png_9patch* mPatch; variable
|
D | NinePatch.cpp | 149 if (mPatch) { in getPadding() 151 mPatch->paddingLeft, mPatch->paddingTop, in getPadding() 152 mPatch->paddingRight, mPatch->paddingBottom); in getPadding()
|
D | ImageDecoder.cpp | 119 const bool isNinePatch = decoder->mPeeker->mPatch != nullptr; in native_create() 333 if (decoder->mPeeker->mPatch != nullptr) { in ImageDecoder_nDecodeBitmap() 334 size_t ninePatchArraySize = decoder->mPeeker->mPatch->serializedSize(); in ImageDecoder_nDecodeBitmap() 342 reinterpret_cast<jbyte*>(decoder->mPeeker->mPatch)); in ImageDecoder_nDecodeBitmap()
|
D | BitmapFactory.cpp | 263 if (peeker.mPatch && kRGB_565_SkColorType == prefColorType) { in doDecode() 409 if (peeker.mPatch != NULL) { in doDecode() 414 size_t ninePatchArraySize = peeker.mPatch->serializedSize(); in doDecode() 425 memcpy(array, peeker.mPatch, peeker.mPatchSize); in doDecode()
|
/frameworks/av/include/media/ |
D | AudioIoDescriptor.h | 42 memset(&mPatch, 0, sizeof(struct audio_patch)); in AudioIoDescriptor() 48 if (mPatch.num_sources != 0 && mPatch.num_sinks != 0) { in getDeviceId() 49 if (mPatch.sources[0].type == AUDIO_PORT_TYPE_MIX) { in getDeviceId() 52 return mPatch.sinks[0].id; in getDeviceId() 55 return mPatch.sources[0].id; in getDeviceId() 62 struct audio_patch mPatch; variable
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioIoDescriptor.h | 42 memset(&mPatch, 0, sizeof(struct audio_patch)); in AudioIoDescriptor() 48 if (mPatch.num_sources != 0 && mPatch.num_sinks != 0) { in getDeviceId() 49 if (mPatch.sources[0].type == AUDIO_PORT_TYPE_MIX) { in getDeviceId() 52 return mPatch.sinks[0].id; in getDeviceId() 55 return mPatch.sources[0].id; in getDeviceId() 62 struct audio_patch mPatch; variable
|
/frameworks/base/libs/hwui/ |
D | PatchCache.h | 81 : mPatch(nullptr) in PatchDescription() 90 : mPatch(patch) in PatchDescription() 98 const Res_png_9patch* getPatch() const { return mPatch; } in getPatch() 118 const Res_png_9patch* mPatch;
|
D | PatchCache.cpp | 50 uint32_t hash = JenkinsHashMix(0, android::hash_type(mPatch)); in hash()
|
/frameworks/av/media/libaudioclient/ |
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 | 36 struct audio_patch mPatch; variable
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1825 inputDesc->getModuleHandle() == mCallTxPatch->mPatch.sources[0].ext.device.hw_module) { in isConcurentCaptureAllowed() 1925 inputDesc->getModuleHandle() == mCallTxPatch->mPatch.sources[0].ext.device.hw_module) { in startInput() 2539 if ((patch != 0) && (patch->mPatch.num_sinks != 0) in registerPolicyMixes() 2540 && (patch->mPatch.sinks[0].type == AUDIO_PORT_TYPE_DEVICE) in registerPolicyMixes() 2541 && (patch->mPatch.sinks[0].ext.device.type == device) in registerPolicyMixes() 2542 && (strncmp(patch->mPatch.sinks[0].ext.device.address, address.string(), in registerPolicyMixes() 2908 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatch() 2910 patchDesc->mPatch.sources[0].id, patch->sources[0].id); in createAudioPatch() 2976 if (patchDesc->mPatch.sinks[0].id != patch->sinks[0].id) { in createAudioPatch() 3019 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatch() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 748 command->mStatus = af->createAudioPatch(&data->mPatch, &data->mHandle); in threadLoop() 1010 data->mPatch = *patch; in createAudioPatchCommand() 1212 patch = ((CreateAudioPatchData *)command->mParam.get())->mPatch; in insertCommand_l() 1220 patch2 = ((CreateAudioPatchData *)command2->mParam.get())->mPatch; in insertCommand_l()
|
D | AudioPolicyService.h | 449 struct audio_patch mPatch; variable
|
/frameworks/av/services/audioflinger/ |
D | Threads.h | 180 mPatch(patch), mHandle(handle) {} in CreateAudioPatchConfigEventData() 186 const struct audio_patch mPatch; variable 475 struct audio_patch mPatch; variable
|
D | Threads.cpp | 517 memset(&mPatch, 0, sizeof(struct audio_patch)); in ThreadBase() 711 event->mStatus = createAudioPatch_l(&data->mPatch, &data->mHandle); in processConfigEvents_l() 2413 desc->mPatch = mPatch; in ioConfigChanged() 3700 mPatch = *patch; in createAudioPatch_l() 7625 desc->mPatch = mPatch; in ioConfigChanged() 7792 mPatch = *patch; in createAudioPatch_l() 8334 desc->mPatch = mPatch; in ioConfigChanged()
|