Home
last modified time | relevance | path

Searched defs:threshold (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/display/
DSmallAreaDetectionController.java41 private static native void nativeSetSmallAreaDetectionThreshold(int uid, float threshold); in nativeSetSmallAreaDetectionThreshold()
100 final float threshold = Float.valueOf(items[1]); in putToAllowlist() local
109 private void updateUidListForAllUsers(SparseArray<Float> list, String pkg, float threshold) { in updateUidListForAllUsers()
125 final float threshold = mAllowPkgMap.get(pkg); in updateSmallAreaDetection() local
143 void setSmallAreaDetectionThreshold(int uid, float threshold) { in setSmallAreaDetectionThreshold()
/frameworks/av/media/libaaudio/src/fifo/
DFifoControllerBase.cpp26 FifoControllerBase::FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold) in FifoControllerBase()
64 void FifoControllerBase::setThreshold(fifo_frames_t threshold) { in setThreshold()
DFifoController.h33 FifoController(fifo_frames_t bufferSize, fifo_frames_t threshold) in FifoController()
DFifoControllerIndirect.h37 fifo_frames_t threshold, in FifoControllerIndirect()
DFifoBuffer.cpp181 void FifoBuffer::setThreshold(fifo_frames_t threshold) { in setThreshold()
/frameworks/native/services/surfaceflinger/Scheduler/
DSmallAreaDetectionAllowMappings.h35 static bool isValidThreshold(float threshold) { return threshold >= 0.0f && threshold <= 1.0f; } in isValidThreshold()
DSmallAreaDetectionAllowMappings.cpp32 void SmallAreaDetectionAllowMappings::setThesholdForUid(uid_t uid, float threshold) { in setThesholdForUid()
DLayerHistory.cpp42 bool isLayerActive(const LayerInfo& info, nsecs_t threshold) { in isLayerActive()
219 const nsecs_t threshold = getActiveLayerThreshold(now); in partitionLayers() local
/frameworks/base/core/java/com/android/internal/os/
DBinderCallHeavyHitterWatcher.java146 int totalBinderCalls, float threshold, long timeSpan); in onHeavyHit()
247 public void setConfig(final boolean enable, final int batchSize, final float threshold, in setConfig()
292 final int batchSize, final float threshold, final int capacity) { in resetInternalLocked()
/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp35 constexpr int threshold = 47; in TEST() local
79 constexpr int threshold = capacity; in TEST() local
112 explicit TestFifoBuffer(fifo_frames_t capacity, fifo_frames_t threshold = 0) in TestFifoBuffer()
368 constexpr int threshold = 37; // arbitrary in TEST() local
/frameworks/base/services/core/jni/
Dcom_android_server_display_SmallAreaDetectionController.cpp52 jfloat threshold) { in nativeSetSmallAreaDetectionThreshold()
/frameworks/base/services/core/java/com/android/server/cpu/
DCpuAvailabilityMonitoringConfig.java78 public Builder addThreshold(int threshold) { in addThreshold()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSmallAreaDetectionAllowMappingsTest.cpp49 const float threshold = 0.05f; in TEST_F() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DThermalManagerServiceMockingTest.java410 TemperatureThreshold threshold = ret.get(0).type == Temperature.TYPE_SKIN ? ret.get(0) in getTemperatureThresholds_aidl() local
449 TemperatureThreshold threshold = ret.get(0); in getTemperatureThresholds_withFilter_aidl() local
/frameworks/base/libs/hwui/utils/
DMathUtils.h77 float threshold) { in divisionsNeededToApproximateArc()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPBase.cpp91 float ratio, float threshold, float kneeWidth, float noiseGateThreshold, in init()
166 float ratio, float threshold, float postGain) { in init()
DDPBase.h139 void setThreshold(float threshold) { in setThreshold()
239 void setThreshold(float threshold) { in setThreshold()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DFaceHelpMessageDeferralTest.kt40 val threshold = .75f constant
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringAnimation.java312 void setValueThreshold(float threshold) { in setValueThreshold()
DSpringForce.java319 void setValueThreshold(double threshold) { in setValueThreshold()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTimeSlotEventsTracker.java112 void onNumOfEventsThresholdChanged(int threshold) { in onNumOfEventsThresholdChanged()
230 final int threshold = DeviceConfig.getInt( in updateNumOfEventsThreshold() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DFaceHelpMessageDeferral.kt59 private val threshold: Float, constant in BiometricMessageDeferral
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java538 final float threshold = FullScreenMagnificationGestureHandler.PanningScalingState in testTransitToPanningState_scaleDifferenceOverThreshold_startDetecting() local
559 final float threshold = FullScreenMagnificationGestureHandler.PanningScalingState in testTransitToPanningState_scaleDifferenceLessThanThreshold_doNotDetect() local
607 final float threshold = FullScreenMagnificationGestureHandler.PanningScalingState in testPanningScaleOverThreshold_notDetecting_startDetecting() local
/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp184 uint32_t threshold = descriptor.capacityInFrames / 2; in configureDataQueue() local
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
DSwipeable.kt768 val threshold = thresholds(lower, upper) in computeTarget() constant
776 val threshold = thresholds(upper, lower) in computeTarget() constant

123