• alanlxl's avatar
    Add SmartDimMlAgent · d2954597
    alanlxl authored
    SmartDimMlAgent is introduced to support loading model and preprocessor
    from either rootfs or component update service. SmartDim logic can just
    request decisions from SmartDimMlAgent without needing to know about it.
    
    SmartDimMlAgent is a replacement for model_impl.* and
    ml_serfvice_client.*, but they will coexist for a while, until the flag
    kSmartDimNewMlAgent rolls out to 100% of the devices.
    
    Bug: 1018065
    Test: tast test power.SmartDim passes
    Change-Id: I6bb16c642476775d14836de27ca3a56fa98a8e5a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1903168Reviewed-by: default avatarAndrew Moylan <amoylan@chromium.org>
    Reviewed-by: default avatarJia Meng <jiameng@chromium.org>
    Commit-Queue: Xinglong Luan <alanlxl@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#743877}
    d2954597
chromeos_features.cc 16.3 KB