Searched refs:clamp (Results 1 – 7 of 7) sorted by relevance
/system/media/audio_utils/ |
D | ChannelMix.cpp | 98 dst[j] = clamp(ch[j]); in sparseChannelMatrixMultiply()
|
/system/core/libprocessgroup/ |
D | task_profiles.h | 95 SetClampsAction(int boost, int clamp) noexcept : boost_(boost), clamp_(clamp) {} in SetClampsAction() argument
|
D | task_profiles.cpp | 904 unsigned long clamp = strtoul(clamp_value.c_str(), &end, 10); in Load() local 906 profile->Add(std::make_unique<SetClampsAction>(boost, clamp)); in Load()
|
/system/media/audio_utils/include/audio_utils/ |
D | ChannelMix.h | 29 inline float clamp(float value) { in clamp() function 686 dst[j] = clamp(ch[j]); in matrixProcess()
|
/system/core/fs_mgr/libfiemap/ |
D | binder.cpp | 119 static_cast<int32_t>(std::clamp<typename std::chrono::milliseconds::rep>( in MapImageDevice()
|
/system/memory/lmkd/ |
D | lmkd.cpp | 555 static int clamp(int low, int high, int value) { in clamp() function 3761 swap_free_low_percentage = clamp(0, 100, GET_LMK_PROPERTY(int32, "swap_free_low_percentage", in update_props() 3770 thrashing_limit_decay_pct = clamp(0, 100, GET_LMK_PROPERTY(int32, "thrashing_limit_decay", in update_props() 3774 swap_util_max = clamp(0, 100, GET_LMK_PROPERTY(int32, "swap_util_max", 100)); in update_props()
|
/system/gsid/ |
D | gsi_service.cpp | 538 *_aidl_return = std::clamp(size, kMinScratchSize, kMaxScratchSize); in suggestScratchSize()
|