/frameworks/base/core/java/android/content/ |
ContentInsertHandler.java | 27 * Interface to insert data to ContentResolver 32 * insert data from InputStream to ContentResolver 33 * @param contentResolver 38 public void insert(ContentResolver contentResolver, InputStream in) 42 * insert data from String to ContentResolver 43 * @param contentResolver 47 public void insert(ContentResolver contentResolver, String in)
|
DefaultDataHandler.java | 85 private ContentResolver mContentResolver; 87 public void insert(ContentResolver contentResolver, InputStream in) 89 mContentResolver = contentResolver; 93 public void insert(ContentResolver contentResolver, String in) 95 mContentResolver = contentResolver;
|
ContentProviderClient.java | 31 * calling {@link ContentResolver#acquireContentProviderClient}. This object must be released 37 private final ContentResolver mContentResolver; 42 ContentProviderClient(ContentResolver contentResolver, IContentProvider contentProvider) { 44 mContentResolver = contentResolver; 90 * you use the {@link ContentResolver#openFileDescriptor 91 * ContentResolver.openFileDescriptor} API instead. 102 * you use the {@link ContentResolver#openAssetFileDescriptor 103 * ContentResolver.openAssetFileDescriptor} API instead.
|
/packages/apps/Contacts/src/com/android/contacts/test/ |
InjectedServices.java | 22 import android.content.ContentResolver; 34 private ContentResolver mContentResolver; 39 public void setContentResolver(ContentResolver contentResolver) { 40 this.mContentResolver = contentResolver; 43 public ContentResolver getContentResolver() {
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
SmsProviderTest.java | 19 import android.content.ContentResolver; 58 ContentResolver contentResolver = mContext.getContentResolver(); 63 urls[i] = contentResolver.insert(Sms.Inbox.CONTENT_URI, map); 67 Cursor c = contentResolver.query(Sms.Inbox.CONTENT_URI, null, null, null, "date"); 72 int count = contentResolver.delete(url, null, null);
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
ContactAccessorSdk3_4.java | 20 import android.content.ContentResolver; 55 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) { 57 Cursor cursor = contentResolver.query(contactUri, 68 cursor = contentResolver.query(phoneUri,
|
ContactAccessorSdk5.java | 19 import android.content.ContentResolver; 58 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) { 63 Cursor cursor = contentResolver.query(contactUri, 75 cursor = contentResolver.query(Phone.CONTENT_URI,
|
ContactAccessor.java | 19 import android.content.ContentResolver; 88 public abstract ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailCleanupService.java | 22 import android.content.ContentResolver; 45 ContentResolver contentResolver) { 51 contentResolver.delete(Voicemails.buildSourceUri(packageUninstalled), null, null); 52 contentResolver.delete(Status.buildSourceUri(packageUninstalled), null, null);
|
/frameworks/base/services/java/com/android/server/ |
SamplingProfilerService.java | 19 import android.content.ContentResolver; 89 ContentResolver contentResolver = context.getContentResolver(); 90 contentResolver.registerContentObserver( 92 false, new SamplingProfilerSettingsObserver(contentResolver)); 102 private ContentResolver mContentResolver; 103 public SamplingProfilerSettingsObserver(ContentResolver contentResolver) { 105 mContentResolver = contentResolver;
|
/frameworks/base/core/java/android/text/method/ |
TextKeyListener.java | 19 import android.content.ContentResolver; 56 private WeakReference<ContentResolver> mResolver; 243 final ContentResolver contentResolver = mResolver.get(); 244 if (contentResolver != null) { 245 contentResolver.unregisterContentObserver(mObserver); 255 final ContentResolver contentResolver = context.getContentResolver(); 256 mResolver = new WeakReference<ContentResolver>(contentResolver); [all...] |
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
DefaultVoicemailNotifier.java | 27 import android.content.ContentResolver; 68 ContentResolver contentResolver = context.getContentResolver(); 70 createNewCallsQuery(contentResolver), 71 createNameLookupQuery(contentResolver), 217 public static NewCallsQuery createNewCallsQuery(ContentResolver contentResolver) { 218 return new DefaultNewCallsQuery(contentResolver); 233 private final ContentResolver mContentResolver; 235 private DefaultNewCallsQuery(ContentResolver contentResolver) [all...] |
CallLogQueryHandler.java | 24 import android.content.ContentResolver; 109 public CallLogQueryHandler(ContentResolver contentResolver, Listener listener) { 110 super(contentResolver);
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
ContactsPreferences.java | 21 import android.content.ContentResolver; 127 final ContentResolver contentResolver = mContext.getContentResolver(); 128 contentResolver.registerContentObserver( 131 contentResolver.registerContentObserver(
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppSendFileInfo.java | 41 import android.content.ContentResolver; 101 ContentResolver contentResolver = context.getContentResolver(); 111 contentType = contentResolver.getType(u); 112 Cursor metadataCursor = contentResolver.query(u, new String[] { 138 is = (FileInputStream)contentResolver.openInputStream(u);
|
BluetoothOppReceiveFileInfo.java | 40 import android.content.ContentResolver; 92 ContentResolver contentResolver = context.getContentResolver(); 96 Cursor metadataCursor = contentResolver.query(contentUri, new String[] {
|
BluetoothOppService.java | 41 import android.content.ContentResolver; 161 final ContentResolver contentResolver = getContentResolver(); 164 trimDatabase(contentResolver); [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_PhotoTest.java | 21 import android.content.ContentResolver; 41 ContentResolver contentResolver = 43 IContentProvider provider = contentResolver.acquireProvider(ContactsContract.AUTHORITY);
|
ContactsContract_GroupMembershipTest.java | 24 import android.content.ContentResolver; 42 ContentResolver contentResolver = 44 IContentProvider provider = contentResolver.acquireProvider(ContactsContract.AUTHORITY);
|
/cts/tests/src/android/provider/cts/ |
MediaStoreAudioTestHelper.java | 19 import android.content.ContentResolver; 52 public Uri insertToInternal(ContentResolver contentResolver) { 53 Uri uri = contentResolver.insert(Media.INTERNAL_CONTENT_URI, getContentValues(true)); 58 public Uri insertToExternal(ContentResolver contentResolver) { 59 Uri uri = contentResolver.insert(Media.EXTERNAL_CONTENT_URI, getContentValues(false)); 64 public int delete(ContentResolver contentResolver, Uri uri) { 65 return contentResolver.delete(uri, null, null) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
SaveCopyTask.java | 19 import android.content.ContentResolver; 120 ContentResolver contentResolver = context.getContentResolver(); 123 cursor = contentResolver.query(sourceUri, IMAGE_PROJECTION, null, null, null); 153 return contentResolver.insert(Images.Media.EXTERNAL_CONTENT_URI, values);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Alarms.java | 22 import android.content.ContentResolver; 120 ContentResolver contentResolver = context.getContentResolver(); 125 contentResolver.delete(uri, "", null); 134 public static Cursor getAlarmsCursor(ContentResolver contentResolver) { 135 return contentResolver.query( 142 ContentResolver contentResolver) { 143 return contentResolver.query(Alarm.Columns.CONTENT_URI [all...] |
/packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/ |
GservicesValue.java | 9 import android.content.ContentResolver; 108 private final ContentResolver mContentResolver; 109 public GservicesReaderImpl(ContentResolver contentResolver) { 110 mContentResolver = contentResolver;
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
CallDetailActivityTest.java | 31 import android.content.ContentResolver; 231 ContentResolver contentResolver = getContentResolver(); 235 mCallLogUri = contentResolver.insert(CallLog.Calls.CONTENT_URI, values); 241 ContentResolver contentResolver = getContentResolver(); 246 mVoicemailUri = contentResolver.insert(VoicemailContract.Voicemails.CONTENT_URI, values); 305 private ContentResolver getContentResolver() {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserDictionary.java | 20 import android.content.ContentResolver; 63 ContentResolver cres = context.getContentResolver(); 141 final ContentResolver cr = getContext().getContentResolver(); 175 final ContentResolver contentResolver = getContext().getContentResolver(); 177 contentResolver.acquireContentProviderClient(Words.CONTENT_URI); 203 // See ContentResolver#insert, inside the catch(){}
|