HomeSort by relevance Sort by last modified time
    Searched defs:mBackend (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeMediaPreferenceController.java 32 private final ZenModeBackend mBackend;
36 mBackend = ZenModeBackend.getInstance(context);
65 pref.setChecked(mBackend.isPriorityCategoryEnabled(
76 mBackend.saveSoundPolicy(Policy.PRIORITY_CATEGORY_MEDIA, allowMedia);
ZenModeCallsPreferenceController.java 35 private final ZenModeBackend mBackend;
41 mBackend = ZenModeBackend.getInstance(context);
69 mBackend.saveSenders(NotificationManager.Policy.PRIORITY_CATEGORY_CALLS,
82 mPreference.setSummary(mBackend.getContactsSummary(ZenModeBackend.SOURCE_NONE));
86 preference.setSummary(mBackend.getContactsSummary(
90 mBackend.getPriorityCallSenders());
ZenModeMessagesPreferenceController.java 20 private final ZenModeBackend mBackend;
26 mBackend = ZenModeBackend.getInstance(context);
54 mBackend.saveSenders(NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES,
67 mPreference.setSummary(mBackend.getContactsSummary(ZenModeBackend.SOURCE_NONE));
71 preference.setSummary(mBackend.getContactsSummary(
75 mBackend.getPriorityMessageSenders());
ZenModeRepeatCallersPreferenceController.java 36 private final ZenModeBackend mBackend;
44 mBackend = ZenModeBackend.getInstance(context);
75 boolean anyCallersCanBypassDnd = (mBackend.isPriorityCategoryEnabled(
77 && mBackend.getPriorityCallSenders() == Policy.PRIORITY_SENDERS_ANY);
84 pref.setChecked(mBackend.isPriorityCategoryEnabled(
98 mBackend.saveSoundPolicy(Policy.PRIORITY_CATEGORY_REPEAT_CALLERS, allowRepeatCallers);
ZenModeAlarmsPreferenceController.java 64 pref.setChecked(mBackend.isPriorityCategoryEnabled(
78 mBackend.saveSoundPolicy(Policy.PRIORITY_CATEGORY_ALARMS, allowAlarms);
ZenModeEventsPreferenceController.java 61 pref.setChecked(mBackend.isPriorityCategoryEnabled(
75 mBackend.saveSoundPolicy(Policy.PRIORITY_CATEGORY_EVENTS, allowEvents);
ZenModeRemindersPreferenceController.java 61 pref.setChecked(mBackend.isPriorityCategoryEnabled(
74 mBackend.saveSoundPolicy(NotificationManager.Policy.PRIORITY_CATEGORY_REMINDERS,
ZenModeSystemPreferenceController.java 64 pref.setChecked(mBackend.isPriorityCategoryEnabled(
78 mBackend.saveSoundPolicy(Policy.PRIORITY_CATEGORY_SYSTEM, allowSystem);
BlockPreferenceController.java 105 if (mBackend.onlyHasDefaultChannel(mAppRow.pkg, mAppRow.uid)) {
108 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked);
113 mBackend.updateChannelGroup(mAppRow.pkg, mAppRow.uid, mChannelGroup);
116 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked);
NotificationPreferenceController.java 51 protected final NotificationBackend mBackend;
61 mBackend = backend;
128 mBackend.updateChannel(mAppRow.pkg, mAppRow.uid, mChannel);
ZenModeSettingsBase.java 41 protected ZenModeBackend mBackend;
57 mBackend = ZenModeBackend.getInstance(mContext);
114 mBackend.updatePolicy();
BadgePreferenceController.java 90 mBackend.setShowBadge(mAppRow.pkg, mAppRow.uid, showBadge);
ZenModeVisEffectsAllPreferenceController.java 67 mBackend.mPolicy.suppressedVisualEffects);
75 mBackend.saveVisualEffectsPolicy(EFFECTS, true);
ZenModeVisEffectsNonePreferenceController.java 66 boolean nothingBlocked = mBackend.mPolicy.suppressedVisualEffects == 0;
74 mBackend.saveVisualEffectsPolicy(EFFECTS, false);
  /packages/apps/Settings/src/com/android/settings/dream/
CurrentDreamPreferenceController.java 30 private final DreamBackend mBackend;
36 mBackend = DreamBackend.getInstance(context);
41 return mBackend.getDreamInfos().size() > 0;
53 preference.setSummary(mBackend.getActiveDreamName());
72 mBackend.launchSettings(info.get());
76 return mBackend.getDreamInfos()
StartNowPreferenceController.java 33 private final DreamBackend mBackend;
38 mBackend = DreamBackend.getInstance(context);
57 startButton.setOnClickListener(v -> mBackend.startDreaming());
66 startButton.setEnabled(mBackend.getWhenToDreamSetting() != DreamBackend.NEVER);
WhenToDreamPreferenceController.java 29 private final DreamBackend mBackend;
34 mBackend = DreamBackend.getInstance(context);
41 int resId = DreamSettings.getDreamSettingDescriptionResId(mBackend.getWhenToDreamSetting());
  /packages/apps/Settings/src/com/android/settings/applications/
AppStatePowerBridge.java 33 private final PowerWhitelistBackend mBackend;
37 mBackend = PowerWhitelistBackend.getInstance(context);
46 app.extraInfo = mBackend.isWhitelisted(app.info.packageName)
53 app.extraInfo = mBackend.isWhitelisted(pkg) ? Boolean.TRUE : Boolean.FALSE;
  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
SpecialAppAccessPreferenceControllerTest.java 43 private DataSaverBackend mBackend;
54 ReflectionHelpers.setField(mController, "mDataSaverBackend", mBackend);
64 when(mBackend.getWhitelistedCount()).thenReturn(0);
71 when(mBackend.getWhitelistedCount()).thenReturn(1);
  /packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
AppDeletionPreferenceGroupTest.java 45 @Mock private AppDeletionType mBackend;
56 mGroup.setDeletionType(mBackend);
62 when(mBackend.getDeletionThreshold()).thenReturn(0L);
72 when(mBackend.getDeletionThreshold()).thenReturn(0L);
  /packages/services/BuiltInPrintService/src/com/android/bips/
LocalPrintJob.java 59 private final Backend mBackend;
72 mBackend = backend;
124 mBackend.cancel();
218 mBackend.print(mPath, mPrintJob, capabilities, this::handleJobStatus);
279 mBackend.closeDocument();
  /packages/services/BuiltInPrintService/src/com/android/bips/ipp/
CancelJobTask.java 28 private final Backend mBackend;
32 mBackend = backend;
41 mBackend.nativeCancelJob(mJobId);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DeletedChannelsPreferenceControllerTest.java 49 private NotificationBackend mBackend;
64 mController = new DeletedChannelsPreferenceController(mContext, mBackend);
97 when(mBackend.getDeletedChannelCount(any(), anyInt())).thenReturn(0);
104 when(mBackend.getDeletedChannelCount(any(), anyInt())).thenReturn(1);
111 when(mBackend.getDeletedChannelCount(any(), anyInt())).thenReturn(1);
118 verify(mBackend, times(1)).getDeletedChannelCount(any(), anyInt());
  /packages/apps/Settings/src/com/android/settings/applications/appinfo/
AppNotificationPreferenceController.java 36 private final NotificationBackend mBackend = new NotificationBackend();
53 preference.setSummary(getNotificationSummary(mParent.getAppEntry(), mContext, mBackend));
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryOptimizationPreferenceController.java 40 private PowerWhitelistBackend mBackend;
51 mBackend = PowerWhitelistBackend.getInstance(mSettingsActivity);
61 mBackend = backend;
71 final boolean isWhitelisted = mBackend.isWhitelisted(mPackageName);

Completed in 2640 milliseconds

1 2 3 4 5