Home
last modified time | relevance | path

Searched refs:getSession (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DPrinterDiscoverySessionCallbacks.java33 public StubbablePrinterDiscoverySession getSession() { in getSession() method in PrinterDiscoverySessionCallbacks
/cts/tests/tests/print/src/android/print/cts/
DPrinterDiscoverySessionLifecycleTest.java144 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in defaultPrinterBecomesAvailableWhileInBackground()
196 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in defaultPrinterBecomesUsableWhileInBackground()
595 invocation.getMock()).getSession(); in addRemovePrinters()
687 invocation.getMock()).getSession(); in createFirstMockPrinterDiscoverySessionCallbacks()
703 invocation.getMock()).getSession(); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrinterCapabilitiesTest.java78 invocation.getMock()).getSession(); in illegalPrinterCapabilityInfos()
191 invocation.getMock()).getSession(); in sanePrinterCapabilityInfos()
325 invocation.getMock()).getSession(); in testPrinterCapabilityInfo()
DPrintServicesTest.java109 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in createMockPrinterDiscoverySessionCallbacks()
341 sessionCallbacks.getSession().addPrinters(printers);
580 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession();
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java101 session[0] = ((PrinterDiscoverySessionCallbacks) inv.getMock()).getSession(); in printerReappearsWhileCanceling()
DPrinterInfoTest.java72 .getSession(); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintDocumentInfoTest.java287 StubbablePrinterDiscoverySession session = mock.getSession(); in createFirstMockDiscoverySessionCallbacks()
DPrintJobStateTransitionsTest.java86 .getSession(); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrinterCapabilitiesChangeTest.java163 .getSession(); in setUpPrinting()
DPageRangeAdjustAndVerify.java374 StubbablePrinterDiscoverySession session = mock.getSession(); in createMockFirstPrinterDiscoverySessionCallbacks()
DInterfaceForAppsTest.java71 .getMock()).getSession(); in createFirstMockPrinterDiscoverySessionCallbacks()
DCustomPrintOptionsTest.java120 .getSession(); in setUpServicesAndAdapter()
DPrintAttributesTest.java153 ((PrinterDiscoverySessionCallbacks) invocation.getMock()).getSession(); in createMockPrinterDiscoverySessionCallbacks()
DPageRangeAdjustmentTest.java510 StubbablePrinterDiscoverySession session = mock.getSession(); in createMockFirstPrinterDiscoverySessionCallbacks()
DPrintJobTest.java85 .getSession(); in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintDocumentAdapterContractTest.java1947 StubbablePrinterDiscoverySession session = mock.getSession(); in createFirstMockDiscoverySessionCallbacks()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecClearKeyPlayer.java231 if (casInfo != null && casInfo.getSession() != null) { in prepareAudio()
233 mAudioDescrambler.setMediaCasSession(casInfo.getSession()); in prepareAudio()
276 if (casInfo != null && casInfo.getSession() != null) { in prepareVideo()
278 mVideoDescrambler.setMediaCasSession(casInfo.getSession()); in prepareVideo()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputManagerTest.java793 PollingCheck.waitFor(TIME_OUT_MS, () -> sessionCallback.getSession() != null); in testGetClientPriority()
794 Session session = sessionCallback.getSession(); in testGetClientPriority()
834 PollingCheck.waitFor(TIME_OUT_MS, () -> sessionCallback.getSession() != null); in testGetClientPid()
835 Session session = sessionCallback.getSession(); in testGetClientPid()
1001 public TvInputManager.Session getSession() { in getSession() method in TvInputManagerTest.SessionCallback
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java262 WifiAwareSession getSession() { in getSession() method in SingleDeviceTest.AttachCallbackTest
784 callback.getSession().close(); in testAttachNoIdentity()
786 assertNull(callback.getSession()); in testAttachNoIdentity()
821 WifiAwareSession session = attachCb.getSession(); in testAttachDiscoveryWithConfigRequest()
853 WifiAwareSession session = attachCb.getSession(); in testAttachDiscoveryAddressChanges()
1858 assertNull(attachCb.getSession()); in testAttachOffload()
2053 WifiAwareSession session = attachCb.getSession(); in attachAndGetSession()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java760 when(callbacks.getSession()).thenCallRealMethod(); in createMockPrinterDiscoverySessionCallbacks()
/cts/tests/tests/secure_element/omapi/src/android/omapi/cts/
DOmapiTest.java835 channel.getSession().close(); in testGetSession()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java2030 return server.getSession().getPeerCertificates(); in assertSSLConnectionWithClientAuth()
2038 Certificate[] usedServerCerts = client.getSession().getPeerCertificates(); in assertSSLConnectionWithClientAuth()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt23561 method public android.media.MediaCas.Session getSession();
39293 method @NonNull public android.se.omapi.Session getSession();