/frameworks/base/core/java/android/content/ |
D | ContentProviderClient.java | 58 private final ContentResolver mContentResolver; field in ContentProviderClient 73 mContentResolver = contentResolver; in ContentProviderClient() 132 mContentResolver.unstableProviderDied(mContentProvider); in query() 147 mContentResolver.unstableProviderDied(mContentProvider); in getType() 162 mContentResolver.unstableProviderDied(mContentProvider); in getStreamTypes() 177 mContentResolver.unstableProviderDied(mContentProvider); in canonicalize() 192 mContentResolver.unstableProviderDied(mContentProvider); in uncanonicalize() 207 mContentResolver.unstableProviderDied(mContentProvider); in insert() 222 mContentResolver.unstableProviderDied(mContentProvider); in bulkInsert() 238 mContentResolver.unstableProviderDied(mContentProvider); in delete() [all …]
|
D | DefaultDataHandler.java | 85 private ContentResolver mContentResolver; field in DefaultDataHandler 89 mContentResolver = contentResolver; in insert() 95 mContentResolver = contentResolver; in insert() 128 Uri u = mContentResolver.insert(mUris.lastElement(), mValues); in insertRow() 187 mContentResolver.delete(u, atts.getValue(1), selectionArgs); in startElement() 189 mContentResolver.delete(u, atts.getValue(1), null); in startElement() 191 mContentResolver.delete(u, null, null); in startElement()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentResolverTest.java | 24 private ContentResolver mContentResolver; field in ContentResolverTest 29 mContentResolver = mContext.getContentResolver(); in setUp() 38 mContentResolver.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null); in testCursorFinalizer()
|
/frameworks/base/core/java/android/database/ |
D | AbstractCursor.java | 65 protected ContentResolver mContentResolver; field in AbstractCursor 126 mContentResolver.unregisterContentObserver(mSelfObserver); in onDeactivateOrClose() 134 mContentResolver.registerContentObserver(mNotifyUri, true, mSelfObserver); in requery() 341 mContentResolver.notifyChange(mNotifyUri, mSelfObserver); in onChange() 361 mContentResolver = cr; in setNotificationUri() 363 mContentResolver.unregisterContentObserver(mSelfObserver); in setNotificationUri() 366 mContentResolver.registerContentObserver(mNotifyUri, true, mSelfObserver, userHandle); in setNotificationUri() 433 mContentResolver.unregisterContentObserver(mSelfObserver); in finalize()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntryCommitter.java | 43 private final ContentResolver mContentResolver; field in VCardEntryCommitter 50 mContentResolver = resolver; in VCardEntryCommitter() 71 mOperationList = vcardEntry.constructInsertOperations(mContentResolver, mOperationList); in onEntryCreated() 83 final ContentProviderResult[] results = mContentResolver.applyBatch( in pushIntoContentResolver()
|
D | VCardComposer.java | 132 private final ContentResolver mContentResolver; field in VCardComposer 207 mContentResolver = resolver; in VCardComposer() 401 mCursor = mContentResolver.query( in initInterCursorCreationPart() 474 mContentResolver, uri, selection, selectionArgs, null); in createOneEntryInternal() 486 entityIterator = RawContacts.newEntityIterator(mContentResolver.query( in createOneEntryInternal()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 59 private final ContentResolver mContentResolver; field in CaptioningManager 67 mContentResolver = context.getContentResolver(); in CaptioningManager() 75 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_ENABLED, DEFAULT_ENABLED) == 1; in isEnabled() 85 return Secure.getString(mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_LOCALE); in getRawLocale() 116 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, DEFAULT_FONT_SCALE); in getFontScale() 125 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_PRESET, DEFAULT_PRESET); in getRawUserStyle() 136 return CaptionStyle.getCustomStyle(mContentResolver); in getUserStyle() 168 mContentResolver.registerContentObserver(Secure.getUriFor(key), false, mContentObserver); in registerObserver() 182 mContentResolver.unregisterContentObserver(mContentObserver); in removeCaptioningChangeListener()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | DefaultPhotoManager.java | 55 private final ContentResolver mContentResolver; field in DefaultPhotoManager 59 mContentResolver = contentResolver; in DefaultPhotoManager() 92 final Cursor photoCursor = mContentResolver.query( in fetchPhotoAsync() 108 InputStream is = mContentResolver.openInputStream( in fetchPhotoAsync()
|
D | BaseRecipientAdapter.java | 327 final Cursor directoryCursor = mContentResolver.query( in searchOtherDirectories() 446 private final ContentResolver mContentResolver; field in BaseRecipientAdapter 539 mContentResolver = context.getContentResolver(); in BaseRecipientAdapter() 541 mPhotoManager = new DefaultPhotoManager(mContentResolver); in BaseRecipientAdapter() 851 final Cursor cursor = mContentResolver.query( in doQuery()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | ObscureSpeechDelegate.java | 39 private final ContentResolver mContentResolver; field in ObscureSpeechDelegate 43 mContentResolver = context.getContentResolver(); in ObscureSpeechDelegate() 88 if (Settings.Secure.getInt(mContentResolver, in shouldObscureSpeech()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CertBlacklister.java | 55 private final ContentResolver mContentResolver; field in CertBlacklister.BlacklistObserver 63 mContentResolver = cr; in BlacklistObserver() 73 return Settings.Secure.getString(mContentResolver, mKey); in getValue()
|
D | SamplingProfilerService.java | 106 private ContentResolver mContentResolver; field in SamplingProfilerService.SamplingProfilerSettingsObserver 109 mContentResolver = contentResolver; in SamplingProfilerSettingsObserver() 115 mContentResolver, Settings.Global.SAMPLING_PROFILER_MS, 0); in onChange()
|
D | BluetoothManagerService.java | 104 private final ContentResolver mContentResolver; field in BluetoothManagerService 209 mContentResolver = context.getContentResolver(); in BluetoothManagerService() 245 return Settings.Global.getInt(mContentResolver, in isBluetoothPersistedStateOn() 253 return Settings.Global.getInt(mContentResolver, in isBluetoothPersistedStateOnBluetooth() 284 … Settings.Secure.getInt(mContentResolver, SECURE_SETTINGS_BLUETOOTH_ADDR_VALID, 0) == 0) { in loadStoredNameAndAddress() 289 mName = Settings.Secure.getString(mContentResolver, SECURE_SETTINGS_BLUETOOTH_NAME); in loadStoredNameAndAddress() 290 mAddress = Settings.Secure.getString(mContentResolver, SECURE_SETTINGS_BLUETOOTH_ADDRESS); in loadStoredNameAndAddress() 302 Settings.Secure.putString(mContentResolver, SECURE_SETTINGS_BLUETOOTH_NAME, name); in storeNameAndAddress() 305 Settings.Secure.getString(mContentResolver,SECURE_SETTINGS_BLUETOOTH_NAME)); in storeNameAndAddress() 309 Settings.Secure.putString(mContentResolver, SECURE_SETTINGS_BLUETOOTH_ADDRESS, address); in storeNameAndAddress() [all …]
|
D | DropBoxManagerService.java | 82 private final ContentResolver mContentResolver; field in DropBoxManagerService 142 mContentResolver = context.getContentResolver(); in DropBoxManagerService() 149 mContentResolver.registerContentObserver( in DropBoxManagerService() 272 mContentResolver, Settings.Global.DROPBOX_TAG_PREFIX + tag)); in isTagEnabled() 697 int ageSeconds = Settings.Global.getInt(mContentResolver, in trimToFit() 699 int maxFiles = Settings.Global.getInt(mContentResolver, in trimToFit() 719 int quotaPercent = Settings.Global.getInt(mContentResolver, in trimToFit() 721 int reservePercent = Settings.Global.getInt(mContentResolver, in trimToFit() 723 int quotaKb = Settings.Global.getInt(mContentResolver, in trimToFit()
|
D | NsdService.java | 65 private ContentResolver mContentResolver; field in NsdService 580 mContentResolver = context.getContentResolver(); in NsdService() 607 Settings.Global.putInt(mContentResolver, Settings.Global.NSD_ON, enable ? 1 : 0); in setEnabled() 627 boolean ret = Settings.Global.getInt(mContentResolver, Settings.Global.NSD_ON, 1) == 1; in isNsdEnabled()
|
/frameworks/base/test-runner/src/android/test/ |
D | SyncBaseInstrumentation.java | 33 ContentResolver mContentResolver; field in SyncBaseInstrumentation 40 mContentResolver = mTargetContext.getContentResolver(); in setUp()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduPersister.java | 281 private final ContentResolver mContentResolver; field in PduPersister 287 mContentResolver = context.getContentResolver(); in PduPersister() 360 Cursor c = SqliteWrapper.query(mContext, mContentResolver, in loadParts() 449 is = mContentResolver.openInputStream(partURI); in loadParts() 485 Cursor c = SqliteWrapper.query(mContext, mContentResolver, in loadAddress() 554 Cursor c = SqliteWrapper.query(mContext, mContentResolver, uri, in load() 695 SqliteWrapper.insert(mContext, mContentResolver, uri, values); in persistAddress() 756 Uri res = SqliteWrapper.insert(mContext, mContentResolver, uri, values); in persistPart() 802 if (mContentResolver.update(uri, cv, null, null) != 1) { in persistData() 837 os = mContentResolver.openOutputStream(uri); in persistData() [all …]
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | BaseEmailAddressAdapter.java | 168 directoryCursor = mContentResolver.query( in performFiltering() 185 cursor = mContentResolver.query(uri, EmailQuery.PROJECTION, null, null, null); in performFiltering() 238 Cursor cursor = mContentResolver.query( in performFiltering() 253 protected final ContentResolver mContentResolver; field in BaseEmailAddressAdapter 265 mContentResolver = context.getContentResolver(); in BaseEmailAddressAdapter()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 164 private final ContentResolver mContentResolver; field in LockPatternUtils 199 mContentResolver = context.getContentResolver(); in LockPatternUtils() 1202 return Settings.System.getIntForUser(mContentResolver, in isTactileFeedbackEnabled() 1307 mContentResolver, Settings.Secure.LOCK_SCREEN_APPWIDGET_IDS, userId); in getAppWidgets() 1365 Settings.Secure.putIntForUser(mContentResolver, in writeFallbackAppWidgetId() 1375 mContentResolver, in getFallbackAppWidgetId() 1382 Settings.Secure.putStringForUser(mContentResolver, in writeAppWidgets() 1658 final int value = Settings.Global.getInt(mContentResolver, in isCredentialRequiredToDecrypt()
|
/frameworks/base/media/java/android/media/ |
D | AudioService.java | 150 private final ContentResolver mContentResolver; field in AudioService 524 mContentResolver = context.getContentResolver(); in AudioService() 575 mSafeMediaVolumeState = new Integer(Settings.Global.getInt(mContentResolver, in AudioService() 838 final ContentResolver cr = mContentResolver; in readPersistedSettings() 1762 final int zen = Global.getInt(mContentResolver, Global.ZEN_MODE, Global.ZEN_MODE_OFF); in checkZen() 1766 Global.putInt(mContentResolver, Global.ZEN_MODE, Global.ZEN_MODE_OFF); in checkZen() 1827 float volume = Settings.System.getFloatForUser(mContentResolver, in restoreMasterVolume() 2313 mMusicActiveMs = MathUtils.constrain(Settings.Secure.getIntForUser(mContentResolver, in readAudioSettings() 2549 mContentResolver, in requestScoState() 3033 ringerModeAffectedStreams = Settings.System.getIntForUser(mContentResolver, in updateRingerModeAffectedStreams() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 119 private final ContentResolver mContentResolver; field in UsbDeviceManager 137 boolean enable = (Settings.Global.getInt(mContentResolver, in onChange() 164 mContentResolver = context.getContentResolver(); in UsbDeviceManager() 213 Settings.Global.putInt(mContentResolver, in systemReady() 375 mContentResolver.registerContentObserver( in UsbHandler()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiWatchdogStateMachine.java | 262 private ContentResolver mContentResolver; field in WifiWatchdogStateMachine 308 mContentResolver = context.getContentResolver(); in WifiWatchdogStateMachine() 430 mContentResolver, Settings.Global.WIFI_WATCHDOG_ON, true); in isWatchdogEnabled() 443 mPoorNetworkDetectionEnabled = getSettingsGlobalBoolean(mContentResolver, in updateSettings()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 92 private ContentResolver mContentResolver; field in MediaSessionService 117 mContentResolver = getContext().getContentResolver(); in onStart() 350 final String enabledNotifListeners = Settings.Secure.getStringForUser(mContentResolver, in isEnabledNotificationListener() 573 mContentResolver.registerContentObserver(mSecureSettingsUri, in observe()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 104 private final ContentResolver mContentResolver; field in TvInputManagerService 121 mContentResolver = context.getContentResolver(); in TvInputManagerService() 122 mWatchLogHandler = new WatchLogHandler(mContentResolver, IoThread.get().getLooper()); in TvInputManagerService() 231 results = mContentResolver.applyBatch(TvContract.AUTHORITY, operations); in registerBroadcastReceivers() 2144 private final ContentResolver mContentResolver; field in TvInputManagerService.WatchLogHandler 2148 mContentResolver = contentResolver; in WatchLogHandler() 2174 mContentResolver.insert(TvContract.WatchedPrograms.CONTENT_URI, values); in handleMessage() 2189 mContentResolver.insert(TvContract.WatchedPrograms.CONTENT_URI, values); in handleMessage()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 121 private BridgeContentResolver mContentResolver; field in BridgeContext 1064 if (mContentResolver == null) { in getContentResolver() 1065 mContentResolver = new BridgeContentResolver(this); in getContentResolver() 1067 return mContentResolver; in getContentResolver()
|