Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. |
| 3 | * |
| 4 | * Redistribution and use in source and binary forms, with or without |
| 5 | * modification, are permitted provided that the following conditions are |
| 6 | * met: |
| 7 | * * * Redistributions of source code must retain the above copyright |
| 8 | * notice, this list of conditions and the following disclaimer. |
| 9 | * * Redistributions in binary form must reproduce the above |
| 10 | * copyright notice, this list of conditions and the following |
| 11 | * disclaimer in the documentation and/or other materials provided |
| 12 | * with the distribution. |
| 13 | * * Neither the name of The Linux Foundation nor the names of its |
| 14 | * contributors may be used to endorse or promote products derived |
| 15 | * from this software without specific prior written permission. |
| 16 | * |
| 17 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| 18 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 27 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 | */ |
| 29 | #define LOG_NIDEBUG 0 |
| 30 | |
| 31 | #include <errno.h> |
| 32 | #include <string.h> |
| 33 | #include <sys/types.h> |
| 34 | #include <sys/stat.h> |
| 35 | #include <fcntl.h> |
| 36 | #include <dlfcn.h> |
| 37 | #include <stdlib.h> |
| 38 | |
| 39 | #define LOG_TAG "QCOM PowerHAL" |
| 40 | #include <utils/Log.h> |
| 41 | #include <hardware/hardware.h> |
| 42 | #include <hardware/power.h> |
| 43 | |
| 44 | #include "utils.h" |
| 45 | #include "metadata-defs.h" |
| 46 | #include "hint-data.h" |
| 47 | #include "performance.h" |
| 48 | #include "power-common.h" |
| 49 | |
| 50 | static int display_hint_sent; |
| 51 | |
Steve Kondik | d9668ba | 2015-11-03 03:27:42 -0800 | [diff] [blame] | 52 | int get_number_of_profiles() { |
| 53 | return 5; |
| 54 | } |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 55 | |
| 56 | static int current_power_profile = PROFILE_BALANCED; |
| 57 | |
| 58 | static void set_power_profile(int profile) { |
| 59 | |
| 60 | if (profile == current_power_profile) |
| 61 | return; |
| 62 | |
| 63 | ALOGV("%s: profile=%d", __func__, profile); |
| 64 | |
Steve Kondik | c3f88a7 | 2015-07-14 04:20:28 -0700 | [diff] [blame] | 65 | if (current_power_profile != PROFILE_BALANCED) { |
| 66 | undo_hint_action(DEFAULT_PROFILE_HINT_ID); |
| 67 | ALOGV("%s: hint undone", __func__); |
| 68 | } |
| 69 | |
| 70 | if (profile == PROFILE_POWER_SAVE) { |
Steve Kondik | bb9a0db | 2015-10-21 14:15:10 -0700 | [diff] [blame] | 71 | int resource_values[] = { CPUS_ONLINE_MPD_OVERRIDE, 0x0A03, |
Steve Kondik | bef5e8a | 2015-07-21 15:08:16 -0700 | [diff] [blame] | 72 | CPU0_MAX_FREQ_NONTURBO_MAX - 2, CPU1_MAX_FREQ_NONTURBO_MAX - 2, |
| 73 | CPU2_MAX_FREQ_NONTURBO_MAX - 2, CPU3_MAX_FREQ_NONTURBO_MAX - 2, |
| 74 | CPU4_MAX_FREQ_NONTURBO_MAX - 2, CPU5_MAX_FREQ_NONTURBO_MAX - 2, |
| 75 | CPU6_MAX_FREQ_NONTURBO_MAX - 2, CPU7_MAX_FREQ_NONTURBO_MAX - 2 }; |
Steve Kondik | c3f88a7 | 2015-07-14 04:20:28 -0700 | [diff] [blame] | 76 | perform_hint_action(DEFAULT_PROFILE_HINT_ID, |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 77 | resource_values, ARRAY_SIZE(resource_values)); |
Steve Kondik | c3f88a7 | 2015-07-14 04:20:28 -0700 | [diff] [blame] | 78 | ALOGD("%s: set powersave", __func__); |
| 79 | } else if (profile == PROFILE_HIGH_PERFORMANCE) { |
Zhao Wei Liew | 458a99b | 2016-05-29 00:41:44 +0800 | [diff] [blame] | 80 | int resource_values[] = { SCHED_BOOST_ON, CPUS_ONLINE_MAX, |
| 81 | ALL_CPUS_PWR_CLPS_DIS, 0x0901, |
Steve Kondik | b3bcbcc | 2015-07-31 08:31:10 -0700 | [diff] [blame] | 82 | CPU0_MIN_FREQ_TURBO_MAX, CPU1_MIN_FREQ_TURBO_MAX, |
Steve Kondik | fc552c7 | 2015-09-04 04:21:44 -0700 | [diff] [blame] | 83 | CPU2_MIN_FREQ_TURBO_MAX, CPU3_MIN_FREQ_TURBO_MAX, |
| 84 | CPU4_MIN_FREQ_TURBO_MAX, CPU5_MIN_FREQ_TURBO_MAX, |
| 85 | CPU6_MIN_FREQ_TURBO_MAX, CPU7_MIN_FREQ_TURBO_MAX }; |
Steve Kondik | c3f88a7 | 2015-07-14 04:20:28 -0700 | [diff] [blame] | 86 | perform_hint_action(DEFAULT_PROFILE_HINT_ID, |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 87 | resource_values, ARRAY_SIZE(resource_values)); |
Steve Kondik | c3f88a7 | 2015-07-14 04:20:28 -0700 | [diff] [blame] | 88 | ALOGD("%s: set performance mode", __func__); |
Steve Kondik | bb9a0db | 2015-10-21 14:15:10 -0700 | [diff] [blame] | 89 | } else if (profile == PROFILE_BIAS_POWER) { |
Scott Mertz | 783060a | 2015-10-29 11:26:12 -0700 | [diff] [blame] | 90 | int resource_values[] = { 0x0A03, 0x0902, |
Steve Kondik | bb9a0db | 2015-10-21 14:15:10 -0700 | [diff] [blame] | 91 | CPU0_MAX_FREQ_NONTURBO_MAX - 2, CPU1_MAX_FREQ_NONTURBO_MAX - 2, |
| 92 | CPU1_MAX_FREQ_NONTURBO_MAX - 2, CPU2_MAX_FREQ_NONTURBO_MAX - 2, |
| 93 | CPU4_MAX_FREQ_NONTURBO_MAX, CPU5_MAX_FREQ_NONTURBO_MAX, |
| 94 | CPU6_MAX_FREQ_NONTURBO_MAX, CPU7_MAX_FREQ_NONTURBO_MAX }; |
| 95 | perform_hint_action(DEFAULT_PROFILE_HINT_ID, |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 96 | resource_values, ARRAY_SIZE(resource_values)); |
Steve Kondik | bb9a0db | 2015-10-21 14:15:10 -0700 | [diff] [blame] | 97 | ALOGD("%s: set bias power mode", __func__); |
| 98 | } else if (profile == PROFILE_BIAS_PERFORMANCE) { |
| 99 | int resource_values[] = { CPUS_ONLINE_MAX_LIMIT_MAX, |
| 100 | CPU4_MIN_FREQ_NONTURBO_MAX + 1, CPU5_MIN_FREQ_NONTURBO_MAX + 1, |
| 101 | CPU6_MIN_FREQ_NONTURBO_MAX + 1, CPU7_MIN_FREQ_NONTURBO_MAX + 1 }; |
| 102 | perform_hint_action(DEFAULT_PROFILE_HINT_ID, |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 103 | resource_values, ARRAY_SIZE(resource_values)); |
Steve Kondik | bb9a0db | 2015-10-21 14:15:10 -0700 | [diff] [blame] | 104 | ALOGD("%s: set bias perf mode", __func__); |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 105 | } |
| 106 | |
| 107 | current_power_profile = profile; |
| 108 | } |
| 109 | |
| 110 | extern void interaction(int duration, int num_args, int opt_list[]); |
| 111 | |
| 112 | #ifdef __LP64__ |
| 113 | typedef int64_t hintdata; |
| 114 | #else |
| 115 | typedef int hintdata; |
| 116 | #endif |
| 117 | |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 118 | static int process_video_encode_hint(void *metadata) |
| 119 | { |
| 120 | char governor[80]; |
| 121 | struct video_encode_metadata_t video_encode_metadata; |
| 122 | |
| 123 | if (get_scaling_governor(governor, sizeof(governor)) == -1) { |
| 124 | ALOGE("Can't obtain scaling governor."); |
| 125 | |
| 126 | return HINT_NONE; |
| 127 | } |
| 128 | |
| 129 | /* Initialize encode metadata struct fields */ |
| 130 | memset(&video_encode_metadata, 0, sizeof(struct video_encode_metadata_t)); |
| 131 | video_encode_metadata.state = -1; |
| 132 | video_encode_metadata.hint_id = DEFAULT_VIDEO_ENCODE_HINT_ID; |
| 133 | |
| 134 | if (metadata) { |
| 135 | if (parse_video_encode_metadata((char *)metadata, &video_encode_metadata) == |
| 136 | -1) { |
| 137 | ALOGE("Error occurred while parsing metadata."); |
| 138 | return HINT_NONE; |
| 139 | } |
| 140 | } else { |
| 141 | return HINT_NONE; |
| 142 | } |
| 143 | |
| 144 | if (video_encode_metadata.state == 1) { |
| 145 | if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && |
| 146 | (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { |
Dilip Gudlur | 4204b3b | 2014-12-20 15:30:18 -0800 | [diff] [blame] | 147 | /* sched and cpufreq params |
| 148 | * hispeed freq - 768 MHz |
| 149 | * target load - 90 |
| 150 | * above_hispeed_delay - 40ms |
| 151 | * sched_small_tsk - 50 |
| 152 | */ |
| 153 | int resource_values[] = {0x2C07, 0x2F5A, 0x2704, 0x4032}; |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 154 | |
| 155 | perform_hint_action(video_encode_metadata.hint_id, |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 156 | resource_values, ARRAY_SIZE(resource_values)); |
Dilip Gudlur | 625568b | 2014-11-05 16:08:26 -0800 | [diff] [blame] | 157 | return HINT_HANDLED; |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 158 | } |
| 159 | } else if (video_encode_metadata.state == 0) { |
| 160 | if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && |
| 161 | (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { |
| 162 | undo_hint_action(video_encode_metadata.hint_id); |
Dilip Gudlur | 625568b | 2014-11-05 16:08:26 -0800 | [diff] [blame] | 163 | return HINT_HANDLED; |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 164 | } |
| 165 | } |
| 166 | return HINT_NONE; |
| 167 | } |
| 168 | |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 169 | int power_hint_override(__attribute__((unused)) struct power_module *module, |
| 170 | power_hint_t hint, void *data) |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 171 | { |
Zhao Wei Liew | 1b48675 | 2016-01-12 17:57:07 +0800 | [diff] [blame] | 172 | if (hint == POWER_HINT_SET_PROFILE) { |
Steve Kondik | d9668ba | 2015-11-03 03:27:42 -0800 | [diff] [blame] | 173 | set_power_profile(*(int32_t *)data); |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 174 | return HINT_HANDLED; |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 175 | } |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 176 | |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 177 | // Skip other hints in custom power modes |
dianlujitao | dc1c659 | 2016-06-12 14:06:48 +0800 | [diff] [blame] | 178 | if (current_power_profile == PROFILE_POWER_SAVE) { |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 179 | return HINT_HANDLED; |
| 180 | } |
| 181 | |
Steve Kondik | bef5e8a | 2015-07-21 15:08:16 -0700 | [diff] [blame] | 182 | if (hint == POWER_HINT_INTERACTION) { |
Steve Kondik | 0125db4 | 2016-03-10 07:58:05 -0800 | [diff] [blame] | 183 | int duration = 500, duration_hint = 0; |
| 184 | static unsigned long long previous_boost_time = 0; |
Steve Kondik | bef5e8a | 2015-07-21 15:08:16 -0700 | [diff] [blame] | 185 | |
Steve Kondik | 0125db4 | 2016-03-10 07:58:05 -0800 | [diff] [blame] | 186 | if (data) { |
| 187 | duration_hint = *((int *)data); |
| 188 | } |
| 189 | |
| 190 | duration = duration_hint > 0 ? duration_hint : 500; |
| 191 | |
| 192 | struct timeval cur_boost_timeval = {0, 0}; |
| 193 | gettimeofday(&cur_boost_timeval, NULL); |
| 194 | unsigned long long cur_boost_time = cur_boost_timeval.tv_sec * 1000000 + cur_boost_timeval.tv_usec; |
| 195 | double elapsed_time = (double)(cur_boost_time - previous_boost_time); |
| 196 | if (elapsed_time > 750000) |
| 197 | elapsed_time = 750000; |
| 198 | // don't hint if it's been less than 250ms since last boost |
| 199 | // also detect if we're doing anything resembling a fling |
| 200 | // support additional boosting in case of flings |
| 201 | else if (elapsed_time < 250000 && duration <= 750) |
| 202 | return HINT_HANDLED; |
| 203 | |
| 204 | previous_boost_time = cur_boost_time; |
| 205 | |
| 206 | if (duration >= 1500) { |
Zhao Wei Liew | 458a99b | 2016-05-29 00:41:44 +0800 | [diff] [blame] | 207 | int resources[] = { |
| 208 | ALL_CPUS_PWR_CLPS_DIS, |
| 209 | SCHED_BOOST_ON, |
dianlujitao | dc1c659 | 2016-06-12 14:06:48 +0800 | [diff] [blame] | 210 | SCHED_PREFER_IDLE_DIS |
Zhao Wei Liew | 458a99b | 2016-05-29 00:41:44 +0800 | [diff] [blame] | 211 | }; |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 212 | interaction(duration, ARRAY_SIZE(resources), resources); |
Steve Kondik | 0125db4 | 2016-03-10 07:58:05 -0800 | [diff] [blame] | 213 | } else { |
Zhao Wei Liew | 458a99b | 2016-05-29 00:41:44 +0800 | [diff] [blame] | 214 | int resources[] = { |
| 215 | ALL_CPUS_PWR_CLPS_DIS, |
dianlujitao | dc1c659 | 2016-06-12 14:06:48 +0800 | [diff] [blame] | 216 | SCHED_PREFER_IDLE_DIS |
Zhao Wei Liew | 458a99b | 2016-05-29 00:41:44 +0800 | [diff] [blame] | 217 | }; |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 218 | interaction(duration, ARRAY_SIZE(resources), resources); |
Steve Kondik | 0125db4 | 2016-03-10 07:58:05 -0800 | [diff] [blame] | 219 | } |
Steve Kondik | bef5e8a | 2015-07-21 15:08:16 -0700 | [diff] [blame] | 220 | return HINT_HANDLED; |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 221 | } |
| 222 | |
Steve Kondik | 3c85911 | 2015-09-04 01:49:11 -0700 | [diff] [blame] | 223 | if (hint == POWER_HINT_LAUNCH_BOOST) { |
dianlujitao | dc1c659 | 2016-06-12 14:06:48 +0800 | [diff] [blame] | 224 | launch_boost_info_t *info = (launch_boost_info_t *)data; |
| 225 | if (info == NULL) { |
| 226 | ALOGE("Invalid argument for launch boost"); |
| 227 | return HINT_HANDLED; |
| 228 | } |
Steve Kondik | 3c85911 | 2015-09-04 01:49:11 -0700 | [diff] [blame] | 229 | |
dianlujitao | dc1c659 | 2016-06-12 14:06:48 +0800 | [diff] [blame] | 230 | ALOGV("LAUNCH_BOOST: %s (pid=%d)", info->packageName, info->pid); |
| 231 | |
| 232 | int duration = 2000; |
| 233 | int resources[] = { SCHED_BOOST_ON, 0x20C }; |
| 234 | |
| 235 | start_prefetch(info->pid, info->packageName); |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 236 | interaction(duration, ARRAY_SIZE(resources), resources); |
Steve Kondik | 3c85911 | 2015-09-04 01:49:11 -0700 | [diff] [blame] | 237 | |
| 238 | return HINT_HANDLED; |
| 239 | } |
| 240 | |
Steve Kondik | b3bcbcc | 2015-07-31 08:31:10 -0700 | [diff] [blame] | 241 | if (hint == POWER_HINT_CPU_BOOST) { |
Steve Kondik | d9668ba | 2015-11-03 03:27:42 -0800 | [diff] [blame] | 242 | int duration = *(int32_t *)data / 1000; |
Steve Kondik | 3c85911 | 2015-09-04 01:49:11 -0700 | [diff] [blame] | 243 | int resources[] = { SCHED_BOOST_ON }; |
Steve Kondik | b3bcbcc | 2015-07-31 08:31:10 -0700 | [diff] [blame] | 244 | |
| 245 | if (duration > 0) |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 246 | interaction(duration, ARRAY_SIZE(resources), resources); |
Steve Kondik | b3bcbcc | 2015-07-31 08:31:10 -0700 | [diff] [blame] | 247 | |
| 248 | return HINT_HANDLED; |
| 249 | } |
| 250 | |
Steve Kondik | bef5e8a | 2015-07-21 15:08:16 -0700 | [diff] [blame] | 251 | if (hint == POWER_HINT_VIDEO_ENCODE) { |
| 252 | return process_video_encode_hint(data); |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 253 | } |
| 254 | |
| 255 | return HINT_NONE; |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 256 | } |
| 257 | |
Steve Kondik | a8bf98b | 2015-06-21 19:34:25 -0700 | [diff] [blame] | 258 | int set_interactive_override(__attribute__((unused)) struct power_module *module, int on) |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 259 | { |
| 260 | char governor[80]; |
| 261 | |
| 262 | if (get_scaling_governor(governor, sizeof(governor)) == -1) { |
| 263 | ALOGE("Can't obtain scaling governor."); |
| 264 | |
| 265 | return HINT_NONE; |
| 266 | } |
| 267 | |
| 268 | if (!on) { |
Dilip Gudlur | 625568b | 2014-11-05 16:08:26 -0800 | [diff] [blame] | 269 | /* Display off */ |
| 270 | if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && |
| 271 | (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { |
dianlujitao | dc1c659 | 2016-06-12 14:06:48 +0800 | [diff] [blame] | 272 | // sched upmigrate = 99, sched downmigrate = 95 |
| 273 | // keep the big cores around, but make them very hard to use |
| 274 | int resource_values[] = { 0x4E63, 0x4F5F }; |
Dilip Gudlur | 625568b | 2014-11-05 16:08:26 -0800 | [diff] [blame] | 275 | if (!display_hint_sent) { |
| 276 | perform_hint_action(DISPLAY_STATE_HINT_ID, |
Zhao Wei Liew | 50a1ce2 | 2016-06-26 11:37:59 +0800 | [diff] [blame] | 277 | resource_values, ARRAY_SIZE(resource_values)); |
Dilip Gudlur | 625568b | 2014-11-05 16:08:26 -0800 | [diff] [blame] | 278 | display_hint_sent = 1; |
| 279 | return HINT_HANDLED; |
| 280 | } |
| 281 | } |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 282 | } else { |
Dilip Gudlur | 625568b | 2014-11-05 16:08:26 -0800 | [diff] [blame] | 283 | /* Display on */ |
| 284 | if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && |
| 285 | (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) { |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 286 | undo_hint_action(DISPLAY_STATE_HINT_ID); |
| 287 | display_hint_sent = 0; |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 288 | return HINT_HANDLED; |
| 289 | } |
| 290 | } |
Dilip Gudlur | f9cefe7 | 2014-11-02 17:25:52 -0800 | [diff] [blame] | 291 | return HINT_NONE; |
| 292 | } |