| /cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
| D | RawContactUtil.java | 36 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()
|
| D | DataUtil.java | 35 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()
|
| D | DeletedContactUtil.java | 35 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()
|
| D | DatabaseAsserts.java | 38 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()
|
| D | ContactUtil.java | 36 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/ |
| D | ResolverAccessTestUtils.java | 47 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/ |
| D | PowerManagerTest.java | 81 ContentResolver resolver = getContext().getContentResolver(); in setUp() local 93 ContentResolver resolver = getContext().getContentResolver(); in tearDown() local 107 ContentResolver resolver = getContext().getContentResolver(); in testPowerManager_getPowerSaveMode() local 126 ContentResolver resolver = getContext().getContentResolver(); in testPowerManager_setDynamicPowerSavings() local
|
| /cts/tests/PhotoPicker/src/android/photopicker/cts/util/ |
| D | ResultsAssertionsUtils.java | 65 public static void assertPersistedGrant(Uri uri, ContentResolver resolver) { in assertPersistedGrant() 95 final ContentResolver resolver = context.getContentResolver(); in assertRedactedReadOnlyAccess() local 116 final ContentResolver resolver = in assertExtension() local 140 private static void assertVideoRedactedReadOnlyAccess(Uri uri, ContentResolver resolver) in assertVideoRedactedReadOnlyAccess() 162 private static void assertImageRedactedReadOnlyAccess(Uri uri, ContentResolver resolver) in assertImageRedactedReadOnlyAccess() 210 public static void assertReadOnlyAccess(Uri uri, ContentResolver resolver) throws Exception { in assertReadOnlyAccess() 218 private static void assertNoWriteAccess(Uri uri, ContentResolver resolver) throws Exception { in assertNoWriteAccess()
|
| /cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
| D | UriGrantsTest.java | 86 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/hostsidetests/appsecurity/test-apps/SettingsProviderInvalidKeyTestApp/src/com/android/cts/settingsproviderinvalidkeytestapp/ |
| D | SettingsProviderInvalidKeyTest.java | 29 final ContentResolver resolver = getContext().getContentResolver(); in testLongKeysAreRejected() local
|
| /cts/tests/tests/content/src/android/content/cts/ |
| D | BuggyProviderTest.java | 45 ContentResolver resolver = mContext.getContentResolver(); in testGetTypeViaResolverDoesntCrashSystem() local
|
| /cts/tests/tests/widget/src/android/widget/cts/ |
| D | TextClockTest.java | 98 final ContentResolver resolver = mActivity.getContentResolver(); in testUpdate12_24() local 165 final ContentResolver resolver = mActivity.getContentResolver(); local 193 final ContentResolver resolver = mActivity.getContentResolver(); in registerForChanges() local
|
| /cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0693/src/android/security/cts/CVE_2021_0693/ |
| D | PocActivity.java | 33 ContentResolver resolver = PocActivity.this.getContentResolver(); in onCreate() local
|
| /cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
| D | RotationSession.java | 144 final ContentResolver resolver = mContext.getContentResolver(); in observe() local 151 final ContentResolver resolver = mContext.getContentResolver(); in stopObserver() local
|
| /cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/ |
| D | MediaStoreWriteOperation.java | 47 ContentResolver resolver = context.getContentResolver(); in createImageFileToMediaStore() local
|
| /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
| D | DocumentsClientTest.java | 288 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testOpenVirtual() local 392 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testTree() local 699 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testTransferDocument() local 808 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testFindDocumentPathInScopedAccess() local 924 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testCreateWebLink() local 995 final ContentResolver resolver = context.getContentResolver(); in testAfterMoveDocumentInStorage_revokeUriPermission() local
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
| D | CACertWriter.java | 46 ContentResolver resolver = applicationContext.getContentResolver(); in extractCertToDownloads() local
|
| /cts/tests/tests/tv/src/android/media/tv/cts/ |
| D | StubTunerTvInputService.java | 52 public static void insertChannels(ContentResolver resolver, TvInputInfo info) { in insertChannels() 75 public static void deleteChannels(ContentResolver resolver, TvInputInfo info) { in deleteChannels()
|
| /cts/tests/location/location_fine/src/android/location/cts/fine/ |
| D | ScanningSettingsTest.java | 171 private void clickAndWaitForSettingChange(UiObject2 pref, ContentResolver resolver, in clickAndWaitForSettingChange() 201 final ContentResolver resolver = mContext.getContentResolver(); in toggleSettingAndVerify() local
|
| /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
| D | DynamicConfigDeviceSide.java | 57 ContentResolver resolver = appContext.getContentResolver(); in DynamicConfigDeviceSide() local
|
| /cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
| D | CalendarTest.java | 199 public static int deleteCalendarById(ContentResolver resolver, long id) { in deleteCalendarById() 204 public static int deleteCalendarByAccount(ContentResolver resolver, String account) { in deleteCalendarByAccount() 209 public static Cursor getCalendarsByAccount(ContentResolver resolver, String account) { in getCalendarsByAccount() 257 public static Cursor getSyncStateById(ContentResolver resolver, long id) { in getSyncStateById() 265 public static Cursor getSyncStateByAccount(ContentResolver resolver, String account) { in getSyncStateByAccount() 277 public static int deleteSyncStateById(ContentResolver resolver, long id) { in deleteSyncStateById() 286 public static int deleteSyncStateByAccount(ContentResolver resolver, String account, in deleteSyncStateByAccount() 543 public static int deleteEvent(ContentResolver resolver, Uri uri, ContentValues values) { in deleteEvent() 549 public static int deleteEventAsSyncAdapter(ContentResolver resolver, Uri uri, in deleteEventAsSyncAdapter() 555 public static Cursor getEventsByAccount(ContentResolver resolver, String account) { in getEventsByAccount() [all …]
|
| /cts/tests/tests/text/src/android/text/method/cts/ |
| D | KeyListenerTestCase.java | 78 final ContentResolver resolver = context.getContentResolver(); in enableAutoCapSettings() local 95 final ContentResolver resolver = context.getContentResolver(); in resetAutoCapSettings() local
|
| /cts/tests/tests/provider/src/android/provider/cts/contacts/ |
| D | CallLogTest.java | 234 ContentResolver resolver = context.getContentResolver(); in testOpenFileOutsideOfScopeThrowsException() local 254 ContentResolver resolver = context.getContentResolver(); in testDeleteFileOutsideOfScopeThrowsException() local 273 ContentResolver resolver = context.getContentResolver(); in testInsertFileOutsideOfScopeThrowsException() local 288 ContentResolver resolver = context.getContentResolver(); in testGetLastOutgoingCall() local
|
| /cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
| D | AdminActionBookkeepingTest.java | 43 final ContentResolver resolver = getContext().getContentResolver(); in testIsDefaultInputMethodSet() local
|
| /cts/tests/tests/provider/src/android/provider/cts/settings/ |
| D | Settings_NameValueTableTest.java | 88 protected static boolean putString(ContentResolver resolver, Uri uri, String name, in putString()
|