HomeSort by relevance Sort by last modified time
    Searched refs:isBlocked (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
BlockChecker.java 20 public static boolean isBlocked(Context context, String phoneNumber) {
21 boolean isBlocked = false;
28 isBlocked = true;
38 return isBlocked;
WapPushOverSms.java 230 && BlockChecker.isBlocked(mContext, nInd.getFrom().getString())) {
  /packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
BlockCheckerAdapter.java 26 public boolean isBlocked(Context context, String number) {
27 return BlockChecker.isBlocked(context, number);
AsyncBlockCheckFilter.java 65 return mBlockCheckerAdapter.isBlocked(mContext, params[0]);
72 protected void onPostExecute(Boolean isBlocked) {
76 if (isBlocked) {
  /cts/tests/tests/provider/src/android/provider/cts/
BlockedNumberContractTest.java 93 BlockedNumberContract.isBlocked(mContext, "123");
127 assertTrue(BlockedNumberContract.isBlocked(mContext, "1234567890"));
128 assertFalse(BlockedNumberContract.isBlocked(mContext, "2234567890"));
131 assertTrue(BlockedNumberContract.isBlocked(mContext, "2345678901"));
132 assertTrue(BlockedNumberContract.isBlocked(mContext, "+12345678901"));
135 assertTrue(BlockedNumberContract.isBlocked(mContext, "1234@abcd.com"));
138 assertTrue(BlockedNumberContract.isBlocked(mContext, "2345@abcd.com"));
140 assertFalse(BlockedNumberContract.isBlocked(mContext, "9999@abcd.com"));
141 assertFalse(BlockedNumberContract.isBlocked(mContext, "random string"));
152 assertFalse(BlockedNumberContract.isBlocked(mContext, "(650)1004000"))
    [all...]
BlockedNumberBackupRestoreTest.java 158 assertTrue(BlockedNumberContract.isBlocked(mContext, blockedNumber));
  /cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
NumberBlockingAppTest.java 45 BlockedNumberContract.isBlocked(mContext, mBlockedPhoneNumber);
65 assertTrue(BlockedNumberContract.isBlocked(mContext, mBlockedPhoneNumber));
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
UpdateDestinationBlockedAction.java 108 final boolean isBlocked = actionParameters.getBoolean(KEY_BLOCKED);
111 BugleDatabaseOperations.updateDestination(db, destination, isBlocked);
117 if (isBlocked) {
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
AsyncBlockCheckFilterTest.java 78 .isBlocked(any(Context.class), eq(TEST_HANDLE.getSchemeSpecificPart()));
92 .isBlocked(any(Context.class), eq(TEST_HANDLE.getSchemeSpecificPart()));
  /packages/services/Telecomm/src/com/android/server/telecom/settings/
BlockNumberTaskFragment.java 50 if (BlockedNumberContract.isBlocked(getContext(), mNumber)) {
  /packages/apps/TV/src/com/android/tv/guide/
ProgramManager.java 101 long entryEndUtcMillis, boolean isBlocked) {
102 this(channelId, program, null, entryStartUtcMillis, entryEndUtcMillis, isBlocked);
106 long entryStartUtcMillis, long entryEndUtcMillis, boolean isBlocked) {
112 mIsBlocked = isBlocked;
133 public boolean isBlocked() {
220 oldEntry.entryEndUtcMillis, oldEntry.isBlocked());
231 oldEntry.isBlocked());
242 oldEntry.entryEndUtcMillis, oldEntry.isBlocked());
ProgramListAdapter.java 90 String gapTitle = tableEntry.isBlocked() ? mBlockedProgramTitle : mNoInfoProgramTitle;
  /frameworks/base/core/java/android/print/
PrintJob.java 80 * @see #isBlocked()
140 public boolean isBlocked() {
  /packages/apps/Dialer/src/com/android/dialer/filterednumber/
BlockNumberDialogFragment.java 134 final boolean isBlocked = getArguments().containsKey(ARG_BLOCK_ID);
155 if (isBlocked) {
181 if (isBlocked) {
  /frameworks/base/core/java/android/provider/
BlockedNumberContract.java 114 * {@link #isBlocked(Context, String)}.
244 public static boolean isBlocked(Context context, String phoneNumber) {
347 * {@link #isBlocked(Context, String)}.
  /packages/apps/Messaging/src/com/android/messaging/datamodel/data/
PeopleOptionsItemData.java 113 final int resourceId = otherParticipant.isBlocked() ?
ParticipantData.java 483 public boolean isBlocked() {
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SyncRunner.java 191 boolean isBlocked = false;
  /packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
BlockedNumberProviderTest.java 351 BlockedNumberContract.isBlocked(mMockContext, "123");
398 // Dialer check is executed twice: once for insert, and once for isBlocked.
423 // Dialer check is executed twice: once for insert, and once for isBlocked.
550 BlockedNumberContract.isBlocked(mMockContext, "123");
588 BlockedNumberContract.isBlocked(mMockContext, "123");
601 assertEquals(expected, BlockedNumberContract.isBlocked(mMockContext, phoneNumber));
  /packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
BlockedNumberProvider.java 310 res.putBoolean(BlockedNumberContract.RES_NUMBER_IS_BLOCKED, isBlocked(arg));
383 private boolean isBlocked(String phoneNumber) {
391 Log.d(TAG, String.format("isBlocked: in=%s, e164=%s", phoneNumber, inE164));
454 return isBlocked(phoneNumber);
  /frameworks/base/core/java/android/printservice/
PrintJob.java 155 public boolean isBlocked() {
204 * #isQueued()} or {@link #isBlocked()} returns true and you started
213 * @see #isBlocked()
236 * @see #isBlocked()
268 * #isQueued()} or {@link #isStarted()} or {@link #isBlocked()}
277 * @see #isBlocked()
290 * #isQueued()} or {@link #isStarted() or #isBlocked()} returns
298 * @see #isBlocked()
  /packages/experimental/PrintService/src/foo/bar/printservice/
MyPrintService.java 149 if (printJob.isQueued() || printJob.isStarted() || printJob.isBlocked()) {
204 if (printJob.isBlocked()) {
  /packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
PeopleAndOptionsFragment.java 155 if (item.getOtherParticipant().isBlocked()) {
  /cts/tests/tests/print/src/android/print/cts/
PrintJobTest.java 368 eventually(() -> assertTrue(job.isBlocked()));
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallLogListItemViewHolder.java 203 public boolean isBlocked;

Completed in 778 milliseconds

1 2