/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;
|
/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 | 66 return mBlockCheckerAdapter.isBlocked(mContext, params[0]); 73 protected void onPostExecute(Boolean isBlocked) { 77 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 | 137 oldEntry.entryEndUtcMillis, oldEntry.isBlocked()); 150 oldEntry.isBlocked()); 163 oldEntry.entryEndUtcMillis, oldEntry.isBlocked()); 695 long entryEndUtcMillis, boolean isBlocked) { 696 this(channelId, program, null, entryStartUtcMillis, entryEndUtcMillis, isBlocked); 700 long entryStartUtcMillis, long entryEndUtcMillis, boolean isBlocked) { 706 mIsBlocked = isBlocked; 727 boolean isBlocked() {
|
ProgramListAdapter.java | 88 String gapTitle = tableEntry.isBlocked() ? mBlockedProgramTitle : mNoInfoProgramTitle;
|
/external/r8/src/main/java/com/android/tools/r8/ir/regalloc/ |
RegisterMove.java | 41 public boolean isBlocked(Set<RegisterMove> moveSet, Map<Integer, Integer> valueMap) {
|
RegisterMoveScheduler.java | 57 if (!move.isBlocked(moveSet, valueMap)) { 68 assert !move.isBlocked(moveSet, valueMap); 81 if (!other.isBlocked(moveSet, valueMap)) {
|
/frameworks/base/core/java/android/print/ |
PrintJob.java | 80 * @see #isBlocked() 140 public boolean isBlocked() {
|
/cts/tests/tests/print/src/android/print/cts/ |
InterfaceForAppsTest.java | 220 assertTrue(job.isBlocked()); 311 eventually(() -> assertTrue(job1.isBlocked())); 342 assertTrue(job1again.isBlocked());
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
BlockNumberDialogFragment.java | 111 final boolean isBlocked = getArguments().containsKey(ARG_BLOCK_ID); 130 if (isBlocked) { 160 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() ?
|
/packages/apps/Settings/src/com/android/settings/network/ |
TetherPreferenceController.java | 115 final boolean isBlocked = 119 return !isBlocked;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
SyncRunner.java | 191 boolean isBlocked = false;
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
PhoneCallDetails.java | 121 public 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 | 144 if (printJob.isQueued() || printJob.isStarted() || printJob.isBlocked()) { 199 if (printJob.isBlocked()) {
|