Skip to content

Commit

Permalink
Merge tag 'android-14.0.0_r1' of https://android.googlesource.com/dev…
Browse files Browse the repository at this point in the history
…ice/google/sunfish into lineage-21

Android 14.0.0 Release 1 (UP1A.231005.007)

* tag 'android-14.0.0_r1' of https://android.googlesource.com/device/google/sunfish:
  Update sunfish SVN to 64
  Update sunfish SVN to 63
  sunfish: remove customizedMaxCachedProcesses
  Update sunfish SVN to 62
  Add hardware/qcom/wlan namespace
  update namespace for generic hal
  Explicit init .rc user.
  update AIDL IGoogleBattery manifest version to 2
  Revert "Revert "update AIDL IGoogleBattery manifest version to 2""
  Revert "update AIDL IGoogleBattery manifest version to 2"
  update AIDL IGoogleBattery manifest version to 2
  Update overlay to support MAC randomization on open SSIDs
  Set the default loop driver queue depth to 31
  Revert "Migrate the blkio cgroup controller to the v2 hierarchy"
  sunfish: move sg_write_buffer rule to common folder
  Update Sunfish compatibility matrix and makefile to use the AIDL wifi_ext service.
  Revert "Update Sunfish compatibility matrix to use the"
  Add prebuilt protobuf 3.9.1 to vendor partition.
  Update Sunfish compatibility matrix to use the AIDL wifi_ext service.
  [Sunfish] Drop the ACCESS_FINE_LOCATION for Restore
  Migrate the blkio cgroup controller to the v2 hierarchy
  Add display config for sunfish
  Removing deprecated Sunfish target
  update namespace for generic hal
  Migrate I/O scheduler parameters to task_profiles.json
  Delete HALs that are already in VINTF fragments (google_battery)
  Delete HALs that are already in VINTF fragments (android.hardware.*)
  Delete GNSS from main manifest.
  Clean up unused face_enroll_introduction_animation
  This file doesn't exist
  Dumpstate: get fsck log
  Disable per-cgroup PSI accounting
  AOSP+GMS - Build for aosp_sunfish_gms - set BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE.
  Allow including car boards from outside google_car
  Add device-specific support for GoogleBattery AIDL V1
  Update sunfish SVN to 45
  [LSC] Add LOCAL_LICENSE_KINDS to device/google/sunfish
  Notify port status change for moisture detection
  Implement callbacks for limitPowerTransfer
  Migrate IUsb implementation to AIDL
  Disable LE audio related profiles for sunfish
  Switch NFC from HIDL to AIDL
  Set default the Bluetooth class of device
  Revert "Switch NFC from HIDL to AIDL"
  Use the ?= operator so BT properties can be overridden
  Switch NFC from HIDL to AIDL
  Update LE Audio profile properties to match spec and implementation
  Update sunfish SVN to 42 Bug:  223313197
  Implement callbacks for limitPowerTransfer

 Conflicts:
	BoardConfig-common.mk
	device.mk

Change-Id: I405c33be5711d05a53bf14d784eca2fc2672cea0
  • Loading branch information
mikeNG committed Oct 25, 2023
2 parents 585293e + 43a7a41 commit 1d594b6
Show file tree
Hide file tree
Showing 16 changed files with 161 additions and 71 deletions.
2 changes: 2 additions & 0 deletions BoardConfig-common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ TARGET_2ND_CPU_VARIANT := generic
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a76

BUILD_BROKEN_DUP_RULES := true
# GOOGLE: workaround for https://android-review.googlesource.com/c/platform/system/sepolicy/+/1532995
BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true

TARGET_BOARD_COMMON_PATH := device/google/sunfish/sm7150

