thermal:  Update path reading for temperature residency metrics

Add temperature residency reset path
chown to system to reset from pixelstats

Bug: 193833982
Test: Local build and verify statsD logs
adb shell cmd stats print-logs && adb logcat -b all | grep -i 105045
Change-Id: Id73badfb8f8ff97a1a75b0544d3e1457ad0e2f84
diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp
index 4de046e..7280562 100644
--- a/pixelstats/service.cpp
+++ b/pixelstats/service.cpp
@@ -57,9 +57,15 @@
             UFS_ERR_PATH(auto_hibern8_err_count)
         },
         .AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once",
-        .TempResidencyPaths = {
-            "/sys/kernel/metrics/thermal/tr_by_group/tmu/stats",
-            "/sys/kernel/metrics/thermal/tr_by_group/spmic/stats",
+        .TempResidencyAndResetPaths = {
+            {
+                "/sys/kernel/metrics/thermal/tr_by_group/tmu/stats",
+                "/sys/kernel/metrics/thermal/tr_by_group/tmu/stats_reset"
+            },
+            {
+                "/sys/kernel/metrics/thermal/tr_by_group/spmic/stats",
+                "/sys/kernel/metrics/thermal/tr_by_group/spmic/stats_reset"
+            }
         },
 };