/cts/tests/tests/permission/src/android/permission/cts/ |
D | ContactsProviderTest.java | 38 getContext().getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, in testQueryContacts() 56 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, in testInsertContacts() 74 getContext().getContentResolver().query(ContactsContract.Profile.CONTENT_URI, in testQueryProfile() 94 getContext().getContentResolver().insert(ContactsContract.Profile.CONTENT_URI, in testInsertProfile() 112 getContext().getContentResolver().update(ContactsContract.Profile.CONTENT_URI, in testUpdateProfile() 130 getContext().getContentResolver().query( in testQueryPhoneEnterprise() 149 getContext().getContentResolver().query( in testRawContactsEntityCorp()
|
D | TvPermissionTest.java | 48 getContext().getContentResolver().insert(uri, values); in verifyInsert() 58 getContext().getContentResolver().update(uri, values, null, null); in verifyUpdate() 67 getContext().getContentResolver().delete(uri, null, null); in verifyDelete()
|
D | ProviderPermissionTest.java | 84 getContext().getContentResolver().insert(Settings.System.CONTENT_URI, value); in testWriteSettings()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | ContactsProviderTest.java | 36 getContext().getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, in testQueryContacts() 47 getContext().getContentResolver().insert(ContactsContract.Contacts.CONTENT_URI, in testInsertContacts() 62 getContext().getContentResolver().query(ContactsContract.Profile.CONTENT_URI, in testQueryProfile() 74 getContext().getContentResolver().insert(ContactsContract.Profile.CONTENT_URI, in testInsertProfile() 89 getContext().getContentResolver().update(ContactsContract.Profile.CONTENT_URI, in testUpdateProfile()
|
D | NoWriteSecureSettingsPermissionTest.java | 40 getContext().getContentResolver().insert(Settings.Secure.CONTENT_URI, values); in testWriteSecureSettings()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | SensorFeaturesDeactivator.java | 99 ContentResolver contentResolver = mStateContainer.getContentResolver(); in getSettingMode() 119 mStateContainer.getContentResolver(), in getSettingMode() 150 mStateContainer.getContentResolver(), in getSettingMode() 165 mStateContainer.getContentResolver(), in getSettingMode() 180 mStateContainer.getContentResolver(), in getSettingMode() 194 mStateContainer.getContentResolver(), in getSettingMode()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | MockTvInputSetupActivity.java | 60 try (Cursor cursor = getContentResolver().query(uri, projection, null, null, null)) { in onCreate() 72 Uri channelUri = getContentResolver().insert(uri, values); in onCreate() 75 getContentResolver().delete(channelUri, null, null); in onCreate() 76 channelUri = getContentResolver().insert(uri, values); in onCreate() 94 getContentResolver().bulkInsert(Programs.CONTENT_URI, list.toArray( in onCreate()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DefaultDialerOperationsTest.java | 88 mContext.getContentResolver().query(Voicemails.CONTENT_URI, null, null, null, null); in testVoicemailReadWritePermissions() 94 mContext.getContentResolver().delete(Voicemails.CONTENT_URI, in testVoicemailReadWritePermissions() 101 mContext.getContentResolver().update( in testVoicemailReadWritePermissions() 112 mContext.getContentResolver().query(Voicemails.CONTENT_URI, null, null, null, null); in testVoicemailReadWritePermissions() 113 mContext.getContentResolver().delete(Voicemails.CONTENT_URI, in testVoicemailReadWritePermissions()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | DummyProvider.java | 107 getContext().getContentResolver().notifyChange(uri, null); in insert() 126 c.setNotificationUri(getContext().getContentResolver(), uri); in query() 172 getContext().getContentResolver().notifyChange(uri, null); in update() 189 getContext().getContentResolver().notifyChange(uri, null); in delete()
|
D | MockContentProvider.java | 170 getContext().getContentResolver().notifyChange(uri, null); in delete() 226 getContext().getContentResolver().notifyChange(url, null); in insert() 294 c.setNotificationUri(getContext().getContentResolver(), uri); in query() 332 getContext().getContentResolver().notifyChange(uri, null); in update()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 90 getContentResolver().takePersistableUriPermission(uri, in onCreate() 116 InputStream is = getContentResolver().openInputStream(uri); in getFirstLineFromUri() 123 getContentResolver().openOutputStream(uri)); in writeToUri()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | AccessPermissionWithDiffSigTest.java | 71 getContext().getContentResolver().query(uri, null, null, null, null); in assertReadingContentUriNotAllowed() 80 getContext().getContentResolver().query(uri, null, null, null, null); in assertReadingContentUriAllowed() 108 getContext().getContentResolver().openFileDescriptor(uri, mode).close(); in assertOpenFileDescriptorModeNotAllowed() 118 final ContentResolver resolver = getContext().getContentResolver(); in assertWritingContentUriNotAllowed() 141 getContext().getContentResolver().openOutputStream(uri).close(); in assertWritingContentUriNotAllowed() 157 final ContentResolver resolver = getContext().getContentResolver(); in assertWritingContentUriAllowed() 629 Cursor c = getContext().getContentResolver().query(uri, in assertReadingClipAllowed() 638 Cursor c = getContext().getContentResolver().query(uri, in assertReadingClipAllowed() 745 getContext().getContentResolver().insert(uri, new ContentValues()); in assertWritingClipAllowed() 750 getContext().getContentResolver().insert(uri, new ContentValues()); in assertWritingClipAllowed() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | ISensorTestStateContainer.java | 72 ContentResolver getContentResolver(); in getContentResolver() method
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionAppCompat/src/com/android/cts/usepermission/ |
D | UsePermissionCompatTest.java | 55 assertMediaReadWriteAccess(getInstrumentation().getContext().getContentResolver()); in testCompatDefault() 77 assertMediaNoAccess(getInstrumentation().getContext().getContentResolver()); in testCompatRevoked()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 154 getContext().getContentResolver().notifyChange(uri, null); in insert() 192 getContext().getContentResolver().notifyChange(uri, null); in update() 203 getContext().getContentResolver().notifyChange(uri, null); in delete() 222 ContentResolver resolver = context.getContentResolver(); in setTestResult()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp/src/com/android/cts/usepermission/ |
D | UsePermissionTest.java | 57 assertMediaNoAccess(getInstrumentation().getContext().getContentResolver()); in testDefault() 70 assertMediaReadWriteAccess(getInstrumentation().getContext().getContentResolver()); in testGranted() 84 assertMediaNoAccess(getInstrumentation().getContext().getContentResolver()); in testInteractiveGrant() 118 assertMediaReadWriteAccess(getInstrumentation().getContext().getContentResolver()); in testInteractiveGrant()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | PasswordTransformationMethodTest.java | 204 mPasswordPrefBackUp = System.getInt(mActivity.getContentResolver(), in savePasswordPref() 214 System.putInt(mActivity.getContentResolver(), System.TEXT_SHOW_PASSWORD, in resumePasswordPref() 220 System.putInt(mActivity.getContentResolver(), System.TEXT_SHOW_PASSWORD, in switchShowPassword()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | Contacts_SettingsTest.java | 29 mContentResolver = getInstrumentation().getTargetContext().getContentResolver(); in setUp()
|
D | SettingsTest.java | 45 ContentResolver cr = mContext.getContentResolver(); in testSystemTable() 105 ContentResolver cr = mContext.getContentResolver(); in testSecureTable() 129 ContentResolver cr = mContext.getContentResolver(); in tryBadTableAccess()
|
D | TelephonyProviderTest.java | 50 mContentResolver = getInstrumentation().getContext().getContentResolver(); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationModeTestActivity.java | 211 ContentResolver cr = getContentResolver(); in getLocationMode() 239 ContentResolver cr = getContentResolver(); in testSecureProviderIsEnabled() 246 ContentResolver cr = getContentResolver(); in testSecureProviderIsDisabled()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvViewTest.java | 178 StubTunerTvInputService.deleteChannels(mActivity.getContentResolver(), mStubInfo); in tearDown() 207 StubTunerTvInputService.insertChannels(mActivity.getContentResolver(), mStubInfo); in tryTuneAllChannels() 211 try (Cursor cursor = mActivity.getContentResolver().query( in tryTuneAllChannels() 373 StubTunerTvInputService.insertChannels(mActivity.getContentResolver(), mStubInfo); in testOnUnhandledInputEventListener() 377 try (Cursor cursor = mActivity.getContentResolver().query( in testOnUnhandledInputEventListener()
|
/cts/tests/tests/calllog/src/android/calllog/cts/ |
D | CallLogBackupTest.java | 215 ContentResolver resolver = getContext().getContentResolver(); in clearCallLog() 228 getContext().getContentResolver().insert(Calls.CONTENT_URI, values); in addCall() 234 ContentResolver resolver = getContext().getContentResolver(); in getCalls()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTest.java | 236 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in testTree() 305 final ContentResolver resolver = getInstrumentation().getContext().getContentResolver(); in getColumn() 316 InputStream in = getInstrumentation().getContext().getContentResolver() in readFully() 332 OutputStream out = getInstrumentation().getContext().getContentResolver() in writeFully()
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | AirplaneModeTest.java | 81 return Settings.Global.getInt(mContext.getContentResolver(), in getMode()
|