/packages/apps/Camera2/src_pd/com/android/camera/util/ |
GservicesHelper.java | 19 import android.content.ContentResolver; 24 public static String getBlacklistedResolutionsBack(ContentResolver contentResolver) { 28 public static String getBlacklistedResolutionsFront(ContentResolver contentResolver) { 32 public static boolean isCaptureModuleDisabled(ContentResolver contentResolver) { 36 public static boolean isJankStatisticsEnabled(ContentResolver contentResolver) { 40 public static int getCaptureSupportLevelOverrideBack(ContentResolver contentResolver) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
Timeouts.java | 19 import android.content.ContentResolver; 38 * @param contentResolver The content resolved. 43 private static long get(ContentResolver contentResolver, String key, long defaultValue) { 44 return Settings.Secure.getLong(contentResolver, PREFIX + key, defaultValue); 52 public static long getDirectToVoicemailMillis(ContentResolver contentResolver) { 53 return get(contentResolver, "direct_to_voicemail_ms", 500L); 62 public static long getNewOutgoingCallCancelMillis(ContentResolver contentResolver) { [all...] |
/packages/apps/Camera2/src/com/android/camera/session/ |
StackSaverFactory.java | 19 import android.content.ContentResolver; 29 private final ContentResolver mContentResolver; 35 * @param contentResolver the Android content resolver used to include 39 ContentResolver contentResolver) { 41 mContentResolver = contentResolver;
|
/frameworks/base/core/java/android/provider/ |
OpenableColumns.java | 19 import android.content.ContentResolver; 27 * {@link ContentResolver#getType(android.net.Uri)}.
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/mock/ |
BluetoothMockContext.java | 20 import android.content.ContentResolver; 29 private ContentResolver mMockContentResolver; 32 public BluetoothMockContext(ContentResolver mockContentResolver, Context originalContext) { 38 public ContentResolver getContentResolver() {
|
/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)
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
AccountBackupRestore.java | 19 import android.content.ContentResolver; 48 ContentResolver resolver = context.getContentResolver();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentBitmapHolder.java | 20 import android.content.ContentResolver; 32 public ContentResolver getResolver();
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverSyncTestCase.java | 25 import android.content.ContentResolver; 125 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 127 ContentResolver.cancelSync(account, authority); 141 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 143 ContentResolver.requestSync(account, authority, extras); 154 ContentResolver.setIsSyncable(account, authority, (b) ? 1 : 0); 164 ContentResolver.setMasterSyncAutomatically(false); 165 assertEquals(false, ContentResolver.getMasterSyncAutomatically()); 196 ContentResolver.setMasterSyncAutomatically(false); 197 assertEquals(false, ContentResolver.getMasterSyncAutomatically()) [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/ |
SyncUtils.java | 21 import android.content.ContentResolver; 42 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1); 43 ContentResolver.setSyncAutomatically(account, CONTENT_AUTHORITY, true); 46 ContentResolver.addPeriodicSync(account, CONTENT_AUTHORITY, bundle, 52 bundle.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 53 bundle.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); 55 ContentResolver.requestSync(DummyAccountService.getAccount(ACCOUNT_TYPE), CONTENT_AUTHORITY,
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
SyncUtils.java | 22 import android.content.ContentResolver; 58 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1); 60 ContentResolver.setSyncAutomatically(account, CONTENT_AUTHORITY, true); 63 ContentResolver.addPeriodicSync( 92 b.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 93 b.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); 94 ContentResolver.requestSync(
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
SyncUtils.java | 22 import android.content.ContentResolver; 58 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1); 60 ContentResolver.setSyncAutomatically(account, CONTENT_AUTHORITY, true); 63 ContentResolver.addPeriodicSync( 92 b.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 93 b.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); 94 ContentResolver.requestSync(
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
SyncUtils.java | 22 import android.content.ContentResolver; 58 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1); 60 ContentResolver.setSyncAutomatically(account, CONTENT_AUTHORITY, true); 63 ContentResolver.addPeriodicSync( 92 b.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 93 b.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); 94 ContentResolver.requestSync(
|
/frameworks/base/test-runner/src/android/test/ |
SyncBaseInstrumentation.java | 19 import android.content.ContentResolver; 33 ContentResolver mContentResolver; 49 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); 52 ContentResolver.requestSync(account, authority, extras); 67 if (ContentResolver.isSyncActive(account, authority)) { 76 ContentResolver.setMasterSyncAutomatically(false); 77 ContentResolver.cancelSync(null /* all accounts */, null /* all authorities */);
|
/packages/apps/Exchange/src/com/android/exchange/ |
ExchangeBroadcastReceiver.java | 8 import android.content.ContentResolver; 30 if (!ContentResolver.getSyncAutomatically(account, EmailContent.AUTHORITY) && 31 !ContentResolver.getSyncAutomatically(account, CalendarContract.AUTHORITY) && 32 !ContentResolver.getSyncAutomatically(account, ContactsContract.AUTHORITY)) { 34 bundle.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); 35 bundle.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); 37 ContentResolver.requestSync(account, EmailContent.AUTHORITY, bundle);
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedContract.java | 19 import android.content.ContentResolver; 54 ContentResolver.CURSOR_DIR_BASE_TYPE + "/vnd.basicsyncadapter.entries"; 59 ContentResolver.CURSOR_ITEM_BASE_TYPE + "/vnd.basicsyncadapter.entry";
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedContract.java | 19 import android.content.ContentResolver; 54 ContentResolver.CURSOR_DIR_BASE_TYPE + "/vnd.basicsyncadapter.entries"; 59 ContentResolver.CURSOR_ITEM_BASE_TYPE + "/vnd.basicsyncadapter.entry";
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
FeedContract.java | 19 import android.content.ContentResolver; 54 ContentResolver.CURSOR_DIR_BASE_TYPE + "/vnd.basicsyncadapter.entries"; 59 ContentResolver.CURSOR_ITEM_BASE_TYPE + "/vnd.basicsyncadapter.entry";
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
AssetUriParser.java | 3 import android.content.ContentResolver; 11 private static final String ASSET_PREFIX = ContentResolver.SCHEME_FILE + ":///" + ASSET_PATH_SEGMENT + "/"; 22 return ContentResolver.SCHEME_FILE.equals(uri.getScheme()) && !uri.getPathSegments().isEmpty()
|
/packages/apps/Gallery2/src_pd/com/android/gallery3d/util/ |
LightCycleHelper.java | 19 import android.content.ContentResolver; 45 public static String getPathFromURI(ContentResolver contentResolver, Uri contentUri) { 52 public static long getModifiedTimeFromURI(ContentResolver contentResolver, Uri contentUri) {
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
SettingsContentObserver.java | 19 import android.content.ContentResolver; 30 public void register(ContentResolver contentResolver) { 31 contentResolver.registerContentObserver(Settings.Secure.getUriFor( 33 contentResolver.registerContentObserver(Settings.Secure.getUriFor( 37 public void unregister(ContentResolver contentResolver) { 38 contentResolver.unregisterContentObserver(this);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/testing/ |
InjectedServices.java | 19 import android.content.ContentResolver; 35 private ContentResolver mContentResolver; 40 public void setContentResolver(ContentResolver contentResolver) { 41 this.mContentResolver = contentResolver; 44 public ContentResolver getContentResolver() {
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
MimeTypeUtil.java | 19 import android.content.ContentResolver; 34 if (uri.getScheme().equals(ContentResolver.SCHEME_CONTENT)) { 35 ContentResolver cr = context.getContentResolver(); 37 } else if (uri.getScheme().equals(ContentResolver.SCHEME_FILE)) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
ISensorTestStateContainer.java | 19 import android.content.ContentResolver; 70 * @return The {@link ContentResolver} associated with the test. 72 ContentResolver getContentResolver();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSettings.java | 3 import android.content.ContentResolver; 22 private static final WeakHashMap<ContentResolver, Map<String, Object>> dataMap = new WeakHashMap<ContentResolver, Map<String, Object>>(); 25 public static boolean putInt(ContentResolver cr, String name, int value) { 31 public static int getInt(ContentResolver cr, String name, int def) { 40 public static int getInt(ContentResolver cr, String name) throws Settings.SettingNotFoundException { 49 public static boolean putString(ContentResolver cr, String name, String value) { 55 public static String getString(ContentResolver cr, String name) { 64 public static boolean putLong(ContentResolver cr, String name, long value) { 70 public static long getLong(ContentResolver cr, String name, long def) [all...] |