/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ZenModeBackendTest.java | 59 Map.Entry<String, AutomaticZenRule>[] rules = populateAutoZenRulesDescendingCreationTime( in updateState_checkRuleOrderingDescending() local 61 Arrays.sort(rules, ZenModeBackend.RULE_COMPARATOR); in updateState_checkRuleOrderingDescending() 65 assertEquals(GENERIC_RULE_NAME + (NUM_RULES - 1 - i), rules[i].getKey()); in updateState_checkRuleOrderingDescending() 72 Map.Entry<String, AutomaticZenRule>[] rules = populateAutoZenRulesAscendingCreationTime( in updateState_checkRuleOrderingAscending() local 74 Arrays.sort(rules, ZenModeBackend.RULE_COMPARATOR); in updateState_checkRuleOrderingAscending() 78 assertEquals(GENERIC_RULE_NAME + i, rules[i].getKey()); in updateState_checkRuleOrderingAscending() 86 …Map.Entry<String, AutomaticZenRule>[] rules = populateAutoZenRulesDescendingCreationTime(NUM_RULES, in updateState_checkRuleOrderingDescending_withDefaultRules() local 88 Arrays.sort(rules, ZenModeBackend.RULE_COMPARATOR); in updateState_checkRuleOrderingDescending_withDefaultRules() 90 assertEquals(rules[0].getKey(), DEFAULT_ID_1); in updateState_checkRuleOrderingDescending_withDefaultRules() 91 assertEquals(rules[1].getKey(), DEFAULT_ID_2); in updateState_checkRuleOrderingDescending_withDefaultRules() [all …]
|
D | ZenModeAutomaticRulesPreferenceControllerTest.java | 150 private void mockGetAutomaticZenRules(int numRules, Map<String, AutomaticZenRule> rules) { in mockGetAutomaticZenRules() argument 152 rules.entrySet().toArray(arr); in mockGetAutomaticZenRules()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeAutomationSettings.java | 113 Map.Entry<String, AutomaticZenRule>[] rules = mBackend.getAutomaticZenRules(); in onOptionsItemSelected() local 114 mDeleteDialogRuleNames = new CharSequence[rules.length]; in onOptionsItemSelected() 115 mDeleteDialogRuleIds = new String[rules.length]; in onOptionsItemSelected() 116 mDeleteDialogChecked = new boolean[rules.length]; in onOptionsItemSelected() 117 for (int i = 0; i < rules.length; i++) { in onOptionsItemSelected() 118 mDeleteDialogRuleNames[i] = rules[i].getValue().getName(); in onOptionsItemSelected() 119 mDeleteDialogRuleIds[i] = rules[i].getKey(); in onOptionsItemSelected() 135 for (int i = 0; i < rules.length; i++) { in onOptionsItemSelected()
|
D | ZenModeSettingsFooterPreferenceController.java | 103 String rules = ListFormatter.getInstance().format(rulesNames); in getFooterText() local 104 if (!rules.isEmpty()) { in getFooterText() 113 R.string.zen_mode_settings_dnd_custom_settings_footer, rules), in getFooterText()
|
D | ZenModeAutomaticRulesPreferenceController.java | 88 void reloadAllRules(Map.Entry<String, AutomaticZenRule>[] rules) { in reloadAllRules() argument 90 for (Map.Entry<String, AutomaticZenRule> rule : rules) { in reloadAllRules()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeAutomationSettings.java | 113 Map.Entry<String, AutomaticZenRule>[] rules = mBackend.getAutomaticZenRules(); in onOptionsItemSelected() local 114 mDeleteDialogRuleNames = new CharSequence[rules.length]; in onOptionsItemSelected() 115 mDeleteDialogRuleIds = new String[rules.length]; in onOptionsItemSelected() 116 mDeleteDialogChecked = new boolean[rules.length]; in onOptionsItemSelected() 117 for (int i = 0; i < rules.length; i++) { in onOptionsItemSelected() 118 mDeleteDialogRuleNames[i] = rules[i].getValue().getName(); in onOptionsItemSelected() 119 mDeleteDialogRuleIds[i] = rules[i].getKey(); in onOptionsItemSelected() 135 for (int i = 0; i < rules.length; i++) { in onOptionsItemSelected()
|
D | ZenModeSettingsFooterPreferenceController.java | 103 String rules = ListFormatter.getInstance().format(rulesNames); in getFooterText() local 104 if (!rules.isEmpty()) { in getFooterText() 113 R.string.zen_mode_settings_dnd_custom_settings_footer, rules), in getFooterText()
|
D | ZenModeAutomaticRulesPreferenceController.java | 88 void reloadAllRules(Map.Entry<String, AutomaticZenRule>[] rules) { in reloadAllRules() argument 90 for (Map.Entry<String, AutomaticZenRule> rule : rules) { in reloadAllRules()
|
/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/services/Telephony/ecc/conversion_toolset_v1/proto/ |
D | protobuf_ecc_data.proto | 21 // Extra rules: Every Ecc should have at least 1 valid type. 31 // Extra rules: There should be at least one EccInfo in this list. 53 // Extra rules: There should be at least one CountryInfo in this list.
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | FocusManager.java | 282 int[] rules = p.getRules(); in onTouch() local 283 rules[RelativeLayout.CENTER_IN_PARENT] = 0; in onTouch() 439 int[] rules = p.getRules(); in resetTouchFocus() local 440 rules[RelativeLayout.CENTER_IN_PARENT] = RelativeLayout.TRUE; in resetTouchFocus()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | AbstractQuickStepTest.java | 21 import org.junit.rules.RuleChain; 22 import org.junit.rules.TestRule;
|
D | FallbackRecentsTest.java | 52 import org.junit.rules.RuleChain; 53 import org.junit.rules.TestRule;
|
/packages/apps/Launcher3/tests/ |
D | Android.mk | 25 androidx.test.rules \ 51 androidx.test.rules \
|
/packages/modules/NetworkStack/ |
D | Android.bp | 19 // (InProcessNetworkStack). The following structure is used to create the build rules: 118 // For API stable, first build the dependencies using jarjar compat rules, then build the sources 124 jarjar_rules: "apishim/jarjar-rules-compat.txt", 143 srcs: ["jarjar-rules-shared.txt"],
|
/packages/apps/CellBroadcastReceiver/tests/unit/ |
D | Android.bp | 24 "androidx.test.rules", 46 "androidx.test.rules",
|
/packages/apps/TimeZoneData/oem_template/data_app/ |
D | README.oem | 25 See oem_template/data_app_prebuilts for rules that can be used to include the prebuilts in 28 See oem_template/xts for rules that can be used for xTS testing.
|
/packages/apps/DocumentsUI/tests/ |
D | Android.bp | 78 "androidx.test.rules", 86 jarjar_rules: "jarjar-rules.txt",
|
/packages/modules/IPsec/ |
D | Android.bp | 48 jarjar_rules: "jarjar-rules-shared.txt", 93 jarjar_rules: "jarjar-rules-shared.txt",
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | HttpFetcher.java | 228 final UrlRules rules = UrlRules.getRules(context.getContentResolver()); in reWriteUrl() local 229 final UrlRules.Rule rule = rules.matchRule(url); in reWriteUrl()
|
/packages/apps/TV/libs/ |
D | Android.bp | 152 jarjar_rules: "m2/dagger-jarjar-rules.txt", 185 jarjar_rules: "m2/dagger-jarjar-rules.txt",
|
/packages/services/Car/service/proto/ |
D | Android.bp | 8 jarjar_rules: "jarjar-rules.txt",
|
/packages/apps/Settings/tests/anomaly-tester/ |
D | Android.bp | 9 "androidx.test.rules",
|
/packages/apps/Settings/tests/perftests/ |
D | Android.bp | 11 "androidx.test.rules",
|
/packages/providers/MediaProvider/tests/ |
D | Android.bp | 18 "androidx.test.rules",
|