thermal: Hide the sensors which are not used by framework

Bug: 227686549
Test: adb shell dumpsys thermalservice
Change-Id: I26e16c664ac95264d0d4cc943bb45627ff774d8c
This commit is contained in:
TeYuan Wang 2022-04-01 18:21:39 +08:00 committed by George Lee
parent 06d7d2a9f2
commit deaa89eb24
2 changed files with 31 additions and 21 deletions

View file

@ -152,6 +152,7 @@
{ {
"Name":"VIRTUAL-GNSS-DISP", "Name":"VIRTUAL-GNSS-DISP",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -178,6 +179,7 @@
{ {
"Name":"VIRTUAL-USB2-QUIET", "Name":"VIRTUAL-USB2-QUIET",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -204,6 +206,7 @@
{ {
"Name":"VIRTUAL-QUIET-USB2", "Name":"VIRTUAL-QUIET-USB2",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -230,6 +233,7 @@
{ {
"Name":"VIRTUAL-NEUTRAL-QUIET", "Name":"VIRTUAL-NEUTRAL-QUIET",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -256,6 +260,7 @@
{ {
"Name":"VIRTUAL-NEUTRAL-USB", "Name":"VIRTUAL-NEUTRAL-USB",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -625,7 +630,7 @@
"NAN", "NAN",
"NAN", "NAN",
"NAN", "NAN",
11500, 13000,
"NAN", "NAN",
"NAN" "NAN"
], ],
@ -723,7 +728,7 @@
], ],
"Coefficient":[ "Coefficient":[
"5000", "5000",
"10500", "12000",
"-1000" "-1000"
], ],
"HotThreshold":[ "HotThreshold":[
@ -792,7 +797,7 @@
], ],
"Coefficient":[ "Coefficient":[
"5000", "5000",
"10500" "12000"
], ],
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
@ -1001,7 +1006,7 @@
"NAN", "NAN",
"NAN", "NAN",
"NAN", "NAN",
7000, 8000,
"NAN", "NAN",
"NAN" "NAN"
], ],
@ -1016,7 +1021,7 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true "Hidden":true
}, },
{ {
"Name":"ocp_cpu2", "Name":"ocp_cpu2",
@ -1041,7 +1046,7 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true "Hidden":true
}, },
{ {
"Name":"ocp_tpu", "Name":"ocp_tpu",
@ -1051,7 +1056,7 @@
"NAN", "NAN",
"NAN", "NAN",
"NAN", "NAN",
10500, 12000,
"NAN", "NAN",
"NAN" "NAN"
], ],
@ -1126,7 +1131,7 @@
"NAN", "NAN",
"NAN", "NAN",
"NAN", "NAN",
7000, 8000,
"NAN", "NAN",
"NAN" "NAN"
], ],
@ -1141,7 +1146,7 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true "Hidden":true
}, },
{ {
"Name":"soft_ocp_tpu", "Name":"soft_ocp_tpu",
@ -1166,7 +1171,7 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true "Hidden":true
}, },
{ {
"Name":"soft_ocp_gpu", "Name":"soft_ocp_gpu",
@ -1191,7 +1196,7 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true "Hidden":true
}, },
{ {
"Name":"TPU", "Name":"TPU",

View file

@ -152,6 +152,7 @@
{ {
"Name":"VIRTUAL-QUIET-USB", "Name":"VIRTUAL-QUIET-USB",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -178,6 +179,7 @@
{ {
"Name":"VIRTUAL-USB-QUIET", "Name":"VIRTUAL-USB-QUIET",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -204,6 +206,7 @@
{ {
"Name":"VIRTUAL-GNSS-DISP", "Name":"VIRTUAL-GNSS-DISP",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -230,6 +233,7 @@
{ {
"Name":"VIRTUAL-NEUTRAL-QUIET", "Name":"VIRTUAL-NEUTRAL-QUIET",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -256,6 +260,7 @@
{ {
"Name":"VIRTUAL-NEUTRAL-USB", "Name":"VIRTUAL-NEUTRAL-USB",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
@ -625,7 +630,7 @@
"NAN", "NAN",
"NAN", "NAN",
"NAN", "NAN",
11500, 13000,
"NAN", "NAN",
"NAN" "NAN"
], ],
@ -723,7 +728,7 @@
], ],
"Coefficient":[ "Coefficient":[
"5000", "5000",
"10500", "12000",
"-1000" "-1000"
], ],
"HotThreshold":[ "HotThreshold":[
@ -792,7 +797,7 @@
], ],
"Coefficient":[ "Coefficient":[
"5000", "5000",
"10500" "12000"
], ],
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
@ -1001,7 +1006,7 @@
"NAN", "NAN",
"NAN", "NAN",
"NAN", "NAN",
7000, 8000,
"NAN", "NAN",
"NAN" "NAN"
], ],
@ -1016,7 +1021,7 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true "Hidden":true
}, },
{ {
"Name":"ocp_cpu2", "Name":"ocp_cpu2",
@ -1041,7 +1046,7 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true "Hidden":true
}, },
{ {
"Name":"ocp_tpu", "Name":"ocp_tpu",
@ -1051,7 +1056,7 @@
"NAN", "NAN",
"NAN", "NAN",
"NAN", "NAN",
10500, 12000,
"NAN", "NAN",
"NAN" "NAN"
], ],
@ -1126,7 +1131,7 @@
"NAN", "NAN",
"NAN", "NAN",
"NAN", "NAN",
7000, 8000,
"NAN", "NAN",
"NAN" "NAN"
], ],
@ -1166,7 +1171,7 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true "Hidden":true
}, },
{ {
"Name":"soft_ocp_gpu", "Name":"soft_ocp_gpu",
@ -1191,7 +1196,7 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true "Hidden":true
}, },
{ {
"Name":"TPU", "Name":"TPU",