Snap for 12765415 from 131d5c33a9 to 25Q1-release

Change-Id: I6e0b595546d60c00aaa6800a913f8439c1f3593b
This commit is contained in:
Android Build Coastguard Worker 2024-12-07 23:04:00 +00:00
commit 131d29e28c
14 changed files with 273 additions and 92 deletions

View file

@ -505,3 +505,8 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/caimito/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json device/google/caimito/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
# Enable APF by default
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.apf_disabled=false \
vendor.powerhal.apf_enabled=true

View file

@ -506,3 +506,8 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/caimito/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json device/google/caimito/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
# Enable APF by default
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.apf_disabled=false \
vendor.powerhal.apf_enabled=true

View file

@ -245,3 +245,8 @@ PRODUCT_VENDOR_PROPERTIES += \
# Thread HAL # Thread HAL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
com.google.caimito.hardware.threadnetwork com.google.caimito.hardware.threadnetwork
# Enable APF by default
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.apf_disabled=false \
vendor.powerhal.apf_enabled=true

View file

@ -475,3 +475,8 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/caimito/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json device/google/caimito/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
# Enable APF by default
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.apf_disabled=false \
vendor.powerhal.apf_enabled=true

View file

@ -1107,6 +1107,13 @@
"Duration": 5000, "Duration": 5000,
"Value": "512" "Value": "512"
}, },
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "FGUClampBoost", "Node": "FGUClampBoost",
@ -1181,7 +1188,8 @@
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit", "Node": "TAAutoPreferFit",
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -1189,35 +1197,47 @@
"Duration": 5000, "Duration": 5000,
"Value": "0xff" "Value": "0xff"
}, },
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Duration": 5000,
"Value": "0xff",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceEnable", "Node": "TAUclampMinOnNiceEnable",
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue", "Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000, "Duration": 5000,
"Value": "765" "Value": "765",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio", "Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000, "Duration": 5000,
"Value": "110" "Value": "110",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue", "Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000, "Duration": 5000,
"Value": "590" "Value": "590",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio", "Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000, "Duration": 5000,
"Value": "139" "Value": "139",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -3472,13 +3492,15 @@
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable", "Node": "AutoMigrationMarginsEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable", "Node": "AutoDvfsHeadroomEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
@ -3779,6 +3801,18 @@
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 80" "Value": "20 80"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "0"
} }
], ],
"GpuSysfsPath" : "/sys/devices/platform/1f000000.mali", "GpuSysfsPath" : "/sys/devices/platform/1f000000.mali",

View file

@ -1107,6 +1107,13 @@
"Duration": 5000, "Duration": 5000,
"Value": "512" "Value": "512"
}, },
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "FGUClampBoost", "Node": "FGUClampBoost",
@ -1181,7 +1188,8 @@
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit", "Node": "TAAutoPreferFit",
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -1189,35 +1197,47 @@
"Duration": 5000, "Duration": 5000,
"Value": "0xff" "Value": "0xff"
}, },
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Duration": 5000,
"Value": "0xff",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceEnable", "Node": "TAUclampMinOnNiceEnable",
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue", "Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000, "Duration": 5000,
"Value": "765" "Value": "765",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio", "Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000, "Duration": 5000,
"Value": "110" "Value": "110",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue", "Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000, "Duration": 5000,
"Value": "590" "Value": "590",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio", "Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000, "Duration": 5000,
"Value": "139" "Value": "139",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -3472,13 +3492,15 @@
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable", "Node": "AutoMigrationMarginsEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable", "Node": "AutoDvfsHeadroomEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
@ -3779,6 +3801,18 @@
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 80" "Value": "20 80"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "0"
} }
], ],
"GpuSysfsPath" : "/sys/devices/platform/1f000000.mali", "GpuSysfsPath" : "/sys/devices/platform/1f000000.mali",

View file

