Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/utils/
DSensorPrivacyManagerHelper.java62 void onSensorPrivacyChanged(int sensor, boolean blocked); in onSensorPrivacyChanged() argument
121 Boolean blocked = mCurrentUserCachedState.get(sensor); in isSensorBlocked() local
122 if (blocked == null) { in isSensorBlocked()
125 blocked = mSensorPrivacyManager.isSensorPrivacyEnabled(sensor); in isSensorBlocked()
126 mCurrentUserCachedState.put(sensor, blocked); in isSensorBlocked()
129 return blocked; in isSensorBlocked()
142 Boolean blocked = userCachedState.get(sensor); in isSensorBlocked() local
143 if (blocked == null) { in isSensorBlocked()
146 blocked = mSensorPrivacyManager.isSensorPrivacyEnabled(sensor); in isSensorBlocked()
147 userCachedState.put(sensor, blocked); in isSensorBlocked()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/app/
DBlockPreferenceController.java109 boolean blocked = !isChecked; in onSwitchChanged()
115 if (blocked || originalImportance == IMPORTANCE_NONE) { in onSwitchChanged()
116 final int importance = blocked in onSwitchChanged()
125 if (mAppRow.banned != blocked) { in onSwitchChanged()
126 mAppRow.banned = blocked; in onSwitchChanged()
127 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked); in onSwitchChanged()
131 mChannelGroup.setBlocked(blocked); in onSwitchChanged()
134 mAppRow.banned = blocked; in onSwitchChanged()
135 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked); in onSwitchChanged()
/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/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/Settings/tests/legacy_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/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DNetworkMonitor.java101 public void onBlockedStatusChanged(Network network, boolean blocked) {
102 if (mBlocked == blocked) {
106 + " blocked=" + blocked);
107 mBlocked = blocked;
/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/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java129 stats.blocked = mBackend.getNotificationsBanned(entry.info.packageName, entry.info.uid); in addBlockStatus()
131 stats.blockable = !stats.systemApp || (stats.systemApp && stats.blocked); in addBlockStatus()
236 stats.blocked = !isChecked; in getSwitchOnCheckedListener()
280 return state.blocked;
333 return !stats.blocked; in checkSwitch()
346 public boolean blocked; field in NotificationsSentState
/packages/services/Car/service/src/com/android/car/pm/
DActivityBlockingActivity.java358 ComponentName blocked = ComponentName.unflattenFromString(blockedActivity); in getDebugInfo() local
360 .append(blocked.getShortClassName()) in getDebugInfo()
362 .append(blocked.getPackageName()); in getDebugInfo()
367 if (!root.equals(blocked)) { in getDebugInfo()
370 if (!root.getPackageName().equals(blocked.getPackageName())) { in getDebugInfo()
/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/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DNotificationsPreference.java106 final boolean blocked = getNotificationsBanned(info.packageName, info.uid); in isBlockable()
110 return !systemApp || (systemApp && blocked); in isBlockable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java247 assertThat(((NotificationsSentState) apps.get(0).extraInfo).blocked).isTrue(); in testLoadAllExtraInfo_multipleEventsAgg()
378 assertThat(((NotificationsSentState) entry.extraInfo).blocked).isTrue(); in testUpdateExtraInfo_multipleEventsAgg()
470 allowState.blocked = true; in testFilterBlocked()
477 denyState.blocked = false; in testFilterBlocked()
570 assertThat(((NotificationsSentState) entry.extraInfo).blocked).isFalse(); in testSwitchOnChangeListener()
/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
DMyService.java106 public void onBlockedStatusChanged(Network network, boolean blocked) {
108 cb.onBlockedStatusChanged(network, blocked);
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleAndOptionsData.java200 final boolean blocked) { in setDestinationBlocked() argument
206 blocked, mConversationId, in setDestinationBlocked() local
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DNetworkCallbackTest.java129 public void onBlockedStatusChanged(Network network, boolean blocked) { in onBlockedStatusChanged() argument
130 setLastCallback(CallbackState.BLOCKED_STATUS, network, blocked); in onBlockedStatusChanged()
/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/services/Car/service/src/com/android/car/audio/
DCarAudioFocus.java270 final ArrayList<FocusEntry> blocked = new ArrayList<FocusEntry>(); in evaluateFocusRequestLocked() local
306 .evaluateRequest(requestedContext, entry, blocked, allowDucking, in evaluateFocusRequestLocked()
336 for (FocusEntry entry : blocked) { in evaluateFocusRequestLocked()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanNetworkService.java103 public void onBlockedStatusChanged(Network network, boolean blocked) { in onBlockedStatusChanged() argument
105 Log.d(TAG, "onBlockedStatusChanged: " + " BLOCKED:" + blocked); in onBlockedStatusChanged()
/packages/modules/Connectivity/tests/cts/hostside/aidl/com/android/cts/net/hostside/
DINetworkCallback.aidl23 void onBlockedStatusChanged(in Network network, boolean blocked); in onBlockedStatusChanged() argument
/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()

12