Home
last modified time | relevance | path

Searched refs:mockSession (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsCallTest.java65 ImsCallSession mockSession = mock(ImsCallSession.class); in testCallSessionProgressingAppliedMediaCaps() local
68 when(mockSession.getCallProfile()).thenReturn(profile); in testCallSessionProgressingAppliedMediaCaps()
69 testImsCall.attachSession(mockSession); in testCallSessionProgressingAppliedMediaCaps()
73 verify(mockSession).setListener(listenerCaptor.capture()); in testCallSessionProgressingAppliedMediaCaps()
84 listener.callSessionProgressing(mockSession, newProfile); in testCallSessionProgressingAppliedMediaCaps()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskSnapshotPersisterLoaderTest.java157 MockitoSession mockSession = mockitoSession() in testLegacyPLowRamConfig() local
182 mockSession.finishMocking(); in testLegacyPLowRamConfig()
187 MockitoSession mockSession = mockitoSession() in testLegacyPNonLowRamConfig() local
212 mockSession.finishMocking(); in testLegacyPNonLowRamConfig()
217 MockitoSession mockSession = mockitoSession() in testLegacyQLowRamConfig() local
244 mockSession.finishMocking(); in testLegacyQLowRamConfig()
249 MockitoSession mockSession = mockitoSession() in testLegacyQNonLowRamConfig() local
276 mockSession.finishMocking(); in testLegacyQNonLowRamConfig()
H A DDisplayContentTests.java2260 MockitoSession mockSession = mockitoSession() in testVirtualDisplayContent() local
2283 mockSession.finishMocking(); in testVirtualDisplayContent()
2288 MockitoSession mockSession = mockitoSession() in testVirtualDisplayContent_capturedAreaResized() local
2325 mockSession.finishMocking(); in testVirtualDisplayContent_capturedAreaResized()
2330 MockitoSession mockSession = mockitoSession() in testVirtualDisplayContent_withoutSurface() local
2357 mockSession.finishMocking(); in testVirtualDisplayContent_withoutSurface()
2362 MockitoSession mockSession = mockitoSession() in testVirtualDisplayContent_withSurface() local
2390 mockSession.finishMocking(); in testVirtualDisplayContent_withSurface()
H A DActivityTaskManagerServiceTests.java230 MockitoSession mockSession = mockitoSession() in testEnterPipModeWhenRecordParentChangesToNull() local
257 mockSession.finishMocking(); in testEnterPipModeWhenRecordParentChangesToNull()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
H A DStartingSurfaceDrawerTests.java257 MockitoSession mockSession = mockitoSession() in testRemoveTaskSnapshotWithImeSurfaceWhenOnImeDrawn()
263 mockSession.finishMocking(); in testRemoveTaskSnapshotWithImeSurfaceWhenOnImeDrawn()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DBpfCoordinatorTest.java1124 MockitoSession mockSession = ExtendedMockito.mockitoSession() in testAttachDetachBpfProgram() local
1176 mockSession.finishMocking(); in testAttachDetachBpfProgram()
1557 MockitoSession mockSession = ExtendedMockito.mockitoSession() in checkRefreshConntrackTimeout() local
1597 mockSession.finishMocking(); in checkRefreshConntrackTimeout()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigManagerTest.java4762 MockitoSession mockSession = ExtendedMockito.mockitoSession() in testResetSimNetworks() local
4784 mockSession.finishMocking(); in testResetSimNetworks()
4821 MockitoSession mockSession = ExtendedMockito.mockitoSession() in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities() local
4845 mockSession.finishMocking(); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()