Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3cda8b1 authored by Hui Yu's avatar Hui Yu
Browse files

Add presubmit tests to gate ActivityManager and OomAdjuster changes.

OomAdjuster.java determines process state/capability, active/idle and other
things about the process. Add more tests to presubmit to gate OomAdjuster changes.

Bug: 272781597
Test: NA.
Change-Id: If2a8c01433c4bc618609ec66fa087554bff3e1bd
parent 4fde0002
Loading
Loading
Loading
Loading
+17 −4
Original line number Diff line number Diff line
@@ -3,9 +3,11 @@
    {
      "name": "CtsAppTestCases",
      "options": [
        {
          "include-filter": "android.app.cts.TaskDescriptionTest"
        },
        { "include-filter": "android.app.cts.TaskDescriptionTest" },
        { "include-filter": "android.app.cts.ActivityManagerTest" },
        { "include-filter": "android.app.cts.ActivityManagerProcessStateTest" },
        { "include-filter": "android.app.cts.ServiceTest" },
        { "include-filter": "android.app.cts.ActivityManagerFgsBgStartTest" },
        {
          "include-annotation": "android.platform.test.annotations.Presubmit"
        },
@@ -14,7 +16,8 @@
        },
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        }
        },
        { "exclude-annotation": "org.junit.Ignore" }
      ]
    },
    {
@@ -148,6 +151,16 @@
          "include-filter": "android.appsecurity.cts.AppDataIsolationTests"
        }
      ]
    },
    {
      "name": "CtsAppTestCases",
      "options": [
        { "include-filter": "android.app.cts.TaskDescriptionTest" },
        { "include-filter": "android.app.cts.ActivityManagerTest" },
        { "include-filter": "android.app.cts.ActivityManagerProcessStateTest" },
        { "include-filter": "android.app.cts.ServiceTest" },
        { "include-filter": "android.app.cts.ActivityManagerFgsBgStartTest" }
      ]
    }
  ]
}