OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ZenModeConfig
(Results
1 - 25
of
29
) sorted by null
1
2
/frameworks/base/core/java/android/service/notification/
ZenModeConfig.aidl
19
parcelable
ZenModeConfig
;
20
parcelable
ZenModeConfig
.ZenRule;
ZenModeConfig.java
58
public class
ZenModeConfig
implements Parcelable {
59
private static String TAG = "
ZenModeConfig
";
140
public
ZenModeConfig
() { }
142
public
ZenModeConfig
(Parcel source) {
197
return new StringBuilder(
ZenModeConfig
.class.getSimpleName()).append('[')
213
private Diff diff(
ZenModeConfig
to) {
262
public static Diff diff(
ZenModeConfig
from,
ZenModeConfig
to) {
335
if (!(o instanceof
ZenModeConfig
)) return false;
337
final
ZenModeConfig
other = (ZenModeConfig) o
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
ZenModeController.java
22
import android.service.notification.
ZenModeConfig
;
23
import android.service.notification.
ZenModeConfig
.ZenRule;
31
ZenModeConfig
getConfig();
47
public void onConfigChanged(
ZenModeConfig
config) {}
ZenModeControllerImpl.java
37
import android.service.notification.
ZenModeConfig
;
38
import android.service.notification.
ZenModeConfig
.ZenRule;
66
private
ZenModeConfig
mConfig;
129
public
ZenModeConfig
getConfig() {
160
.isSystemConditionProviderEnabled(
ZenModeConfig
.COUNTDOWN_PATH);
204
private void fireConfigChanged(
ZenModeConfig
config) {
221
final
ZenModeConfig
config = mNoMan.getZenModeConfig();
/packages/apps/Settings/src/com/android/settings/notification/
ZenRuleSelectionDialog.java
29
import android.service.notification.
ZenModeConfig
;
131
final
ZenModeConfig
.ScheduleInfo schedule = new
ZenModeConfig
.ScheduleInfo();
132
schedule.days =
ZenModeConfig
.ALL_DAYS;
138
rt.packageName =
ZenModeConfig
.getEventConditionProvider().getPackageName();
139
rt.defaultConditionId =
ZenModeConfig
.toScheduleConditionId(schedule);
140
rt.serviceComponent =
ZenModeConfig
.getScheduleConditionProvider();
146
final
ZenModeConfig
.EventInfo event = new
ZenModeConfig
.EventInfo();
148
event.reply =
ZenModeConfig
.EventInfo.REPLY_ANY_EXCEPT_NO
[
all
...]
ZenModeScheduleRuleSettings.java
30
import android.service.notification.
ZenModeConfig
;
31
import android.service.notification.
ZenModeConfig
.ScheduleInfo;
67
mSchedule = rule != null ?
ZenModeConfig
.tryParseScheduleConditionId(rule.getConditionId())
105
if (!
ZenModeConfig
.isValidHour(hour)) return false;
106
if (!
ZenModeConfig
.isValidMinute(minute)) return false;
113
updateRule(
ZenModeConfig
.toScheduleConditionId(mSchedule));
127
if (!
ZenModeConfig
.isValidHour(hour)) return false;
128
if (!
ZenModeConfig
.isValidMinute(minute)) return false;
135
updateRule(
ZenModeConfig
.toScheduleConditionId(mSchedule));
147
updateRule(
ZenModeConfig
.toScheduleConditionId(mSchedule))
[
all
...]
ZenModeEventRuleSettings.java
27
import android.service.notification.
ZenModeConfig
;
28
import android.service.notification.
ZenModeConfig
.EventInfo;
57
mEvent = rule != null ?
ZenModeConfig
.tryParseEventConditionId(rule.getConditionId())
125
updateRule(
ZenModeConfig
.toEventConditionId(mEvent));
147
updateRule(
ZenModeConfig
.toEventConditionId(mEvent));
ZenModeVoiceActivity.java
27
import android.service.notification.
ZenModeConfig
;
56
condition =
ZenModeConfig
.toTimeCondition(this, minutes, UserHandle.myUserId());
ZenModePrioritySettings.java
22
import android.service.notification.
ZenModeConfig
;
103
+ " allowMessagesFrom=" +
ZenModeConfig
.sourceToString(allowMessagesFrom));
123
+ " allowCallsFrom=" +
ZenModeConfig
.sourceToString(allowCallsFrom));
ZenModeAutomationSettings.java
35
import android.service.notification.
ZenModeConfig
;
269
final int type =
ZenModeConfig
.isValidScheduleConditionId(rule.getConditionId()) ? 1
270
:
ZenModeConfig
.isValidEventConditionId(rule.getConditionId()) ? 2
289
final boolean isSchedule =
ZenModeConfig
.isValidScheduleConditionId(
291
final boolean isEvent =
ZenModeConfig
.isValidEventConditionId(rule.getConditionId());
/frameworks/base/services/core/java/com/android/server/notification/
ZenModeHelper.java
53
import android.service.notification.
ZenModeConfig
;
54
import android.service.notification.
ZenModeConfig
.EventInfo;
55
import android.service.notification.
ZenModeConfig
.ScheduleInfo;
56
import android.service.notification.
ZenModeConfig
.ZenRule;
91
private final
ZenModeConfig
mDefaultConfig;
96
private final SparseArray<
ZenModeConfig
> mConfigs = new SparseArray<>();
102
private
ZenModeConfig
mConfig;
215
ZenModeConfig
config = mConfigs.get(user);
297
ZenModeConfig
newConfig;
319
ZenModeConfig
newConfig
[
all
...]
CountdownConditionProvider.java
29
import android.service.notification.
ZenModeConfig
;
67
return
ZenModeConfig
.isValidCountdownConditionId(id);
112
mTime =
ZenModeConfig
.tryParseCountdownConditionId(conditionId);
148
final long time =
ZenModeConfig
.tryParseCountdownConditionId(conditionId);
158
return new Condition(
ZenModeConfig
.toCountdownConditionId(time),
163
final long time =
ZenModeConfig
.tryParseCountdownConditionId(conditionUri);
ZenModeConditions.java
24
import android.service.notification.
ZenModeConfig
;
25
import android.service.notification.
ZenModeConfig
.ZenRule;
46
if (mConditionProviders.isSystemProviderEnabled(
ZenModeConfig
.COUNTDOWN_PATH)) {
49
if (mConditionProviders.isSystemProviderEnabled(
ZenModeConfig
.SCHEDULE_PATH)) {
52
if (mConditionProviders.isSystemProviderEnabled(
ZenModeConfig
.EVENT_PATH)) {
62
public void evaluateConfig(
ZenModeConfig
config, boolean processSubscriptions) {
108
ZenModeConfig
config = mHelper.getConfig();
163
final
ZenModeConfig
config = mHelper.getConfig();
ZenModeFiltering.java
28
import android.service.notification.
ZenModeConfig
;
78
public static boolean matchesCallFilter(Context context, int zen,
ZenModeConfig
config,
106
public boolean shouldIntercept(int zen,
ZenModeConfig
config, NotificationRecord record) {
229
case
ZenModeConfig
.SOURCE_ANYONE:
231
case
ZenModeConfig
.SOURCE_CONTACT:
233
case
ZenModeConfig
.SOURCE_STAR:
ZenLog.java
28
import android.service.notification.
ZenModeConfig
;
119
public static void traceConfig(String reason,
ZenModeConfig
oldConfig,
120
ZenModeConfig
newConfig) {
123
+ "," +
ZenModeConfig
.diff(oldConfig, newConfig));
ScheduleConditionProvider.java
32
import android.service.notification.
ZenModeConfig
;
33
import android.service.notification.
ZenModeConfig
.ScheduleInfo;
84
return
ZenModeConfig
.isValidScheduleConditionId(id);
127
if (!
ZenModeConfig
.isValidScheduleConditionId(conditionId)) {
219
final ScheduleInfo schedule =
ZenModeConfig
.tryParseScheduleConditionId(conditionId);
EventConditionProvider.java
36
import android.service.notification.
ZenModeConfig
;
37
import android.service.notification.
ZenModeConfig
.EventInfo;
91
return
ZenModeConfig
.isValidEventConditionId(id);
148
if (!
ZenModeConfig
.isValidEventConditionId(conditionId)) {
218
final EventInfo event =
ZenModeConfig
.tryParseEventConditionId(conditionId);
ScheduleCalendar.java
19
import android.service.notification.
ZenModeConfig
.ScheduleInfo;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
ZenFooter.java
22
import android.service.notification.
ZenModeConfig
;
48
private
ZenModeConfig
mConfig;
96
private void setConfig(
ZenModeConfig
config) {
127
final CharSequence line2 =
ZenModeConfig
.getConditionSummary(mContext, mConfig,
143
public void onConfigChanged(
ZenModeConfig
config) {
ZenModePanel.java
35
import android.service.notification.
ZenModeConfig
;
36
import android.service.notification.
ZenModeConfig
.ZenRule;
75
private static final int[] MINUTE_BUCKETS =
ZenModeConfig
.MINUTE_BUCKETS;
301
mTimeCondition =
ZenModeConfig
.toTimeCondition(mContext,
457
final long time =
ZenModeConfig
.tryParseCountdownConditionId(mSessionExitCondition.id);
477
final long time =
ZenModeConfig
.tryParseCountdownConditionId(condition.id);
482
return
ZenModeConfig
.toTimeCondition(context,
547
return
ZenModeConfig
.toNextAlarmCondition(mContext, now,
599
mTimeCondition =
ZenModeConfig
.toTimeCondition(mContext,
609
return c != null &&
ZenModeConfig
.isValidCountdownConditionId(c.id)
[
all
...]
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DndCondition.java
28
import android.service.notification.
ZenModeConfig
;
39
private
ZenModeConfig
mConfig;
104
:
ZenModeConfig
.getConditionSummary(mManager.getContext(), mConfig,
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/
SoundSettingsTest.java
9
import android.service.notification.
ZenModeConfig
;
100
ZenModeConfig
baseZenCfg = mZenHelper.getConfig();
106
ZenModeConfig
changedCfg = mZenHelper.getConfig();
144
ZenModeConfig
baseZenCfg = mZenHelper.getConfig();
149
ZenModeConfig
changedCfg = mZenHelper.getConfig();
/frameworks/base/core/java/android/app/
INotificationManager.aidl
35
import android.service.notification.
ZenModeConfig
;
92
ZenModeConfig
getZenModeConfig();
102
List<
ZenModeConfig
.ZenRule> getZenRules();
NotificationManager.java
41
import android.service.notification.
ZenModeConfig
;
443
public
ZenModeConfig
getZenModeConfig() {
474
List<
ZenModeConfig
.ZenRule> rules = service.getZenRules();
476
for (
ZenModeConfig
.ZenRule rule : rules) {
[
all
...]
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
NotificationDNDTests.java
18
import android.service.notification.
ZenModeConfig
;
103
ZenModeConfig
mConfig = mZenHelper.getConfig();
131
ZenModeConfig
mConfig = mZenHelper.getConfig();
Completed in 527 milliseconds
1
2