Home
last modified time | relevance | path

Searched defs:resolver (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DRawContactUtil.java36 public static void update(ContentResolver resolver, long rawContactId, in update()
42 public static long createRawContactWithName(ContentResolver resolver, Account account, in createRawContactWithName()
49 public static long createRawContactWithAutoGeneratedName(ContentResolver resolver, in createRawContactWithAutoGeneratedName()
56 public static long insertRawContact(ContentResolver resolver, Account account) { in insertRawContact()
64 public static String[] queryByRawContactId(ContentResolver resolver, in queryByRawContactId()
76 public static List<String[]> queryByContactId(ContentResolver resolver, long contactId, in queryByContactId()
83 public static void delete(ContentResolver resolver, long rawContactId, in delete()
92 public static long queryContactIdByRawContactId(ContentResolver resolver, long rawContactid) { in queryContactIdByRawContactId()
104 public static boolean rawContactExistsById(ContentResolver resolver, long rawContactid) { in rawContactExistsById()
DDataUtil.java35 public static String[] queryById(ContentResolver resolver, long dataId, String[] projection) { in queryById()
41 public static void insertName(ContentResolver resolver, long rawContactId, String name) { in insertName()
49 public static long insertPhoneNumber(ContentResolver resolver, long rawContactId, in insertPhoneNumber()
57 public static long insertEmail(ContentResolver resolver, long rawContactId, String email) { in insertEmail()
64 public static void insertAutoGeneratedName(ContentResolver resolver, long rawContactId) { in insertAutoGeneratedName()
68 public static long insertData(ContentResolver resolver, long rawContactId, in insertData()
78 public static void delete(ContentResolver resolver, long dataId) { in delete()
83 public static void update(ContentResolver resolver, long dataId, ContentValues values) { in update()
DDeletedContactUtil.java35 public static long queryDeletedTimestampForContactId(ContentResolver resolver, long contactId) { in queryDeletedTimestampForContactId()
52 public static long getCount(ContentResolver resolver) { in getCount()
69 public static List<String[]> query(ContentResolver resolver, String[] projection) { in query()
79 public static List<String[]> querySinceTimestamp(ContentResolver resolver, String[] projection, in querySinceTimestamp()
DContactUtil.java36 public static void update(ContentResolver resolver, long contactId, in update()
42 public static void delete(ContentResolver resolver, long contactId) { in delete()
47 public static boolean recordExistsForContactId(ContentResolver resolver, long contactId) { in recordExistsForContactId()
59 public static long queryContactLastUpdatedTimestamp(ContentResolver resolver, long contactId) { in queryContactLastUpdatedTimestamp()
126 public static void setAggregationException(ContentResolver resolver, int type, in setAggregationException()
DDatabaseAsserts.java38 public static void assertDeleteIsUnsupported(ContentResolver resolver, Uri uri) { in assertDeleteIsUnsupported()
48 public static void assertInsertIsUnsupported(ContentResolver resolver, Uri uri) { in assertInsertIsUnsupported()
64 public static ContactIdPair assertAndCreateContact(ContentResolver resolver) { in assertAndCreateContact()
73 public static ContactIdPair assertAndCreateContactWithName(ContentResolver resolver, in assertAndCreateContactWithName()
88 public static ContactIdPair assertAndCreateContact(ContentResolver resolver, Account account) { in assertAndCreateContact()
104 public static void assertHasDeleteLogGreaterThan(ContentResolver resolver, long contactId, in assertHasDeleteLogGreaterThan()
145 public static void assertStoredValuesInUriMatchExactly(ContentResolver resolver, Uri uri, in assertStoredValuesInUriMatchExactly()
166 public static void assertStoredValuesInUriMatchExactly(ContentResolver resolver, Uri uri, in assertStoredValuesInUriMatchExactly()
284 public static void checkProjection(ContentResolver resolver, in checkProjection()
316 private static void checkProjectionInner(ContentResolver resolver, in checkProjectionInner()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsBackupHelper.java53 ContentResolver resolver = mContext.getContentResolver(); in performBackup() local
130 ContentResolver resolver = mContext.getContentResolver(); in restoreEntity() local
DTestListAdapter.java165 ContentResolver resolver = context.getContentResolver(); in TestListAdapter() local
236 ContentResolver resolver = mContext.getContentResolver(); in getRefreshResults() local
264 ContentResolver resolver = mContext.getContentResolver(); in doInBackground() local
DPassFailButtons.java324 ContentResolver resolver = activity.getContentResolver(); in hasSeenInfoDialog() local
386 ContentResolver resolver = activity.getContentResolver(); in markSeenInfoDialog() local
DTestResultsProvider.java222 ContentResolver resolver = context.getContentResolver(); in setTestResult() local
/cts/tests/tests/tv/src/android/media/tv/cts/
DStubTunerTvInputService.java48 public static void insertChannels(ContentResolver resolver, TvInputInfo info) { in insertChannels()
71 public static void deleteChannels(ContentResolver resolver, TvInputInfo info) { in deleteChannels()
/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_StreamItemsTest.java84 static long insertRawContact(ContentResolver resolver) { in insertRawContact()
96 static Uri insertViaContentDirectoryUri(ContentResolver resolver, long rawContactId) { in insertViaContentDirectoryUri()
DSettings_NameValueTableTest.java78 protected static boolean putString(ContentResolver resolver, Uri uri, String name, in putString()
DCalendarTest.java198 public static int deleteCalendarById(ContentResolver resolver, long id) { in deleteCalendarById()
203 public static int deleteCalendarByAccount(ContentResolver resolver, String account) { in deleteCalendarByAccount()
208 public static Cursor getCalendarsByAccount(ContentResolver resolver, String account) { in getCalendarsByAccount()
256 public static Cursor getSyncStateById(ContentResolver resolver, long id) { in getSyncStateById()
264 public static Cursor getSyncStateByAccount(ContentResolver resolver, String account) { in getSyncStateByAccount()
276 public static int deleteSyncStateById(ContentResolver resolver, long id) { in deleteSyncStateById()
285 public static int deleteSyncStateByAccount(ContentResolver resolver, String account, in deleteSyncStateByAccount()
542 public static int deleteEvent(ContentResolver resolver, Uri uri, ContentValues values) { in deleteEvent()
548 public static int deleteEventAsSyncAdapter(ContentResolver resolver, Uri uri, in deleteEventAsSyncAdapter()
554 public static Cursor getEventsByAccount(ContentResolver resolver, String account) { in getEventsByAccount()
[all …]
DContactsContract_RawContactsTest.java217 private long getContactLastUpdatedTimestampByRawContactId(ContentResolver resolver, in getContactLastUpdatedTimestampByRawContactId()
DContactsContract_PinnedPositionsTest.java396 private static void applyBatch(ContentResolver resolver, in applyBatch()
/cts/tests/tests/calllog/src/android/calllog/cts/
DCallLogBackupTest.java215 ContentResolver resolver = getContext().getContentResolver(); in clearCallLog() local
234 ContentResolver resolver = getContext().getContentResolver(); in getCalls() local
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java236 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testTree() local
305 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in getColumn() local
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerUnaffiliatedAuthenticatorTests.java55 ContentResolver resolver = getContext().getContentResolver(); in setUp() local
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java118 final ContentResolver resolver = getContext().getContentResolver(); in assertWritingContentUriNotAllowed() local
157 final ContentResolver resolver = getContext().getContentResolver(); in assertWritingContentUriAllowed() local
1253 final ContentResolver resolver = getContext().getContentResolver(); in testGrantPersistableUriPermission() local
1429 final ContentResolver resolver = getContext().getContentResolver(); in testGrantPersistablePrefixUriPermission() local
1480 final ContentResolver resolver = getContext().getContentResolver(); in testDirectGrantRevokeUriPermission() local
1549 final ContentResolver resolver = getContext().getContentResolver(); in testDirectGrantReceiverRevokeUriPermission() local
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java311 public static void assertMediaNoAccess(ContentResolver resolver) throws Exception { in assertMediaNoAccess()
324 public static void assertMediaReadWriteAccess(ContentResolver resolver) throws Exception { in assertMediaReadWriteAccess()
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java770 final ContentResolver resolver = mContext.getContentResolver(); in testMatchWithIntent() local