Home
last modified time | relevance | path

Searched refs:invocation (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockKeyStore.java12 import org.mockito.invocation.InvocationOnMock;
43 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
44 Object[] args = invocation.getArguments(); in createMock()
54 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
55 Object[] args = invocation.getArguments(); in createMock()
64 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
65 Object[] args = invocation.getArguments(); in createMock()
73 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
74 Object[] args = invocation.getArguments(); in createMock()
82 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
[all …]
DMockAnswerUtil.java19 import org.mockito.invocation.InvocationOnMock;
38 public final Object answer(InvocationOnMock invocation) throws Throwable { in answer() argument
39 Method method = invocation.getMethod(); in answer()
47 Object[] args = invocation.getArguments(); in answer()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccPhoneBookInterfaceManagerTest.java34 import org.mockito.invocation.InvocationOnMock;
75 public Void answer(InvocationOnMock invocation) throws Throwable { in setUp()
76 Message response = (Message) invocation.getArguments()[2]; in setUp()
101 public Void answer(InvocationOnMock invocation) throws Throwable { in testAdnEFLoadWithFailure()
102 Message response = (Message) invocation.getArguments()[2]; in testAdnEFLoadWithFailure()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java44 import org.mockito.invocation.InvocationOnMock;
89 public Void answer(InvocationOnMock invocation) throws Throwable { in imsCallMocking()
100 public Void answer(InvocationOnMock invocation) throws Throwable { in imsCallMocking()
102 int reasonCode = (int) invocation.getArguments()[0]; in imsCallMocking()
113 public Void answer(InvocationOnMock invocation) throws Throwable { in imsCallMocking()
115 int reasonCode = (int) invocation.getArguments()[0]; in imsCallMocking()
125 public Void answer(InvocationOnMock invocation) throws Throwable { in imsCallMocking()
153 public Integer answer(InvocationOnMock invocation) throws Throwable { in setUp()
155 (ImsConnectionStateListener) invocation.getArguments()[2]; in setUp()
163 public ImsCall answer(InvocationOnMock invocation) throws Throwable { in setUp()
[all …]
DImsPhoneConnectionTest.java41 import org.mockito.invocation.InvocationOnMock;
196 public Void answer(InvocationOnMock invocation) throws Throwable { in testPostDialWait()
197 Message msg = (Message) invocation.getArguments()[1]; in testPostDialWait()
219 public Void answer(InvocationOnMock invocation) throws Throwable { in testPostDialPause()
220 Message msg = (Message) invocation.getArguments()[1]; in testPostDialPause()
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DVpnTest.java275 doAnswer(invocation -> { in setMockedUsers()
276 final boolean excludeDying = (boolean) invocation.getArguments()[0]; in setMockedUsers()
286 doAnswer(invocation -> { in setMockedUsers()
287 final int id = (int) invocation.getArguments()[0]; in setMockedUsers()
291 doAnswer(invocation -> { in setMockedUsers()
292 final int id = (int) invocation.getArguments()[0]; in setMockedUsers()
302 doAnswer(invocation -> { in setMockedPackages()
303 final String appName = (String) invocation.getArguments()[0]; in setMockedPackages()
304 final int userId = (int) invocation.getArguments()[1]; in setMockedPackages()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java31 import org.mockito.invocation.InvocationOnMock;
114 public Void answer(InvocationOnMock invocation) throws Throwable { in testMigration()
115 Integer userId = (Integer) invocation.getArguments()[0]; in testMigration()
116 Bundle bundle = (Bundle) invocation.getArguments()[1]; in testMigration()
229 public Void answer(InvocationOnMock invocation) throws Throwable { in testMigration2_profileOwnerOnUser0()
230 Integer userId = (Integer) invocation.getArguments()[0]; in testMigration2_profileOwnerOnUser0()
231 Bundle bundle = (Bundle) invocation.getArguments()[1]; in testMigration2_profileOwnerOnUser0()
DDpmMockContext.java48 import org.mockito.invocation.InvocationOnMock;
329 public UserInfo answer(InvocationOnMock invocation) throws Throwable { in addUser()
330 final int userId = (int) invocation.getArguments()[0]; in addUser()
343 public List<UserInfo> answer(InvocationOnMock invocation) throws Throwable { in addUser()
344 final int userId = (int) invocation.getArguments()[0]; in addUser()
352 public int[] answer(InvocationOnMock invocation) throws Throwable { in addUser()
353 final int userId = (int) invocation.getArguments()[0]; in addUser()
DDevicePolicyManagerTest.java46 import org.mockito.invocation.InvocationOnMock;
136 public Void answer(InvocationOnMock invocation) throws Throwable { in setUpUserManager()
137 String pkg = (String) invocation.getArguments()[0]; in setUpUserManager()
138 Bundle bundle = (Bundle) invocation.getArguments()[1]; in setUpUserManager()
139 UserHandle user = (UserHandle) invocation.getArguments()[2]; in setUpUserManager()
151 public Bundle answer(InvocationOnMock invocation) throws Throwable { in setUpUserManager()
152 String pkg = (String) invocation.getArguments()[0]; in setUpUserManager()
153 UserHandle user = (UserHandle) invocation.getArguments()[1]; in setUpUserManager()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java23 import org.mockito.invocation.InvocationOnMock;
474 public List<ResolveInfo> answer(InvocationOnMock invocation) throws Throwable { in ContextFixture()
476 (Intent) invocation.getArguments()[0], in ContextFixture()
477 (Integer) invocation.getArguments()[1]); in ContextFixture()
483 public List<ResolveInfo> answer(InvocationOnMock invocation) throws Throwable { in ContextFixture()
485 (Intent) invocation.getArguments()[0], in ContextFixture()
486 (Integer) invocation.getArguments()[1]); in ContextFixture()
509 public String answer(InvocationOnMock invocation) { in putResource()
510 Object[] args = invocation.getArguments(); in putResource()
DTelephonyTest.java75 import org.mockito.invocation.InvocationOnMock;
358 public IccRecords answer(InvocationOnMock invocation) { in setUp()
359 switch ((Integer) invocation.getArguments()[1]) { in setUp()
367 logd("Unrecognized family " + invocation.getArguments()[1]); in setUp()
381 public IccRecords answer(InvocationOnMock invocation) { in setUp()
DSubscriptionInfoUpdaterTest.java47 import org.mockito.invocation.InvocationOnMock;
323 public Void answer(InvocationOnMock invocation) throws Throwable { in testSimLockedWithOutIccId()
324 Message msg = (Message) invocation.getArguments()[1]; in testSimLockedWithOutIccId()
/frameworks/base/core/tests/coretests/src/android/print/
DIPrintManagerParametersTest.java43 import org.mockito.invocation.InvocationOnMock;
114 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) {
117 public Void answer(InvocationOnMock invocation) {
120 ((PrinterDiscoverySessionCallbacks) invocation
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DWakeupMessageTest.java36 import org.mockito.invocation.InvocationOnMock;
/frameworks/volley/src/test/java/com/android/volley/
DRequestQueueIntegrationTest.java29 import org.mockito.invocation.InvocationOnMock;
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlit.cfg63 + "suite invocation.")
/frameworks/rs/api/
Drs_for_each.spec22 The other functions are used to get the characteristics of the invocation of
48 summary: Handle to a kernel invocation context
/frameworks/rs/scriptc/
Drs_for_each.rsh24 * The other functions are used to get the characteristics of the invocation of
51 * rs_kernel_context: Handle to a kernel invocation context
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_for_each.jd10 <p> The other functions are used to get the characteristics of the invocation of
30 Handle to a kernel invocation context
205 <span class='normal'>: Handle to a kernel invocation context</span>
Doverview.jd2621 <p> The other functions are used to get the characteristics of the invocation of
2640 Handle to a kernel invocation context
/frameworks/base/docs/html/design/patterns/
Dapp-structure.jd233 invocation of actions for a data item from within list or grid views, display prominent actions
/frameworks/base/docs/html/training/articles/
Dperf-jni.jd50 the table.) The JavaVM provides the "invocation interface" functions,
183 from one invocation of a method to the next, and it's possible that two
Dsecurity-tips.jd643 invocation may fail if you do not have permission to access the given service.
/frameworks/base/docs/html/guide/topics/connectivity/nfc/
Dhce.jd518 <h3 id="OffHostInvocation">Off host service invocation</h3>
/frameworks/base/docs/html/topic/libraries/data-binding/
Dindex.jd883 <li>Explicit generic invocation

12