/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | BlockPreferenceController.java | 94 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()
|
D | NotificationBackend.java | 83 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/ |
D | BlockPreferenceController.java | 101 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()
|
D | RecentNotifyingAppsPreferenceController.java | 279 boolean blocked = !(Boolean) newValue; in displayRecentApps() 281 pkgName, appEntry.info.uid, !blocked); in displayRecentApps()
|
D | NotificationBackend.java | 85 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/ |
D | ParentalControlSettings.java | 147 public boolean setUnratedBlocked(boolean blocked) { in setUnratedBlocked() argument 149 if (blocked) { in setUnratedBlocked() 195 ContentRatingSystem contentRatingSystem, Rating rating, boolean blocked) { in setRatingBlocked() argument 196 return setRatingBlockedInternal(contentRatingSystem, rating, null, blocked); in setRatingBlocked() 236 boolean blocked) { in setSubRatingBlocked() argument 237 return setRatingBlockedInternal(contentRatingSystem, rating, subRating, blocked); in setSubRatingBlocked() 257 boolean blocked) { in setRatingBlockedInternal() argument 263 if (blocked) { in setRatingBlockedInternal()
|
/packages/apps/Dialer/java/com/android/dialer/logging/ |
D | interaction_event.proto | 19 // An incoming call was blocked 22 // The user blocked a number from the Call Log screen 25 // The user blocked a number from the Call details screen 28 // The user blocked a number from the Management screen 40 // The user blocked numbers from contacts marked as send to voicemail 43 // The user blocked a number then undid the block
|
D | dialer_impression.proto | 52 // This happens when the user had initially blocked a number and also 76 // User made it to the last step and actually blocked the number 92 // User blocked a number, does not guarantee if the number was reported as 93 // spam or not To compute the number of blocked numbers that were reported 94 // as not spam and yet blocked Subtract this value from 709 // Incoming call auto blocked as spam 713 // Incoming voicemail auto blocked as spam 715 // User reported auto blocked spam call as spam 717 // User reported auto blocked spam call as not spam
|
D | screen_event.proto | 64 // Screen displayed to allow the user to see an overview of all blocked 68 // Screen displayed to allow the user to add a new blocked number
|
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/ |
D | ChannelNotificationSettingsTest.java | 89 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/ |
D | ReceiveMmsMessageAction.java | 89 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()
|
D | UpdateDestinationBlockedAction.java | 79 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()
|
D | ReceiveSmsMessageAction.java | 85 final boolean blocked = BugleDatabaseOperations.isBlockedDestination( in executeAction() 88 getOrCreateConversationFromRecipient(db, threadId, blocked, rawSender); in executeAction() 105 final boolean seen = read || messageInObservableConversation || blocked; in executeAction() 148 message.getMessageId(), message.getReceivedTimeStamp(), blocked, in executeAction()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateNotificationBridge.java | 122 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/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 124 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/service/src/com/android/car/pm/ |
D | ActivityBlockingActivity.java | 156 ComponentName blocked = ComponentName.unflattenFromString(blockedActivity); in getDebugInfo() local 158 .append(blocked.getShortClassName()) in getDebugInfo() 160 .append(blocked.getPackageName()); in getDebugInfo() 165 if (!root.equals(blocked)) { in getDebugInfo() 168 if (!root.getPackageName().equals(blocked.getPackageName())) { in getDebugInfo()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioFocus.java | 266 final ArrayList<FocusEntry> blocked = new ArrayList<FocusEntry>(); in evaluateFocusRequest() local 307 blocked.add(entry); in evaluateFocusRequest() 318 blocked.add(entry); in evaluateFocusRequest() 347 for (FocusEntry entry : blocked) { in evaluateFocusRequest()
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeIconsView.java | 181 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/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateNotificationBridgeTest.java | 241 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/ |
D | PeopleAndOptionsData.java | 200 final boolean blocked) { in setDestinationBlocked() argument 206 blocked, mConversationId, in setDestinationBlocked() local
|
/packages/apps/TV/src/com/android/tv/ |
D | MediaSessionWrapper.java | 134 void update(boolean blocked, Channel currentChannel, Program currentProgram) { in update() argument 141 if (blocked) { in update()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 587 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/ |
D | PieRenderer.java | 586 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/ |
D | photo_info.proto | 36 // Whether a "blocked" icon should be displayed.
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuUpdater.java | 75 public void onScreenBlockingChanged(boolean blocked) { in MenuUpdater()
|