/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenRulePreference.java | 121 public void updatePreference(AutomaticZenRule rule) { in updatePreference() argument 122 if (!mRule.getName().equals(rule.getName())) { in updatePreference() 123 mName = rule.getName(); in updatePreference() 128 if (mRule.isEnabled() != rule.isEnabled()) { in updatePreference() 129 mRule.setEnabled(rule.isEnabled()); in updatePreference() 157 protected void setAttributes(AutomaticZenRule rule) { in setAttributes() argument 159 rule.getConditionId(), true); in setAttributes() 160 final boolean isEvent = ZenModeConfig.isValidEventConditionId(rule.getConditionId()); in setAttributes() 162 setSummary(computeRuleSummary(rule)); in setAttributes() 169 ComponentInfo si = mServiceListing.findService(rule.getOwner()); in setAttributes() [all …]
|
D | ZenModeAutomaticRulesPreferenceController.java | 75 AutomaticZenRule rule = sortedRules[i].getValue(); in updateState() local 76 pref.updatePreference(rule); in updateState() 90 for (Map.Entry<String, AutomaticZenRule> rule : rules) { in reloadAllRules() 91 ZenRulePreference pref = createZenRulePreference(rule); in reloadAllRules() 97 ZenRulePreference createZenRulePreference(Map.Entry<String, AutomaticZenRule> rule) { in createZenRulePreference() argument 99 rule, mParent, mMetricsFeatureProvider); in createZenRulePreference()
|
D | AbstractZenModeAutomaticRulePreferenceController.java | 113 protected static ComponentName getSettingsActivity(AutomaticZenRule rule, ComponentInfo ci) { in getSettingsActivity() argument 115 if (rule != null && rule.getConfigurationActivity() != null) { in getSettingsActivity() 116 return rule.getConfigurationActivity(); in getSettingsActivity() 145 AutomaticZenRule rule = new AutomaticZenRule(ruleName, mRuleInfo.serviceComponent, in onOk() local 148 String savedRuleId = mBackend.addZenRule(rule); in onOk()
|
D | ZenModeBackend.java | 93 protected boolean updateZenRule(String id, AutomaticZenRule rule) { in updateZenRule() argument 94 return NotificationManager.from(mContext).updateAutomaticZenRule(id, rule); in updateZenRule() 378 protected String addZenRule(AutomaticZenRule rule) { in addZenRule() argument 380 return NotificationManager.from(mContext).addAutomaticZenRule(rule); in addZenRule() 526 private String key(AutomaticZenRule rule) { 527 final int type = ZenModeConfig.isValidScheduleConditionId(rule.getConditionId()) 528 ? 1 : ZenModeConfig.isValidEventConditionId(rule.getConditionId()) 530 return type + rule.getName().toString();
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenRulePreference.java | 121 public void updatePreference(AutomaticZenRule rule) { in updatePreference() argument 122 if (!mRule.getName().equals(rule.getName())) { in updatePreference() 123 mName = rule.getName(); in updatePreference() 127 if (mRule.isEnabled() != rule.isEnabled()) { in updatePreference() 132 mRule = rule; in updatePreference() 157 protected void setAttributes(AutomaticZenRule rule) { in setAttributes() argument 159 rule.getConditionId(), true); in setAttributes() 160 final boolean isEvent = ZenModeConfig.isValidEventConditionId(rule.getConditionId()); in setAttributes() 162 setSummary(computeRuleSummary(rule)); in setAttributes() 169 ComponentInfo si = mServiceListing.findService(rule.getOwner()); in setAttributes() [all …]
|
D | ZenModeAutomaticRulesPreferenceController.java | 75 AutomaticZenRule rule = sortedRules[i].getValue(); in updateState() local 76 pref.updatePreference(rule); in updateState() 90 for (Map.Entry<String, AutomaticZenRule> rule : rules) { in reloadAllRules() 91 ZenRulePreference pref = createZenRulePreference(rule); in reloadAllRules() 97 ZenRulePreference createZenRulePreference(Map.Entry<String, AutomaticZenRule> rule) { in createZenRulePreference() argument 99 rule, mParent, mMetricsFeatureProvider); in createZenRulePreference()
|
D | AbstractZenModeAutomaticRulePreferenceController.java | 113 protected static ComponentName getSettingsActivity(AutomaticZenRule rule, ComponentInfo ci) { in getSettingsActivity() argument 115 if (rule != null && rule.getConfigurationActivity() != null) { in getSettingsActivity() 116 return rule.getConfigurationActivity(); in getSettingsActivity() 148 AutomaticZenRule rule = new AutomaticZenRule(ruleName, mRuleInfo.serviceComponent, in onOk() local 151 String savedRuleId = mBackend.addZenRule(rule); in onOk()
|
D | ZenModeBackend.java | 93 protected boolean updateZenRule(String id, AutomaticZenRule rule) { in updateZenRule() argument 94 return NotificationManager.from(mContext).updateAutomaticZenRule(id, rule); in updateZenRule() 378 protected String addZenRule(AutomaticZenRule rule) { in addZenRule() argument 380 return NotificationManager.from(mContext).addAutomaticZenRule(rule); in addZenRule() 526 private String key(AutomaticZenRule rule) { 527 final int type = ZenModeConfig.isValidScheduleConditionId(rule.getConditionId()) 528 ? 1 : ZenModeConfig.isValidEventConditionId(rule.getConditionId()) 530 return type + rule.getName().toString();
|
/packages/modules/CellBroadcastService/ |
D | cellbroadcast-jarjar-rules.txt | 1 rule android.os.HandlerExecutor* com.android.cellbroadcastservice.HandlerExecutor@1 2 rule android.util.LocalLog* com.android.cellbroadcastservice.LocalLog@1 3 rule android.util.Slog* com.android.cellbroadcastservice.Slog@1 4 rule android.internal.util.IState* com.android.cellbroadcastservice.IState@1 5 rule android.internal.util.Preconditions* com.android.cellbroadcastservice.Preconditions@1 6 rule android.internal.util.State* com.android.cellbroadcastservice.State@1 7 rule android.internal.util.StateMachine* com.android.cellbroadcastservice.StateMachine@1
|
/packages/modules/NetworkStack/ |
D | jarjar-rules-shared.txt | 2 rule com.android.net.module.util.** com.android.networkstack.util.@1 4 rule com.android.internal.util.** android.net.networkstack.util.@1 7 rule com.android.net.module.util.** com.android.networkstack.util.@1 11 rule android.net.DhcpResultsParcelable* @0 12 rule android.net.DhcpResults* android.net.networkstack.DhcpResults@1 13 rule android.util.LocalLog* android.net.networkstack.util.LocalLog@1 15 rule android.util.IndentingPrintWriter* android.net.networkstack.util.AndroidUtilIndentingPrintWrit…
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | WakeupPolicy.java | 94 for (String rule : policy) { in parsePolicy() 95 WakeupInterval interval = parseRule(rule); in parsePolicy() 97 LOG.e("Invalid Policy! This rule has bad format: " + rule); in parsePolicy() 105 private WakeupInterval parseRule(String rule) { in parseRule() argument 106 String[] str = rule.split(","); in parseRule() 109 LOG.e("Policy has bad format: " + rule); in parseRule() 117 LOG.e("One of the values is empty. Please check format: " + rule); in parseRule() 131 LOG.d("Invalid input Rule for interval " + rule); in parseRule()
|
/packages/modules/IPsec/ |
D | jarjar-rules-shared.txt | 1 rule android.annotation.StringDef com.android.internal.net.ipsec.annotation.StringDef 2 rule android.net.annotations.PolicyDirection com.android.internal.net.ipsec.ike.annotations.PolicyD… 3 rule android.telephony.Annotation* com.android.internal.net.eap.telephony.Annotation@1 4 rule com.android.internal.util.** com.android.internal.net.ipsec.ike.utils.@1 5 rule org.bouncycastle.** com.android.internal.net.org.bouncycastle.@1
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummaryPreferenceController.java | 292 RecurrenceRule rule = primaryPlan.getCycleRule(); in refreshDataplanInfo() local 293 if (rule != null && rule.start != null && rule.end != null) { in refreshDataplanInfo() 294 mCycleStart = rule.start.toEpochSecond() * 1000L; in refreshDataplanInfo() 295 mCycleEnd = rule.end.toEpochSecond() * 1000L; in refreshDataplanInfo()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 294 RecurrenceRule rule = primaryPlan.getCycleRule(); in refreshDataplanInfo() local 295 if (rule != null && rule.start != null && rule.end != null) { in refreshDataplanInfo() 296 mCycleStart = rule.start.toEpochSecond() * 1000L; in refreshDataplanInfo() 297 mCycleEnd = rule.end.toEpochSecond() * 1000L; in refreshDataplanInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 118 ClippedFolderIconLayoutRule rule = mFolderIcon.getLayoutRule(); in getAnimator() local 129 float previewScale = rule.scaleForItem(itemsInPreview.size()); in getAnimator() 130 float previewSize = rule.getIconSize() * previewScale; in getAnimator() 291 ClippedFolderIconLayoutRule rule = mFolderIcon.getLayoutRule(); in addPreviewItemAnimators() local 311 float previewScale = rule.scaleForItem(numItemsInFirstPagePreview); in addPreviewItemAnimators() 312 float previewSize = rule.getIconSize() * previewScale; in addPreviewItemAnimators() 322 rule.computePreviewItemDrawingParams(i, numItemsInFirstPagePreview, mTmpParams); in addPreviewItemAnimators()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 249 RecurrenceRule rule = primaryPlan.getCycleRule(); in refreshDataplanInfo() local 250 if (rule != null && rule.start != null && rule.end != null) { in refreshDataplanInfo() 251 mCycleEnd = rule.end.toEpochSecond() * MILLIS_IN_A_SECOND; in refreshDataplanInfo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ZenModeAutomaticRulesPreferenceControllerTest.java | 133 AutomaticZenRule rule = new AutomaticZenRule("rule_name", null, null, in testUpdateState_updateEnableState() local 135 rMap.put(testId, rule); in testUpdateState_updateEnableState() 141 rule.setEnabled(false); in testUpdateState_updateEnableState() 142 rMap.put(testId, rule); in testUpdateState_updateEnableState()
|
D | ZenRulePreferenceControllerTest.java | 74 final AutomaticZenRule rule = new AutomaticZenRule("test", null, null, in onResumeTest() local 80 mController.onResume(rule, id); in onResumeTest() 83 assertEquals(mController.mRule, rule); in onResumeTest()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | ExpiredTimersActivityTest.java | 25 import androidx.test.rule.ActivityTestRule; 40 public ActivityTestRule<ExpiredTimersActivity> rule = field in ExpiredTimersActivityTest 49 final ExpiredTimersActivity activity = rule.launchActivity(intent); in configurationChanges_DoNotResetFiringTimer()
|
D | TimerItemFragmentTest.java | 25 import androidx.test.rule.ActivityTestRule; 47 public ActivityTestRule<DeskClock> rule = new ActivityTestRule<>(DeskClock.class, true); field in TimerItemFragmentTest 53 rule.getActivity().getFragmentManager() in ensureTimerIsHeldSuccessfully_whenOneTimerIsRunning()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/worldclock/ |
D | CitySelectionActivityTest.java | 25 import androidx.test.rule.ActivityTestRule; 56 public ActivityTestRule<CitySelectionActivity> rule = field in CitySelectionActivityTest 66 activity = rule.getActivity(); in setUp()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | FallbackRecentsTest.java | 26 import static com.android.launcher3.util.rule.ShellCommandRule.disableHeadsUpNotification; 27 import static com.android.launcher3.util.rule.ShellCommandRule.getLauncherCommand; 47 import com.android.launcher3.util.rule.FailureWatcher;
|
/packages/apps/DocumentsUI/tests/ |
D | jarjar-rules.txt | 1 rule com.google.common.** docsui.@0 2 rule android.support.annotation.** docsui.@0
|
/packages/apps/TV/libs/m2/ |
D | dagger-jarjar-rules.txt | 2 rule com.google.common.** com.google.dagger.common.@1 3 rule com.google.auto.** com.google.dagger.auto.@1
|
/packages/modules/NetworkStack/apishim/ |
D | jarjar-rules-compat.txt | 6 # package should be created, and this rule should reference api31. 7 rule com.android.networkstack.apishim.api30.** com.android.networkstack.apishim.@1
|