@ -991,6 +991,13 @@
"Duration": 5000, "Duration": 5000,
"Value": "512" "Value": "512"
}, },
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "FGUClampBoost", "Node": "FGUClampBoost",
@ -1065,7 +1072,8 @@
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit", "Node": "TAAutoPreferFit",
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -1073,35 +1081,47 @@
"Duration": 5000, "Duration": 5000,
"Value": "0xff" "Value": "0xff"
}, },
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Duration": 5000,
"Value": "0xff",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceEnable", "Node": "TAUclampMinOnNiceEnable",
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue", "Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000, "Duration": 5000,
"Value": "765" "Value": "765",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio", "Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000, "Duration": 5000,
"Value": "110" "Value": "110",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue", "Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000, "Duration": 5000,
"Value": "590" "Value": "590",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio", "Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000, "Duration": 5000,
"Value": "139" "Value": "139",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",

View file

@ -1107,6 +1107,13 @@
"Duration": 5000, "Duration": 5000,
"Value": "512" "Value": "512"
}, },
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "FGUClampBoost", "Node": "FGUClampBoost",
@ -1181,7 +1188,8 @@
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit", "Node": "TAAutoPreferFit",
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -1189,35 +1197,47 @@
"Duration": 5000, "Duration": 5000,
"Value": "0xff" "Value": "0xff"
}, },
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Duration": 5000,
"Value": "0xff",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceEnable", "Node": "TAUclampMinOnNiceEnable",
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue", "Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000, "Duration": 5000,
"Value": "765" "Value": "765",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio", "Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000, "Duration": 5000,
"Value": "110" "Value": "110",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue", "Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000, "Duration": 5000,
"Value": "590" "Value": "590",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio", "Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000, "Duration": 5000,
"Value": "139" "Value": "139",
"EnableProperty": "vendor.powerhal.apf_enabled"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -3472,13 +3492,15 @@
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable", "Node": "AutoMigrationMarginsEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable", "Node": "AutoDvfsHeadroomEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
@ -3779,6 +3801,18 @@
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 80" "Value": "20 80"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "0"
} }
], ],
"GpuSysfsPath" : "/sys/devices/platform/1f000000.mali", "GpuSysfsPath" : "/sys/devices/platform/1f000000.mali",

View file

@ -1133,22 +1133,29 @@
] ]
}, },
{ {
"Name": "VIRTUAL-USB-THROTTLING", "Name": "USB-MINUS-CHARGING",
"Type": "UNKNOWN", "Type": "UNKNOWN",
"VirtualSensor": true, "VirtualSensor": true,
"Formula": "WEIGHTED_AVG", "Formula": "WEIGHTED_AVG",
"Combination": ["usb_pwr_therm", "charging_therm"],
"Coefficient": [1.0, -1.0]
},
{
"Name": "VIRTUAL-USB-THROTTLING",
"Type": "UNKNOWN",
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination": ["usb_pwr_therm"], "Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
"Coefficient": [1.0], "Coefficient": [55000.0, 50000.0, 2000.0],
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"], "HotThreshold": ["NaN", "NaN", "NaN", "NaN", 2.0, "NaN", "NaN"],
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.9, 0.0, 0.0],
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "usbc-port", "CdevRequest": "usbc-port",
"LimitInfo": [0, 0, 0, 0, 1, 1, 1] "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
} }
], ],
"Multiplier": 0.001,
"PollingDelay": 300000, "PollingDelay": 300000,
"PassiveDelay": 7000 "PassiveDelay": 7000
}, },
@ -1156,13 +1163,12 @@
"Name": "VIRTUAL-USB-UI", "Name": "VIRTUAL-USB-UI",
"Type": "USB_PORT", "Type": "USB_PORT",
"VirtualSensor": true, "VirtualSensor": true,
"Formula": "WEIGHTED_AVG", "Formula": "COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination": ["usb_pwr_therm"], "Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
"Coefficient": [1.0], "Coefficient": [57000.0, 52000.0, 2000.0],
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 57.0, "NaN"], "HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 2.0, "NaN"],
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 0.9, 0.0],
"Multiplier": 0.001,
"PollingDelay": 300000, "PollingDelay": 300000,
"PassiveDelay": 7000, "PassiveDelay": 7000,
"SendCallback": true "SendCallback": true

