Searched refs:mDm (Results 1 – 3 of 3) sorted by relevance
97 private DownloadManager mDm; field in DownloadStorageProvider104 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 …]
82 private DevicePolicyManager mDm; field in VisibilityPreferenceControllerTest93 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()
103 private DisplayManager mDm; field in ScanManager129 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()