OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:BlockedNumberContract
(Results
1 - 9
of
9
) sorted by null
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
NumberBlockingAppTest.java
20
import android.provider.
BlockedNumberContract
;
27
assertTrue(
BlockedNumberContract
.canCurrentUserBlockNumbers(mContext));
30
BlockedNumberContract
.BlockedNumbers.CONTENT_URI,
31
BlockedNumberContract
.BlockedNumbers.COLUMN_ORIGINAL_NUMBER + "= ?",
36
assertTrue(
BlockedNumberContract
.canCurrentUserBlockNumbers(mContext));
42
assertFalse(
BlockedNumberContract
.canCurrentUserBlockNumbers(mContext));
45
BlockedNumberContract
.isBlocked(mContext, mBlockedPhoneNumber);
52
assertTrue(
BlockedNumberContract
.canCurrentUserBlockNumbers(mContext));
55
BlockedNumberContract
.BlockedNumbers.CONTENT_URI,
56
BlockedNumberContract
.BlockedNumbers.COLUMN_ORIGINAL_NUMBER + "= ?"
[
all
...]
/cts/tests/tests/provider/src/android/provider/cts/
BlockedNumberContractTest.java
27
import android.provider.
BlockedNumberContract
;
28
import android.provider.
BlockedNumberContract
.BlockedNumbers;
37
* CTS tests for blockednumber provider accessed through {@link
BlockedNumberContract
}.
93
BlockedNumberContract
.isBlocked(mContext, "123");
99
BlockedNumberContract
.unblock(mContext, "1234567890");
104
assertTrue(
BlockedNumberContract
.canCurrentUserBlockNumbers(mContext));
114
assertNull(mContentResolver.getType(
BlockedNumberContract
.AUTHORITY_URI));
120
assertTrue(
BlockedNumberContract
.canCurrentUserBlockNumbers(mContext));
127
assertTrue(
BlockedNumberContract
.isBlocked(mContext, "1234567890"));
128
assertFalse(
BlockedNumberContract
.isBlocked(mContext, "2234567890"))
[
all
...]
BlockedNumberBackupRestoreTest.java
24
import android.provider.
BlockedNumberContract
;
140
cv.put(
BlockedNumberContract
.BlockedNumbers.COLUMN_ORIGINAL_NUMBER, number);
141
mContentResolver.insert(
BlockedNumberContract
.BlockedNumbers.CONTENT_URI, cv);
147
BlockedNumberContract
.BlockedNumbers.CONTENT_URI,
148
BlockedNumberContract
.BlockedNumbers.COLUMN_ORIGINAL_NUMBER + "= ?",
155
BlockedNumberContract
.BlockedNumbers.CONTENT_URI, null, null, null, null)
158
assertTrue(
BlockedNumberContract
.isBlocked(mContext, blockedNumber));
163
mContentResolver.delete(
BlockedNumberContract
.BlockedNumbers.CONTENT_URI, null, null);
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
BlockedNumberProviderTest.java
40
import android.provider.
BlockedNumberContract
;
41
import android.provider.
BlockedNumberContract
.BlockedNumbers;
42
import android.provider.
BlockedNumberContract
.SystemContract;
122
Uri.withAppendedPath(
BlockedNumberContract
.AUTHORITY_URI, "invalid")));
351
BlockedNumberContract
.isBlocked(mMockContext, "123");
357
BlockedNumberContract
.unblock(mMockContext, "123");
467
assertTrue(
BlockedNumberContract
.canCurrentUserBlockNumbers(mMockContext));
507
assertEquals(0,
BlockedNumberContract
.unblock(mMockContext, "12345"));
510
assertEquals(2,
BlockedNumberContract
.unblock(mMockContext, "5004541111"));
513
assertEquals(1,
BlockedNumberContract
.unblock(mMockContext, "abc.def@gmail.com"))
[
all
...]
/frameworks/base/core/java/android/provider/
BlockedNumberContract.java
144
public class
BlockedNumberContract
{
145
private
BlockedNumberContract
() {
290
* <p>This is a wrapper over {@link
BlockedNumberContract
} that also manages the blocking
/packages/services/Telecomm/src/com/android/server/telecom/settings/
BlockedNumbersActivity.java
34
import android.provider.
BlockedNumberContract
;
56
* Activity to manage blocked numbers using {@link
BlockedNumberContract
}.
66
BlockedNumberContract
.BlockedNumbers.COLUMN_ID,
67
BlockedNumberContract
.BlockedNumbers.COLUMN_ORIGINAL_NUMBER
71
BlockedNumberContract
.BlockedNumbers.COLUMN_ORIGINAL_NUMBER + " NOTNULL) AND (" +
72
BlockedNumberContract
.BlockedNumbers.COLUMN_ORIGINAL_NUMBER + " != '' ))";
100
if (!
BlockedNumberContract
.canCurrentUserBlockNumbers(this)) {
124
String[] fromColumns = {
BlockedNumberContract
.BlockedNumbers.COLUMN_ORIGINAL_NUMBER};
147
BlockedNumberContract
.SystemContract.ACTION_BLOCK_SUPPRESSION_STATE_CHANGED));
172
if (
BlockedNumberContract
.SystemContract.getBlockSuppressionStatus(this).isSuppressed)
[
all
...]
/prebuilts/sdk/25/
android.jar
/prebuilts/sdk/26/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 298 milliseconds