Expand Down
2 changes: 0 additions & 2 deletions default-permissions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
<permission name="android.permission.READ_CALL_LOG" fixed="false"/>
<permission name="android.permission.WRITE_CALL_LOG" fixed="false"/>
<!-- Used to set up a Wi-Fi P2P network -->
<!-- TODO(b/231966826): Remove the location permission after Restore targets to T. -->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
<permission name="android.permission.NEARBY_WIFI_DEVICES" fixed="false"/>
<!-- Notifications -->
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
Expand Down
3 changes: 3 additions & 0 deletions device-common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_COPY_FILES += \
device/google/sunfish/init.logging.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_PLATFORM).logging.rc

PRODUCT_COPY_FILES += \
device/google/sunfish/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json

# Pixelstats broken mic detection
PRODUCT_PROPERTY_OVERRIDES += vendor.audio.mic_break=true

Expand Down
4 changes: 4 additions & 0 deletions device-sunfish.mk
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_PACKAGES += \
NoCutoutOverlay \
AvoidAppsInCutoutOverlay

# Workaround for prebuilt Qualcomm neural network HAL
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-3.9.1-vendorcompat
6 changes: 2 additions & 4 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ PRODUCT_SOONG_NAMESPACES += \
hardware/qcom/sm8150/display \
hardware/qcom/sm8150/data/ipacfg-mgr \
hardware/qcom/sm8150/gps \
hardware/qcom/wlan/legacy \
system/chre/host/hal_generic \
vendor/google/camera \
vendor/qcom/sm8150 \
vendor/qcom/sm8150/proprietary/commonsys/telephony-apps/DataStatusNotification \
Expand Down Expand Up @@ -187,7 +189,6 @@ PRODUCT_PACKAGES += \
update_engine_sideload

PRODUCT_PACKAGES_DEBUG += \
sg_write_buffer \
f2fs_io \
check_f2fs

Expand Down Expand Up @@ -898,9 +899,6 @@ include hardware/google/pixel/common/pixel-common-device.mk
# Citadel
include hardware/google/pixel/citadel/citadel.mk

# Factory OTA
-include vendor/google/factoryota/client/factoryota.mk

-include vendor/qcom/sm8150/proprietary/securemsm/config/cpz_vendor_proprietary_board.mk
-include vendor/qcom/sm8150/proprietary/securemsm/config/cpz_vendor_proprietary_product.mk
-include vendor/qcom/sm8150/proprietary/securemsm/config/smcinvoke_vendor_proprietary_product.mk
Expand Down
5 changes: 2 additions & 3 deletions device_framework_matrix_product.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,9 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<hal format="aidl" optional="true">
<name>vendor.google.wifi_ext</name>
<transport>hwbinder</transport>
<version>1.3</version>
<version>1</version>
<interface>
<name>IWifiExt</name>
<instance>default</instance>
Expand Down
1 change: 1 addition & 0 deletions dumpstate/DumpstateDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ static void DumpSensorLog(int fd) {

static void DumpF2FS(int fd) {
DumpFileToFd(fd, "F2FS", "/sys/kernel/debug/f2fs/status");
DumpFileToFd(fd, "F2FS", "/dev/fscklogs/fsck");
RunCommandToFd(fd, "F2FS - fsck time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.fsck.data"});
RunCommandToFd(fd, "F2FS - checkpoint=disable time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.mount.data"});
}
Expand Down
7 changes: 0 additions & 7 deletions init.hardware.rc
Original file line number Diff line number Diff line change
Expand Up @@ -465,13 +465,6 @@ on property:sys.boot_completed=1
write /dev/cpuset/system-background/cpus 2-5
write /dev/cpuset/restricted/cpus 2-5

# Setup runtime blkio
# value for group_idle is us
write /dev/blkio/blkio.weight 1000
write /dev/blkio/background/blkio.weight 200
write /dev/blkio/blkio.group_idle 2000
write /dev/blkio/background/blkio.group_idle 0

