HomeSort by relevance Sort by last modified time
    Searched refs:mMockNetd (Results 1 - 2 of 2) sorted by null

  /frameworks/base/tests/net/java/com/android/server/
IpSecServiceParameterizedTest.java 119 INetd mMockNetd;
140 mMockNetd = mock(INetd.class);
145 when(mMockIpSecSrvConfig.getNetdInstance()).thenReturn(mMockNetd);
160 when(mMockNetd.ipSecAllocateSpi(anyInt(), anyString(), eq(mDestinationAddr), eq(TEST_SPI)))
172 when(mMockNetd.ipSecAllocateSpi(anyInt(), anyString(), eq(mDestinationAddr), eq(TEST_SPI)))
181 verify(mMockNetd)
204 when(mMockNetd.ipSecAllocateSpi(anyInt(), anyString(), eq(mDestinationAddr), eq(TEST_SPI)))
218 verify(mMockNetd)
238 when(mMockNetd.ipSecAllocateSpi(anyInt(), anyString(), anyString(), anyInt()))
270 verify(mMockNetd)
    [all...]
IpSecServiceTest.java 117 INetd mMockNetd;
124 mMockNetd = mock(INetd.class);
129 when(mMockIpSecSrvConfig.getNetdInstance()).thenReturn(mMockNetd);
428 verify(mMockNetd).ipSecRemoveTransportModeTransform(pfd.getFileDescriptor());
509 when(mMockNetd.ipSecAllocateSpi(
635 verify(mMockNetd).ipSecSetEncapSocketOwner(argThat(fdMatcher), eq(Os.getuid()));

Completed in 74 milliseconds