Home
last modified time | relevance | path

Searched refs:boost (Results 1 – 25 of 30) 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.cpp83 HalResult<void> EmptyHalWrapper::setBoost(Boost boost, int32_t durationMs) { in setBoost() argument
85 toString(boost).c_str(), durationMs); in setBoost()
109 HalResult<void> HidlHalWrapperV1_0::setBoost(Boost boost, int32_t durationMs) { in setBoost() argument
110 if (boost == Boost::INTERACTION) { in setBoost()
113 ALOGV("Skipped setBoost %s because Power HAL AIDL not available", toString(boost).c_str()); in setBoost()
176 HalResult<void> AidlHalWrapper::setBoost(Boost boost, int32_t durationMs) { in setBoost() argument
178 size_t idx = static_cast<size_t>(boost); in setBoost()
182 ALOGV("Skipped setBoost %s because Power HAL doesn't support it", toString(boost).c_str()); in setBoost()
188 auto isSupportedRet = mHandle->isBoostSupported(boost, &isSupported); in setBoost()
191 toString(boost).c_str(), isSupportedRet.toString8().c_str()); in setBoost()
[all …]
DPowerHalController.cpp89 HalResult<void> PowerHalController::setBoost(Boost boost, int32_t durationMs) { in setBoost() argument
91 auto result = handle->setBoost(boost, durationMs); 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.cpp133 Boost boost = static_cast<Boost>(state.range(0)); in BM_PowerHalAidlBenchmarks_isBoostSupported() local
134 runBenchmark(state, 0us, &IPower::isBoostSupported, boost, &isSupported); in BM_PowerHalAidlBenchmarks_isBoostSupported()
144 Boost boost = static_cast<Boost>(state.range(0)); in BM_PowerHalAidlBenchmarks_setBoost() local
145 runBenchmark(state, ONEWAY_API_DELAY, &IPower::setBoost, boost, 1); in BM_PowerHalAidlBenchmarks_setBoost()
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp91 static void setPowerBoost(Boost boost, int32_t durationMs) { in setPowerBoost() argument
92 gPowerHalController.setBoost(boost, durationMs); in setPowerBoost()
93 SurfaceComposerClient::notifyPowerBoost(static_cast<int32_t>(boost)); in setPowerBoost()
234 static void nativeSetPowerBoost(JNIEnv* /* env */, jclass /* clazz */, jint boost, in nativeSetPowerBoost() argument
236 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.h120 virtual HalResult<void> setBoost(hardware::power::Boost boost, int32_t durationMs) = 0;
134 virtual HalResult<void> setBoost(hardware::power::Boost boost, int32_t durationMs) override;
149 virtual HalResult<void> setBoost(hardware::power::Boost boost, int32_t durationMs) override;
187 virtual HalResult<void> setBoost(hardware::power::Boost boost, int32_t durationMs) override;
DPowerHalController.h58 virtual HalResult<void> setBoost(hardware::power::Boost boost, int32_t durationMs) override;
/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/
DTestTarget.java22 public static void boost() { in boost() method in TestTarget
/frameworks/av/media/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.java227 public abstract void setPowerBoost(int boost, int durationMs); in setPowerBoost() argument
DIPowerManager.aidl36 oneway void setPowerBoost(int boost, int durationMs); in setPowerBoost() argument
/frameworks/native/services/powermanager/tests/
DPowerHalWrapperAidlTest.cpp46 MOCK_METHOD(Status, isBoostSupported, (Boost boost, bool* ret), (override));
47 MOCK_METHOD(Status, setBoost, (Boost boost, int32_t durationMs), (override));
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java128 public void setPowerBoost(int boost, int durationMs) { in setPowerBoost() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java602 p.boost(-1, -1); // start you off flying!
917 p.boost(x, y);
1150 public void boost(float x, float y) {
1153 boost();
1156 public void boost() {
/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/base/services/core/java/com/android/server/power/
DPowerManagerService.java811 public void nativeSetPowerBoost(int boost, int durationMs) { in nativeSetPowerBoost() argument
812 PowerManagerService.nativeSetPowerBoost(boost, durationMs); in nativeSetPowerBoost()
931 private static native void nativeSetPowerBoost(int boost, int durationMs);
3982 private void setPowerBoostInternal(int boost, int durationMs) {
3984 mNativeWrapper.nativeSetPowerBoost(boost, durationMs);
5101 public void setPowerBoost(int boost, int durationMs) {
5107 setPowerBoostInternal(boost, durationMs);
6119 public void setPowerBoost(int boost, int durationMs) {
6120 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.
/frameworks/base/core/proto/android/os/
Dsystem_properties.proto40 optional int32 boost = 1; field
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop428 # SurfaceFlinger wakeups will trigger this boost whenever they are separated by more than this
/frameworks/base/services/
Dart-profile-boot287 Lcom/android/server/ThreadPriorityBooster;->boost()V
498 Lcom/android/server/wm/WindowManagerThreadPriorityBooster;->boost()V

12