Home
last modified time | relevance | path

Searched refs:thresholds (Results 1 – 21 of 21) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.cpp68 int calculateThresholdBucket(const std::vector<T> &thresholds, T value) { in calculateThresholdBucket() argument
69 if (thresholds.empty()) { in calculateThresholdBucket()
73 auto threshold_idx = std::upper_bound(thresholds.begin(), thresholds.end(), value); in calculateThresholdBucket()
74 int bucket = (threshold_idx - thresholds.begin()); in calculateThresholdBucket()
147 std::vector<int> thresholds(kMaxStatsResidencyCount); in initializeSensorCdevRequestStats() local
148 std::iota(thresholds.begin(), thresholds.end(), starting_state); in initializeSensorCdevRequestStats()
150 ThresholdList<int> threshold_list(logging_name, thresholds); in initializeSensorCdevRequestStats()
168 if (threshold_list.thresholds.back() >= max_state) { in initializeSensorCdevRequestStats()
171 << threshold_list.thresholds.back() << " >= " << max_state; in initializeSensorCdevRequestStats()
287 int value = calculateThresholdBucket(stats_by_threshold.thresholds, new_value); in updateSensorCdevRequestStats()
[all …]
Dthermal_stats_helper.h80 std::vector<ValueType> thresholds; member
84 : thresholds(threshold_list.thresholds), logging_name(threshold_list.logging_name) { in StatsByThreshold()
88 int time_in_state_size = threshold_list.thresholds.size() + 1; in StatsByThreshold()
Dthermal_info.h65 std::vector<T> thresholds; member
66 explicit ThresholdList(std::optional<std::string> logging_name, std::vector<T> thresholds) in ThresholdList()
67 : logging_name(logging_name), thresholds(thresholds) {} in ThresholdList()
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/1/android/hardware/radio/network/
DSignalThresholdInfo.aidl40 int[] thresholds;
/hardware/interfaces/radio/1.2/
DIRadio.hal89 * @param thresholdsDbm A vector of trigger thresholds in dBm. A vector size of 0 disables the
90 * use of thresholds for reporting.
91 * @param accessNetwork The type of network for which to apply these thresholds.
115 * @param thresholdsDownlinkKbps A vector of trigger thresholds in kbps for downlink reports. A
116 * vector size of 0 disables the use of DL thresholds for reporting.
117 * @param thresholdsUplinkKbps A vector of trigger thresholds in kbps for uplink reports. A
118 * vector size of 0 disables the use of UL thresholds for reporting.
119 * @param accessNetwork The type of network for which to apply these thresholds.
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/3/android/hardware/radio/network/
DSignalThresholdInfo.aidl41 int[] thresholds;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/current/android/hardware/radio/network/
DSignalThresholdInfo.aidl41 int[] thresholds;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/2/android/hardware/radio/network/
DSignalThresholdInfo.aidl40 int[] thresholds;
/hardware/interfaces/radio/aidl/android/hardware/radio/network/
DSignalThresholdInfo.aidl114 int[] thresholds;
/hardware/interfaces/thermal/aidl/vts/
DVtsHalThermalTargetTest.cpp371 std::vector<TemperatureThreshold> thresholds; in TEST_P() local
372 status = mThermal->getTemperatureThresholdsWithType(TemperatureType::SKIN, &thresholds); in TEST_P()
374 ASSERT_FALSE(thresholds.empty()) << "getTemperatureThresholdsWithType(SKIN) returns empty"; in TEST_P()
375 ASSERT_EQ(1, thresholds.size()) in TEST_P()
378 auto threshold = thresholds[0]; in TEST_P()
/hardware/interfaces/thermal/2.0/
DIThermal.hal45 * Retrieves static temperature thresholds in Celsius.
53 * temperatures thresholds. The order of temperatures of built-in
57 * always returns and never removes such temperatures. The thresholds
60 * which might not be simple thresholds so these values Thermal HAL provided
/hardware/interfaces/wifi/1.0/
DIWifiStaIfaceEventCallback.hal44 * |REPORT_EVENTS_EACH_SCAN| or one of the configured thresholds was
54 * thresholds set via |IWifiStaIface.startRssiMonitoring|.
/hardware/interfaces/radio/1.5/
DIRadio.hal45 * The hysteresisDb and thresholds apply to only the following measured quantities:
66 * @param accessNetwork The type of network for which to apply these thresholds.
90 * @param thresholdsDownlinkKbps A vector of trigger thresholds in kbps for downlink reports. A
91 * vector size of 0 disables the use of DL thresholds for reporting.
92 * @param thresholdsUplinkKbps A vector of trigger thresholds in kbps for uplink reports. A
93 * vector size of 0 disables the use of UL thresholds for reporting.
94 * @param accessNetwork The type of network for which to apply these thresholds.
Dtypes.hal145 * A vector size of 0 disables the use of thresholds for reporting.
147 vec<int32_t> thresholds;
/hardware/interfaces/radio/aidl/vts/
Dradio_network_test.cpp357 signalThresholdInfo.thresholds = {-109, -103, -97, -89}; in TEST_P()
422 signalThresholdInfo.thresholds = {-109, -103, -97, -89}; in TEST_P()
456 signalThresholdInfo.thresholds = {-110, -97, -73, -49, -25}; in TEST_P()
489 signalThresholdInfo.thresholds = {-22, -18, 0}; in TEST_P()
523 signalThresholdInfo.thresholds = {-128, -108, -88, -68}; in TEST_P()
556 signalThresholdInfo.thresholds = {-27, -20, -13, -6}; in TEST_P()
589 signalThresholdInfo.thresholds = {-10, 0, 10, 20}; in TEST_P()
618 signalThresholdInfo.thresholds = {-105, -90, -75, -65}; in TEST_P()
651 signalThresholdInfo.thresholds = {-105, -90, -75, -65}; in TEST_P()
688 signalThresholdInfo.thresholds = {-43, -20, 0, 20}; in TEST_P()
[all …]
/hardware/interfaces/radio/1.5/vts/functional/
Dradio_hidl_hal_api.cpp32 signalThresholdInfo.thresholds = {-109, -103, -97, -89}; in TEST_P()
81 signalThresholdInfo.thresholds = {-109, -103, -97, -89}; in TEST_P()
106 signalThresholdInfo.thresholds = {-110, -97, -73, -49, -25}; in TEST_P()
131 signalThresholdInfo.thresholds = {-128, -108, -88, -68}; in TEST_P()
156 signalThresholdInfo.thresholds = {-27, -20, -13, -6}; in TEST_P()
181 signalThresholdInfo.thresholds = {-10, 0, 10, 20}; in TEST_P()
202 signalThresholdInfo.thresholds = {-105, -90, -75, -65}; in TEST_P()
227 signalThresholdInfo.thresholds = {-105, -90, -75, -65}; in TEST_P()
257 signalThresholdInfo.thresholds = {-43, -20, 0, 20}; in TEST_P()
287 signalThresholdInfo.thresholds = {-10, 0, 10, 20}; in TEST_P()
[all …]
/hardware/google/pixel/thermal/
Dthermal-helper.h84 std::vector<TemperatureThreshold> *thresholds) const = 0;
127 std::vector<TemperatureThreshold> *thresholds) const override;
DThermal.cpp649 for (const auto &threshold : stats_by_threshold.thresholds) { in dumpThermalStats()
678 for (const auto &threshold : stats_by_threshold.thresholds) { in dumpThermalStats()
Dthermal-helper.cpp926 std::vector<TemperatureThreshold> *thresholds) const { in fillTemperatureThresholds()
944 *thresholds = ret; in fillTemperatureThresholds()
/hardware/interfaces/radio/aidl/compat/libradiocompat/network/
Dstructs.cpp72 .thresholds = info.thresholds, in toHidl()
/hardware/google/pixel/pixelstats/
Dpixelatoms.proto1312 // Time (s) accumulated only during charge at the given thresholds.
1315 // Time (s) accumulated only during discharge at the given thresholds.
1461 // lay within some temperature thresholds
1463 // With temperature thresholds predefined as thresholds_i, thresholds_i+1,
1464 // temp_residency_ms_bucket_i measures how much time the sensor lay within this two thresholds
1502 // Resume Latency stats is measured by count of resumes that lay within some latency thresholds
1504 // With resume times thresholds predefined as thresholds_i, thresholds_i+1,
1505 // resume_count_bucket_i measures count of resumes that lay within this two thresholds