Home
last modified time | relevance | path

Searched refs:blocked (Results 1 – 25 of 36) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DBlockPreferenceController.java94 boolean blocked = !isChecked; in onSwitchChanged()
100 if (blocked || originalImportance == IMPORTANCE_NONE) { in onSwitchChanged()
101 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged()
107 if (mAppRow.banned != blocked) { in onSwitchChanged()
108 mAppRow.banned = blocked; in onSwitchChanged()
109 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked); in onSwitchChanged()
113 mChannelGroup.setBlocked(blocked); in onSwitchChanged()
116 mAppRow.banned = blocked; in onSwitchChanged()
117 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked); in onSwitchChanged()
DNotificationBackend.java83 final boolean blocked = getNotificationsBanned(info.packageName, info.uid); in isBlockable()
85 return !systemApp || (systemApp && blocked); in isBlockable()
/packages/apps/Settings/src/com/android/settings/notification/
DBlockPreferenceController.java101 boolean blocked = !isChecked; in onSwitchChanged()
107 if (blocked || originalImportance == IMPORTANCE_NONE) { in onSwitchChanged()
108 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged()
114 if (mAppRow.banned != blocked) { in onSwitchChanged()
115 mAppRow.banned = blocked; in onSwitchChanged()
116 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked); in onSwitchChanged()
120 mChannelGroup.setBlocked(blocked); in onSwitchChanged()
123 mAppRow.banned = blocked; in onSwitchChanged()
124 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked); in onSwitchChanged()
DRecentNotifyingAppsPreferenceController.java282 boolean blocked = !(Boolean) newValue; in displayRecentApps()
284 pkgName, appEntry.info.uid, !blocked); in displayRecentApps()
DNotificationBackend.java85 final boolean blocked = getNotificationsBanned(info.packageName, info.uid); in isBlockable()
87 return !systemApp || (systemApp && blocked); in isBlockable()
/packages/apps/TV/src/com/android/tv/parental/
DParentalControlSettings.java149 public boolean setUnratedBlocked(boolean blocked) { in setUnratedBlocked() argument
151 if (blocked) { in setUnratedBlocked()
197 ContentRatingSystem contentRatingSystem, Rating rating, boolean blocked) { in setRatingBlocked() argument
198 return setRatingBlockedInternal(contentRatingSystem, rating, null, blocked); in setRatingBlocked()
238 boolean blocked) { in setSubRatingBlocked() argument
239 return setRatingBlockedInternal(contentRatingSystem, rating, subRating, blocked); in setSubRatingBlocked()
259 boolean blocked) { in setRatingBlockedInternal() argument
265 if (blocked) { in setRatingBlockedInternal()
/packages/apps/Dialer/java/com/android/dialer/logging/
Dinteraction_event.proto18 // An incoming call was blocked
21 // The user blocked a number from the Call Log screen
24 // The user blocked a number from the Call details screen
27 // The user blocked a number from the Management screen
39 // The user blocked numbers from contacts marked as send to voicemail
42 // The user blocked a number then undid the block
Ddialer_impression.proto51 // This happens when the user had initially blocked a number and also
75 // User made it to the last step and actually blocked the number
91 // User blocked a number, does not guarantee if the number was reported as
92 // spam or not To compute the number of blocked numbers that were reported
93 // as not spam and yet blocked Subtract this value from
708 // Incoming call auto blocked as spam
712 // Incoming voicemail auto blocked as spam
714 // User reported auto blocked spam call as spam
716 // User reported auto blocked spam call as not spam
Dscreen_event.proto63 // Screen displayed to allow the user to see an overview of all blocked
67 // Screen displayed to allow the user to add a new blocked number
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/
DChannelNotificationSettingsTest.java89 NotificationChannel blocked = in launchNotificationSettings_blockedChannel() local
91 mNm.createNotificationChannel(blocked); in launchNotificationSettings_blockedChannel()
95 blocked.setImportance(IMPORTANCE_NONE); in launchNotificationSettings_blockedChannel()
97 mTargetContext.getPackageName(), Process.myUid(), blocked); in launchNotificationSettings_blockedChannel() local
101 .putExtra(Settings.EXTRA_CHANNEL_ID, blocked.getId()) in launchNotificationSettings_blockedChannel()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DReceiveMmsMessageAction.java89 final boolean blocked = BugleDatabaseOperations.isBlockedDestination( in executeAction()
91 final boolean autoDownload = (!blocked && MmsUtils.allowMmsAutoRetrieve(subId)); in executeAction()
94 blocked, subId); in executeAction()
103 mms.mSeen = messageInObservableConversation || blocked; in executeAction()
122 blocked, true /* shouldAutoSwitchSelfId */); in executeAction()
DUpdateDestinationBlockedAction.java79 final String destination, final boolean blocked, final String conversationId, in updateDestinationBlocked() argument
85 new UpdateDestinationBlockedAction(destination, blocked, conversationId, in updateDestinationBlocked()
96 final String destination, final boolean blocked, final String conversationId, in UpdateDestinationBlockedAction() argument
101 actionParameters.putBoolean(KEY_BLOCKED, blocked); in UpdateDestinationBlockedAction()
DReceiveSmsMessageAction.java86 final boolean blocked = BugleDatabaseOperations.isBlockedDestination( in executeAction()
89 getOrCreateConversationFromRecipient(db, threadId, blocked, rawSender); in executeAction()
106 final boolean seen = read || messageInObservableConversation || blocked; in executeAction()
149 message.getMessageId(), message.getReceivedTimeStamp(), blocked, in executeAction()
/packages/services/Car/service/src/com/android/car/pm/
DActivityBlockingActivity.java185 ComponentName blocked = ComponentName.unflattenFromString(blockedActivity); in getDebugInfo() local
187 .append(blocked.getShortClassName()) in getDebugInfo()
189 .append(blocked.getPackageName()); in getDebugInfo()
194 if (!root.equals(blocked)) { in getDebugInfo()
197 if (!root.getPackageName().equals(blocked.getPackageName())) { in getDebugInfo()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java124 stats.blocked = mBackend.getNotificationsBanned(entry.info.packageName, entry.info.uid); in addBlockStatus()
126 stats.blockable = !stats.systemApp || (stats.systemApp && stats.blocked); in addBlockStatus()
236 stats.blocked = !toggle.isChecked(); in getSwitchOnClickListener()
283 return state.blocked;
336 return !stats.blocked; in checkSwitch()
349 public boolean blocked; field in NotificationsSentState
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateNotificationBridge.java122 stats.blocked = mBackend.getNotificationsBanned(entry.info.packageName, entry.info.uid); in addBlockStatus()
124 stats.blockable = !stats.systemApp || (stats.systemApp && stats.blocked); in addBlockStatus()
234 stats.blocked = !toggle.isChecked(); in getSwitchOnClickListener()
281 return state.blocked;
334 return !stats.blocked; in checkSwitch()
347 public boolean blocked; field in NotificationsSentState
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java181 return resources.blocked; in getCallTypeDrawable()
257 public final Drawable blocked; field in CallTypeIconsView.Resources
316 blocked = drawable.mutate(); in Resources()
317 blocked.setColorFilter(theme.getColorIcon(), PorterDuff.Mode.MULTIPLY); in Resources()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioFocus.java271 final ArrayList<FocusEntry> blocked = new ArrayList<FocusEntry>(); in evaluateFocusRequest() local
312 blocked.add(entry); in evaluateFocusRequest()
323 blocked.add(entry); in evaluateFocusRequest()
352 for (FocusEntry entry : blocked) { in evaluateFocusRequest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java241 assertThat(((NotificationsSentState) apps.get(0).extraInfo).blocked).isTrue(); in testLoadAllExtraInfo_multipleEventsAgg()
372 assertThat(((NotificationsSentState) entry.extraInfo).blocked).isTrue(); in testUpdateExtraInfo_multipleEventsAgg()
464 allowState.blocked = true; in testFilterBlocked()
471 denyState.blocked = false; in testFilterBlocked()
567 assertThat(((NotificationsSentState) entry.extraInfo).blocked).isFalse(); in testSwitchOnClickListener()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleAndOptionsData.java200 final boolean blocked) { in setDestinationBlocked() argument
206 blocked, mConversationId, in setDestinationBlocked() local
/packages/apps/TV/src/com/android/tv/
DMediaSessionWrapper.java135 void update(boolean blocked, Channel currentChannel, Program currentProgram) { in update() argument
142 if (blocked) { in update()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java587 public void setBlockFocus(boolean blocked) { in setBlockFocus() argument
588 mBlockFocus = blocked; in setBlockFocus()
589 if (blocked) { in setBlockFocus()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java586 public void setBlockFocus(boolean blocked) { in setBlockFocus() argument
587 blockFocus = blocked; in setBlockFocus()
588 if (blocked) { in setBlockFocus()
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/
Dphoto_info.proto35 // Whether a "blocked" icon should be displayed.
/packages/apps/TV/src/com/android/tv/menu/
DMenuUpdater.java75 public void onScreenBlockingChanged(boolean blocked) { in MenuUpdater()

12