Home
last modified time | relevance | path

Searched refs:getInfo (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrintJobTest.java192 eventually(() -> assertEquals(state, job.getInfo().getState()));
254 printJob.getInfo().getStatus(getActivity().getPackageManager())));
260 printJob.getInfo().getStatus(getActivity().getPackageManager())));
266 printJob.getInfo().getStatus(getActivity().getPackageManager())));
270 printJob.getInfo().getStatus(getActivity().getPackageManager())));
284 printJob.getInfo().getStatus(getActivity().getPackageManager())));
290 printJob.getInfo().getStatus(getActivity().getPackageManager())));
422 .filter(printJob -> printJob.getInfo().getLabel().equals("advancedOption"))
424 assertFalse(printJob.getInfo().hasAdvancedOption(VALID_STRING_KEY));
426 printJob.getInfo().getAdvancedStringOption(VALID_STRING_KEY));
[all …]
DInterfaceForAppsTest.java121 job.getInfo().getState())); in createFirstMockPrinterServiceCallbacks()
217 eventually(() -> assertEquals(cancelAfterState, job.getInfo().getState()));
259 eventually(() -> assertEquals(PrintJobInfo.STATE_CREATED, job.getInfo().getState()));
335 assertEquals(job1.getId(), job1.getInfo().getId());
341 assertEquals(job2.getId(), job2.getInfo().getId());
381 assertEquals(TEST_PRINTER, job.getInfo().getPrinterId().getLocalId());
382 assertEquals(2, job.getInfo().getCopies());
384 job.getInfo().getAttributes().getColorMode());
386 job.getInfo().getAttributes().getDuplexMode());
388 job.getInfo().getAttributes().getMediaSize());
[all …]
DPageRangeAdjustmentTest.java105 PageRange[] pages = printJob.getInfo().getPages(); in allPagesWantedAndAllPagesWritten()
153 PageRange[] pages = printJob.getInfo().getPages(); in somePagesWantedAndAllPagesWritten()
241 PrintJobInfo printJobInfo = printJob.getInfo(); in somePagesWantedAndSomeMorePagesWritten()
247 assertSame(printJob.getDocument().getInfo().getPageCount(), 1); in somePagesWantedAndSomeMorePagesWritten()
418 PrintJobInfo printJobInfo = printJob.getInfo(); in wantedPagesAlreadyWrittenForPreview()
425 assertSame(printJob.getDocument().getInfo().getPageCount(), 1); in wantedPagesAlreadyWrittenForPreview()
DPageRangeAdjustAndVerify.java194 printJob.getDocument().getInfo().getPageCount()); in adjustPageRangeAndVerifyPages()
196 printJob.getInfo().getPages()); in adjustPageRangeAndVerifyPages()
DPrintServicesTest.java169 runOnMainThread(() -> printProgress[0] = sPrintJob.getInfo().getProgress()); in getProgress()
184 runOnMainThread(() -> printStatus[0] = sPrintJob.getInfo().getStatus(getActivity() in getStatus()
DPrintDocumentInfoTest.java112 queuedInfo[0] = printJob.getDocument().getInfo(); in printDocumentBaseTest()
DPrintJobStateTransitionsTest.java217 eventually(() -> assertEquals(state, job.getInfo().getState()));
/cts/hostsidetests/incident/src/com/android/server/cts/
DJobSchedulerIncidentTest.java49 testJobStatusShortInfoProto(rj.getInfo(), filterLevel); in verifyJobSchedulerServiceDumpProto()
70 testJobStatusShortInfoProto(pj.getInfo(), filterLevel); in verifyJobSchedulerServiceDumpProto()
80 testJobStatusShortInfoProto(ajRj.getInfo(), filterLevel); in verifyJobSchedulerServiceDumpProto()
262 testJobStatusShortInfoProto(tj.getInfo(), filterLevel); in testStateControllerProto()
267 testJobStatusShortInfoProto(tj.getInfo(), filterLevel); in testStateControllerProto()
272 testJobStatusShortInfoProto(tj.getInfo(), filterLevel); in testStateControllerProto()
278 testJobStatusShortInfoProto(tj.getInfo(), filterLevel); in testStateControllerProto()
289 testJobStatusShortInfoProto(ji.getInfo(), filterLevel); in testStateControllerProto()
308 testJobStatusShortInfoProto(tj.getInfo(), filterLevel); in testStateControllerProto()
313 testJobStatusShortInfoProto(tj.getInfo(), filterLevel); in testStateControllerProto()
[all …]
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfDocumentTest.java236 assertTrue(pageInfoEquals(page0.getInfo(), doc.getPages().get(0))); in writeTwoPageDoc()
259 assertTrue(pageInfoEquals(page0.getInfo(), doc.getPages().get(0))); in writeTwoPageDoc()
260 assertTrue(pageInfoEquals(page1.getInfo(), doc.getPages().get(1))); in writeTwoPageDoc()
368 assertEquals(page.getInfo().getContentRect(), contentRect); in createPageWithFullContentRect()
382 assertEquals(page.getInfo().getContentRect(), contentRect); in createPageWithPartialContentRect()
396 assertEquals(page.getInfo().getContentRect(), contentRect); in createPageWithEmptyContentRect()
414 assertEquals(page.getInfo().getContentRect(), contentRect); in createPageWithInverseContentRect()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DUtils.java154 if (job.getInfo().getLabel().equals(name)) { in getPrintJob()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsStreamingServiceTest.java137 assertEquals(CtsStreamingService.STREAMING_SERVICE_INFO, streamingService.getInfo()); in testStartStreaming()
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java306 checkEchoDeviceInfo(mc, mc.echoDevice.getInfo()); in testDeviceInfo()
308 mc.echoInfo.equals(mc.echoDevice.getInfo())); in testDeviceInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DMidiActivity.java421 MidiDeviceInfo deviceInfo = device.getInfo(); in openPorts()
837 MidiDeviceInfo deviceInfo = device.getInfo(); in openUSBEchoDevice()
DNDKMidiActivity.java430 MidiDeviceInfo deviceInfo = device.getInfo(); in openPorts()
/cts/tests/app/src/android/app/cts/
DServiceTest.java1347 IsolatedConnectionInfo getInfo() { in getInfo() method in ServiceTest.LruOrderItem