power: add input arguments to interaction function

Change the method signature of interaction function
to allow input arguments for the optimizations
requested and the duration.
Add msm8226 and msm8610 specific power files for
interaction power hint override.

Change-Id: Iac6762d2864021d35981fee11496bda39f8f82fe
diff --git a/utils.c b/utils.c
index 4b0e292..15f7aed 100644
--- a/utils.c
+++ b/utils.c
@@ -171,14 +171,17 @@
     return 0;
 }
 
-void interaction()
+void interaction(int duration, int num_args, int opt_list[])
 {
 #ifdef INTERACTION_BOOST
     static int lock_handle = 0;
-    int resources[3] = {0x702, 0x20F, 0x30F};
+
+    if (duration < 0 || num_args < 1 || opt_list[0] == NULL)
+        return;
+
     if (qcopt_handle) {
         if (perf_lock_acq) {
-            lock_handle = perf_lock_acq(lock_handle, 3000, resources, sizeof(resources)/sizeof(resources[0]));
+            lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args);
             if (lock_handle == -1)
                 ALOGE("Failed to acquire lock.");
         }