Searched refs:PrintManager (Results 1 – 17 of 17) sorted by relevance
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintRepository.kt | 21 import android.print.PrintManager in <lambda>() 35 private val printManager = context.getSystemService(PrintManager::class.java)!! in <lambda>() 64 .map { printManager.getPrintServices(PrintManager.ALL_SERVICES) } in <lambda>() 69 fun PrintManager.printServicesChangeFlow(): Flow<Unit> = callbackFlow { in <lambda>() method 70 val listener = PrintManager.PrintServicesChangeListener { trySend(Unit) } in <lambda>()
|
D | PrintSettingPreferenceController.java | 25 import android.print.PrintManager; 45 LifecycleObserver, OnStart, OnStop, PrintManager.PrintJobStateChangeListener { 50 private final PrintManager mPrintManager; 57 mPrintManager = ((PrintManager) context.getSystemService(Context.PRINT_SERVICE)) in PrintSettingPreferenceController() 118 mPrintManager.getPrintServices(PrintManager.ENABLED_SERVICES); in getSummary()
|
D | PrintJobPreferenceControllerBase.java | 20 import android.print.PrintManager; 32 LifecycleObserver, OnStart, OnStop, PrintManager.PrintJobStateChangeListener { 37 private final PrintManager mPrintManager; 44 mPrintManager = ((PrintManager) mContext.getSystemService( in PrintJobPreferenceControllerBase()
|
D | PrintSettingsFragment.java | 35 import android.print.PrintManager; 36 import android.print.PrintManager.PrintJobStateChangeListener; 220 PrintManager printManager = in onCreateLoader() 221 (PrintManager) getContext().getSystemService(Context.PRINT_SERVICE); in onCreateLoader() 224 PrintManager.ALL_SERVICES); in onCreateLoader() 459 private final PrintManager mPrintManager; 465 mPrintManager = ((PrintManager) context.getSystemService( in PrintJobsLoader()
|
D | SettingsPrintServicesLoader.java | 20 import android.print.PrintManager; 38 public SettingsPrintServicesLoader(@NonNull PrintManager printManager, @NonNull Context context, in SettingsPrintServicesLoader()
|
D | PrintServiceSettingsFragment.java | 29 import android.print.PrintManager; 169 ((PrintManager) getContext().getSystemService(Context.PRINT_SERVICE)) in onPreferenceToggled() 278 (PrintManager) getContext().getSystemService(Context.PRINT_SERVICE), getContext(), in onCreateLoader() 279 PrintManager.ALL_SERVICES); in onCreateLoader() 729 PrintManager printManager = (PrintManager) getContext()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalDiscoverySession.java | 20 import android.print.PrintManager; 43 PrintManager.PrintServiceRecommendationsChangeListener, 44 PrintManager.PrintServicesChangeListener { 56 private PrintManager mPrintManager; 73 mPrintManager = mPrintService.getSystemService(PrintManager.class); in LocalDiscoverySession() 101 PrintManager printManager = mPrintService.getSystemService(PrintManager.class); in onStopPrinterDiscovery() 343 PrintManager.ENABLED_SERVICES); in onPrintServicesChanged()
|
D | PdfPrintActivity.java | 31 import android.print.PrintManager; 67 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in onCreate()
|
D | ImagePrintActivity.java | 40 import android.print.PrintManager; 147 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in onProgressUpdate()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/print/ |
D | PrintRepositoryTest.kt | 23 import android.print.PrintManager 48 private val mockPrintManager = mock<PrintManager> { in <lambda>() 49 on { getPrintServices(PrintManager.ALL_SERVICES) } doReturn listOf(printServiceInfo) in <lambda>() 53 on { getSystemService(PrintManager::class.java) } doReturn mockPrintManager in <lambda>()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/ |
D | PrintSettingsPreferenceControllerTest.java | 38 import android.print.PrintManager; 65 private PrintManager mPrintManager; 133 when(mPrintManager.getPrintServices(PrintManager.ENABLED_SERVICES)) in updateState_shouldSetSummaryToNumberOfPrintServices() 143 when(mPrintManager.getPrintServices(PrintManager.ENABLED_SERVICES)).thenReturn(null); in updateState_shouldSetSummaryToNumberOfPrintServices()
|
D | PrintJobMessagePreferenceControllerTest.java | 33 import android.print.PrintManager; 54 private PrintManager mPrintManager;
|
D | PrintJobPreferenceControllerTest.java | 33 import android.print.PrintManager; 55 private PrintManager mPrintManager;
|
/packages/services/BuiltInPrintService/src/com/android/bips/ui/ |
D | MoreOptionsFragment.java | 27 import android.print.PrintManager; 45 PrintManager.PrintServiceRecommendationsChangeListener { 54 private PrintManager mPrintManager; 92 mPrintManager = getContext().getSystemService(PrintManager.class); in onStart()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/print/ |
D | PrintJobSettingsActivityTest.java | 34 import android.print.PrintManager; 120 PrintManager pm = mActivityRule.getActivity().getSystemService(PrintManager.class); in viewPrintJobSettings()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | LibUtils.java | 39 import android.print.PrintManager; 236 || pkg.packageName.equals(PrintManager.PRINT_SPOOLER_PACKAGE_NAME) in isSystemPackage()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewBrowserActivity.java | 26 import android.print.PrintManager; 555 PrintManager printManager = (PrintManager) getSystemService(Context.PRINT_SERVICE); in onMenuItemClick()
|