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

Commit 3e68053d authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Support more utils under Ravenwood.

Tests for these internal utils are local within the frameworks/base/
repo, instead of in CTS.

To help future-proof, bring the entire utils/* test directory by
default into the Ravenwood suites, and give developers the way to
easily opt-out with @IgnoreUnderRavenwood at the class level.

Bug: 292141694
Test: atest FrameworksCoreTestsRavenwood FrameworksCoreTests
Test: atest FrameworksUtilTestsRavenwood FrameworksUtilTests
Change-Id: Ibcabec764efa31cc8cb4c56d7815948d4029aaea
parent 55066bb4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ package android.util;
 *
 * @hide
 */
@android.ravenwood.annotation.RavenwoodKeepWholeClass
public class DayOfMonthCursor extends MonthDisplayHelper {

    private int mRow;
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import java.time.format.DateTimeParseException;
 * can be used.
 * @hide
 */
@android.ravenwood.annotation.RavenwoodKeepWholeClass
public class KeyValueListParser {
    private final ArrayMap<String, String> mValues = new ArrayMap<>();
    private final TextUtils.StringSplitter mSplitter;
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import java.util.NoSuchElementException;
 *
 * @hide
 */
@android.ravenwood.annotation.RavenwoodKeepWholeClass
public class LongArrayQueue {

    private long[] mValues;
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ import com.android.internal.util.Preconditions;
 *
 * @hide
 */
@android.ravenwood.annotation.RavenwoodKeepWholeClass
public class LongSparseLongArray implements Cloneable {
    @UnsupportedAppUsage(maxTargetSdk = 28) // The type isn't even public.
    private long[] mKeys;
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import java.util.Calendar;
 *
 * Not thread safe.
 */
@android.ravenwood.annotation.RavenwoodKeepWholeClass
public class MonthDisplayHelper {

    // display pref
Loading