# UFS health
chmod 755 /sys/kernel/debug/ufshcd0
chmod 644 /sys/kernel/debug/ufshcd0/show_hba
Expand Down
51 changes: 0 additions & 51 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.authsecret</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IAuthSecret</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.cacert</name>
<transport>hwbinder</transport>
Expand Down Expand Up @@ -211,14 +202,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>default</instance>
</interface>
</hal>
<hal format="aidl">
<name>vendor.google.google_battery</name>
<version>2</version>
<interface>
<name>IGoogleBattery</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.google.radioext</name>
<transport>hwbinder</transport>
Expand Down Expand Up @@ -265,13 +248,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.gnss</name>
<transport>hwbinder</transport>
<fqname>@1.1::IGnss/default</fqname>
<fqname>@2.0::IGnss/default</fqname>
<fqname>@2.1::IGnss/default</fqname>
</hal>
<!-- qcrilhook -->
<hal format="hidl">
<name>vendor.qti.hardware.radio.qcrilhook</name>
Expand Down Expand Up @@ -441,20 +417,11 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>default</instance>
</interface>
</hal>
<!-- Neural Network HAL -->
<hal format="hidl">
<name>android.hardware.neuralnetworks</name>
<transport>hwbinder</transport>
<fqname>@1.3::IDevice/qti-default</fqname>
<fqname>@1.3::IDevice/qti-dsp</fqname>
<fqname>@1.3::IDevice/qti-gpu</fqname>
</hal>
<!-- keymaster -->
<hal format="hidl">
<name>android.hardware.keymaster</name>
<transport>hwbinder</transport>
<fqname>@4.0::IKeymasterDevice/default</fqname>
<fqname>@4.1::IKeymasterDevice/strongbox</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.power.stats</name>
Expand Down Expand Up @@ -484,15 +451,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.weaver</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IWeaver</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.dumpstate</name>
<transport>hwbinder</transport>
Expand Down Expand Up @@ -529,15 +487,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.oemlock</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOemLock</name>
<instance>default</instance>
</interface>
</hal>
<!-- QSEECom HAL service -->
<hal format="hidl">
<name>vendor.qti.hardware.qseecom</name>
Expand Down
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions rro_overlays/WifiOverlay/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@

<!-- True if the firmware supports connected MAC randomization -->
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
<bool name="config_wifiAllowNonPersistentMacRandomizationOnOpenSsids">true</bool>

<!-- True if the firmware supports p2p MAC randomization -->
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
Expand Down
7 changes: 5 additions & 2 deletions sunfish/BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
# limitations under the License.
#

ifdef PHONE_CAR_BOARD_PRODUCT
include device/google_car/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
ifdef AUTOMOTIVE_PRODUCT_PATH
#RBC# include_top device/google/auto_tcu
#RBC# include_top device/google/pixel_tcu
#RBC# include_top device/google_car
include device/$(AUTOMOTIVE_PRODUCT_PATH)/BoardConfig.mk
else
TARGET_BOOTLOADER_BOARD_NAME := sunfish
TARGET_SCREEN_DENSITY := 440
Expand Down
1 change: 1 addition & 0 deletions sunfish/init.sunfish.rc
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ on property:debug.touch_sensitivity_mode=1
service vendor.mdm_helper /vendor/bin/mdm_helper
class core
group system wakelock
user root
14 changes: 12 additions & 2 deletions sunfish/overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,16 @@
<dimen name="status_bar_height_portrait">136px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>