View file

@ -265,22 +265,29 @@
] ]
}, },
{ {
"Name": "VIRTUAL-USB-THROTTLING", "Name": "USB-MINUS-CHARGING",
"Type": "UNKNOWN", "Type": "UNKNOWN",
"VirtualSensor": true, "VirtualSensor": true,
"Formula": "WEIGHTED_AVG", "Formula": "WEIGHTED_AVG",
"Combination": ["usb_pwr_therm", "charging_therm"],
"Coefficient": [1.0, -1.0]
},
{
"Name": "VIRTUAL-USB-THROTTLING",
"Type": "UNKNOWN",
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination": ["usb_pwr_therm"], "Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
"Coefficient": [1.0], "Coefficient": [55000.0, 50000.0, 2000.0],
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"], "HotThreshold": ["NaN", "NaN", "NaN", "NaN", 2.0, "NaN", "NaN"],
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.9, 0.0, 0.0],
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "usbc-port", "CdevRequest": "usbc-port",
"LimitInfo": [0, 0, 0, 0, 1, 1, 1] "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
} }
], ],
"Multiplier": 0.001,
"PollingDelay": 300000, "PollingDelay": 300000,
"PassiveDelay": 7000 "PassiveDelay": 7000
} }

View file

@ -276,22 +276,29 @@
] ]
}, },
{ {
"Name": "VIRTUAL-USB-THROTTLING", "Name": "USB-MINUS-CHARGING",
"Type": "UNKNOWN", "Type": "UNKNOWN",
"VirtualSensor": true, "VirtualSensor": true,
"Formula": "WEIGHTED_AVG", "Formula": "WEIGHTED_AVG",
"Combination": ["usb_pwr_therm", "charging_therm"],
"Coefficient": [1.0, -1.0]
},
{
"Name": "VIRTUAL-USB-THROTTLING",
"Type": "UNKNOWN",
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination": ["usb_pwr_therm"], "Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
"Coefficient": [1.0], "Coefficient": [55000.0, 50000.0, 2000.0],
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"], "HotThreshold": ["NaN", "NaN", "NaN", "NaN", 2.0, "NaN", "NaN"],
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.9, 0.0, 0.0],
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "usbc-port", "CdevRequest": "usbc-port",
"LimitInfo": [0, 0, 0, 0, 1, 1, 1] "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
} }
], ],
"Multiplier": 0.001,
"PollingDelay": 300000, "PollingDelay": 300000,
"PassiveDelay": 7000 "PassiveDelay": 7000
} }

View file

@ -243,22 +243,29 @@
] ]
}, },
{ {
"Name": "VIRTUAL-USB-THROTTLING", "Name": "USB-MINUS-CHARGING",
"Type": "UNKNOWN", "Type": "UNKNOWN",
"VirtualSensor": true, "VirtualSensor": true,
"Formula": "WEIGHTED_AVG", "Formula": "WEIGHTED_AVG",
"Combination": ["usb_pwr_therm", "charging_therm"],
"Coefficient": [1.0, -1.0]
},
{
"Name": "VIRTUAL-USB-THROTTLING",
"Type": "UNKNOWN",
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination": ["usb_pwr_therm"], "Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
"Coefficient": [1.0], "Coefficient": [55000.0, 50000.0, 2000.0],
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"], "HotThreshold": ["NaN", "NaN", "NaN", "NaN", 2.0, "NaN", "NaN"],
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.9, 0.0, 0.0],
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "usbc-port", "CdevRequest": "usbc-port",
"LimitInfo": [0, 0, 0, 0, 1, 1, 1] "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
} }
], ],
"Multiplier": 0.001,
"PollingDelay": 300000, "PollingDelay": 300000,
"PassiveDelay": 7000 "PassiveDelay": 7000
} }

View file

