/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenRuleNameDialog.java | 55 public static void show(Fragment parent, String ruleName, Uri conditionId, PositiveClickListener in show() argument 59 args.putParcelable(EXTRA_CONDITION_ID, conditionId); in show() 71 Uri conditionId = arguments.getParcelable(EXTRA_CONDITION_ID); in onCreateDialog() local 88 .setTitle(getTitleResource(conditionId, isNew)) in onCreateDialog() 113 private int getTitleResource(Uri conditionId, boolean isNew) { 114 final boolean isEvent = ZenModeConfig.isValidEventConditionId(conditionId); 115 final boolean isTime = ZenModeConfig.isValidScheduleConditionId(conditionId);
|
D | ZenModeSettingsFooterPreferenceController.java | 129 final Uri id = config.manualRule.conditionId; in getDefaultPolicyFooter() 158 if (!mZenModeConfigWrapper.isTimeRule(automaticRule.conditionId)) { in getDefaultPolicyFooter() 164 automaticRule.conditionId); in getDefaultPolicyFooter()
|
D | ZenModeBackend.java | 115 Uri conditionId = ZenModeConfig.toTimeCondition(mContext, minutes, in setZenModeForDuration() local 119 conditionId, TAG, /* fromUser= */ true); in setZenModeForDuration() 122 conditionId, TAG); in setZenModeForDuration()
|
D | ZenModeBehaviorFooterPreferenceController.java | 64 final Uri id = config.manualRule.conditionId; in getFooterText()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeSettingsFooterPreferenceControllerTest.java | 201 when(mConfigWrapper.parseAutomaticRuleEndTime(rule.conditionId)).thenReturn(2000L); in testDefaultNotifPolicy_automaticRuleEndsLast_hasManualRule_setFooterTitle() 217 when(mConfigWrapper.parseAutomaticRuleEndTime(rule1.conditionId)).thenReturn(10000L); in testDefaultNotifPolicy_multipleAutomaticRules_autoRuleApp_setFooterTitle() 223 when(mConfigWrapper.parseAutomaticRuleEndTime(rule3.conditionId)).thenReturn(9000L); in testDefaultNotifPolicy_multipleAutomaticRules_autoRuleApp_setFooterTitle() 239 when(mConfigWrapper.parseAutomaticRuleEndTime(rule1.conditionId)).thenReturn(2000L); in testDefaultNotifPolicy_multipleAutomaticRules_setFooterTitle() 242 when(mConfigWrapper.parseAutomaticRuleEndTime(rule2.conditionId)).thenReturn(8000L); in testDefaultNotifPolicy_multipleAutomaticRules_setFooterTitle() 245 when(mConfigWrapper.parseAutomaticRuleEndTime(rule3.conditionId)).thenReturn(12000L); in testDefaultNotifPolicy_multipleAutomaticRules_setFooterTitle() 259 injectedManualRule.conditionId = null; in injectManualRuleWithIndefiniteEnd() 278 injectedManualRule.conditionId = mock(Uri.class); in injectManualRuleWithTimeCountdown() 279 when(mConfigWrapper.parseManualRuleTime(injectedManualRule.conditionId)).thenReturn(time); in injectManualRuleWithTimeCountdown() 291 injectedRule.conditionId = new Uri.Builder().authority(nameAndId).build(); // unique uri in injectNewAutomaticRule() [all …]
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | CountMetricsTests.java | 112 int conditionId = 4; in testEventCountWithCondition() local 128 .setId(conditionId) in testEventCountWithCondition() 137 .setCondition(conditionId)) in testEventCountWithCondition() 179 int conditionId = 4; in testEventCountWithConditionAndActivation() local 202 .setId(conditionId) in testEventCountWithConditionAndActivation() 211 .setCondition(conditionId) in testEventCountWithConditionAndActivation()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowNotificationManager.java | 37 protected void setZenMode(int mode, Uri conditionId, String reason) { in setZenMode() argument
|
/packages/modules/StatsD/statsd/benchmark/ |
D | get_dimensions_for_condition_benchmark.cpp | 47 link->conditionId = 1; in createLogEventAndLink()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModesBackendTest.java | 102 new Condition(out.manualRule.conditionId, "", STATE_TRUE, SOURCE_UNKNOWN); in configWithManualRule() 106 new Condition(out.manualRule.conditionId, "", STATE_FALSE, SOURCE_UNKNOWN); in configWithManualRule()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | metrics_manager_util_test.cpp | 1273 int64_t conditionId = 1; in TEST_F() local 1277 condition->set_id(conditionId); in TEST_F() 1283 conditionId); in TEST_F() 1300 int64_t conditionId = 1; in TEST_F() local 1304 condition->set_id(conditionId); in TEST_F() 1309 conditionId)); in TEST_F() 1314 int64_t conditionId = 1; in TEST_F() local 1319 condition->set_id(conditionId); in TEST_F() 1326 INVALID_CONFIG_REASON_CONDITION_NOT_OPERATION_IS_NOT_UNARY, conditionId)); in TEST_F()
|
/packages/modules/StatsD/statsd/src/ |
D | HashableDimensionKey.h | 42 int64_t conditionId; member
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.h | 1120 const int64_t conditionId); 1124 const int64_t conditionId);
|
D | StatsdStats.cpp | 1683 for (const auto& conditionId : configStats.reason->conditionIds) { in addConfigStatsToProto() local 1686 conditionId); in addConfigStatsToProto() 2142 const int64_t conditionId) { in createInvalidConfigReasonWithPredicate() argument 2144 invalidConfigReason.conditionIds.push_back(conditionId); in createInvalidConfigReasonWithPredicate() 2150 const int64_t conditionId) { in createInvalidConfigReasonWithPredicate() argument 2152 invalidConfigReason.conditionIds.push_back(conditionId); in createInvalidConfigReasonWithPredicate()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | EventMetricProducer.cpp | 78 mc.conditionId = link.condition(); in EventMetricProducer()
|
D | DurationMetricProducer.cpp | 132 mc.conditionId = link.condition(); in DurationMetricProducer() 832 getDimensionForCondition(values, link, &conditionKey[link.conditionId]); in handleMatchedLogEventValuesLocked()
|
D | MetricProducer.cpp | 136 getDimensionForCondition(event.getValues(), link, &conditionKey[link.conditionId]); in onMatchedLogEventLocked()
|
D | CountMetricProducer.cpp | 105 mc.conditionId = link.condition(); in CountMetricProducer()
|
D | GaugeMetricProducer.cpp | 131 mc.conditionId = link.condition();
|
D | ValueMetricProducer.cpp | 111 mc.conditionId = link.condition(); in ValueMetricProducer()
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModesBackend.java | 168 mContext.getString(R.string.zen_mode_settings_title), manualRule.conditionId) in getManualDndMode()
|