/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
NotificationActionUtils.java | 22 import android.content.ContentResolver; 748 final ContentResolver contentResolver = context.getContentResolver(); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalImage.java | 20 import android.content.ContentResolver; 116 ContentResolver resolver = mApplication.getContentResolver(); 269 ContentResolver contentResolver = mApplication.getContentResolver(); 270 SaveImage.deleteAuxFiles(contentResolver, getContentUri()); 271 contentResolver.delete(baseUri, "_id=?",
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
SensorFeaturesDeactivator.java | 22 import android.content.ContentResolver; 100 ContentResolver contentResolver = mStateContainer.getContentResolver(); 104 .getInt(contentResolver, Settings.System.AIRPLANE_MODE_ON, defaultValue); 107 .getInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, defaultValue);
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
SyncAdapter.java | 24 import android.content.ContentResolver; 83 private final ContentResolver mContentResolver; 205 final ContentResolver contentResolver = getContext().getContentResolver(); 223 Cursor c = contentResolver.query(uri, PROJECTION, null, null, null);
|
/developers/build/prebuilts/gradle/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/ |
DirectorySelectionFragment.java | 21 import android.content.ContentResolver; 151 ContentResolver contentResolver = getActivity().getContentResolver(); 157 Cursor docCursor = contentResolver.query(docUri, new String[]{ 171 Cursor childCursor = contentResolver.query(childrenUri, new String[]{ 198 ContentResolver contentResolver = getActivity().getContentResolver(); 202 .createDocument(contentResolver, docUri, Document.MIME_TYPE_DIR, directoryName);
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
SyncAdapter.java | 24 import android.content.ContentResolver; 83 private final ContentResolver mContentResolver; 205 final ContentResolver contentResolver = getContext().getContentResolver(); 223 Cursor c = contentResolver.query(uri, PROJECTION, null, null, null);
|
/developers/samples/android/content/documentsUi/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/ |
DirectorySelectionFragment.java | 21 import android.content.ContentResolver; 151 ContentResolver contentResolver = getActivity().getContentResolver(); 157 Cursor docCursor = contentResolver.query(docUri, new String[]{ 171 Cursor childCursor = contentResolver.query(childrenUri, new String[]{ 198 ContentResolver contentResolver = getActivity().getContentResolver(); 202 .createDocument(contentResolver, docUri, Document.MIME_TYPE_DIR, directoryName);
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
SyncAdapter.java | 24 import android.content.ContentResolver; 83 private final ContentResolver mContentResolver; 205 final ContentResolver contentResolver = getContext().getContentResolver(); 223 Cursor c = contentResolver.query(uri, PROJECTION, null, null, null);
|
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/ |
DirectorySelectionFragment.java | 21 import android.content.ContentResolver; 151 ContentResolver contentResolver = getActivity().getContentResolver(); 157 Cursor docCursor = contentResolver.query(docUri, new String[]{ 171 Cursor childCursor = contentResolver.query(childrenUri, new String[]{ 198 ContentResolver contentResolver = getActivity().getContentResolver(); 202 .createDocument(contentResolver, docUri, Document.MIME_TYPE_DIR, directoryName);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
SettingsTest.java | 5 import android.content.ContentResolver; 20 private ContentResolver contentResolver; 25 contentResolver = activity.getContentResolver(); 30 Settings.System.putInt(contentResolver, "property", 1); 31 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); 34 contentResolver = activity.getContentResolver(); 35 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)); 40 Settings.System.putInt(contentResolver, "property", 1); 41 assertThat(Settings.System.getInt(contentResolver, "property", 0), equalTo(1)) [all...] |
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
BaseSettingsProviderTest.java | 19 import android.content.ContentResolver; 70 ContentResolver contentResolver = getContext().getContentResolver(); 74 Settings.Global.putStringForUser(contentResolver, name, value, userId); 78 Settings.Secure.putStringForUser(contentResolver, name, value, userId); 82 Settings.System.putStringForUser(contentResolver, name, value, userId); 92 ContentResolver contentResolver = getContext().getContentResolver(); 96 return Settings.Global.getStringForUser(contentResolver, name, userId); 100 return Settings.Secure.getStringForUser(contentResolver, name, userId) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
DemoModeFragment.java | 18 import android.content.ContentResolver; 77 ContentResolver contentResolver = getContext().getContentResolver(); 78 contentResolver.registerContentObserver(Settings.Global.getUriFor( 80 contentResolver.registerContentObserver(Settings.Global.getUriFor(DEMO_MODE_ON), false,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppReceiveFileInfo.java | 40 import android.content.ContentResolver; 92 ContentResolver contentResolver = context.getContentResolver(); 96 Cursor metadataCursor = contentResolver.query(contentUri, new String[] {
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogNotificationsHelper.java | 22 import android.content.ContentResolver; 53 ContentResolver contentResolver = context.getContentResolver(); 56 createNewCallsQuery(context, contentResolver), 57 createNameLookupQuery(context, contentResolver), 215 ContentResolver contentResolver) { 217 return new DefaultNewCallsQuery(context.getApplicationContext(), contentResolver); 246 private final ContentResolver mContentResolver; 249 private DefaultNewCallsQuery(Context context, ContentResolver contentResolver) [all...] |
DefaultVoicemailNotifier.java | 25 import android.content.ContentResolver; 72 ContentResolver contentResolver = context.getContentResolver();
|
/packages/apps/Dialer/tests/src/com/android/dialer/ |
CallDetailActivityTest.java | 21 import android.content.ContentResolver; 135 ContentResolver contentResolver = getContentResolver(); 140 mCallLogUri = contentResolver.insert(CallLog.Calls.CONTENT_URI, values); 146 ContentResolver contentResolver = getContentResolver(); 152 mVoicemailUri = contentResolver.insert(VoicemailContract.Voicemails.CONTENT_URI, values); 174 private ContentResolver getContentResolver() {
|
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/ |
VoicemailActivityInstrumentationTestCase2.java | 20 import android.content.ContentResolver; 183 ContentResolver contentResolver = getContentResolver(); 189 mVoicemailUri = contentResolver.insert(VoicemailContract.Voicemails.CONTENT_URI, values); 219 protected ContentResolver getContentResolver() {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SubscriptionInfoUpdater.java | 22 import android.content.ContentResolver; 434 ContentResolver contentResolver = mContext.getContentResolver(); 439 contentResolver.update(SubscriptionManager.CONTENT_URI, number, 458 contentResolver.update(SubscriptionManager.CONTENT_URI, name, 488 logd("Invalid subId, could not update ContentResolver"); 555 ContentResolver contentResolver = mContext.getContentResolver(); 573 contentResolver.update(SubscriptionManager.CONTENT_URI, value, 650 contentResolver.update(SubscriptionManager.CONTENT_URI, value [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
FillCallLogTestActivity.java | 26 import android.content.ContentResolver; 567 final ContentResolver resolver = getContentResolver(); 620 final ContentResolver resolver = context.getContentResolver(); 644 ContentResolver contentResolver = getContentResolver(); 656 contentResolver.insert(statusUri, values);
|
/developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/ |
ScopedDirectoryAccessFragment.java | 20 import android.content.ContentResolver; 187 ContentResolver contentResolver = getActivity().getContentResolver(); 193 try (Cursor docCursor = contentResolver 201 try (Cursor childCursor = contentResolver
|
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/ |
ScopedDirectoryAccessFragment.java | 20 import android.content.ContentResolver; 187 ContentResolver contentResolver = getActivity().getContentResolver(); 193 try (Cursor docCursor = contentResolver 201 try (Cursor childCursor = contentResolver
|
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/ |
ScopedDirectoryAccessFragment.java | 20 import android.content.ContentResolver; 187 ContentResolver contentResolver = getActivity().getContentResolver(); 193 try (Cursor docCursor = contentResolver 201 try (Cursor childCursor = contentResolver
|
/frameworks/base/core/java/android/provider/ |
VoicemailContract.java | 23 import android.content.ContentResolver; 340 ContentResolver contentResolver = context.getContentResolver(); 342 return contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues); 355 ContentResolver contentResolver = context.getContentResolver(); 359 contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues);
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
AttachmentsView.java | 18 import android.content.ContentResolver; 211 * fields using a {@link ContentResolver}. 223 final ContentResolver contentResolver = getContext().getContentResolver(); 224 String contentType = contentResolver.getType(contentUri); 237 metadataCursor = contentResolver.query( 259 metadataCursor = getOptionalColumn(contentResolver, contentUri, 271 getOptionalColumn(contentResolver, contentUri, OpenableColumns.SIZE); 276 attachment.size = getSizeFromFile(contentUri, contentResolver); 290 attachment.size = getSizeFromFile(contentUri, contentResolver); [all...] |
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationService.java | 24 import android.content.ContentResolver; 107 final ContentResolver contentResolver = context.getContentResolver(); 108 c = contentResolver.query(ContactsContract.Contacts.CONTENT_URI,
|