@ -1156,22 +1156,29 @@
] ]
}, },
{ {
"Name": "VIRTUAL-USB-THROTTLING", "Name": "USB-MINUS-CHARGING",
"Type": "UNKNOWN", "Type": "UNKNOWN",
"VirtualSensor": true, "VirtualSensor": true,
"Formula": "WEIGHTED_AVG", "Formula": "WEIGHTED_AVG",
"Combination": ["usb_pwr_therm", "charging_therm"],
"Coefficient": [1.0, -1.0]
},
{
"Name": "VIRTUAL-USB-THROTTLING",
"Type": "UNKNOWN",
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination": ["usb_pwr_therm"], "Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
"Coefficient": [1.0], "Coefficient": [55000.0, 50000.0, 2000.0],
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"], "HotThreshold": ["NaN", "NaN", "NaN", "NaN", 2.0, "NaN", "NaN"],
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.9, 0.0, 0.0],
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "usbc-port", "CdevRequest": "usbc-port",
"LimitInfo": [0, 0, 0, 0, 1, 1, 1] "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
} }
], ],
"Multiplier": 0.001,
"PollingDelay": 300000, "PollingDelay": 300000,
"PassiveDelay": 7000 "PassiveDelay": 7000
}, },
@ -1179,13 +1186,12 @@
"Name": "VIRTUAL-USB-UI", "Name": "VIRTUAL-USB-UI",
"Type": "USB_PORT", "Type": "USB_PORT",
"VirtualSensor": true, "VirtualSensor": true,
"Formula": "WEIGHTED_AVG", "Formula": "COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination": ["usb_pwr_therm"], "Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
"Coefficient": [1.0], "Coefficient": [57000.0, 52000.0, 2000.0],
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 57.0, "NaN"], "HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 2.0, "NaN"],
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 0.9, 0.0],
"Multiplier": 0.001,
"PollingDelay": 300000, "PollingDelay": 300000,
"PassiveDelay": 7000, "PassiveDelay": 7000,
"SendCallback": true "SendCallback": true

View file

@ -1090,22 +1090,29 @@
] ]
}, },
{ {
"Name": "VIRTUAL-USB-THROTTLING", "Name": "USB-MINUS-CHARGING",
"Type": "UNKNOWN", "Type": "UNKNOWN",
"VirtualSensor": true, "VirtualSensor": true,
"Formula": "WEIGHTED_AVG", "Formula": "WEIGHTED_AVG",
"Combination": ["usb_pwr_therm", "charging_therm"],
"Coefficient": [1.0, -1.0]
},
{
"Name": "VIRTUAL-USB-THROTTLING",
"Type": "UNKNOWN",
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination": ["usb_pwr_therm"], "Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
"Coefficient": [1.0], "Coefficient": [55000.0, 50000.0, 2000.0],
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"], "HotThreshold": ["NaN", "NaN", "NaN", "NaN", 2.0, "NaN", "NaN"],
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.9, 0.0, 0.0],
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "usbc-port", "CdevRequest": "usbc-port",
"LimitInfo": [0, 0, 0, 0, 1, 1, 1] "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
} }
], ],
"Multiplier": 0.001,
"PollingDelay": 300000, "PollingDelay": 300000,
"PassiveDelay": 7000 "PassiveDelay": 7000
}, },
@ -1113,13 +1120,12 @@
"Name": "VIRTUAL-USB-UI", "Name": "VIRTUAL-USB-UI",
"Type": "USB_PORT", "Type": "USB_PORT",
"VirtualSensor": true, "VirtualSensor": true,
"Formula": "WEIGHTED_AVG", "Formula": "COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination": ["usb_pwr_therm"], "Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
"Coefficient": [1.0], "Coefficient": [57000.0, 52000.0, 2000.0],
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 57.0, "NaN"], "HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 2.0, "NaN"],
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 0.9, 0.0],
"Multiplier": 0.001,
"PollingDelay": 300000, "PollingDelay": 300000,
"PassiveDelay": 7000, "PassiveDelay": 7000,
"SendCallback": true "SendCallback": true