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

Commit f0d51dde authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Change ravenwood default log level to verbose

- Otherwise, it'll be hard to debug issues from the log from the CI server.

- Also change all ravenwood related log to a "Ravenwood" tag, to make it easy
to filter out ravenwood log.

Bug: 380949304
Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh -s
Test: ANDROID_LOG_TAGS='Ravenwood:s' atest -t RavenwoodBivalentTest
Flag: EXEMPT host test change only
Change-Id: Ia114d094256b365beea55c905766a4602852c742
parent e11147f7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -63,8 +63,6 @@ import java.util.function.BiConsumer;
 * - Handle {@link android.platform.test.annotations.DisabledOnRavenwood}.
 */
public final class RavenwoodAwareTestRunner extends RavenwoodAwareTestRunnerBase {
    public static final String TAG = "Ravenwood";

    /** Scope of a hook. */
    public enum Scope {
        Class,
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ import java.util.concurrent.Executor;
import java.util.function.Supplier;

public class RavenwoodContext extends RavenwoodBaseContext {
    private static final String TAG = "Ravenwood";
    private static final String TAG = com.android.ravenwood.common.RavenwoodCommonUtils.TAG;

    private final Object mLock = new Object();
    private final String mPackageName;
+0 −2
Original line number Diff line number Diff line
@@ -27,8 +27,6 @@ import org.junit.runner.Description;
 * Calculates which tests need to be executed on Ravenwood.
 */
public class RavenwoodEnablementChecker {
    private static final String TAG = "RavenwoodDisablementChecker";

    private RavenwoodEnablementChecker() {
    }

+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ import java.util.Set;
 * All members must be called from the runner's main thread.
 */
public final class RavenwoodRunnerState {
    private static final String TAG = "RavenwoodRunnerState";
    private static final String TAG = com.android.ravenwood.common.RavenwoodCommonUtils.TAG;
    private static final String RAVENWOOD_RULE_ERROR =
            "RavenwoodRule(s) are not executed in the correct order";

+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ import java.util.function.Supplier;
 * Responsible for initializing and the environment.
 */
public class RavenwoodRuntimeEnvironmentController {
    private static final String TAG = "RavenwoodRuntimeEnvironmentController";
    private static final String TAG = com.android.ravenwood.common.RavenwoodCommonUtils.TAG;

    private RavenwoodRuntimeEnvironmentController() {
    }
Loading