Home
last modified time | relevance | path

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

123

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DRawContactUtil.java36 public static int 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()
66 public static String[] queryByRawContactId(ContentResolver resolver, in queryByRawContactId()
78 public static List<String[]> queryByContactId(ContentResolver resolver, long contactId, in queryByContactId()
85 public static void delete(ContentResolver resolver, long rawContactId, in delete()
94 public static long queryContactIdByRawContactId(ContentResolver resolver, long rawContactid) { in queryContactIdByRawContactId()
106 public static boolean rawContactExistsById(ContentResolver resolver, long rawContactid) { in rawContactExistsById()
DDataUtil.java35 public static String[] queryById(ContentResolver resolver, long dataId, String[] projection, in queryById()
42 public static String[] queryById(ContentResolver resolver, long dataId, String[] projection) { in queryById()
46 public static void insertName(ContentResolver resolver, long rawContactId, String name) { in insertName()
54 public static long insertPhoneNumber(ContentResolver resolver, long rawContactId, in insertPhoneNumber()
62 public static long insertEmail(ContentResolver resolver, long rawContactId, String email) { in insertEmail()
69 public static void insertAutoGeneratedName(ContentResolver resolver, long rawContactId) { in insertAutoGeneratedName()
73 public static long insertData(ContentResolver resolver, long rawContactId, in insertData()
83 public static void delete(ContentResolver resolver, long dataId) { in delete()
88 public static void update(ContentResolver resolver, long dataId, ContentValues values) { in update()
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()
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 int 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()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DResolverAccessTestUtils.java47 public static void assertResolver_readWrite(Uri uri, ContentResolver resolver) in assertResolver_readWrite()
54 public static void assertResolver_noReadNoWrite(Uri uri, ContentResolver resolver) in assertResolver_noReadNoWrite()
60 public static void assertResolver_noRead(Uri uri, ContentResolver resolver) throws Exception { in assertResolver_noRead()
68 public static void assertResolver_noWrite(Uri uri, ContentResolver resolver) throws Exception { in assertResolver_noWrite()
76 public static void assertResolver_readOnly(Uri uri, ContentResolver resolver) throws Exception { in assertResolver_readOnly()
83 public static void assertResolver_canReadThumbnail(Uri uri, ContentResolver resolver) in assertResolver_canReadThumbnail()
88 public static void assertResolver_cannotReadThumbnail(Uri uri, ContentResolver resolver) in assertResolver_cannotReadThumbnail()
97 Set<File> notExpected, ContentResolver resolver) { in assertResolver_listFiles()
123 public static void assertResolver_uriIsFavorite(Uri uri, ContentResolver resolver) { in assertResolver_uriIsFavorite()
127 public static void assertResolver_uriIsNotFavorite(Uri uri, ContentResolver resolver) { in assertResolver_uriIsNotFavorite()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DPowerManagerTest.java85 ContentResolver resolver = getContext().getContentResolver(); in setUp() local
97 ContentResolver resolver = getContext().getContentResolver(); in tearDown() local
115 ContentResolver resolver = getContext().getContentResolver(); in testPowerManager_getPowerSaveMode() local
138 ContentResolver resolver = getContext().getContentResolver(); in testPowerManager_setDynamicPowerSavings() local
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DResultsAssertionsUtils.java70 public static void assertPersistedGrant(Uri uri, ContentResolver resolver) { in assertPersistedGrant()
100 final ContentResolver resolver = context.getContentResolver(); in assertRedactedReadOnlyAccess() local
121 final ContentResolver resolver = in assertExtension() local
145 private static void assertVideoRedactedReadOnlyAccess(Uri uri, ContentResolver resolver) in assertVideoRedactedReadOnlyAccess()
167 private static void assertImageRedactedReadOnlyAccess(Uri uri, ContentResolver resolver) in assertImageRedactedReadOnlyAccess()
215 public static void assertReadOnlyAccess(Uri uri, ContentResolver resolver) throws Exception { in assertReadOnlyAccess()
223 private static void assertNoWriteAccess(Uri uri, ContentResolver resolver) throws Exception { in assertNoWriteAccess()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUriGrantsTest.java86 final ContentResolver resolver = getContext().getContentResolver(); in testGrantPersistableUriPermission() local
223 final ContentResolver resolver = getContext().getContentResolver(); in testGrantPersistablePrefixUriPermission() local
275 final ContentResolver resolver = getContext().getContentResolver(); in testDirectGrantRevokeUriPermission() local
342 final ContentResolver resolver = getContext().getContentResolver(); in testDirectGrantReceiverRevokeUriPermission() local
/cts/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java106 final ContentResolver resolver = mActivity.getContentResolver(); in testUpdate12_24() local
173 final ContentResolver resolver = mActivity.getContentResolver(); local
201 final ContentResolver resolver = mActivity.getContentResolver(); in registerForChanges() local
/cts/hostsidetests/appsecurity/test-apps/SettingsProviderInvalidKeyTestApp/src/com/android/cts/settingsproviderinvalidkeytestapp/
DSettingsProviderInvalidKeyTest.java29 final ContentResolver resolver = getContext().getContentResolver(); in testLongKeysAreRejected() local
/cts/tests/tests/content/src/android/content/cts/
DBuggyProviderTest.java47 ContentResolver resolver = mContext.getContentResolver(); in testGetTypeViaResolverDoesntCrashSystem() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0693/src/android/security/cts/CVE_2021_0693/
DPocActivity.java33 ContentResolver resolver = PocActivity.this.getContentResolver(); in onCreate() local
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DRotationSession.java144 final ContentResolver resolver = mContext.getContentResolver(); in observe() local
151 final ContentResolver resolver = mContext.getContentResolver(); in stopObserver() local
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java311 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testOpenVirtual() local
415 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testTree() local
722 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testTransferDocument() local
831 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testFindDocumentPathInScopedAccess() local
947 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testCreateWebLink() local
1018 final ContentResolver resolver = context.getContentResolver(); in testAfterMoveDocumentInStorage_revokeUriPermission() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCACertWriter.java46 ContentResolver resolver = applicationContext.getContentResolver(); in extractCertToDownloads() local
/cts/tests/tests/tv/src/android/media/tv/cts/
DStubTunerTvInputService.java52 public static void insertChannels(ContentResolver resolver, TvInputInfo info) { in insertChannels()
75 public static void deleteChannels(ContentResolver resolver, TvInputInfo info) { in deleteChannels()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDynamicConfigDeviceSide.java57 ContentResolver resolver = appContext.getContentResolver(); in DynamicConfigDeviceSide() local
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/
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 …]
/cts/tests/location/location_fine/src/android/location/cts/fine/
DScanningSettingsTest.java197 UiObject2 pref, ContentResolver resolver, String settingKey) { in clickAndWaitForSettingChange()
226 final ContentResolver resolver = mContext.getContentResolver(); in toggleSettingAndVerify() local
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerTestCase.java84 final ContentResolver resolver = context.getContentResolver(); in enableAutoCapSettings() local
101 final ContentResolver resolver = context.getContentResolver(); in resetAutoCapSettings() local
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java248 ContentResolver resolver = context.getContentResolver(); in testOpenFileOutsideOfScopeThrowsException() local
268 ContentResolver resolver = context.getContentResolver(); in testDeleteFileOutsideOfScopeThrowsException() local
291 ContentResolver resolver = context.getContentResolver(); in testInsertFileOutsideOfScopeThrowsException() local
310 ContentResolver resolver = context.getContentResolver(); in testGetLastOutgoingCall() local
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/
DMediaStoreWriteOperation.java48 ContentResolver resolver = context.getContentResolver(); in createImageFileToMediaStoreReturnUri() local
/cts/tests/tests/uidmigration/src/android/uidmigration/cts/
DAppIdMigrationTest.kt128 val resolver = mContext.contentResolver in <lambda>() constant
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DCloudPhotoPickerTest.java289 final ContentResolver resolver = mContext.getContentResolver(); in testUriAccessWithValidProjection() local
324 final ContentResolver resolver = mContext.getContentResolver(); in testUriAccessWithInvalidProjection() local

123