Home
last modified time | relevance | path

Searched refs:mDm (Results 1 – 4 of 4) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java97 private DownloadManager mDm; field in DownloadStorageProvider
104 mDm = (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE); in onCreate()
105 mDm.setAccessAllDownloads(true); in onCreate()
106 mDm.setAccessFilename(true); in onCreate()
212 newDocumentId = Long.toString(mDm.addCompletedDownload( in createDocument()
233 if (mDm.remove(Long.parseLong(docId)) != 1) { in deleteDocument()
257 if (!mDm.rename(getContext(), id, displayName)) { in renameDocument()
292 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId))); in queryDocument()
343 cursor = mDm.query( in queryChildDocuments()
346 cursor = mDm.query( in queryChildDocuments()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DVisibilityPreferenceControllerTest.java85 private DevicePolicyManager mDm; field in VisibilityPreferenceControllerTest
96 shadowApplication.setSystemService(Context.DEVICE_POLICY_SERVICE, mDm); in setUp()
175 when(mDm.getActiveAdminsAsUser(anyInt())).thenReturn(components); in testUpdateState_disabledByAdmin_disableSecure()
176 when(mDm.getKeyguardDisabledFeatures(any(), anyInt())) in testUpdateState_disabledByAdmin_disableSecure()
197 when(mDm.getActiveAdminsAsUser(anyInt())).thenReturn(components); in testUpdateState_disabledByAdmin_disableUnredacted()
198 when(mDm.getKeyguardDisabledFeatures(any(), anyInt())) in testUpdateState_disabledByAdmin_disableUnredacted()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java105 private DisplayManager mDm; field in ScanManager
131 mDm = (DisplayManager) mService.getSystemService(Context.DISPLAY_SERVICE); in ScanManager()
146 if (mDm != null) { in start()
147 mDm.registerDisplayListener(mDisplayListener, null); in start()
171 if (mDm != null) { in cleanup()
172 mDm.unregisterDisplayListener(mDisplayListener); in cleanup()
1336 Display[] displays = mDm.getDisplays(); in isScreenOn()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java133 private final DisplayManager mDm; field in FixedActivityService
282 mDm = displayManager; in FixedActivityService()
435 Display display = mDm.getDisplay(displayIdForActivity); in launchIfNecessary()