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

Commit 7d6704e4 authored by Anton Hansson's avatar Anton Hansson
Browse files

Add new class with APIs of varying visibility

To be used to verify SDK updatability end-to-end.

Bug: 148945438
Test: run SdkExtensionsVerifier
Change-Id: I92e4082496890a1e809671c36bf016a2c52e12d2
parent 36aa93ac
Loading
Loading
Loading
Loading
+53 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2020 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.os.ext.test;

import android.annotation.SystemApi;

/**
 * This class exists temporarily to verify SDK updates are working properly.
 * @deprecated Do not use.
 */
@Deprecated
public class Test {

    public Test() { }

    /** @hide */
    public void testA() {}

    /** @hide */
    public void testB() {}

    /** @hide */
    public void testC() {}

    /** @hide */
    @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
    public void testD() {}

    public void testE() {}

    /** @hide */
    @SystemApi
    public void testF() {}

    /** @hide */
    @SystemApi
    public void testG() {}

}
+9 −0
Original line number Diff line number Diff line
@@ -37045,6 +37045,15 @@ package android.os {
}
package android.os.ext.test {
  @Deprecated public class Test {
    ctor @Deprecated public Test();
    method @Deprecated public void testE();
  }
}
package android.os.health {
  public class HealthStats {
+8 −0
Original line number Diff line number Diff line
@@ -120,6 +120,14 @@ package android.net {

}

package android.os.ext.test {

  @Deprecated public class Test {
    method @Deprecated public void testD();
  }

}

package android.util {

  public final class Log {
+9 −0
Original line number Diff line number Diff line
@@ -9145,6 +9145,15 @@ package android.os.ext {
}
package android.os.ext.test {
  @Deprecated public class Test {
    method @Deprecated public void testF();
    method @Deprecated public void testG();
  }
}
package android.os.image {
  public class DynamicSystemClient {