/frameworks/base/core/java/android/print/ |
D | PrintServicesLoader.java | 40 private final @NonNull PrintManager mPrintManager; 46 private PrintManager.PrintServicesChangeListener mListener; 55 public PrintServicesLoader(@NonNull PrintManager printManager, @NonNull Context context, in PrintServicesLoader() 61 PrintManager.ALL_SERVICES); in PrintServicesLoader() 80 mListener = new PrintManager.PrintServicesChangeListener() { in onStartLoading()
|
D | PrintServiceRecommendationsLoader.java | 37 private final @NonNull PrintManager mPrintManager; 43 private PrintManager.PrintServiceRecommendationsChangeListener mListener; 51 public PrintServiceRecommendationsLoader(@NonNull PrintManager printManager, in PrintServiceRecommendationsLoader() 74 mListener = new PrintManager.PrintServiceRecommendationsChangeListener() { in onStartLoading()
|
D | PrintJob.java | 35 private final @NonNull PrintManager mPrintManager; 39 PrintJob(@NonNull PrintJobInfo info, @NonNull PrintManager printManager) { in PrintJob()
|
D | PrinterInfo.java | 132 PrintManager printManager = (PrintManager) context in loadIcon()
|
D | PrintManager.java | 107 public final class PrintManager { class 257 public PrintManager(Context context, IPrintManager service, int userId, int appId) { in PrintManager() method in PrintManager 290 public PrintManager getGlobalPrintManagerForUser(int userId) { in getGlobalPrintManagerForUser() 295 return new PrintManager(mContext, mService, userId, APP_ID_ANY); in getGlobalPrintManagerForUser()
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
D | BasePrintTest.java | 27 import android.print.PrintManager; 113 PrintManager printManager = (PrintManager) getActivity() in print() 143 PrintManager.PRINT_SPOOLER_PACKAGE_NAME)) in clearPrintSpoolerData()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | AddPrinterActivity.java | 34 import android.print.PrintManager; 171 (PrintManager) getSystemService(Context.PRINT_SERVICE), in onCreateLoader() 172 AddPrinterActivity.this, PrintManager.ENABLED_SERVICES); in onCreateLoader() 175 (PrintManager) getSystemService(Context.PRINT_SERVICE), in onCreateLoader() 176 AddPrinterActivity.this, PrintManager.DISABLED_SERVICES); in onCreateLoader() 179 (PrintManager) getSystemService(Context.PRINT_SERVICE), in onCreateLoader() 180 AddPrinterActivity.this, PrintManager.ALL_SERVICES); in onCreateLoader() 242 (PrintManager) getSystemService(Context.PRINT_SERVICE), in onCreateLoader() 578 ((PrintManager) getSystemService(Context.PRINT_SERVICE)).setPrintServiceEnabled( in performAction()
|
D | FusedPrintersProvider.java | 37 import android.print.PrintManager; 301 PrintManager printManager = (PrintManager) getContext() in loadInternal() 554 mEnabledServices = ((PrintManager) activity in PersistenceManager() 556 .getPrintServices(PrintManager.ENABLED_SERVICES); in PersistenceManager() 574 (PrintManager) getContext().getSystemService(Context.PRINT_SERVICE), in onCreateLoader() 575 getContext(), PrintManager.ENABLED_SERVICES); in onCreateLoader()
|
D | SelectPrinterActivity.java | 34 import android.print.PrintManager; 189 ((PrintManager) getSystemService(Context.PRINT_SERVICE)) in onCreate() 190 .getPrintServices(PrintManager.ALL_SERVICES); in onCreate() 439 return new PrintServicesLoader((PrintManager) getSystemService(Context.PRINT_SERVICE), this, in onCreateLoader() 440 PrintManager.ENABLED_SERVICES); in onCreateLoader()
|
D | PrintActivity.java | 57 import android.print.PrintManager; 271 mPrintJob = extras.getParcelable(PrintManager.EXTRA_PRINT_JOB); in onCreate() 273 throw new IllegalArgumentException(PrintManager.EXTRA_PRINT_JOB in onCreate() 280 final IBinder adapter = extras.getBinder(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER); in onCreate() 282 throw new IllegalArgumentException(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER in onCreate() 1405 return new PrintServicesLoader((PrintManager) getSystemService(Context.PRINT_SERVICE), this, in onCreateLoader() 1406 PrintManager.ENABLED_SERVICES); in onCreateLoader()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | IPrintManagerParametersTest.java | 167 return new PrintManager.PrintJobStateChangeListenerWrapper(null, 178 return new PrintManager.PrintServicesChangeListenerWrapper(null, 190 return new PrintManager.PrintServiceRecommendationsChangeListenerWrapper(null, 284 final IPrintDocumentAdapter adapter = new PrintManager 438 PrintManager.ALL_SERVICES, mUserId); 444 assertException(() -> mIPrintManager.getPrintServices(~PrintManager.ALL_SERVICES, mUserId), 457 PrintManager.ALL_SERVICES, mUserId).get(0).getComponentName();
|
D | BasePrintTest.java | 157 PrintManager printManager = (PrintManager) getActivity() in print() 212 PrintManager.PRINT_SPOOLER_PACKAGE_NAME)) in clearPrintSpoolerData()
|
/frameworks/support/core-utils/kitkat/android/support/v4/print/ |
D | PrintHelperKitkat.java | 40 import android.print.PrintManager; 234 PrintManager printManager = (PrintManager) mContext.getSystemService(Context.PRINT_SERVICE); in printBitmap() 592 PrintManager printManager = (PrintManager) mContext.getSystemService(Context.PRINT_SERVICE); in printBitmap()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 47 import android.print.PrintManager; 264 PrintManager.DISABLED_SERVICES | PrintManager.ENABLED_SERVICES); in getPrintServices() 291 PrintManager.PRINT_SPOOLER_PACKAGE_NAME, resolvedUserId))) { in setPrintServiceEnabled() 704 .getPrintServices(PrintManager.ALL_SERVICES); in registerBroadcastReceivers() 765 .getPrintServices(PrintManager.ENABLED_SERVICES); in registerBroadcastReceivers()
|
D | UserState.java | 53 import android.print.PrintManager; 241 Intent intent = new Intent(PrintManager.ACTION_PRINT_DIALOG); in print() 243 intent.putExtra(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER, adapter.asBinder()); in print() 244 intent.putExtra(PrintManager.EXTRA_PRINT_JOB, printJob); in print() 253 result.putParcelable(PrintManager.EXTRA_PRINT_JOB, printJob); in print() 254 result.putParcelable(PrintManager.EXTRA_PRINT_DIALOG_INTENT, intentSender); in print() 391 if ((selectionFlags & PrintManager.ENABLED_SERVICES) == 0) { in getPrintServices() 395 if ((selectionFlags & PrintManager.DISABLED_SERVICES) == 0) { in getPrintServices() 1091 PrintJobInfo.STATE_ANY_SCHEDULED, PrintManager.APP_ID_ANY); in failScheduledPrintJobsForServiceInternal() 1126 if (record.appId == PrintManager.APP_ID_ANY in handleDispatchPrintJobStateChanged() [all …]
|
D | RemotePrintSpooler.java | 40 import android.print.PrintManager; 134 mIntent.setComponent(new ComponentName(PrintManager.PRINT_SPOOLER_PACKAGE_NAME, in RemotePrintSpooler() 135 PrintManager.PRINT_SPOOLER_PACKAGE_NAME + ".model.PrintSpoolerService")); in RemotePrintSpooler()
|
D | RemotePrintService.java | 40 import android.print.PrintManager; 751 PrintJobInfo.STATE_ANY_SCHEDULED, PrintManager.APP_ID_ANY); in getPrintJobInfos() 766 PrintManager.APP_ID_ANY); in getPrintJobInfo()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 45 import android.print.PrintManager; 294 final boolean sameAppId = appId == PrintManager.APP_ID_ANY in getPrintJobInfos() 327 && (appId == PrintManager.APP_ID_ANY in getPrintJobInfo() 423 printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in writePrintJobData() 520 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobState() 584 getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY).setProgress(progress); in setProgress() 598 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setStatus() 617 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setStatus() 674 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobTag() 696 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobCancelling()
|
D | NotificationController.java | 40 import android.print.PrintManager; 385 printManager.cancelPrintJob(printJobId, PrintManager.APP_ID_ANY, in handleCancelPrintJob() 422 printManager.restartPrintJob(printJobId, PrintManager.APP_ID_ANY, in handleRestartPrintJob()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 23 import android.print.PrintManager; 243 || pkg.packageName.equals(PrintManager.PRINT_SPOOLER_PACKAGE_NAME) in isSystemPackage()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 119 import android.print.PrintManager; 641 registerService(Context.PRINT_SERVICE, PrintManager.class, in registerService() 642 new CachedServiceFetcher<PrintManager>() { in registerService() 644 public PrintManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 648 return new PrintManager(ctx.getOuterContext(), service, UserHandle.myUserId(), in registerService()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DefaultPermissionGrantPolicy.java | 40 import android.print.PrintManager; 659 PrintManager.PRINT_SPOOLER_PACKAGE_NAME); in grantDefaultSystemHandlerPermissions()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationInfoTest.java | 19 import static android.print.PrintManager.PRINT_SPOOLER_PACKAGE_NAME;
|
/frameworks/base/ |
D | preloaded-classes | 2020 android.print.PrintManager
|
/frameworks/base/services/ |
D | profile-classes | 2232 Landroid/print/PrintManager;
|