Home
last modified time | relevance | path

Searched refs:mDescriptor (Results 1 – 25 of 26) sorted by relevance

12

/hardware/google/pixel/power-libperfmgr/aidl/
DPowerHintSession.cpp66 const nanoseconds &targetDuration = mDescriptor->targetNs; in convertWorkDurationToBoostByPid()
67 int64_t &integral_error = mDescriptor->integral_error; in convertWorkDurationToBoostByPid()
68 int64_t &previous_error = mDescriptor->previous_error; in convertWorkDurationToBoostByPid()
137 mDescriptor(std::make_shared<AppHintDesc>(mSessionId, tgid, uid, threadIds, tag, in PowerHintSession()
154 ATRACE_INT(mAppDescriptorTrace->trace_target.c_str(), mDescriptor->targetNs.count()); in PowerHintSession()
155 ATRACE_INT(mAppDescriptorTrace->trace_active.c_str(), mDescriptor->is_active.load()); in PowerHintSession()
158 mPSManager->addPowerSession(mIdString, mDescriptor, mAppDescriptorTrace, threadIds); in PowerHintSession()
164 duration_cast<nanoseconds>(mDescriptor->targetNs * adpfConfig->mStaleTimeFactor / 2.0)); in PowerHintSession()
167 kUclampMax, std::chrono::steady_clock::now(), mDescriptor->targetNs); in PowerHintSession()
168 ALOGV("PowerHintSession created: %s", mDescriptor->toString().c_str()); in PowerHintSession()
[all …]
DPowerHintSession.h90 std::shared_ptr<AppHintDesc> mDescriptor GUARDED_BY(mPowerHintSessionLock);
/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioEffectTargetTest.cpp59 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in AudioEffectTest()
78 Descriptor mDescriptor; member in AudioEffectTest
93 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in SetUp()
102 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in TEST_P()
107 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in TEST_P()
114 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in TEST_P()
121 ASSERT_NO_FATAL_FAILURE(create(mFactory, effect1, mDescriptor)); in TEST_P()
122 ASSERT_NO_FATAL_FAILURE(create(mFactory, effect2, mDescriptor)); in TEST_P()
133 ASSERT_NO_FATAL_FAILURE(create(mFactory, effect1, mDescriptor)); in TEST_P()
134 ASSERT_NO_FATAL_FAILURE(create(mFactory, effect2, mDescriptor)); in TEST_P()
[all …]
DVtsHalPresetReverbTargetTest.cpp40 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpPresetReverb()
95 Descriptor mDescriptor; member in PresetReverbHelper
115 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in PresetReverbParamTest()
135 std::tie(mFactory, mDescriptor) = GetParam(); in PresetReverbProcessTest()
140 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in SetUp()
144 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in TearDown()
156 return mDescriptor.common.flags.type == in isAuxiliary()
DVtsHalVirtualizerTargetTest.cpp39 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpVirtualizer()
76 return isParameterValid<Virtualizer, Range::virtualizer>(vir, mDescriptor); in isStrengthValid()
108 Descriptor mDescriptor; member in VirtualizerHelper
129 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in VirtualizerParamTest()
150 std::tie(mFactory, mDescriptor) = std::get<PROCESS_INSTANCE_NAME>(GetParam()); in VirtualizerProcessTest()
154 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in SetUp()
159 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in TearDown()
DVtsHalLoudnessEnhancerTargetTest.cpp48 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpLoudnessEnhancer()
85 if (isParameterValid<LoudnessEnhancer, Range::loudnessEnhancer>(le, mDescriptor)) { in isGainValid()
117 Descriptor mDescriptor; member in LoudnessEnhancerEffectHelper
133 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in LoudnessEnhancerParamTest()
155 std::tie(mFactory, mDescriptor) = GetParam(); in LoudnessEnhancerDataTest()
161 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in SetUp()
171 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in TearDown()
DVtsHalEqualizerTargetTest.cpp67 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in EqualizerTest()
72 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp()
89 Descriptor mDescriptor; member in EqualizerTest
100 const bool valid = isParameterValid<Equalizer, Range::equalizer>(eq, mDescriptor); in SetAndGetEqualizerParameters()
109 << mDescriptor.toString(); in SetAndGetEqualizerParameters()
DVtsHalBassBoostTargetTest.cpp53 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpBassBoost()
96 return isParameterValid<BassBoost, Range::bassBoost>(bb, mDescriptor); in isStrengthValid()
121 Descriptor mDescriptor; member in BassBoostEffectHelper
137 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in BassBoostParamTest()
163 std::tie(mFactory, mDescriptor) = std::get<DATA_INSTANCE_NAME>(GetParam()); in BassBoostDataTest()
169 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in SetUp()
178 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in TearDown()
DVtsHalVolumeTargetTest.cpp37 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpVolumeControl()
76 return isParameterValid<Volume, Range::volume>(vol, mDescriptor); in isLevelValid()
105 Descriptor mDescriptor; member in VolumeControlHelper
121 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in VolumeParamTest()
146 std::tie(mFactory, mDescriptor) = GetParam(); in VolumeDataTest()
169 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in SetUp()
175 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in TearDown()
DVtsHalAECTargetTest.cpp47 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in AECParamTest()
52 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp()
71 mDescriptor)) { in getDefaultParamSpecific()
83 Descriptor mDescriptor; member in AECParamTest
DVtsHalNSTargetTest.cpp44 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in NSParamTest()
49 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp()
68 if (!isParameterValid<NoiseSuppression, Range::noiseSuppression>(ns, mDescriptor)) { in getDefaultParamSpecific()
80 Descriptor mDescriptor; member in NSParamTest
DVtsHalDownmixTargetTest.cpp91 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpDownmix()
178 Descriptor mDescriptor; member in DownmixEffectHelper
207 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in DownmixParamTest()
231 std::tie(mFactory, mDescriptor) = std::get<FOLD_INSTANCE_NAME>(GetParam()); in DownmixFoldDataTest()
235 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in SetUp()
248 SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags); in TearDown()
386 std::tie(mFactory, mDescriptor) = std::get<STRIP_INSTANCE_NAME>(GetParam()); in DownmixStripDataTest()
DVtsHalAGC1TargetTest.cpp48 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in AGC1ParamTest()
53 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp()
80 Descriptor mDescriptor; member in AGC1ParamTest
DVtsHalHapticGeneratorTargetTest.cpp85 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in HapticGeneratorParamTest()
89 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp()
107 Descriptor mDescriptor; member in HapticGeneratorParamTest
244 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in HapticGeneratorScalesTest()
249 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp()
268 Descriptor mDescriptor; member in HapticGeneratorScalesTest
DVtsHalAGC2TargetTest.cpp49 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in AGC2ParamTest()
54 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp()
81 Descriptor mDescriptor; member in AGC2ParamTest
DVtsHalVisualizerTargetTest.cpp58 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam()); in VisualizerParamTest()
63 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp()
81 Descriptor mDescriptor; member in VisualizerParamTest
DVtsHalSpatializerTargetTest.cpp74 std::tie(mFactory, mDescriptor) = std::get<PARAM_INSTANCE_NAME>(GetParam());
79 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUp()
105 Descriptor mDescriptor; member in SpatializerParamTest
DVtsHalEnvironmentalReverbTargetTest.cpp148 std::tie(mFactory, mDescriptor) = pair; in EnvironmentalReverbHelper()
153 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpReverb()
177 return isParameterValid<EnvironmentalReverb, Range::environmentalReverb>(env, mDescriptor); in isParamValid()
206 return mDescriptor.common.flags.type == in isAuxiliary()
295 Descriptor mDescriptor; member in EnvironmentalReverbHelper
DEffectHelper.h97 mDescriptor = desc;
225 mDescriptor.capability)) {
227 mDescriptor.capability, Spatializer::supportedChannelLayout);
407 Descriptor mDescriptor; variable
DVtsHalDynamicsProcessingTest.cpp48 std::tie(mFactory, mDescriptor) = pair; in DynamicsProcessingTestHelper()
57 ASSERT_NO_FATAL_FAILURE(create(mFactory, mEffect, mDescriptor)); in SetUpDynamicsProcessingEffect()
131 Descriptor mDescriptor; member in DynamicsProcessingTestHelper
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h220 *outUsage = mDescriptor.consumerUsage; in getConsumerUsage()
226 *outWidth = mDescriptor.width; in getDimensions()
227 *outHeight = mDescriptor.height; in getDimensions()
232 *outFormat = mDescriptor.format; in getFormat()
237 *outLayerCount = mDescriptor.layerCount; in getLayerCount()
248 *outUsage = mDescriptor.producerUsage; in getProducerUsage()
263 const Descriptor mDescriptor; variable
DGralloc1On0Adapter.cpp234 mDescriptor(descriptor), in Buffer()
/hardware/interfaces/audio/common/7.0/example/
DEffect.h25 explicit Effect(const EffectDescriptor& descriptor) : mDescriptor(descriptor) {} in Effect()
86 const EffectDescriptor mDescriptor;
DEffect.cpp154 _hidl_cb(Result::OK, mDescriptor); in getDescriptor()
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DPowerHintSessionTest.cpp284 ASSERT_EQ(session1Threads, sess1->mDescriptor->thread_ids); in TEST_F()
285 ASSERT_EQ(SessionTag::OTHER, sess1->mDescriptor->tag); in TEST_F()

12