Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java168 public boolean isBlocked() { in isBlocked() method in NotificationChannelGroup
255 out.attribute(null, ATT_BLOCKED, Boolean.toString(isBlocked())); in writeXml()
270 record.put(ATT_BLOCKED, isBlocked()); in toJson()
298 return isBlocked() == that.isBlocked() && in equals()
308 return Objects.hash(getId(), getName(), getDescription(), isBlocked(), getChannels(), in hashCode()
316 cloned.setBlocked(isBlocked()); in clone()
/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.java310 && BlockChecker.isBlocked(mContext, nInd.getFrom().getString(), null)) { in decodeWapPdu()
DInboundSmsHandler.java831 block = BlockChecker.isBlocked(mContext, tracker.getDisplayAddress(), null); in processMessagePart()
901 block = BlockChecker.isBlocked(mContext, in processMessagePart()
/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/core/java/android/print/
DPrintJob.java140 public boolean isBlocked() { in isBlocked() method in PrintJob
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSyncRunner.java191 boolean isBlocked = false; in determinePostRunState()
/frameworks/base/core/java/android/printservice/
DPrintJob.java155 public boolean isBlocked() { in isBlocked() method in PrintJob
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java576 return group.isBlocked(); in isGroupBlocked()
614 group.setBlocked(oldGroup.isBlocked()); in createNotificationChannelGroup()
619 if (group.isBlocked() != oldGroup.isBlocked()) { in createNotificationChannelGroup()
DNotificationManagerService.java2084 if (preUpdate.isBlocked() != update.isBlocked()) {
2090 update.isBlocked())
5253 if (isBlocked(r, mUsageStats)) {
5287 protected boolean isBlocked(NotificationRecord r, NotificationUsageStats usageStats) {
5288 if (isBlocked(r)) {
5296 private boolean isBlocked(NotificationRecord r) {
5593 if (isBlocked(r)) {
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java234 assertEquals(expected.isBlocked(), actual.isBlocked()); in compareGroups()
DNotificationManagerServiceTest.java719 assertFalse(mService.isBlocked(r, mUsageStats)); in testBlockedNotifications_suspended()
729 assertTrue(mService.isBlocked(r, mUsageStats)); in testBlockedNotifications_blockedChannel()
824 assertTrue(mService.isBlocked(r, mUsageStats)); in testBlockedNotifications_blockedChannelGroup()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2623 final boolean isBlocked = isBlacklisted || (mRestrictBackground && !isWhitelisted); in setUidPolicyUncheckedUL()
2631 notifyApp = wasBlocked != isBlocked; in setUidPolicyUncheckedUL()
/frameworks/base/services/
Dart-profile9610 HSPLcom/android/server/notification/NotificationManagerService;->isBlocked(Lcom/android/server/noti…
9611 HSPLcom/android/server/notification/NotificationManagerService;->isBlocked(Lcom/android/server/noti…
/frameworks/base/non-updatable-api/
Dcurrent.txt5800 method public boolean isBlocked();
36579 method public boolean isBlocked();
36726 method @MainThread public boolean isBlocked();
36814 method @WorkerThread public static boolean isBlocked(android.content.Context, String);
/frameworks/base/api/
Dcurrent.txt5800 method public boolean isBlocked();
36723 method public boolean isBlocked();
36870 method @MainThread public boolean isBlocked();
36958 method @WorkerThread public static boolean isBlocked(android.content.Context, String);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt23033 method public boolean isBlocked();
23168 method public boolean isBlocked();