/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInlineImageCache.java | 35 private NotificationInlineImageResolver mResolver; field in NotificationInlineImageCache 44 mResolver = resolver; in setImageResolver() 54 PreloadImageTask newTask = new PreloadImageTask(mResolver); in preload() 72 Set<Uri> wantedSet = mResolver.getWantedUriSet(); in purge() 77 private final NotificationInlineImageResolver mResolver; field in NotificationInlineImageCache.PreloadImageTask 80 mResolver = resolver; in PreloadImageTask() 89 drawable = mResolver.resolveImage(target); in doInBackground()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ContentValuesVerifierElem.java | 27 private final ImportTestResolver mResolver; field in ContentValuesVerifierElem 31 mResolver = new ImportTestResolver(androidTestCase); in ContentValuesVerifierElem() 32 mHandler = new VCardEntryCommitter(mResolver); in ContentValuesVerifierElem() 38 mResolver.addExpectedContentValues(contentValues); in addExpected() 43 mResolver.verify(); in verifyResolver()
|
/frameworks/base/core/java/android/util/ |
D | KeyValueSettingObserver.java | 45 private final ContentResolver mResolver; field in KeyValueSettingObserver 51 mResolver = resolver; in KeyValueSettingObserver() 57 mResolver.registerContentObserver(mSettingUri, false, mObserver); in start() 64 mResolver.unregisterContentObserver(mObserver); in stop() 75 String setting = getSettingValue(mResolver); in setParserValue()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | DocumentsProviderTest.java | 42 private ContentResolver mResolver; field in DocumentsProviderTest 52 mResolver = getMockContentResolver(); in setUp() 62 mResolver.acquireUnstableContentProviderClient(docUri)) { in testFindDocumentPath_docUri() 77 final Path actual = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri() 89 DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_throwsOnNonChildDocument() 101 Path path = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_erasesNonNullRootId() 114 Path path = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_erasesDocsOutsideTree()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | DocumentLoaderTest.java | 38 private TestContentResolver mResolver; field in DocumentLoaderTest 59 mResolver = new TestContentResolver(); in setUp() 85 mResolver.waitForNotification(uri, 1); in testBasic() 96 mResolver.waitForNotification(uri, 2); in testBasic() 104 assertEquals(2, mResolver.getChangeCount(uri)); in testBasic() 161 assertEquals(0, mResolver.getChangeCount(uri)); in testCancelTask() 168 assertEquals(0, mResolver.getChangeCount(uri)); in testCancelTask() 175 mResolver.waitForNotification(uri, 1); in testCancelTask() 184 mResolver, in setUpLoader()
|
D | MtpDocumentsProviderTest.java | 48 private TestContentResolver mResolver; field in MtpDocumentsProviderTest 56 mResolver = new TestContentResolver(); in setUp() 86 mResolver.waitForNotification(ROOTS_URI, 1); in testOpenAndCloseDevice() 89 mResolver.waitForNotification(ROOTS_URI, 2); in testOpenAndCloseDevice() 92 mResolver.waitForNotification(ROOTS_URI, 3); in testOpenAndCloseDevice() 123 mResolver.waitForNotification(ROOTS_URI, 1); in testOpenAndCloseErrorDevice() 125 mResolver.waitForNotification(ROOTS_URI, 2); in testOpenAndCloseErrorDevice() 148 mResolver.waitForNotification(ROOTS_URI, 1); in testOpenDeviceOnDemand() 210 mResolver.waitForNotification(ROOTS_URI, 1); in testQueryRoots() 228 mResolver.waitForNotification(ROOTS_URI, 2); in testQueryRoots() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | ProviderTestCase.java | 42 private MockContentResolver mResolver; field in ProviderTestCase 62 mResolver = new MockContentResolver(); in setUp() 68 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp() 72 mResolver.addProvider(mProviderAuthority, getProvider()); in setUp() 88 return mResolver; in getMockContentResolver()
|
D | ProviderTestCase2.java | 77 private MockContentResolver mResolver; field in ProviderTestCase2 134 mResolver = new MockContentResolver(); in setUp() 142 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper); in setUp() 144 mResolver.addProvider(mProviderAuthority, getProvider()); in setUp() 179 return mResolver; in getMockContentResolver()
|
D | IsolatedContext.java | 47 private ContentResolver mResolver; field in IsolatedContext 55 mResolver = resolver; in IsolatedContext() 70 return mResolver; in getContentResolver()
|
/frameworks/base/core/java/android/text/method/ |
D | TextKeyListener.java | 65 private WeakReference<ContentResolver> mResolver; field in TextKeyListener 251 if (mResolver != null) { in release() 252 final ContentResolver contentResolver = mResolver.get(); in release() 255 mResolver.clear(); in release() 258 mResolver = null; in release() 265 mResolver = new WeakReference<ContentResolver>(contentResolver); in initPrefs() 282 if (mResolver != null) { in onChange() 283 final ContentResolver contentResolver = mResolver.get(); in onChange() 309 if (!mPrefsInited || mResolver.get() == null) { in getPrefs()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | OneTimeSettingsListener.java | 39 private final ContentResolver mResolver; field in OneTimeSettingsListener 47 mResolver = context.getContentResolver(); in OneTimeSettingsListener() 57 mResolver.registerContentObserver(uri, false, this); in OneTimeSettingsListener() 62 mResolver.unregisterContentObserver(this); in onChange()
|
/frameworks/base/core/java/android/net/util/ |
D | MultinetworkPolicyTracker.java | 69 private final ContentResolver mResolver; field in MultinetworkPolicyTracker 88 mResolver = mContext.getContentResolver(); in MultinetworkPolicyTracker() 112 mResolver.registerContentObserver(uri, false, mSettingObserver); in start() 124 mResolver.unregisterContentObserver(mSettingObserver); in shutdown() 158 return Settings.Global.getString(mResolver, NETWORK_AVOID_BAD_WIFI); in getAvoidBadWifiSetting() 192 String setting = Settings.Global.getString(mResolver, NETWORK_METERED_MULTIPATH_PREFERENCE); in updateMeteredMultipathPreference()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastConstants.java | 71 private ContentResolver mResolver; field in BroadcastConstants 96 mResolver = resolver; in startObserving() 99 mResolver.registerContentObserver(Settings.Global.getUriFor(mSettingsKey), in startObserving() 108 mParser.setString(Settings.Global.getString(mResolver, mSettingsKey)); in updateConstants()
|
D | ActivityManagerConstants.java | 258 private ContentResolver mResolver; field in ActivityManagerConstants 340 mResolver = resolver; in start() 341 mResolver.registerContentObserver(ACTIVITY_MANAGER_CONSTANTS_URI, false, this); in start() 342 mResolver.registerContentObserver(ACTIVITY_STARTS_LOGGING_ENABLED_URI, false, this); in start() 344 mResolver.registerContentObserver(ENABLE_AUTOMATIC_SYSTEM_SERVER_HEAP_DUMPS_URI, in start() 385 final String setting = Settings.Global.getString(mResolver, in updateConstants() 464 mFlagActivityStartsLoggingEnabled = Settings.Global.getInt(mResolver, in updateActivityStartsLoggingEnabled() 484 final boolean enabled = Settings.Global.getInt(mResolver, in updateEnableAutomaticSystemServerHeapDumps()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImpl.java | 308 private final ContentResolver mResolver; field in ZenModeControllerImpl.SetupObserver 314 mResolver = mContext.getContentResolver(); in SetupObserver() 318 return Secure.getIntForUser(mResolver, Secure.USER_SETUP_COMPLETE, 0, mUserId) != 0; in isUserSetup() 322 return Global.getInt(mResolver, Global.DEVICE_PROVISIONED, 0) != 0; in isDeviceProvisioned() 327 mResolver.unregisterContentObserver(this); in register() 329 mResolver.registerContentObserver( in register() 331 mResolver.registerContentObserver( in register()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | RootScanner.java | 54 final ContentResolver mResolver; field in RootScanner 65 mResolver = resolver; in RootScanner() 75 mResolver.notifyChange(uri, null, false); in notifyChange()
|
D | MtpDocumentsProvider.java | 90 private ContentResolver mResolver; field in MtpDocumentsProvider 113 mResolver = getContext().getContentResolver(); in onCreate() 116 mRootScanner = new RootScanner(mResolver, mMtpManager, mDatabase); in onCreate() 123 final int bootCount = Settings.Global.getInt(mResolver, Settings.Global.BOOT_COUNT, -1); in onCreate() 128 mResolver.getOutgoingPersistedUriPermissions(); in onCreate() 157 mResolver = resolver; in onCreateForTesting() 160 mRootScanner = new RootScanner(mResolver, mMtpManager, mDatabase); in onCreateForTesting() 175 mResolver, DocumentsContract.buildRootsUri(MtpDocumentsProvider.AUTHORITY)); in queryRoots() 588 new DeviceToolkit(mMtpManager, mResolver, mDatabase, device); in openDevice() 667 mResolver.notifyChange( in notifyChildDocumentsChange()
|
D | DocumentLoader.java | 52 private final ContentResolver mResolver; field in DocumentLoader 61 mResolver = resolver; in DocumentLoader() 97 return task.createCursor(mResolver, columnNames); in queryChildDocuments() 204 task.notify(mResolver); in run()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentResolverTest.java | 47 private ContentResolver mResolver; field in ContentResolverTest 56 mResolver = InstrumentationRegistry.getInstrumentation().getTargetContext() in setUp() 59 mClient = new ContentProviderClient(mResolver, mProvider, false); in setUp()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 229 protected final ContentResolver mResolver; field in ImageUtils.BaseInputStreamFactory 233 mResolver = resolver; in BaseInputStreamFactory() 239 return mResolver.openInputStream(mUri); in createInputStream()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettings.java | 117 private ContentResolver mResolver = null; field in DataEnabledSettings 181 mResolver = mPhone.getContext().getContentResolver(); in DataEnabledSettings() 360 return Settings.Global.getInt(mResolver, Settings.Global.DEVICE_PROVISIONED, 0) == 0; in isProvisioning() 373 final int prov_mobile_data = Settings.Global.getInt(mResolver, in isProvisioningDataEnabled()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GeofenceManager.java | 118 private ContentResolver mResolver; field in GeofenceManager 128 mResolver = mContext.getContentResolver(); in GeofenceManager() 130 mResolver.registerContentObserver( in GeofenceManager() 148 mEffectiveMinIntervalMs = Settings.Global.getLong(mResolver, in updateMinInterval()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 1033 private final ContentResolver mResolver; field in DownloadManager 1043 mResolver = context.getContentResolver(); in DownloadManager() 1081 Uri downloadUri = mResolver.insert(Downloads.Impl.CONTENT_URI, values); 1100 return mResolver.delete(mBaseUri, getWhereClauseForIds(ids), getWhereArgsForIds(ids)); 1127 Cursor underlyingCursor = query.runQuery(mResolver, projection, mBaseUri); 1141 return mResolver.openFileDescriptor(getDownloadUri(id), "r"); 1231 mResolver.update(mBaseUri, values, getWhereClauseForIds(ids), getWhereArgsForIds(ids)); 1245 mResolver.update(mBaseUri, values, getWhereClauseForIds(ids), getWhereArgsForIds(ids)); 1326 return mResolver.update( 1530 Uri downloadUri = mResolver.insert(Downloads.Impl.CONTENT_URI, values);
|
/frameworks/base/core/java/android/content/ |
D | AsyncQueryHandler.java | 42 /* package */ final WeakReference<ContentResolver> mResolver; field in AsyncQueryHandler 67 final ContentResolver resolver = mResolver.get(); in handleMessage() 126 mResolver = new WeakReference<ContentResolver>(cr); in AsyncQueryHandler()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 73 private final ContentResolver mResolver; field in WatchlistLoggingHandler 96 mResolver = mContext.getContentResolver(); in WatchlistLoggingHandler() 244 final long lastReportTime = Settings.Global.getLong(mResolver, in shouldReportNetworkWatchlist() 264 Settings.Global.putLong(mResolver, in tryAggregateRecords()
|