/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 | 136 PrintManager printManager = (PrintManager) context in loadIcon()
|
D | PrintManager.java | 112 public final class PrintManager { class 261 public PrintManager(Context context, IPrintManager service, int userId, int appId) { in PrintManager() method in PrintManager 294 public PrintManager getGlobalPrintManagerForUser(int userId) { in getGlobalPrintManagerForUser() 299 return new PrintManager(mContext, mService, userId, APP_ID_ANY); in getGlobalPrintManagerForUser()
|
/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; 300 PrintManager printManager = (PrintManager) getContext() in loadInternal() 553 mEnabledServices = ((PrintManager) activity in PersistenceManager() 555 .getPrintServices(PrintManager.ENABLED_SERVICES); in PersistenceManager() 573 (PrintManager) getContext().getSystemService(Context.PRINT_SERVICE), in onCreateLoader() 574 getContext(), PrintManager.ENABLED_SERVICES); in onCreateLoader()
|
D | SelectPrinterActivity.java | 35 import android.print.PrintManager; 190 ((PrintManager) getSystemService(Context.PRINT_SERVICE)) in onCreate() 191 .getPrintServices(PrintManager.ALL_SERVICES); in onCreate() 444 return new PrintServicesLoader((PrintManager) getSystemService(Context.PRINT_SERVICE), this, in onCreateLoader() 445 PrintManager.ENABLED_SERVICES); in onCreateLoader()
|
D | PrintActivity.java | 57 import android.print.PrintManager; 284 mPrintJob = extras.getParcelable(PrintManager.EXTRA_PRINT_JOB); in onCreate() 286 throw new IllegalArgumentException(PrintManager.EXTRA_PRINT_JOB in onCreate() 293 final IBinder adapter = extras.getBinder(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER); in onCreate() 295 throw new IllegalArgumentException(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER in onCreate() 1439 return new PrintServicesLoader((PrintManager) getSystemService(Context.PRINT_SERVICE), this, in onCreateLoader() 1440 PrintManager.ENABLED_SERVICES); in onCreateLoader()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | IPrintManagerParametersTest.java | 174 return new PrintManager.PrintJobStateChangeListenerWrapper(null, 185 return new PrintManager.PrintServicesChangeListenerWrapper(null, 197 return new PrintManager.PrintServiceRecommendationsChangeListenerWrapper(null, 300 final IPrintDocumentAdapter adapter = new PrintManager 459 assertException(() -> mIPrintManager.getPrintServices(PrintManager.ALL_SERVICES, mUserId), 465 assertException(() -> mIPrintManager.getPrintServices(~PrintManager.ALL_SERVICES, mUserId),
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 61 import android.print.PrintManager; 243 Intent intent = new Intent(PrintManager.ACTION_PRINT_DIALOG); in print() 245 intent.putExtra(PrintManager.EXTRA_PRINT_DOCUMENT_ADAPTER, adapter.asBinder()); in print() 246 intent.putExtra(PrintManager.EXTRA_PRINT_JOB, printJob); in print() 258 result.putParcelable(PrintManager.EXTRA_PRINT_JOB, printJob); in print() 259 result.putParcelable(PrintManager.EXTRA_PRINT_DIALOG_INTENT, intentSender); in print() 396 if ((selectionFlags & PrintManager.ENABLED_SERVICES) == 0) { in getPrintServices() 400 if ((selectionFlags & PrintManager.DISABLED_SERVICES) == 0) { in getPrintServices() 1116 PrintJobInfo.STATE_ANY_SCHEDULED, PrintManager.APP_ID_ANY); in failScheduledPrintJobsForServiceInternal() 1152 if (record.appId == PrintManager.APP_ID_ANY in handleDispatchPrintJobStateChanged() [all …]
|
D | PrintManagerService.java | 55 import android.print.PrintManager; 350 PrintManager.DISABLED_SERVICES | PrintManager.ENABLED_SERVICES); in getPrintServices() 379 PrintManager.PRINT_SPOOLER_PACKAGE_NAME, resolvedUserId))) { in setPrintServiceEnabled() 908 .getPrintServices(PrintManager.ALL_SERVICES); in registerBroadcastReceivers() 977 .getPrintServices(PrintManager.ENABLED_SERVICES); in registerBroadcastReceivers()
|
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 | 42 import android.print.PrintManager; 692 PrintJobInfo.STATE_ANY_SCHEDULED, PrintManager.APP_ID_ANY); in getPrintJobInfos() 707 PrintManager.APP_ID_ANY); in getPrintJobInfo()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 40 import android.print.PrintManager; 387 printManager.cancelPrintJob(printJobId, PrintManager.APP_ID_ANY, in handleCancelPrintJob() 424 printManager.restartPrintJob(printJobId, PrintManager.APP_ID_ANY, in handleRestartPrintJob()
|
D | PrintSpoolerService.java | 53 import android.print.PrintManager; 320 final boolean sameAppId = appId == PrintManager.APP_ID_ANY in getPrintJobInfos() 353 && (appId == PrintManager.APP_ID_ANY in getPrintJobInfo() 448 printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in writePrintJobData() 552 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobState() 622 getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY).setProgress(progress); in setProgress() 636 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setStatus() 655 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setStatus() 712 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobTag() 734 PrintJobInfo printJob = getPrintJobInfo(printJobId, PrintManager.APP_ID_ANY); in setPrintJobCancelling()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorDialogControllerTest.kt | 27 import android.print.PrintManager.PRINT_SPOOLER_PACKAGE_NAME
|
D | PartialConversationInfoTest.java | 20 import static android.print.PrintManager.PRINT_SPOOLER_PACKAGE_NAME;
|
D | NotificationInfoTest.java | 25 import static android.print.PrintManager.PRINT_SPOOLER_PACKAGE_NAME;
|
D | NotificationConversationInfoTest.java | 27 import static android.print.PrintManager.PRINT_SPOOLER_PACKAGE_NAME;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 43 import android.print.PrintManager; 498 || packageName.equals(PrintManager.PRINT_SPOOLER_PACKAGE_NAME) in isEssentialPackage()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 220 import android.print.PrintManager; 893 registerService(Context.PRINT_SERVICE, PrintManager.class, in registerService() 894 new CachedServiceFetcher<PrintManager>() { in registerService() 896 public PrintManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 905 return new PrintManager(ctx.getOuterContext(), service, userId, appId); in registerService()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 51 import android.print.PrintManager; 888 grantSystemFixedPermissionsToSystemPackage(pm, PrintManager.PRINT_SPOOLER_PACKAGE_NAME, in grantDefaultSystemHandlerPermissions()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 40475 Landroid/print/PrintJob;-><init>(Landroid/print/PrintJobInfo;Landroid/print/PrintManager;)V 40478 Landroid/print/PrintJob;->mPrintManager:Landroid/print/PrintManager; 40534 Landroid/print/PrintManager$PrintDocumentAdapterDelegate$DestroyableCallback;->destroy()V 40535 Landroid/print/PrintManager$PrintDocumentAdapterDelegate$MyHandler;->MSG_ON_FINISH:I 40536 Landroid/print/PrintManager$PrintDocumentAdapterDelegate$MyHandler;->MSG_ON_KILL:I 40537 Landroid/print/PrintManager$PrintDocumentAdapterDelegate$MyHandler;->MSG_ON_LAYOUT:I 40538 Landroid/print/PrintManager$PrintDocumentAdapterDelegate$MyHandler;->MSG_ON_START:I 40539 Landroid/print/PrintManager$PrintDocumentAdapterDelegate$MyHandler;->MSG_ON_WRITE:I 40540 Landroid/print/PrintManager$PrintDocumentAdapterDelegate$MyLayoutResultCallback;->destroy()V 40541 Landroid/print/PrintManager$PrintDocumentAdapterDelegate$MyLayoutResultCallback;->mCallback:Landroi… [all …]
|
/frameworks/base/core/api/ |
D | system-current.txt | 11640 public final class PrintManager { 11641 …d addPrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRec… 11642 …ES) public void addPrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesCh… 11645 …emovePrintServiceRecommendationsChangeListener(@NonNull android.print.PrintManager.PrintServiceRec… 11646 … public void removePrintServicesChangeListener(@NonNull android.print.PrintManager.PrintServicesCh… 11650 public static interface PrintManager.PrintServiceRecommendationsChangeListener { 11654 public static interface PrintManager.PrintServicesChangeListener {
|