summaryrefslogtreecommitdiffstats
path: root/modules/sensors
diff options
context:
space:
mode:
authorAaron Whyte <awhyte@google.com>2014-04-15 15:41:38 -0700
committerAaron Whyte <awhyte@google.com>2014-04-15 16:22:05 -0700
commitf22e1c18081e4e7affc7f71f29b594d42a8f0e95 (patch)
tree2119c4dd6330811c996233bfae7f3bd6cf907421 /modules/sensors
parent4d7ac52d75b725ff25d68416747bfd43bbbc065d (diff)
downloadhardware_libhardware-f22e1c18081e4e7affc7f71f29b594d42a8f0e95.zip
hardware_libhardware-f22e1c18081e4e7affc7f71f29b594d42a8f0e95.tar.gz
hardware_libhardware-f22e1c18081e4e7affc7f71f29b594d42a8f0e95.tar.bz2
Reduced most MultiHal ALOGI to ALOGV, reducing bootup logspam.
Bug: 14084750 Change-Id: I099aaaa24caf0213af373b5a600616674349ff95
Diffstat (limited to 'modules/sensors')
-rw-r--r--modules/sensors/multihal.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/sensors/multihal.cpp b/modules/sensors/multihal.cpp
index 9e62767..f7177a3 100644
--- a/modules/sensors/multihal.cpp
+++ b/modules/sensors/multihal.cpp
@@ -428,7 +428,7 @@ static void get_so_paths(std::vector<char*> *so_paths) {
ALOGW("No multihal config file found at %s", CONFIG_FILENAME);
return;
}
- ALOGI("Multihal config file found at %s", CONFIG_FILENAME);
+ ALOGV("Multihal config file found at %s", CONFIG_FILENAME);
char *line = NULL;
size_t len = 0;
int line_count = 0;
@@ -441,7 +441,7 @@ static void get_so_paths(std::vector<char*> *so_paths) {
ALOGV("config file line #%d: '%s'", ++line_count, line);
char *real_path = realpath(line, NULL);
if (starts_with(real_path, LEGAL_SUBHAL_PATH_PREFIX)) {
- ALOGI("accepting valid path '%s'", real_path);
+ ALOGV("accepting valid path '%s'", real_path);
char* compact_line = new char[strlen(real_path) + 1];
strcpy(compact_line, real_path);
so_paths->push_back(compact_line);
@@ -479,7 +479,7 @@ static void lazy_init_modules() {
if (lib_handle == NULL) {
ALOGW("dlerror(): %s", dlerror());
} else {
- ALOGI("hal lib was loaded: %s", path);
+ ALOGI("Loaded library from %s", path);
ALOGV("Opening symbol \"%s\"", sym);
// clear old errors
dlerror();
@@ -490,7 +490,7 @@ static void lazy_init_modules() {
} else if (module == NULL) {
ALOGW("module == NULL");
} else {
- ALOGI("OK, dlsym()'ed \"%s\"", sym);
+ ALOGV("Loaded symbols from \"%s\"", sym);
sub_hw_modules->push_back(module);
}
}
@@ -554,7 +554,7 @@ static void lazy_init_sensors_list() {
int global_handle = assign_global_handle(module_index, local_handle);
mutable_sensor_list[mutable_sensor_index].handle = global_handle;
- ALOGI("module_index %d, local_handle %d, global_handle %d",
+ ALOGV("module_index %d, local_handle %d, global_handle %d",
module_index, local_handle, global_handle);
mutable_sensor_index++;
@@ -601,7 +601,7 @@ struct sensors_module_t HAL_MODULE_INFO_SYM = {
static int open_sensors(const struct hw_module_t* hw_module, const char* name,
struct hw_device_t** hw_device_out) {
- ALOGI("open_sensors begin...");
+ ALOGV("open_sensors begin...");
lazy_init_modules();
@@ -632,6 +632,6 @@ static int open_sensors(const struct hw_module_t* hw_module, const char* name,
// Prepare the output param and return
*hw_device_out = &dev->proxy_device.common;
- ALOGI("...open_sensors end");
+ ALOGV("...open_sensors end");
return 0;
}