diff options
author | Nathan Harold <nharold@google.com> | 2016-10-13 02:07:47 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-10-13 02:07:47 +0000 |
commit | 500e1720ebdaf8b9a6630589b41b71a2000d7f90 (patch) | |
tree | aaa418828eeadbb5964778fa822f22da1fec54ea | |
parent | 22b41817f89890a31d5a15efef15cbb9a53b1cfb (diff) | |
parent | c863521147c0fdf8497a10430f85c306e60f2084 (diff) | |
download | platform_hardware_ril-nougat-mr2.2-release.tar.gz platform_hardware_ril-nougat-mr2.2-release.tar.bz2 platform_hardware_ril-nougat-mr2.2-release.zip |
Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFOandroid-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-pixel-releasenougat-mr2-dev
am: c863521147
Change-Id: I01b10273285311173766966878d8174cda8e6bf8
-rw-r--r-- | include/telephony/ril.h | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index 98aa7d3d..5fcd9015 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -1712,18 +1712,29 @@ typedef struct { /* Tx Power Levels */ #define RIL_NUM_TX_POWER_LEVELS 5 +/** + * Aggregate modem activity information + */ typedef struct { - /* period (in ms) when modem is power collapsed */ + /* total time (in ms) when modem is in a low power or + * sleep state + */ uint32_t sleep_mode_time_ms; - /* period (in ms) when modem is awake and in idle mode*/ + /* total time (in ms) when modem is awake but neither + * the transmitter nor receiver are active/awake */ uint32_t idle_mode_time_ms; - /* period (in ms) for which Tx is active */ + /* total time (in ms) during which the transmitter is active/awake, + * subdivided by manufacturer-defined device-specific + * contiguous increasing ranges of transmit power between + * 0 and the transmitter's maximum transmit power. + */ uint32_t tx_mode_time_ms[RIL_NUM_TX_POWER_LEVELS]; - /* period (in ms) for which Rx is active */ + /* total time (in ms) for which receiver is active/awake and + * the transmitter is inactive */ uint32_t rx_mode_time_ms; } RIL_ActivityStatsInfo; @@ -5101,11 +5112,11 @@ typedef struct { /** * RIL_REQUEST_GET_ACTIVITY_INFO * - * Get modem activity statisitics info. + * Get modem activity information for power consumption estimation. * - * There can be multiple RIL_REQUEST_GET_ACTIVITY_INFO calls to modem. - * Once the response for the request is sent modem will clear - * current statistics information. + * Request clear-on-read statistics information that is used for + * estimating the per-millisecond power consumption of the cellular + * modem. * * "data" is null * "response" is const RIL_ActivityStatsInfo * |