/cts/tests/tests/widget/src/android/widget/cts/ |
D | RelativeLayout_LayoutParamsTest.java | 98 int rules[]; in testConstructor() local 110 rules = layoutParams.getRules(); in testConstructor() 111 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.CENTER_IN_PARENT]); in testConstructor() 119 rules = layoutParams.getRules(); in testConstructor() 120 assertEquals(R.id.relative_view1, rules[RelativeLayout.BELOW]); in testConstructor() 121 assertEquals(R.id.relative_view1, rules[RelativeLayout.ALIGN_LEFT]); in testConstructor() 131 rules = layoutParams.getRules(); in testConstructor() 132 assertEquals(R.id.relative_view1, rules[RelativeLayout.ALIGN_TOP]); in testConstructor() 133 assertEquals(R.id.relative_view2, rules[RelativeLayout.ALIGN_BOTTOM]); in testConstructor() 134 assertEquals(R.id.relative_view1, rules[RelativeLayout.RIGHT_OF]); in testConstructor() [all …]
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | SELinuxNeverallowRulesParserTest.java | 36 List<SELinuxNeverallowRule> rules = SELinuxNeverallowRule.parsePolicy(policy); in testParsingEmpty() local 37 assertTrue(rules.isEmpty()); in testParsingEmpty() 45 List<SELinuxNeverallowRule> rules = SELinuxNeverallowRule.parsePolicy(policy); in testParsingWithoutConditions() local 46 assertEquals(2, rules.size()); in testParsingWithoutConditions() 47 assertEquals("neverallow d1 d2:c1 p;", rules.get(0).mText); in testParsingWithoutConditions() 48 assertEquals(false, rules.get(0).fullTrebleOnly); in testParsingWithoutConditions() 49 assertEquals(false, rules.get(0).launchingWithROnly); in testParsingWithoutConditions() 50 assertEquals(false, rules.get(0).launchingWithSOnly); in testParsingWithoutConditions() 51 assertEquals(false, rules.get(0).compatiblePropertyOnly); in testParsingWithoutConditions() 52 assertEquals("neverallow d2 d3:c2 p2;", rules.get(1).mText); in testParsingWithoutConditions() [all …]
|
D | SELinuxNeverallowRulesTestVendor.java | 81 List<Object[]> rules = new ArrayList<>(); in generateRules() local 99 rules.add(new Object[]{ver, idx, parsedRules.get(idx)}); in generateRules() 108 assertTrue("No test generated from the CTS-embedded policy", !rules.isEmpty()); in generateRules() 109 return rules; in generateRules()
|
D | SELinuxNeverallowRulesTest.java | 79 List<SELinuxNeverallowRule> rules = SELinuxNeverallowRule.parsePolicy(policy); in generateRules() local 81 assertTrue("No test generated from the CTS-embedded policy", !rules.isEmpty()); in generateRules() 82 return rules; in generateRules()
|
/cts/tests/tests/simphonebookprovider/ |
D | Android.bp | 7 name: "cts-simphonebook-rules-sources", 16 name: "cts-simphonebook-rules", 31 ":cts-simphonebook-rules-sources", 53 "androidx.test.rules", 55 "cts-simphonebook-rules", 67 ":cts-simphonebook-rules-sources",
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | AccessibilityDumpOnFailureRule.java | 21 import org.junit.rules.ExternalResource; 22 import org.junit.rules.RuleChain; 23 import org.junit.rules.TestWatcher;
|
/cts/hostsidetests/packagemanager/extractnativelibs/apps/ |
D | Android.bp | 48 static_libs: ["androidx.test.rules"], 68 static_libs: ["androidx.test.rules"], 87 static_libs: ["androidx.test.rules"], 107 static_libs: ["androidx.test.rules"], 127 static_libs: ["androidx.test.rules"], 146 static_libs: ["androidx.test.rules"],
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/ |
D | Android.bp | 22 "androidx.test.rules", 39 "androidx.test.rules", 56 "androidx.test.rules",
|
/cts/hostsidetests/appsecurity/test-apps/ReadSettingsFieldsApp/ |
D | Android.bp | 24 "androidx.test.rules", 46 "androidx.test.rules", 68 "androidx.test.rules", 90 "androidx.test.rules", 112 "androidx.test.rules",
|
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | BroadcastsTestRunner.java | 21 import org.junit.rules.RunRules; 22 import org.junit.rules.TestRule;
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | ResourceReleaser.java | 20 import org.junit.rules.ExternalResource; 21 import org.junit.rules.TestRule;
|
/cts/tests/BlobStore/src/com/android/cts/blob/ |
D | BlobStoreTestRunner.java | 20 import org.junit.rules.RunRules; 21 import org.junit.rules.TestRule;
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTestRunner.java | 21 import org.junit.rules.RunRules; 22 import org.junit.rules.TestRule;
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/ |
D | Android.bp | 28 "androidx.test.rules", 47 "androidx.test.rules", 67 "androidx.test.rules", 87 "androidx.test.rules",
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/ |
D | Android.bp | 30 "androidx.test.rules", 59 "androidx.test.rules", 88 "androidx.test.rules", 117 "androidx.test.rules", 145 "androidx.test.rules", 173 "androidx.test.rules",
|
/cts/hostsidetests/appsecurity/test-apps/keysets/uA/ |
D | Android.bp | 25 static_libs: ["androidx.test.rules"], 42 static_libs: ["androidx.test.rules"], 59 static_libs: ["androidx.test.rules"], 76 static_libs: ["androidx.test.rules"],
|
/cts/tests/app/ |
D | Android.bp | 36 "androidx.test.rules", 95 "androidx.test.rules", 118 "androidx.test.rules", 154 "androidx.test.rules", 188 "androidx.test.rules", 227 "androidx.test.rules", 242 jarjar_rules: "AppExitTest/jarjar-rules.txt", 269 "androidx.test.rules",
|
/cts/tests/tests/packageinstaller/test-apps/contentprovider/ |
D | Android.bp | 27 static_libs: ["androidx.test.rules"], 44 static_libs: ["androidx.test.rules"], 61 static_libs: ["androidx.test.rules"],
|
/cts/tests/core/runner-axt/ |
D | Android.bp | 32 "androidx.test.rules", 33 "core-test-rules", 53 static_libs: ["androidx.test.rules"],
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | TheftDetectionTest.java | 34 import org.junit.rules.RuleChain; 35 import org.junit.rules.TestRule;
|
/cts/hostsidetests/appsecurity/test-apps/keysets/uB/ |
D | Android.bp | 25 static_libs: ["androidx.test.rules"], 42 static_libs: ["androidx.test.rules"], 59 static_libs: ["androidx.test.rules"],
|
/cts/tests/suspendapps/tests/ |
D | Android.bp | 32 "androidx.test.rules", 34 "platform-test-rules",
|
/cts/tests/appsearch/ |
D | Android.bp | 25 "androidx.test.rules", 57 "androidx.test.rules", 84 "androidx.test.rules",
|
/cts/tests/tests/keystore/ |
D | Android.bp | 25 "androidx.test.rules", 43 "androidx.test.rules", 71 "androidx.test.rules", 114 "androidx.test.rules",
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityStackApisTests.java | 147 final Set<EmbeddingRule> rules = new ArraySet<>(); in testFinishActivityStacks_finishAllSecondaryStacks_primaryStackExpand() local 148 rules.add(splitPairRuleAB); in testFinishActivityStacks_finishAllSecondaryStacks_primaryStackExpand() 149 rules.add(splitPairRuleAC); in testFinishActivityStacks_finishAllSecondaryStacks_primaryStackExpand() 150 mActivityEmbeddingComponent.setEmbeddingRules(rules); in testFinishActivityStacks_finishAllSecondaryStacks_primaryStackExpand()
|