/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/ |
D | SetFlagsRuleTestCommon.java | 17 package android.platform.test.flag.junit; 23 import android.platform.test.annotations.DisableFlags; 24 import android.platform.test.annotations.EnableFlags; 25 import android.platform.test.annotations.RequiresFlagsDisabled; 26 import android.platform.test.annotations.RequiresFlagsEnabled; 27 import android.platform.test.flag.util.FlagSetException; 72 protected abstract Helper makeParameterizedHelper(FlagsParameterization params); in makeParameterizedHelper() argument 410 FlagsParameterization params = in paramEnabledFlagsGetEnabled() local 412 makeParameterizedHelper(params) in paramEnabledFlagsGetEnabled() 423 FlagsParameterization params = in paramDisabledFlagsGetDisabled() local [all …]
|
D | SetFlagsRuleAnnotationsTest.java | 17 package android.platform.test.flag.junit; 19 import static android.platform.test.flag.junit.SetFlagsRule.DefaultInitValueType.DEVICE_DEFAULT; 20 import static android.platform.test.flag.junit.SetFlagsRule.DefaultInitValueType.NULL_DEFAULT; 35 protected Helper makeParameterizedHelper(FlagsParameterization params) { in makeParameterizedHelper() argument 36 return new Helper(new SetFlagsRule(DEVICE_DEFAULT, params)); in makeParameterizedHelper()
|
D | SetFlagsRuleClassRuleTest.java | 17 package android.platform.test.flag.junit; 22 import android.platform.test.annotations.EnableFlags; 23 import android.platform.test.annotations.UsesFlags; 24 import android.platform.test.flag.util.FlagSetException; 43 protected Helper makeParameterizedHelper(FlagsParameterization params) { in makeParameterizedHelper() argument 44 return makeClassRuleHelper(params, /* watchFlags= */ true); in makeParameterizedHelper() 47 private Helper makeClassRuleHelper(FlagsParameterization params, boolean watchFlags) { in makeClassRuleHelper() argument 50 SetFlagsRule rule = classRule.createSetFlagsRule(params); in makeClassRuleHelper() 112 FlagsParameterization params = in parameterizedFlagsMustBeWatched() local 114 makeClassRuleHelper(params, /* watchFlags= */ false) in parameterizedFlagsMustBeWatched() [all …]
|
D | FlagsParameterizationTest.java | 17 package android.platform.test.flag.junit; 51 FlagsParameterization params = new FlagsParameterization(Map.of()); in toStringIsNotEmpty() local 52 assertNotEquals("", params.toString()); in toStringIsNotEmpty() 59 FlagsParameterization params = new FlagsParameterization(original); in overridesCannotBeChanged() local 60 params.mOverrides.put("foo", false); in overridesCannotBeChanged() 67 FlagsParameterization params = new FlagsParameterization(original); in overridesIsACopy() local 69 assertTrue(params.mOverrides.get("foo")); in overridesIsACopy()
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ |
D | RootcanalUtils.java | 74 private BaseHostJUnit4Test test; field in RootcanalUtils 77 public RootcanalUtils(BaseHostJUnit4Test test) { in RootcanalUtils() argument 78 assertNotNull(test); in RootcanalUtils() 79 this.test = test; in RootcanalUtils() 80 this.overlayFsUtils = new OverlayFsUtils(test); in RootcanalUtils() 85 ITestDevice device = test.getDevice(); in finished() 118 ITestDevice device = test.getDevice(); in enableRootcanal() 124 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(test.getBuild()); in enableRootcanal() 248 test.getDevice(), in copySystemLibToVendorIfMissing() 350 public void sendHciCmd(int ogf, int ocf, byte[] params) throws IOException { in sendHciCmd() argument [all …]
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | AuptTestRunner.java | 17 package android.support.test.aupt; 28 import android.test.AndroidTestRunner; 29 import android.test.InstrumentationTestCase; 30 import android.test.InstrumentationTestRunner; 33 import androidx.test.InstrumentationRegistry; 34 import androidx.test.uiautomator.UiDevice; 118 public void onCreate(Bundle params) { in onCreate() argument 120 InstrumentationRegistry.registerInstance(this, params); in onCreate() 122 mParams = params; in onCreate() 208 for (TestCase test: mTestCases) { in onCreate() [all …]
|
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/ |
D | AnnotationsRetriever.java | 17 package android.platform.test.flag.junit; 22 import android.platform.test.annotations.DisableFlags; 23 import android.platform.test.annotations.EnableFlags; 24 import android.platform.test.annotations.RequiresFlagsDisabled; 25 import android.platform.test.annotations.RequiresFlagsEnabled; 26 import android.platform.test.annotations.UsesFlags; 271 public void assumeAllSetFlagsMatchParameterization(FlagsParameterization params) { in assumeAllSetFlagsMatchParameterization() argument 272 if (params == null) return; in assumeAllSetFlagsMatchParameterization() 275 final Boolean paramValue = params.mOverrides.get(flag); in assumeAllSetFlagsMatchParameterization()
|
/platform_testing/libraries/audio-test-harness/server/ |
D | Android.bp | 141 "src/test/java/com/android/media/audiotestharness/server/*.java", 146 "junit-params", 162 "src/test/java/com/android/media/audiotestharness/server/service/*.java", 169 "junit-params", 183 "src/test/java/com/android/media/audiotestharness/server/javasound/*.java", 205 "src/test/java/com/android/media/audiotestharness/server/utility/*.java",
|
/platform_testing/libraries/audio-test-harness/client-lib/ |
D | Android.bp | 70 "src/test/java/com/android/media/audiotestharness/client/grpc/*.java", 77 "junit-params",
|