Home
last modified time | relevance | path

Searched refs:mDesc (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp31 dst->appendFormat("%*sName: %s\n", spaces, "", mDesc.name); in dump()
91 if (mTotalEffectsMemory < effectDesc->mDesc.memoryUsage) { in unregisterEffect()
93 effectDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
94 effectDesc->mDesc.memoryUsage = mTotalEffectsMemory; in unregisterEffect()
96 mTotalEffectsMemory -= effectDesc->mDesc.memoryUsage; in unregisterEffect()
98 effectDesc->mDesc.name, id, effectDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
135 if (mTotalEffectsCpuLoad + effectDesc->mDesc.cpuLoad > getMaxEffectsCpuLoad()) { in setEffectEnabled()
137 effectDesc->mDesc.name, (float)effectDesc->mDesc.cpuLoad/10); in setEffectEnabled()
140 mTotalEffectsCpuLoad += effectDesc->mDesc.cpuLoad; in setEffectEnabled()
143 if (mTotalEffectsCpuLoad < effectDesc->mDesc.cpuLoad) { in setEffectEnabled()
[all …]
DAudioInputDescriptor.cpp380 clientEffects.push_back(effectsList.valueAt(i)->mDesc); in updateClientRecordingConfiguration()
386 effects.push_back(effectsList.valueAt(i)->mDesc); in updateClientRecordingConfiguration()
/frameworks/av/media/libstagefright/rtsp/
DARTPSession.cpp45 mDesc = desc; in setup()
51 for (size_t i = 1; i < mDesc->countTracks(); ++i) { in setup()
53 if (!mDesc->findAttribute(i, "c=", &connection)) { in setup()
55 if (!mDesc->findAttribute(0, "c=", &connection)) { in setup()
71 sp<APacketSource> source = new APacketSource(mDesc, i); in setup()
89 rtpSocket, rtcpSocket, mDesc, i, notify, false /* injected */); in setup()
200 mDesc->getFormat(index, &format); in validateMediaFormat()
DARTPSession.h56 sp<ASessionDescription> mDesc; member
/frameworks/native/cmds/flatland/
DMain.cpp294 mDesc = desc; in setUp()
297 result = mGLHelper->createSurfaceTexture(mDesc.width, mDesc.height, in setUp()
360 LayerDesc mDesc; member in Layer
377 mDesc(desc), in BenchmarkRunner()
390 float scaleFactor = float(mDesc.runHeights[mInstance]) / in setUp()
391 float(mDesc.height); in setUp()
392 uint32_t w = uint32_t(scaleFactor * float(mDesc.width)); in setUp()
393 uint32_t h = mDesc.runHeights[mInstance]; in setUp()
410 LayerDesc ld = mDesc.layers[i]; in setUp()
563 const BenchmarkDesc& mDesc; member in BenchmarkRunner
/frameworks/ml/nn/runtime/
DMemory.cpp375 if (!TypeManager::get()->isTensorType(operand.type) && !mDesc.dimensions.empty()) { in addRole()
379 auto combined = combineDimensions(mDesc.dimensions, operand.dimensions); in addRole()
392 uint32_t modelIndex = mDesc.preparedModels.add(preparedModel); in addRole()
395 mDesc.inputRoles.push_back(role); in addRole()
397 mDesc.outputRoles.push_back(role); in addRole()
401 mDesc.dimensions = std::move(combined.value()); in addRole()
413 auto combined = combineDimensions(mDesc.dimensions, dimensions); in setDimensions()
418 mDesc.dimensions = std::move(combined.value()); in setDimensions()
461 logMemoryDescriptorToInfo(mDesc, mOperand.value()); in finish()
463 std::set<const Device*> devices = getDevices(mDesc); in finish()
[all …]
DMemory.h247 MemoryDescriptor mDesc; variable
/frameworks/ml/nn/runtime/test/
DTestValidation.cpp237 ASSERT_EQ(ANeuralNetworksMemoryDesc_create(&mDesc), ANEURALNETWORKS_NO_ERROR); in SetUp()
240 ANeuralNetworksMemoryDesc_free(mDesc); in TearDown()
257 ANeuralNetworksMemoryDesc* mDesc = nullptr; member in __anon1fd66c800111::ValidationTestMemoryDesc
2827 EXPECT_EQ(ANeuralNetworksMemoryDesc_addInputRole(mDesc, nullptr, 0, 1.0f), in TEST_F()
2831 EXPECT_EQ(ANeuralNetworksMemoryDesc_addInputRole(mDesc, mCompilation, 0, 1.0f), in TEST_F()
2837 EXPECT_EQ(ANeuralNetworksMemoryDesc_addInputRole(mDesc, mCompilation, 999, 1.0f), in TEST_F()
2841 EXPECT_EQ(ANeuralNetworksMemoryDesc_addInputRole(mDesc, mCompilation, 0, 10.0f), in TEST_F()
2843 EXPECT_EQ(ANeuralNetworksMemoryDesc_addInputRole(mDesc, mCompilation, 0, 0.0f), in TEST_F()
2845 EXPECT_EQ(ANeuralNetworksMemoryDesc_addInputRole(mDesc, mCompilation, 0, -1.0f), in TEST_F()
2849 EXPECT_EQ(ANeuralNetworksMemoryDesc_addInputRole(mDesc, mCompilation, 0, 1.0f), in TEST_F()
[all …]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DDelegateMethodAdapter.java85 private String mDesc; field in DelegateMethodAdapter
133 mDesc = desc; in DelegateMethodAdapter()
236 Type[] argTypes = Type.getArgumentTypes(mDesc); in generateDelegateCode()
249 Type.getReturnType(mDesc), in generateDelegateCode()
259 Type returnType = Type.getReturnType(mDesc); in generateDelegateCode()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DEffectDescriptor.h36 memcpy (&mDesc, desc, sizeof(effect_descriptor_t)); in EffectDescriptor()
44 effect_descriptor_t mDesc; // effect descriptor variable
/frameworks/base/core/java/android/app/
DNotificationChannel.java188 private String mDesc; field in NotificationChannel
249 mDesc = in.readString(); in NotificationChannel()
251 mDesc = null; in NotificationChannel()
299 if (mDesc != null) { in writeToParcel()
301 dest.writeString(mDesc); in writeToParcel()
417 mDesc = getTrimmedString(description); in setDescription()
610 return mDesc; in getDescription()
1193 && Objects.equals(mDesc, that.mDesc) in equals()
1209 int result = Objects.hash(getId(), getName(), mDesc, getImportance(), mBypassDnd, in hashCode()
1241 return ", mDescription=" + (!TextUtils.isEmpty(mDesc) ? "hasDescription " : "") in getFieldsString()
[all …]
/frameworks/base/core/java/android/text/
DBoringLayout.java244 mDesc = metrics.bottom; in init()
247 mDesc = metrics.descent; in init()
392 return mDesc; in getLineDescent()
458 c.drawText(mDirect, 0, mBottom - mDesc, mPaint); in draw()
475 /* package */ int mBottom, mDesc; // for Direct field in BoringLayout
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletClientImpl.java413 Log.w(TAG, "executeInternal error: " + apiCaller.mDesc, e); in performApiCallInternal()
420 private final String mDesc; field in QuickAccessWalletClientImpl.ApiCaller
423 this.mDesc = desc; in ApiCaller()
430 Log.w(TAG, "api error: " + mDesc); in onApiError()