Home
last modified time | relevance | path

Searched refs:mThresholds (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/cpu/
DCpuAvailabilityMonitoringConfig.java55 private final IntArray mThresholds; field in CpuAvailabilityMonitoringConfig
58 return mThresholds; in getThresholds()
68 private final IntArray mThresholds = new IntArray(); field in CpuAvailabilityMonitoringConfig.Builder
79 if (mThresholds.indexOf(threshold) == -1) { in addThreshold()
80 mThresholds.add(threshold); in addThreshold()
94 + mThresholds + ')'; in toString()
114 if (builder.mThresholds.size() == 0) { in CpuAvailabilityMonitoringConfig()
118 this.mThresholds = builder.mThresholds.clone(); in CpuAvailabilityMonitoringConfig()
/frameworks/base/telephony/java/android/telephony/
DSignalThresholdInfo.java152 private final int[] mThresholds; field in SignalThresholdInfo
351 mThresholds = thresholds; in SignalThresholdInfo()
363 private int[] mThresholds = null;
475 mThresholds = thresholds.clone();
476 Arrays.sort(mThresholds);
509 mThresholds,
576 return mThresholds.clone();
608 out.writeIntArray(mThresholds);
617 mThresholds = in.createIntArray();
634 && Arrays.equals(mThresholds, other.mThresholds)
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTrustedPresentationListenerController.java211 + " thresholds=" + listener.mThresholds); in dump()
325 (alpha >= trustedPresentationInfo.mThresholds.getMinAlpha()) in checkIfInThreshold()
326 && (fractionRendered >= trustedPresentationInfo.mThresholds in checkIfInThreshold()
333 lastState, newState, alpha, trustedPresentationInfo.mThresholds.getMinAlpha(), in checkIfInThreshold()
334 fractionRendered, trustedPresentationInfo.mThresholds in checkIfInThreshold()
355 }, (long) (trustedPresentationInfo.mThresholds in checkIfInThreshold()
362 > trustedPresentationInfo.mThresholds in checkIfInThreshold()
410 final TrustedPresentationThresholds mThresholds; field in TrustedPresentationListenerController.TrustedPresentationInfo
417 mThresholds = thresholds; in TrustedPresentationInfo()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DCameraPrivacyLightController.java77 private final long[] mThresholds; field in CameraPrivacyLightController
109 mThresholds = null; in CameraPrivacyLightController()
130 mThresholds = new long[thresholdsLux.length]; in CameraPrivacyLightController()
133 mThresholds[i] = (long) (Math.log(luxValue) * LIGHT_VALUE_MULTIPLIER); in CameraPrivacyLightController()
269 for (int i = 0; i < mThresholds.length; i++) { in computeCurrentLightColor()
270 if (liveAmbientLightTotal < currentInterval * mThresholds[i]) { in computeCurrentLightColor()
/frameworks/base/native/android/
Dthermal.cpp73 const AThermalHeadroomThreshold *mThresholds = nullptr; // GUARDED_BY(mThresholdsMutex) member
112 delete[] mThresholds; in ~AThermalManager()
220 if (mThresholds == nullptr) { in getThermalHeadroomThresholds()
236 mThresholds = t; in getThermalHeadroomThresholds()
239 *result = mThresholds; in getThermalHeadroomThresholds()
/frameworks/base/libs/hwui/
DJankTracker.h81 std::array<int64_t, NUM_BUCKETS> mThresholds GUARDED_BY(mDataMutex);
DJankTracker.cpp237 if (delta >= mThresholds[comparison.type] && delta < IGNORE_EXCEEDING) { in finishFrame()
275 mThresholds[comparison.type] = comparison.computeThreadshold(frameBudget); in recomputeThresholds()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSignalThresholdInfoTest.java122 private final int[][] mThresholds = { field in SignalThresholdInfoTest
166 assertThat(st.getThresholds()).isEqualTo(mThresholds[count]); in testBuilderWithAllFields()
316 assertThat(st.getThresholds()).isEqualTo(mThresholds[i]); in testBuilderWithValidParameters()