Home
last modified time | relevance | path

Searched refs:printManager (Results 1 – 10 of 10) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/
DPdfPrintActivity.java67 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in onCreate() local
68 if (printManager == null) { in onCreate()
76 printManager.print(mJobName, new PdfAdapter(), printAttributes); in onCreate()
DLocalDiscoverySession.java101 PrintManager printManager = mPrintService.getSystemService(PrintManager.class); in onStopPrinterDiscovery() local
102 printManager.removePrintServicesChangeListener(this); in onStopPrinterDiscovery()
103 printManager.removePrintServiceRecommendationsChangeListener(this); in onStopPrinterDiscovery()
DImagePrintActivity.java144 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in onProgressUpdate() local
145 if (printManager == null) { in onProgressUpdate()
155 mPrintJob = printManager.print(mJobName, new ImageAdapter(), printAttributes); in onProgressUpdate()
/packages/apps/Settings/src/com/android/settings/print/
DSettingsPrintServicesLoader.java38 public SettingsPrintServicesLoader(@NonNull PrintManager printManager, @NonNull Context context, in SettingsPrintServicesLoader() argument
42 mLoader = new PrintServicesLoader(printManager, context, selectionFlags) { in SettingsPrintServicesLoader()
DPrintSettingsFragment.java167 PrintManager printManager = in onCreateLoader() local
169 if (printManager != null) { in onCreateLoader()
170 return new SettingsPrintServicesLoader(printManager, getContext(), in onCreateLoader()
DPrintServiceSettingsFragment.java721 PrintManager printManager = (PrintManager) getContext()
723 mDiscoverySession = printManager.createPrinterDiscoverySession();
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/
DSettingsPrintServicesLoader.java38 public SettingsPrintServicesLoader(@NonNull PrintManager printManager, @NonNull Context context, in SettingsPrintServicesLoader() argument
42 mLoader = new PrintServicesLoader(printManager, context, selectionFlags) { in SettingsPrintServicesLoader()
DPrintSettingsFragment.java167 PrintManager printManager = in onCreateLoader() local
169 if (printManager != null) { in onCreateLoader()
170 return new SettingsPrintServicesLoader(printManager, getContext(), in onCreateLoader()
DPrintServiceSettingsFragment.java721 PrintManager printManager = (PrintManager) getContext()
723 mDiscoverySession = printManager.createPrinterDiscoverySession();
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java555 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in onMenuItemClick() local
558 printManager.print(jobName, printAdapter, new PrintAttributes.Builder().build()); in onMenuItemClick()