/hardware/google/pixel/power-libperfmgr/aidl/ |
D | PowerHintSession.cpp | 66 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 …]
|
D | PowerHintSession.h | 90 std::shared_ptr<AppHintDesc> mDescriptor GUARDED_BY(mPowerHintSessionLock);
|
/hardware/interfaces/audio/aidl/vts/ |
D | VtsHalAudioEffectTargetTest.cpp | 59 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 …]
|
D | VtsHalPresetReverbTargetTest.cpp | 40 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()
|
D | VtsHalVirtualizerTargetTest.cpp | 39 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()
|
D | VtsHalLoudnessEnhancerTargetTest.cpp | 48 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()
|
D | VtsHalEqualizerTargetTest.cpp | 67 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()
|
D | VtsHalBassBoostTargetTest.cpp | 53 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()
|
D | VtsHalVolumeTargetTest.cpp | 37 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()
|
D | VtsHalAECTargetTest.cpp | 47 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
|
D | VtsHalNSTargetTest.cpp | 44 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
|
D | VtsHalDownmixTargetTest.cpp | 91 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()
|
D | VtsHalAGC1TargetTest.cpp | 48 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
|
D | VtsHalHapticGeneratorTargetTest.cpp | 85 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
|
D | VtsHalAGC2TargetTest.cpp | 49 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
|
D | VtsHalVisualizerTargetTest.cpp | 58 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
|
D | VtsHalSpatializerTargetTest.cpp | 74 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
|
D | VtsHalEnvironmentalReverbTargetTest.cpp | 148 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
|
D | EffectHelper.h | 97 mDescriptor = desc; 225 mDescriptor.capability)) { 227 mDescriptor.capability, Spatializer::supportedChannelLayout); 407 Descriptor mDescriptor; variable
|
D | VtsHalDynamicsProcessingTest.cpp | 48 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/ |
D | Gralloc1On0Adapter.h | 220 *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
|
D | Gralloc1On0Adapter.cpp | 234 mDescriptor(descriptor), in Buffer()
|
/hardware/interfaces/audio/common/7.0/example/ |
D | Effect.h | 25 explicit Effect(const EffectDescriptor& descriptor) : mDescriptor(descriptor) {} in Effect() 86 const EffectDescriptor mDescriptor;
|
D | Effect.cpp | 154 _hidl_cb(Result::OK, mDescriptor); in getDescriptor()
|
/hardware/google/pixel/power-libperfmgr/aidl/tests/ |
D | PowerHintSessionTest.cpp | 284 ASSERT_EQ(session1Threads, sess1->mDescriptor->thread_ids); in TEST_F() 285 ASSERT_EQ(SessionTag::OTHER, sess1->mDescriptor->tag); in TEST_F()
|