PowerHAL: add 60fps streaming hint
am: 432bb9bd2b

Change-Id: I958aab9cad46defbf01c319eb6f360d8d5355b41
diff --git a/power-libperfmgr/CameraMode.h b/power-libperfmgr/CameraMode.h
index ce8f0c9..1e05623 100644
--- a/power-libperfmgr/CameraMode.h
+++ b/power-libperfmgr/CameraMode.h
@@ -21,6 +21,7 @@
     CAMERA_STREAMING_OFF = 0,
     CAMERA_STREAMING,
     CAMERA_STREAMING_1080P,
+    CAMERA_STREAMING_60FPS,
     CAMERA_STREAMING_4K,
     CAMERA_STREAMING_SECURE,
     CAMERA_STREAMING_MAX
diff --git a/power-libperfmgr/Power.cpp b/power-libperfmgr/Power.cpp
index 4a7cc8e..f199bfb 100644
--- a/power-libperfmgr/Power.cpp
+++ b/power-libperfmgr/Power.cpp
@@ -54,6 +54,7 @@
         {CAMERA_STREAMING_OFF, "CAMERA_STREAMING_OFF"},
         {CAMERA_STREAMING, "CAMERA_STREAMING"},
         {CAMERA_STREAMING_1080P, "CAMERA_STREAMING_1080P"},
+        {CAMERA_STREAMING_60FPS, "CAMERA_STREAMING_60FPS"},
         {CAMERA_STREAMING_4K, "CAMERA_STREAMING_4K"},
         {CAMERA_STREAMING_SECURE, "CAMERA_STREAMING_SECURE"}};
 
@@ -81,6 +82,10 @@
             ALOGI("Initialize CAMERA_STREAMING_1080P on");
             mHintManager->DoHint("CAMERA_STREAMING_1080P");
             mCameraStreamingMode = CAMERA_STREAMING_1080P;
+        } else if (state == "CAMERA_STREAMING_60FPS") {
+            ALOGI("Initialize CAMERA_STREAMING_60FPS on");
+            mHintManager->DoHint("CAMERA_STREAMING_60FPS");
+            mCameraStreamingMode = CAMERA_STREAMING_60FPS;
         } else if (state == "CAMERA_STREAMING_4K") {
             ALOGI("Initialize with CAMERA_STREAMING_4K on");
             mHintManager->DoHint("CAMERA_STREAMING_4K");