<!-- the number of the max cached processes in the system. -->
<integer name="config_customizedMaxCachedProcesses">64</integer>
<!-- A string config in svg path format for the main display shape.
(@see https://www.w3.org/TR/SVG/paths.html#PathData).
This config must be set unless:
1. {@link Configuration#isScreenRound} is true which means the display shape is circular
and the system will auto-generate a circular shape.
2. The display has no rounded corner and the system will auto-generate a rectangular shape.
(@see DisplayShape#createDefaultDisplayShape)
Note: If the display supports multiple resolutions, please define the path config based on
the highest resolution so that it can be scaled correctly in each resolution. -->
<string name="config_mainDisplayShape">M 0 0 L 224 0.171875 C 214.87485 0.171875 205.74976 0.16477528 196.62109 0.18945312 C 189.0215 0.2070801 181.42224 0.25056649 173.82617 0.328125 C 164.83138 0.41978502 155.83659 0.56348655 146.8418 0.77148438 C 144.82299 0.81731448 142.80395 0.8709473 140.78516 0.92382812 C 139.80218 0.94850578 138.81893 0.97570316 137.83594 1.0039062 C 136.86706 1.0321092 135.90248 1.0616408 134.93359 1.0898438 C 131.16375 1.202656 127.39719 1.3281156 123.63086 1.4726562 C 119.53686 1.6312987 115.43811 1.8075786 111.34766 2.0332031 C 109.29714 2.1460156 107.24777 2.2710938 105.19727 2.4121094 C 103.13266 2.5531248 101.06656 2.7108304 99.001953 2.890625 C 94.812839 3.2572656 90.639442 3.7162799 86.478516 4.3261719 C 82.229507 4.94664 78.022294 5.7183509 73.84375 6.7089844 C 65.750903 8.6303203 57.952694 11.333489 50.546875 15.179688 C 46.794642 17.129227 43.229644 19.31967 39.808594 21.808594 C 36.366403 24.311617 33.167036 27.044007 30.158203 30.054688 C 27.149369 33.065366 24.423363 36.266634 21.921875 39.710938 C 19.434478 43.134087 17.2456 46.697016 15.300781 50.455078 C 11.456943 57.868967 8.7580479 65.667811 6.8378906 73.765625 C 5.8478646 77.950259 5.0771187 82.158541 4.4570312 86.410156 C 3.8510368 90.577163 3.3933759 94.755581 3.0234375 98.947266 C 2.8437531 101.01315 2.6838976 103.07865 2.5429688 105.14453 C 2.4020397 107.19631 2.2787588 109.24938 2.1660156 111.30469 C 1.9405294 115.40117 1.7659669 119.49958 1.6074219 123.59961 C 1.4629696 127.36827 1.3393057 131.13371 1.2265625 134.90234 C 1.1983765 135.87183 1.168811 136.83911 1.140625 137.80859 C 1.112439 138.79217 1.0887327 139.77384 1.0605469 140.75391 C 1.0076989 142.77393 0.95752827 144.7905 0.90820312 146.81055 C 0.70033289 155.80381 0.55644759 164.79775 0.46484375 173.79102 C 0.38733281 181.39528 0.34574112 188.99925 0.328125 196.60352 C 0.30698564 205.73427 0.31054688 214.86925 0.31054688 224 L 0 0 z M 0 0 L 0 2340 L 0.31054688 2116 C 0.31054687 2125.1308 0.30702504 2134.2658 0.328125 2143.3965 C 0.34574496 2151.0008 0.38734391 2158.6048 0.46484375 2166.209 C 0.55644357 2175.2022 0.70033354 2184.1942 0.90820312 2193.1875 C 0.95753304 2195.2076 1.0076469 2197.2241 1.0605469 2199.2441 C 1.0886467 2200.2242 1.112425 2201.2078 1.140625 2202.1914 C 1.168825 2203.1608 1.1983625 2204.1282 1.2265625 2205.0977 C 1.3393123 2208.8663 1.4629721 2212.6297 1.6074219 2216.3984 C 1.7659715 2220.4984 1.9405262 2224.5989 2.1660156 2228.6953 C 2.2787554 2230.7506 2.402039 2232.8038 2.5429688 2234.8555 C 2.6838984 2236.9214 2.8437579 2238.9868 3.0234375 2241.0527 C 3.3933767 2245.2444 3.8510326 2249.4209 4.4570312 2253.5879 C 5.07712 2257.8395 5.8478626 2262.0497 6.8378906 2266.2344 C 8.7580468 2274.3322 11.456949 2282.131 15.300781 2289.5449 C 17.245607 2293.3028 19.434479 2296.8659 21.921875 2300.2891 C 24.423369 2303.7334 27.149369 2306.9346 30.158203 2309.9453 C 33.167037 2312.956 36.3664 2315.6884 39.808594 2318.1914 C 43.229646 2320.6803 46.794643 2322.8689 50.546875 2324.8184 C 57.952691 2328.6646 65.750906 2331.3696 73.84375 2333.291 C 78.022302 2334.2816 82.229504 2335.0534 86.478516 2335.6738 C 90.639446 2336.2837 94.812841 2336.7427 99.001953 2337.1094 C 101.06656 2337.2892 103.13266 2337.4469 105.19727 2337.5879 C 107.24777 2337.729 109.29714 2337.8519 111.34766 2337.9648 C 115.43811 2338.1904 119.53686 2338.3667 123.63086 2338.5254 C 127.39719 2338.6699 131.16375 2338.7973 134.93359 2338.9102 C 135.90248 2338.9392 136.86706 2338.9661 137.83594 2338.9941 C 138.81893 2339.0221 139.80218 2339.0512 140.78516 2339.0762 C 142.80395 2339.1288 144.82299 2339.1825 146.8418 2339.2285 C 155.83659 2339.4364 164.83138 2339.5799 173.82617 2339.6719 C 181.42224 2339.7494 189.0215 2339.7906 196.62109 2339.8086 C 205.74976 2339.8366 214.87485 2339.8281 224 2339.8281 L 0 2340 L 1080 2340 L 856 2339.8281 C 865.12512 2339.8281 874.25027 2339.8366 883.37891 2339.8086 C 890.97847 2339.7906 898.57779 2339.7494 906.17383 2339.6719 C 915.16859 2339.5799 924.16345 2339.4364 933.1582 2339.2285 C 935.17701 2339.1825 937.19606 2339.1288 939.21484 2339.0762 C 940.19782 2339.0512 941.18108 2339.0221 942.16406 2338.9941 C 943.13294 2338.9661 944.09753 2338.9392 945.06641 2338.9102 C 948.83624 2338.7973 952.60282 2338.6699 956.36914 2338.5254 C 960.46313 2338.3667 964.5619 2338.1904 968.65234 2337.9648 C 970.70285 2337.8519 972.75223 2337.729 974.80273 2337.5879 C 976.86733 2337.4469 978.93151 2337.2892 980.99609 2337.1094 C 985.1852 2336.7427 989.36057 2336.2837 993.52148 2335.6738 C 997.77048 2335.0534 1001.9778 2334.2816 1006.1562 2333.291 C 1014.249 2331.3696 1022.0454 2328.6646 1029.4512 2324.8184 C 1033.2034 2322.8689 1036.7686 2320.6803 1040.1895 2318.1914 C 1043.6315 2315.6884 1046.831 2312.956 1049.8398 2309.9453 C 1052.8487 2306.9346 1055.5766 2303.7334 1058.0781 2300.2891 C 1060.5655 2296.8659 1062.7525 2293.3028 1064.6973 2289.5449 C 1068.5411 2282.131 1071.2401 2274.3322 1073.1602 2266.2344 C 1074.1502 2262.0497 1074.9229 2257.8395 1075.543 2253.5879 C 1076.149 2249.4209 1076.6066 2245.2444 1076.9766 2241.0527 C 1077.1563 2238.9868 1077.3142 2236.9214 1077.4551 2234.8555 C 1077.5961 2232.8038 1077.7193 2230.7506 1077.832 2228.6953 C 1078.0575 2224.5989 1078.2341 2220.4984 1078.3926 2216.3984 C 1078.5371 2212.6297 1078.6607 2208.8663 1078.7734 2205.0977 C 1078.8014 2204.1282 1078.8284 2203.1608 1078.8574 2202.1914 C 1078.8854 2201.2078 1078.9115 2200.2242 1078.9395 2199.2441 C 1078.9925 2197.2241 1079.0405 2195.2076 1079.0898 2193.1875 C 1079.2977 2184.1942 1079.4436 2175.2022 1079.5352 2166.209 C 1079.6122 2158.6048 1079.6542 2151.0008 1079.6719 2143.3965 C 1079.6929 2134.2658 1079.6895 2125.1308 1079.6895 2116 L 1080 2340 L 1080 0 L 1079.6914 224 C 1079.6914 214.86925 1079.6929 205.73427 1079.6719 196.60352 C 1079.6542 188.99925 1079.6122 181.39528 1079.5352 173.79102 C 1079.4436 164.79775 1079.2997 155.80381 1079.0918 146.81055 C 1079.0425 144.7905 1078.9925 142.77393 1078.9395 140.75391 C 1078.9115 139.77384 1078.8874 138.79217 1078.8594 137.80859 C 1078.8304 136.83911 1078.8014 135.87183 1078.7734 134.90234 C 1078.6607 131.13371 1078.5371 127.36827 1078.3926 123.59961 C 1078.2341 119.49958 1078.0595 115.40117 1077.834 111.30469 C 1077.7213 109.24938 1077.598 107.19631 1077.457 105.14453 C 1077.3161 103.07865 1077.1563 101.01315 1076.9766 98.947266 C 1076.6066 94.755584 1076.149 90.577158 1075.543 86.410156 C 1074.9229 82.158536 1074.1521 77.950257 1073.1621 73.765625 C 1071.242 65.667811 1068.5431 57.868964 1064.6992 50.455078 C 1062.7544 46.697016 1060.5655 43.13409 1058.0781 39.710938 C 1055.5766 36.266634 1052.8507 33.06536 1049.8418 30.054688 C 1046.833 27.044004 1043.6336 24.311618 1040.1914 21.808594 C 1036.7704 19.319668 1033.2053 17.129225 1029.4531 15.179688 C 1022.0473 11.333489 1014.2491 8.6303206 1006.1562 6.7089844 C 1001.9778 5.7183514 997.7705 4.9466407 993.52148 4.3261719 C 989.36056 3.7162801 985.18715 3.2572662 980.99805 2.890625 C 978.93344 2.7108304 976.86734 2.553125 974.80273 2.4121094 C 972.75223 2.2710936 970.70286 2.1460149 968.65234 2.0332031 C 964.56189 1.8075787 960.46314 1.631299 956.36914 1.4726562 C 952.60281 1.3281156 948.83625 1.2026564 945.06641 1.0898438 C 944.09752 1.0616438 943.13294 1.0321062 942.16406 1.0039062 C 941.18107 0.97570636 940.19782 0.94850808 939.21484 0.92382812 C 937.19605 0.87094624 935.17701 0.81731428 933.1582 0.77148438 C 924.16341 0.56348678 915.16862 0.41978482 906.17383 0.328125 C 898.57776 0.25056416 890.9785 0.2070831 883.37891 0.18945312 C 874.25024 0.16472318 865.12515 0.171875 856 0.171875 L 1080 0 L 0 0 z</string>
</resources>
128 changes: 128 additions & 0 deletions task_profiles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"Profiles": [
{
"Name": "LowIoPriority",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "blkio",
"Path": "background"
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "CfqGroupIdle",
"Value": "0",
"Optional": "true"
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "CfqWeight",
"Value": "200",
"Optional": "true"
}
}
]
},
{
"Name": "NormalIoPriority",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "blkio",
"Path": ""
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "CfqGroupIdle",
"Value": "2000",
"Optional": "true"
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "CfqWeight",
"Value": "1000",
"Optional": "true"
}
}
]
},
{
"Name": "HighIoPriority",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "blkio",
"Path": ""
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "CfqGroupIdle",
"Value": "2000",
"Optional": "true"
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "CfqWeight",
"Value": "1000",
"Optional": "true"
}
}
]
},
{
"Name": "MaxIoPriority",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "blkio",
"Path": ""
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "CfqGroupIdle",
"Value": "2000",
"Optional": "true"
}
},
{
"Name": "SetAttribute",
"Params":
{
"Name": "CfqWeight",
"Value": "1000",
"Optional": "true"
}
}
]
}
]
}

0 comments on commit 1d594b6

Please sign in to comment.