Loading core/java/com/android/internal/os/TEST_MAPPING +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ "file_patterns": [ "BinderDeathDispatcher\\.java" ], "name": "FrameworksCoreTests_internal_os_binder" "name": "FrameworksCoreTests_all_binder" }, { "file_patterns": [ Loading core/tests/coretests/Android.bp +13 −2 Original line number Diff line number Diff line Loading @@ -510,14 +510,25 @@ test_module_config { } test_module_config { name: "FrameworksCoreTests_internal_os_binder", name: "FrameworksCoreTests_all_binder", base: "FrameworksCoreTests", test_suites: [ "automotive-tests", "device-tests", "device-platinum-tests", ], include_filters: ["com.android.internal.os.BinderDeathDispatcherTest"], include_filters: [ "android.os.BinderProxyTest", "android.os.BinderDeathRecipientTest", "android.os.BinderFrozenStateChangeNotificationTest", "android.os.BinderProxyCountingTest", "android.os.BinderUncaughtExceptionHandlerTest", "android.os.BinderThreadPriorityTest", "android.os.BinderWorkSourceTest", "android.os.ParcelNullabilityTest", "android.os.ParcelTest", "com.android.internal.os.BinderDeathDispatcherTest", ], exclude_annotations: ["com.android.internal.os.SkipPresubmit"], } Loading core/tests/coretests/src/android/os/BinderThreadPriorityTest.java +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ import android.util.Log; import androidx.test.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import com.android.internal.os.SkipPresubmit; import org.junit.After; import org.junit.Before; import org.junit.Rule; Loading Loading @@ -131,6 +133,7 @@ public class BinderThreadPriorityTest { } @Test @SkipPresubmit("b/381950874: bitrot and failed") public void testPassPriorityToService() throws Exception { for (int prio = 19; prio >= -20; prio--) { Process.setThreadPriority(prio); Loading @@ -146,6 +149,7 @@ public class BinderThreadPriorityTest { } @Test @SkipPresubmit("b/381950874: bitrot and failed") public void testCallBackFromServiceWithPriority() throws Exception { for (int prio = -20; prio <= 19; prio++) { final int expected = prio; Loading Loading
core/java/com/android/internal/os/TEST_MAPPING +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ "file_patterns": [ "BinderDeathDispatcher\\.java" ], "name": "FrameworksCoreTests_internal_os_binder" "name": "FrameworksCoreTests_all_binder" }, { "file_patterns": [ Loading
core/tests/coretests/Android.bp +13 −2 Original line number Diff line number Diff line Loading @@ -510,14 +510,25 @@ test_module_config { } test_module_config { name: "FrameworksCoreTests_internal_os_binder", name: "FrameworksCoreTests_all_binder", base: "FrameworksCoreTests", test_suites: [ "automotive-tests", "device-tests", "device-platinum-tests", ], include_filters: ["com.android.internal.os.BinderDeathDispatcherTest"], include_filters: [ "android.os.BinderProxyTest", "android.os.BinderDeathRecipientTest", "android.os.BinderFrozenStateChangeNotificationTest", "android.os.BinderProxyCountingTest", "android.os.BinderUncaughtExceptionHandlerTest", "android.os.BinderThreadPriorityTest", "android.os.BinderWorkSourceTest", "android.os.ParcelNullabilityTest", "android.os.ParcelTest", "com.android.internal.os.BinderDeathDispatcherTest", ], exclude_annotations: ["com.android.internal.os.SkipPresubmit"], } Loading
core/tests/coretests/src/android/os/BinderThreadPriorityTest.java +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ import android.util.Log; import androidx.test.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import com.android.internal.os.SkipPresubmit; import org.junit.After; import org.junit.Before; import org.junit.Rule; Loading Loading @@ -131,6 +133,7 @@ public class BinderThreadPriorityTest { } @Test @SkipPresubmit("b/381950874: bitrot and failed") public void testPassPriorityToService() throws Exception { for (int prio = 19; prio >= -20; prio--) { Process.setThreadPriority(prio); Loading @@ -146,6 +149,7 @@ public class BinderThreadPriorityTest { } @Test @SkipPresubmit("b/381950874: bitrot and failed") public void testCallBackFromServiceWithPriority() throws Exception { for (int prio = -20; prio <= 19; prio++) { final int expected = prio; Loading