/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/ |
D | RequestSync.java | 21 import android.content.ContentResolver; 33 private int mExemptionFlag = ContentResolver.SYNC_EXEMPTION_NONE; 40 caller.mExtras.putInt(ContentResolver.SYNC_VIRTUAL_EXTRAS_EXEMPTION_FLAG, flag); in invoke() 41 if (flag == ContentResolver.SYNC_EXEMPTION_NONE) { in invoke() 54 ContentResolver.requestSync(request); in invoke() 60 ContentResolver.addPeriodicSync(caller.mAccount, caller.mAuthority, caller.mExtras, in invoke() 67 ContentResolver.removePeriodicSync( in invoke() 166 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in parseArgs() 168 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in parseArgs() 170 mExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS, true); in parseArgs() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | Browser.java | 20 import android.content.ContentResolver; 243 public static final Cursor getAllBookmarks(ContentResolver cr) throws in getAllBookmarks() 255 public static final Cursor getAllVisitedUrls(ContentResolver cr) throws in getAllVisitedUrls() 264 private static final Cursor getVisitedLike(ContentResolver cr, String url) { in getVisitedLike() 313 public static final void updateVisitedHistory(ContentResolver cr, in updateVisitedHistory() 325 public static final String[] getVisitedHistory(ContentResolver cr) { in getVisitedHistory() 339 public static final void truncateHistory(ContentResolver cr) { in truncateHistory() 349 public static final boolean canClearHistory(ContentResolver cr) { in canClearHistory() 360 public static final void clearHistory(ContentResolver cr) { in clearHistory() 374 public static final void deleteHistoryTimeFrame(ContentResolver cr, in deleteHistoryTimeFrame() [all …]
|
D | DocumentsContract.java | 26 import android.content.ContentResolver; 869 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildRootsUri() 880 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildRootUri() 893 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildRecentDocumentsUri() 905 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority) in buildTreeDocumentUri() 927 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in getBaseDocumentUriBuilder() 955 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildDocumentUriUsingTree() 982 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority) in buildChildDocumentsUri() 1012 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT) in buildChildDocumentsUriUsingTree() 1029 return new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(authority) in buildSearchDocumentsUri() [all …]
|
D | SearchRecentSuggestions.java | 19 import android.content.ContentResolver; 189 ContentResolver cr = mContext.getContentResolver(); in saveRecentQueryBlocking() 219 ContentResolver cr = mContext.getContentResolver(); in clearHistory() 229 protected void truncateHistory(ContentResolver cr, int maxEntries) { in truncateHistory()
|
D | SearchIndexablesContract.java | 21 import android.content.ContentResolver; 229 public static final String MIME_TYPE = ContentResolver.CURSOR_DIR_BASE_TYPE + 260 public static final String MIME_TYPE = ContentResolver.CURSOR_DIR_BASE_TYPE + 327 public static final String MIME_TYPE = ContentResolver.CURSOR_DIR_BASE_TYPE +
|
/frameworks/base/test-runner/src/android/test/ |
D | SyncBaseInstrumentation.java | 19 import android.content.ContentResolver; 39 ContentResolver mContentResolver; 55 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in syncProvider() 58 ContentResolver.requestSync(account, authority, extras); in syncProvider() 73 if (ContentResolver.isSyncActive(account, authority)) { in syncProvider() 82 ContentResolver.setMasterSyncAutomatically(false); in cancelSyncsandDisableAutoSync() 83 ContentResolver.cancelSync(null /* all accounts */, null /* all authorities */); in cancelSyncsandDisableAutoSync()
|
D | IsolatedContext.java | 21 import android.content.ContentResolver; 47 private ContentResolver mResolver; 53 ContentResolver resolver, Context targetContext) { in IsolatedContext() 67 public ContentResolver getContentResolver() { in getContentResolver()
|
/frameworks/base/core/java/android/content/ |
D | SyncActivityTooManyDeletes.java | 118 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true); in startSyncReallyDelete() 119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in startSyncReallyDelete() 120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in startSyncReallyDelete() 121 extras.putBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, true); in startSyncReallyDelete() 122 ContentResolver.requestSync(mAccount, mAuthority, extras); in startSyncReallyDelete() 127 extras.putBoolean(ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS, true); in startSyncUndoDeletes() 128 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in startSyncUndoDeletes() 129 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in startSyncUndoDeletes() 130 extras.putBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, true); in startSyncUndoDeletes() 131 ContentResolver.requestSync(mAccount, mAuthority, extras); in startSyncUndoDeletes()
|
D | SyncRequest.java | 511 ContentResolver.validateSyncExtrasBundle(mCustomExtras); in build() 518 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in build() 521 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DISALLOW_METERED, true); in build() 524 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_REQUIRE_CHARGING, true); in build() 527 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in build() 530 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); in build() 533 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in build() 536 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, true); in build() 537 mSyncConfigExtras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); in build() 541 if (ContentResolver.invalidPeriodicExtras(mCustomExtras) || in build() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncOperationTest.java | 20 import android.content.ContentResolver; 64 ContentResolver.SYNC_EXEMPTION_NONE); in testToKey() 73 ContentResolver.SYNC_EXEMPTION_NONE); in testToKey() 82 ContentResolver.SYNC_EXEMPTION_NONE); in testToKey() 91 ContentResolver.SYNC_EXEMPTION_NONE); in testToKey() 100 ContentResolver.SYNC_EXEMPTION_NONE); in testToKey() 121 ContentResolver.SYNC_EXEMPTION_NONE); in testConversionToExtras() 149 ContentResolver.SYNC_EXEMPTION_NONE); in testFailedPeriodicConversion()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | SettingsWrapper.java | 19 import android.content.ContentResolver; 38 private final ContentResolver mContentResolver; 41 SettingsWrapper(ContentResolver contentResolver) { in SettingsWrapper() 46 SettingsWrapper(ContentResolver contentResolver, Migration migration) { in SettingsWrapper() 110 private final ContentResolver mContentResolver; 112 Migrator(ContentResolver contentResolver) { in Migrator()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CertBlacklister.java | 20 import android.content.ContentResolver; 55 private final ContentResolver mContentResolver; 57 public BlacklistObserver(String key, String name, String path, ContentResolver cr) { in BlacklistObserver() 113 private BlacklistObserver buildPubkeyObserver(ContentResolver cr) { in buildPubkeyObserver() 120 private BlacklistObserver buildSerialObserver(ContentResolver cr) { in buildSerialObserver() 127 private void registerObservers(ContentResolver cr) { in registerObservers()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 21 import android.content.ContentResolver; 22 import android.content.ContentResolver.SyncExemption; 122 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in SyncOperation() 152 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in createOneTimeSyncOperation() 280 ContentResolver.SYNC_EXEMPTION_NONE); in maybeCreateFromJobExtras() 392 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false)) { in dump() 396 case ContentResolver.SYNC_EXEMPTION_NONE: in dump() 398 case ContentResolver.SYNC_EXEMPTION_PROMOTE_BUCKET: in dump() 401 case ContentResolver.SYNC_EXEMPTION_PROMOTE_BUCKET_WITH_TEMP: in dump() 471 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false); in isInitialization() [all …]
|
/frameworks/base/core/java/android/util/ |
D | KeyValueSettingObserver.java | 19 import android.content.ContentResolver; 45 private final ContentResolver mResolver; 48 public KeyValueSettingObserver(Handler handler, ContentResolver resolver, in KeyValueSettingObserver() 71 public abstract String getSettingValue(ContentResolver resolver); in getSettingValue()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentResolverTest.java | 47 private ContentResolver mResolver; 107 Bitmap res = ContentResolver.loadThumbnail(mClient, in testLoadThumbnail_Normal() 122 Bitmap res = ContentResolver.loadThumbnail(mClient, in testLoadThumbnail_Scaling() 137 Bitmap res = ContentResolver.loadThumbnail(mClient, in testLoadThumbnail_Aspect() 152 Bitmap res = ContentResolver.loadThumbnail(mClient, in testLoadThumbnail_Tiny() 174 assertEquals(uri, ContentResolver in assertTranslate() 175 .translateDeprecatedDataPath(ContentResolver.translateDeprecatedDataPath(uri))); in assertTranslate()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SqliteWrapper.java | 21 import android.content.ContentResolver; 58 public static Cursor query(Context context, ContentResolver resolver, Uri uri, in query() 79 public static int update(Context context, ContentResolver resolver, Uri uri, in update() 91 public static int delete(Context context, ContentResolver resolver, Uri uri, in delete() 103 public static Uri insert(Context context, ContentResolver resolver, in insert()
|
/frameworks/base/telephony/common/com/google/android/mms/util/ |
D | SqliteWrapper.java | 22 import android.content.ContentResolver; 71 public static Cursor query(Context context, ContentResolver resolver, Uri uri, in query() 93 public static int update(Context context, ContentResolver resolver, Uri uri, in update() 105 public static int delete(Context context, ContentResolver resolver, Uri uri, in delete() 117 public static Uri insert(Context context, ContentResolver resolver, in insert()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | AccountSyncSettingsBackupHelper.java | 24 import android.content.ContentResolver; 132 SyncAdapterType[] syncAdapters = ContentResolver.getSyncAdapterTypesAsUser(userId); in serializeAccountSyncSettingsToJSON() 152 backupJSON.put(KEY_MASTER_SYNC_ENABLED, ContentResolver.getMasterSyncAutomaticallyAsUser( in serializeAccountSyncSettingsToJSON() 172 int syncState = ContentResolver.getIsSyncableAsUser(account, authority, userId); in serializeAccountSyncSettingsToJSON() 173 boolean syncEnabled = ContentResolver.getSyncAutomaticallyAsUser(account, authority, in serializeAccountSyncSettingsToJSON() 262 boolean currentMasterSyncEnabled = ContentResolver.getMasterSyncAutomaticallyAsUser( in restoreEntity() 266 ContentResolver.setMasterSyncAutomaticallyAsUser(false, mUserId); in restoreEntity() 273 ContentResolver.setMasterSyncAutomaticallyAsUser(masterSyncEnabled, mUserId); in restoreEntity() 417 ContentResolver.setSyncAutomaticallyAsUser( in restoreExistingAccountSyncSettingsFromJSON() 421 ContentResolver.setIsSyncableAsUser( in restoreExistingAccountSyncSettingsFromJSON()
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransportParameters.java | 20 import android.content.ContentResolver; 34 LocalTransportParameters(Handler handler, ContentResolver resolver) { in LocalTransportParameters() 46 public String getSettingValue(ContentResolver resolver) { in getSettingValue()
|
/frameworks/base/core/java/android/text/method/ |
D | TextKeyListener.java | 19 import android.content.ContentResolver; 65 private WeakReference<ContentResolver> mResolver; 252 final ContentResolver contentResolver = mResolver.get(); in release() 264 final ContentResolver contentResolver = context.getContentResolver(); in initPrefs() 265 mResolver = new WeakReference<ContentResolver>(contentResolver); in initPrefs() 283 final ContentResolver contentResolver = mResolver.get(); in onChange() 295 private void updatePrefs(ContentResolver resolver) { in updatePrefs()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | DeviceConfigServiceTest.java | 23 import android.content.ContentResolver; 51 private ContentResolver mContentResolver; 169 private static void putWithContentProvider(ContentResolver resolver, String namespace, in putWithContentProvider() 174 private static void putWithContentProvider(ContentResolver resolver, String namespace, in putWithContentProvider() 186 private static String getFromContentProvider(ContentResolver resolver, String namespace, in getFromContentProvider() 195 private static boolean deleteFromContentProvider(ContentResolver resolver, String namespace, in deleteFromContentProvider()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 20 import android.content.ContentResolver; 96 public static BitmapResult createLocalBitmap(final ContentResolver resolver, final Uri uri, in createLocalBitmap() 205 private static InputStreamFactory createInputStreamFactory(final ContentResolver resolver, in createInputStreamFactory() 229 protected final ContentResolver mResolver; 232 public BaseInputStreamFactory(final ContentResolver resolver, final Uri uri) { in BaseInputStreamFactory() 246 public DataInputStreamFactory(final ContentResolver resolver, final Uri uri) { in DataInputStreamFactory()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SettingsObserver.java | 19 import android.content.ContentResolver; 53 final ContentResolver resolver = mContext.getContentResolver(); in observe() 61 final ContentResolver resolver = mContext.getContentResolver(); in unobserve()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VCardVerifier.java | 18 import android.content.ContentResolver; 66 final ContentResolver mResolver; 67 public CustomMockContext(ContentResolver resolver) { in CustomMockContext() 72 public ContentResolver getContentResolver() { in getContentResolver() 327 final ContentResolver resolver, in mockGetEntityIteratorMethod() 342 ContentResolver.class, Uri.class, String.class, String[].class, String.class); in getMockGetEntityIteratorMethod() 347 final ContentResolver resolver = context.getContentResolver(); in verifyForExportTest()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | RGBZ.java | 19 import android.content.ContentResolver; 53 public RGBZ(Uri uri, ContentResolver contentResolver, Context context) throws IOException { in RGBZ() 72 public RGBZ(Uri uriImage, Uri uriDepthmap, ContentResolver contentResolver, in RGBZ() 94 ContentResolver contentResolver, Context context) in createFromBitmapDepthmap() 105 ContentResolver contentResolver, Context context) in createFromPFMDepthmap()
|