Searched refs:mDm (Results 1 – 4 of 4) 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()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 …]
85 private DevicePolicyManager mDm; field in VisibilityPreferenceControllerTest96 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()
105 private DisplayManager mDm; field in ScanManager131 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()
133 private final DisplayManager mDm; field in FixedActivityService282 mDm = displayManager; in FixedActivityService()435 Display display = mDm.getDisplay(displayIdForActivity); in launchIfNecessary()