Home
last modified time | relevance | path

Searched refs:boost (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/
DThreadPriorityBoosterTest.java52 boost(() -> { in testThreadPriorityBooster() method
54 boost(() -> { in testThreadPriorityBooster() method
62 joinNewThread(() -> boost(() -> assertThreadPriority(PRIORITY_BOOST_MORE))); in testThreadPriorityBooster()
70 joinNewThread(() -> boost(() -> assertThreadPriority(PRIORITY_BOOST))); in testThreadPriorityBooster()
89 private void boost(Runnable action) { in boost() method in ThreadPriorityBoosterTest
91 mBooster.boost(); in boost()
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp34 HalResult<void> EmptyHalWrapper::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost() argument
35 ALOGV("Skipped setBoost %s with duration %dms because %s", toString(boost).c_str(), durationMs, in setBoost()
82 HalResult<void> HidlHalWrapperV1_0::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost() argument
83 if (boost == Aidl::Boost::INTERACTION) { in setBoost()
86 return EmptyHalWrapper::setBoost(boost, durationMs); in setBoost()
145 HalResult<void> HidlHalWrapperV1_2::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost() argument
146 switch (boost) { in setBoost()
152 return HidlHalWrapperV1_1::setBoost(boost, durationMs); in setBoost()
189 HalResult<void> AidlHalWrapper::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost() argument
191 size_t idx = static_cast<size_t>(boost); in setBoost()
[all …]
DPowerHalController.cpp114 HalResult<void> PowerHalController::setBoost(aidl::android::hardware::power::Boost boost, in setBoost() argument
117 return processHalResult(handle->setBoost(boost, durationMs), "setBoost"); in setBoost()
/frameworks/native/services/powermanager/benchmarks/
DPowerHalControllerBenchmarks.cpp92 Boost boost = static_cast<Boost>(state.range(0)); in BM_PowerHalControllerBenchmarks_setBoost() local
93 runBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoost()
97 Boost boost = static_cast<Boost>(state.range(0)); in BM_PowerHalControllerBenchmarks_setBoostCached() local
98 runCachedBenchmark(state, &PowerHalController::setBoost, boost, 0); in BM_PowerHalControllerBenchmarks_setBoostCached()
DPowerHalAidlBenchmarks.cpp141 Boost boost = static_cast<Boost>(state.range(0)); in BM_PowerHalAidlBenchmarks_isBoostSupported() local
142 runBenchmark(state, 0us, &IPower::isBoostSupported, boost, &isSupported); in BM_PowerHalAidlBenchmarks_isBoostSupported()
152 Boost boost = static_cast<Boost>(state.range(0)); in BM_PowerHalAidlBenchmarks_setBoost() local
153 runBenchmark(state, ONEWAY_API_DELAY, &IPower::setBoost, boost, 1); in BM_PowerHalAidlBenchmarks_setBoost()
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp86 static void setPowerBoost(Boost boost, int32_t durationMs) { in setPowerBoost() argument
87 gPowerHalController.setBoost(boost, durationMs); in setPowerBoost()
88 SurfaceComposerClient::notifyPowerBoost(static_cast<int32_t>(boost)); in setPowerBoost()
232 static void nativeSetPowerBoost(JNIEnv* /* env */, jclass /* clazz */, jint boost, in nativeSetPowerBoost() argument
234 setPowerBoost(static_cast<Boost>(boost), durationMs); in nativeSetPowerBoost()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerThreadPriorityBooster.java53 public void boost() { in boost() method in WindowManagerThreadPriorityBooster
61 super.boost(); in boost()
/frameworks/native/include/powermanager/
DPowerHalWrapper.h52 virtual HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
74 HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
100 HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
128 HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
158 HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
DPowerHalController.h60 virtual HalResult<void> setBoost(aidl::android::hardware::power::Boost boost,
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockIPower.h45 MOCK_METHOD(ndk::ScopedAStatus, isBoostSupported, (Boost boost, bool* ret), (override));
46 MOCK_METHOD(ndk::ScopedAStatus, setBoost, (Boost boost, int32_t durationMs), (override));
/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/
DTestTarget.java28 public static void boost() { in boost() method in TestTarget
/frameworks/av/media/module/libmediaformatshaper/
DVQApply.cpp185 int64_t boost = bitrateChosen * codec->getMissingQpBoost(); in VQApply() local
187 bitrateChosen, boost); in VQApply()
188 bitrateChosen = bitrateChosen + boost; in VQApply()
DCodecProperties.cpp56 void CodecProperties::setMissingQpBoost(double boost) { in setMissingQpBoost() argument
57 mMissingQpBoost = boost; in setMissingQpBoost()
153 double boost = strtod(p, &q); in setTuningValue() local
155 setMissingQpBoost(boost); in setTuningValue()
DCodecProperties.h91 void setMissingQpBoost(double boost);
/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java45 public void boost() { in boost() method in ThreadPriorityBooster
/frameworks/base/core/java/android/os/
DPowerManagerInternal.java243 public abstract void setPowerBoost(int boost, int durationMs); in setPowerBoost() argument
Dflags.aconfig128 description: "Guards use of a boost in response to HWUI obtainView"
144 description: "Guards use of a boost when view measures during input events"
DIPowerManager.aidl37 oneway void setPowerBoost(int boost, int durationMs); in setPowerBoost() argument
/frameworks/base/core/java/android/view/flags/
Drefresh_rate_flags.aconfig95 description: "Feature flag for suppressing boost on typing"
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java147 public void setPowerBoost(int boost, int durationMs) { in setPowerBoost() argument
/frameworks/native/services/powermanager/tests/
DPowerHalWrapperAidlTest.cpp51 MOCK_METHOD(ndk::ScopedAStatus, isBoostSupported, (Boost boost, bool* ret), (override));
52 MOCK_METHOD(ndk::ScopedAStatus, setBoost, (Boost boost, int32_t durationMs), (override));
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp190 unsigned boost = atoi(value); in initDecoder() local
191 ALOGV("AAC decoder using desired DRC boost factor of %d instead of %d", boost, in initDecoder()
193 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_BOOST_FACTOR, boost); in initDecoder()
/frameworks/proto_logging/stats/enums/app/
Dwearsettings_enums.proto216 // Item for high brightness-mode/sunlight boost
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java957 public void nativeSetPowerBoost(int boost, int durationMs) { in nativeSetPowerBoost() argument
958 PowerManagerService.nativeSetPowerBoost(boost, durationMs); in nativeSetPowerBoost()
1157 private static native void nativeSetPowerBoost(int boost, int durationMs);
4488 private void setPowerBoostInternal(int boost, int durationMs) {
4490 mNativeWrapper.nativeSetPowerBoost(boost, durationMs);
5775 public void setPowerBoost(int boost, int durationMs) {
5781 setPowerBoostInternal(boost, durationMs);
7221 public void setPowerBoost(int boost, int durationMs) {
7222 setPowerBoostInternal(boost, durationMs);
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto144 // Timestamp of the last screen brightness boost.
146 // True if screen brightness boost is in progress.

12