Home
last modified time | relevance | path

Searched refs:isBlocked (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DSensorPrivacyToggleTile.java65 public abstract @DrawableRes int getIconRes(boolean isBlocked); in getIconRes() argument
109 boolean isBlocked = arg == null ? mSensorPrivacyController.isSensorBlocked(getSensorId()) in handleUpdateState()
114 state.icon = ResourceIcon.get(getIconRes(isBlocked)); in handleUpdateState()
115 state.state = isBlocked ? Tile.STATE_INACTIVE : Tile.STATE_ACTIVE; in handleUpdateState()
116 state.value = !isBlocked; in handleUpdateState()
118 if (isBlocked) { in handleUpdateState()
DCameraToggleTile.java73 public @DrawableRes int getIconRes(boolean isBlocked) { in getIconRes() argument
74 if (isBlocked) { in getIconRes()
DMicrophoneToggleTile.java73 public @DrawableRes int getIconRes(boolean isBlocked) { in getIconRes() argument
74 if (isBlocked) { in getIconRes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBlockChecker.java29 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() method in BlockChecker
30 return isBlocked(context, phoneNumber, null /* extras */); in isBlocked()
44 public static boolean isBlocked(Context context, String phoneNumber, Bundle extras) { in isBlocked() method in BlockChecker
DWapPushOverSms.java264 && BlockChecker.isBlocked(mContext, nInd.getFrom().getString(), null)) { in decodeWapPdu()
DInboundSmsHandler.java928 block = BlockChecker.isBlocked(mContext, tracker.getDisplayAddress(), null); in processMessagePart()
1002 block = BlockChecker.isBlocked(mContext, in processMessagePart()
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java169 public boolean isBlocked() { in isBlocked() method in NotificationChannelGroup
250 out.attributeBoolean(null, ATT_BLOCKED, isBlocked()); in writeXml()
265 record.put(ATT_BLOCKED, isBlocked()); in toJson()
293 return isBlocked() == that.isBlocked() && in equals()
303 return Objects.hash(getId(), getName(), getDescription(), isBlocked(), getChannels(), in hashCode()
311 cloned.setBlocked(isBlocked()); in clone()
/frameworks/base/services/core/java/com/android/server/vcn/
DUnderlyingNetworkTracker.java532 public void onBlockedStatusChanged(@NonNull Network network, boolean isBlocked) { in onBlockedStatusChanged() argument
540 builder.setIsBlocked(isBlocked); in onBlockedStatusChanged()
572 public final boolean isBlocked; field in UnderlyingNetworkTracker.UnderlyingNetworkRecord
579 boolean isBlocked) { in UnderlyingNetworkRecord() argument
583 this.isBlocked = isBlocked; in UnderlyingNetworkRecord()
595 && isBlocked == that.isBlocked; in equals()
600 return Objects.hash(network, networkCapabilities, linkProperties, isBlocked); in hashCode()
623 if (isBlocked) { in calculatePriorityClass()
744 private void setIsBlocked(boolean isBlocked) { in setIsBlocked() argument
745 mIsBlocked = isBlocked; in setIsBlocked()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DRemoteOptionsRequest.java57 void setRespondToRequest(RcsContactUceCapability capability, boolean isBlocked) { in setRespondToRequest() argument
58 mIsNumberBlocked = isBlocked; in setRespondToRequest()
133 public void setIsRemoteNumberBlocked(boolean isBlocked) { in setIsRemoteNumberBlocked() argument
134 mIsRemoteNumberBlocked = isBlocked; in setIsRemoteNumberBlocked()
/frameworks/base/core/java/android/provider/
DBlockedNumberContract.java327 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() method in BlockedNumberContract
331 boolean isBlocked = res != null && res.getBoolean(RES_NUMBER_IS_BLOCKED, false); in isBlocked()
333 isBlocked); in isBlocked()
334 return isBlocked; in isBlocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivity.kt113 whichSensor: Int, isBlocked: Boolean -> in <lambda>() method
114 if (whichSensor == sensor && !isBlocked) { in <lambda>()
120 sensorPrivacyController.addCallback { _, isBlocked -> in <lambda>() method
121 if (!isBlocked) { in <lambda>()
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/
DNativeCoverageHackInstrumentationListener.java107 if (siginfo.isValid() && siginfo.isBlocked(COVERAGE_SIGNAL)) { in maybeDumpNativeCoverage()
111 if (siginfo.isValid() && !siginfo.isBlocked(COVERAGE_SIGNAL)) { in maybeDumpNativeCoverage()
201 public boolean isBlocked(int signal) { in isBlocked() method in NativeCoverageHackInstrumentationListener.SignalMaskInfo
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelLogger.java256 return getImportance(channelGroup.isBlocked()); in getImportance()
262 static int getImportance(boolean isBlocked) { in getImportance() argument
263 return isBlocked in getImportance()
DPreferencesHelper.java772 return group.isBlocked(); in isGroupBlocked()
806 group.setBlocked(oldGroup.isBlocked()); in createNotificationChannelGroup()
811 if (group.isBlocked() != oldGroup.isBlocked()) { in createNotificationChannelGroup()
822 (oldGroup != null) && oldGroup.isBlocked()); in createNotificationChannelGroup()
1437 if (group.isBlocked()) { in getConversations()
1480 if (group.isBlocked()) { in getConversations()
2077 event.writeBoolean(groupChannel.isBlocked()); in pullPackageChannelGroupPreferencesStats()
DNotificationManagerService.java2828 if (preUpdate.isBlocked() != update.isBlocked()) {
2834 update.isBlocked())
6664 if (isBlocked(r, mUsageStats)) {
6699 protected boolean isBlocked(NotificationRecord r, NotificationUsageStats usageStats) {
6700 if (isBlocked(r)) {
6711 private boolean isBlocked(NotificationRecord r) {
7043 if (isBlocked(r)) {
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DCapabilityExchangeAidlWrapper.java98 boolean isBlocked) { in onRemoteCapabilityRequest()
101 callback.onRespondToCapabilityRequest(ownCapabilities, isBlocked); in onRemoteCapabilityRequest()
DIOptionsRequestCallback.aidl32 void respondToCapabilityRequest(in RcsContactUceCapability ownCapabilities, boolean isBlocked); in respondToCapabilityRequest() argument
/frameworks/base/telephony/java/android/telephony/ims/stub/
DCapabilityExchangeEventListener.java51 boolean isBlocked); in onRespondToCapabilityRequest() argument
/frameworks/base/core/java/android/print/
DPrintJob.java140 public boolean isBlocked() { in isBlocked() method in PrintJob
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DUceRequestManagerTest.java237 boolean supportOptions, boolean isBlocked, boolean groupSubscribe, int rclMaximum) { in getUceUtilsProxy() argument
266 return isBlocked; in getUceUtilsProxy()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSyncRunner.java191 boolean isBlocked = false; in determinePostRunState()
/frameworks/base/core/java/android/printservice/
DPrintJob.java156 public boolean isBlocked() { in isBlocked() method in PrintJob
/frameworks/base/telecomm/java/android/telecom/
DConnection.java3488 public CallFilteringCompletionInfo(boolean isBlocked, boolean isInContacts, in CallFilteringCompletionInfo() argument
3491 mIsBlocked = isBlocked; in CallFilteringCompletionInfo()
3525 public boolean isBlocked() { in isBlocked() method in Connection.CallFilteringCompletionInfo
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java352 assertEquals(expected.isBlocked(), actual.isBlocked()); in compareGroups()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2850 final boolean isBlocked = isDenied || (mRestrictBackground && !isAllowed);
2858 notifyApp = wasBlocked != isBlocked;

12