/packages/modules/Connectivity/tests/unit/ |
D | Android.bp | 86 "androidx.test.rules", 97 "platform-compat-test-rules", 124 name: "frameworks-net-tests-jarjar-rules", 125 defaults: ["jarjar-rules-combine-defaults"], 129 // which require the user to use connectivity jarjar rules. 130 ":connectivity-jarjar-rules", 132 out: ["frameworks-net-tests-jarjar-rules.txt"], 143 "jarjar-rules-generator", 145 out: ["frameworks-net-tests-lib-jarjar-rules.txt"], 146 cmd: "$(location jarjar-rules-generator) " + [all …]
|
/packages/modules/Bluetooth/floss/hcidoc/src/ |
D | engine.rs | 44 rules: Vec<Box<dyn Rule>>, field 49 RuleGroup { rules: vec![] } in new() 53 self.rules.push(rule); in add_rule() 57 for rule in &mut self.rules { in process() 63 for rule in &self.rules { in report() 69 for rule in &self.rules { in report_signals()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeAutomationSettings.java | 102 Map.Entry<String, AutomaticZenRule>[] rules = mBackend.getAutomaticZenRules(); in onOptionsItemSelected() local 103 mDeleteDialogRuleNames = new CharSequence[rules.length]; in onOptionsItemSelected() 104 mDeleteDialogRuleIds = new String[rules.length]; in onOptionsItemSelected() 105 mDeleteDialogChecked = new boolean[rules.length]; in onOptionsItemSelected() 106 for (int i = 0; i < rules.length; i++) { in onOptionsItemSelected() 107 mDeleteDialogRuleNames[i] = rules[i].getValue().getName(); in onOptionsItemSelected() 108 mDeleteDialogRuleIds[i] = rules[i].getKey(); in onOptionsItemSelected() 124 for (int i = 0; i < rules.length; i++) { in onOptionsItemSelected()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeBackendTest.java | 140 Map.Entry<String, AutomaticZenRule>[] rules = populateAutoZenRulesDescendingCreationTime( in updateState_checkRuleOrderingDescending() local 142 Arrays.sort(rules, ZenModeBackend.RULE_COMPARATOR); in updateState_checkRuleOrderingDescending() 146 assertEquals(GENERIC_RULE_NAME + (NUM_RULES - 1 - i), rules[i].getKey()); in updateState_checkRuleOrderingDescending() 153 Map.Entry<String, AutomaticZenRule>[] rules = populateAutoZenRulesAscendingCreationTime( in updateState_checkRuleOrderingAscending() local 155 Arrays.sort(rules, ZenModeBackend.RULE_COMPARATOR); in updateState_checkRuleOrderingAscending() 159 assertEquals(GENERIC_RULE_NAME + i, rules[i].getKey()); in updateState_checkRuleOrderingAscending() 167 …Map.Entry<String, AutomaticZenRule>[] rules = populateAutoZenRulesDescendingCreationTime(NUM_RULES, in updateState_checkRuleOrderingDescending_withDefaultRules() local 169 Arrays.sort(rules, ZenModeBackend.RULE_COMPARATOR); in updateState_checkRuleOrderingDescending_withDefaultRules() 171 assertEquals(rules[0].getKey(), DEFAULT_ID_1); in updateState_checkRuleOrderingDescending_withDefaultRules() 172 assertEquals(rules[1].getKey(), DEFAULT_ID_2); in updateState_checkRuleOrderingDescending_withDefaultRules() [all …]
|
/packages/apps/Car/DebuggingRestrictionController/server/functions/ |
D | .eslintrc.json | 11 // Removed rule "disallow the use of console" from recommended eslint rules 14 // Removed rule "disallow multiple spaces in regular expressions" from recommended eslint rules 17 // Removed rule "disallow the use of debugger" from recommended eslint rules 20 // Removed rule "disallow unused variables" from recommended eslint rules 23 // Removed rule "disallow mixed spaces and tabs for indentation" from recommended eslint rules 26 …use of undeclared variables unless mentioned in /*global */ comments" from recommended eslint rules
|
/packages/modules/Connectivity/service/ |
D | Android.bp | 76 // The library name match the service-connectivity jarjar rules that put the JNI utils in the 276 jarjar_rules: ":connectivity-jarjar-rules", 318 name: "connectivity-jarjar-rules", 319 defaults: ["jarjar-rules-combine-defaults"], 321 ":framework-connectivity-jarjar-rules", 327 out: ["connectivity-jarjar-rules.txt"], 347 "jarjar-rules-generator", 350 cmd: "$(location jarjar-rules-generator) " + 366 "jarjar-rules-generator", 369 cmd: "$(location jarjar-rules-generator) " + [all …]
|
/packages/modules/Connectivity/tools/ |
D | Android.bp | 23 // Build tool used to generate jarjar rules for all classes in a jar, except those that are 26 name: "jarjar-rules-generator", 35 name: "jarjar-rules-combine-defaults", 42 name: "jarjar-rules-generator-testjavalib", 79 name: "jarjar-rules-generator-test", 93 ":jarjar-rules-generator-testjavalib",
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | HostnameTransliterator.java | 49 final StringBuilder rules = new StringBuilder(); in HostnameTransliterator() local 51 rules.append(":: Any-ASCII; "); in HostnameTransliterator() 53 rules.append(":: Any-Latin; :: Latin-ASCII; "); in HostnameTransliterator() 59 mTransliterator = Transliterator.createFromRules("", rules.toString(), in HostnameTransliterator()
|
/packages/modules/OnDevicePersonalization/tests/perftests/scenarios/ |
D | Android.bp | 29 "androidx.test.rules", 35 "platform-test-rules", 50 "androidx.test.rules", 56 "platform-test-rules",
|
/packages/modules/common/proguard/ |
D | Android.bp | 26 name: "framework-system-server-module-optimize-proguard-rules", 42 proguard_flags_files: [":framework-system-server-module-optimize-proguard-rules"], 48 name: "standalone-system-server-module-optimize-proguard-rules", 63 proguard_flags_files: [":standalone-system-server-module-optimize-proguard-rules"],
|
/packages/modules/OnDevicePersonalization/tests/perftests/scenarios/tests/ |
D | Android.bp | 26 "androidx.test.rules", 31 "platform-test-rules", 54 "androidx.test.rules", 59 "platform-test-rules",
|
/packages/modules/Connectivity/tests/common/ |
D | Android.bp | 47 "androidx.test.rules", 53 "platform-compat-test-rules", 61 // Combine Connectivity, NetworkStack and Tethering jarjar rules for coverage target. 66 defaults: ["jarjar-rules-combine-defaults"], 68 "tethering-jni-jarjar-rules.txt", 69 ":frameworks-net-tests-jarjar-rules", 73 out: ["jarjar-rules-connectivity-coverage.txt"], 163 // connectivity jarjar rules so that references to jarjared classes still match: this is limited to
|
/packages/modules/HealthFitness/tests/cts/ |
D | Android.bp | 51 "androidx.test.rules", 95 "androidx.test.rules", 133 "androidx.test.rules", 172 "androidx.test.rules", 211 "androidx.test.rules", 256 "androidx.test.rules", 293 "androidx.test.rules",
|
/packages/modules/Connectivity/Tethering/tests/ |
D | jarjar-rules.txt | 26 # When used in combined test suites like ConnectivityCoverageTests, these test jarjar rules are 27 # combined with the jarjar-rules.txt of other included modules (like NetworkStack jarjar rules). 29 # matching rule, so any rule in this file takes precedence over rules in the following ones.
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/junit/ |
D | EasilyExtensibleBlockJUnit4ClassRunner.java | 19 import org.junit.rules.MethodRule; 20 import org.junit.rules.TestRule; 65 protected List<MethodRule> rules(TestClass testClass, Object target) { in rules() method in EasilyExtensibleBlockJUnit4ClassRunner 78 for (MethodRule each : rules(testClass, target)) { in withRules()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/ |
D | Android.bp | 54 jarjar_rules: ":framework-tethering-jarjar-rules", 75 name: "framework-tethering-jarjar-rules", 82 "jarjar-rules-generator", 85 cmd: "$(location jarjar-rules-generator) " +
|
/packages/modules/Uwb/framework/ |
D | Android.bp | 87 jarjar_rules: ":uwb-jarjar-rules", 110 // Created by jarjar rules. 132 name: "uwb-jarjar-rules", 133 srcs: ["jarjar-rules.txt"],
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | command_handler.rs | 74 rules: Vec<String>, field 138 rules: vec![ in build_commands() 157 rules: vec![ in build_commands() 175 rules: vec![String::from("bond <add|remove|cancel> <address>")], in build_commands() 183 rules: vec![ in build_commands() 198 rules: vec![String::from("discovery <start|stop>")], in build_commands() 206 rules: vec![String::from("floss <enable|disable>")], in build_commands() 214 rules: vec![ in build_commands() 259 rules: vec![ in build_commands() 272 rules: vec![ in build_commands() [all …]
|
/packages/modules/Wifi/framework/tests/ |
D | Android.bp | 40 "androidx.test.rules", 41 "core-test-rules", 69 jarjar_rules: "test-jarjar-rules.txt",
|
/packages/modules/AdServices/adservices/tests/cts/ |
D | Android.bp | 46 "androidx.test.rules", 94 "androidx.test.rules", 143 "androidx.test.rules", 195 "androidx.test.rules", 245 "androidx.test.rules", 285 "androidx.test.rules",
|
/packages/modules/AdServices/adservices/tests/perf/tests/src/android/adservices/test/scenario/adservices/ |
D | GetAppSetIdMicrobenchmark.java | 23 import org.junit.rules.RuleChain; 28 @Rule public RuleChain rules = RuleChain.outerRule(new DropCachesRule()); field in GetAppSetIdMicrobenchmark
|
/packages/modules/AdServices/adservices/tests/perf/tests/src/android/adservices/test/scenario/adservices/topics/ |
D | GetTopicsDisabledApiCallMicrobenchmark.java | 23 import org.junit.rules.RuleChain; 28 @Rule public RuleChain rules = RuleChain.outerRule(new DropCachesRule()); field in GetTopicsDisabledApiCallMicrobenchmark
|
/packages/modules/AdServices/sdksandbox/tests/inprocess/ |
D | Android.bp | 36 "androidx.test.rules", 67 "androidx.test.rules", 95 "androidx.test.rules",
|
/packages/modules/OnDevicePersonalization/tests/perftests/scenarios/tests/src/android/ondevicepersonalization/test/scenario/ondevicepersonalization/ |
D | DownloadVendorDataMicrobenchmark.java | 24 import org.junit.rules.RuleChain; 31 public RuleChain rules = RuleChain.outerRule(new DropCachesRule()) field in DownloadVendorDataMicrobenchmark
|
/packages/modules/AdServices/sdksandbox/tests/perf/scenarios/tests/src/android/sdksandbox/test/scenario/testapp/ |
D | OpenAppMicrobenchmark.java | 24 import org.junit.rules.RuleChain; 30 public RuleChain rules = field in OpenAppMicrobenchmark
|