Home
last modified time | relevance | path

Searched refs:mDm (Results 1 – 3 of 3) 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()
210 newDocumentId = Long.toString(mDm.addCompletedDownload( in createDocument()
231 if (mDm.remove(Long.parseLong(docId)) != 1) { in deleteDocument()
255 if (!mDm.rename(getContext(), id, displayName)) { in renameDocument()
289 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId))); in queryDocument()
340 cursor = mDm.query( in queryChildDocuments()
343 cursor = mDm.query( in queryChildDocuments()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVisibilityPreferenceControllerTest.java82 private DevicePolicyManager mDm; field in VisibilityPreferenceControllerTest
93 shadowApplication.setSystemService(Context.DEVICE_POLICY_SERVICE, mDm); in setUp()
155 when(mDm.getActiveAdminsAsUser(anyInt())).thenReturn(components); in testUpdateState_disabledByAdmin_disableSecure()
156 when(mDm.getKeyguardDisabledFeatures(any(), anyInt())) in testUpdateState_disabledByAdmin_disableSecure()
177 when(mDm.getActiveAdminsAsUser(anyInt())).thenReturn(components); in testUpdateState_disabledByAdmin_disableUnredacted()
178 when(mDm.getKeyguardDisabledFeatures(any(), anyInt())) in testUpdateState_disabledByAdmin_disableUnredacted()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java103 private DisplayManager mDm; field in ScanManager
129 mDm = (DisplayManager) mService.getSystemService(Context.DISPLAY_SERVICE); in ScanManager()
138 if (mDm != null) { in start()
139 mDm.registerDisplayListener(mDisplayListener, null); in start()
163 if (mDm != null) { in cleanup()
164 mDm.unregisterDisplayListener(mDisplayListener); in cleanup()
1301 Display[] displays = mDm.getDisplays(); in isScreenOn()