Home
last modified time | relevance | path

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

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DMockCameraFactory.java24 import org.mockito.invocation.InvocationOnMock;
53 public Camera answer(InvocationOnMock invocation) { in createCameraWrapper()
54 return cameras[(Integer) invocation.getArguments()[0]]; in createCameraWrapper()
59 public Void answer(InvocationOnMock invocation) throws Throwable { in createCameraWrapper()
61 cameras[(Integer) invocation.getArguments()[0]], in createCameraWrapper()
62 (CameraInfo) invocation.getArguments()[1] in createCameraWrapper()
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DTvInputManagerHelperTest.java28 import org.mockito.invocation.InvocationOnMock;
49 public Boolean answer(InvocationOnMock invocation) throws Throwable { in testComparator()
50 TvInputInfo info = (TvInputInfo) invocation.getArguments()[0]; in testComparator()
56 public String answer(InvocationOnMock invocation) throws Throwable { in testComparator()
57 TvInputInfo info = (TvInputInfo) invocation.getArguments()[0]; in testComparator()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeFactory.java46 import org.mockito.invocation.InvocationOnMock;
91 public String answer(final InvocationOnMock invocation) throws Throwable { in registerWithFakeContext()
92 final Object[] args = invocation.getArguments(); in registerWithFakeContext()
100 public String answer(final InvocationOnMock invocation) throws Throwable { in registerWithFakeContext()
101 final Object[] args = invocation.getArguments(); in registerWithFakeContext()
109 public String answer(final InvocationOnMock invocation) throws Throwable { in registerWithFakeContext()
110 return (String) invocation.getArguments()[0]; in registerWithFakeContext()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DTvInputNewComparatorTest.java34 import org.mockito.invocation.InvocationOnMock;
60 public Boolean answer(InvocationOnMock invocation) throws Throwable { in testComparator()
61 String inputId = (String) invocation.getArguments()[0]; in testComparator()
69 public Boolean answer(InvocationOnMock invocation) throws Throwable { in testComparator()
70 String inputId = (String) invocation.getArguments()[0]; in testComparator()
DChannelTest.java32 import org.mockito.invocation.InvocationOnMock;
90 public ActivityInfo answer(InvocationOnMock invocation) { in setUp()
95 ((ComponentName)invocation.getArguments()[0]).getPackageName()) in setUp()
189 public Boolean answer(InvocationOnMock invocation) throws Throwable { in testComparator()
190 String inputId = (String) invocation.getArguments()[0]; in testComparator()
235 public Boolean answer(InvocationOnMock invocation) throws Throwable { in testComparatorLabel()
236 String inputId = (String) invocation.getArguments()[0]; in testComparatorLabel()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommendationUtils.java26 import org.mockito.invocation.InvocationOnMock;
48 public Integer answer(InvocationOnMock invocation) throws Throwable { in createMockRecommendationDataManager()
54 public Collection<ChannelRecord> answer(InvocationOnMock invocation) throws Throwable { in createMockRecommendationDataManager()
60 public ChannelRecord answer(InvocationOnMock invocation) throws Throwable { in createMockRecommendationDataManager()
61 long channelId = (long) invocation.getArguments()[0]; in createMockRecommendationDataManager()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java27 import org.mockito.invocation.InvocationOnMock;
427 public List<ResolveInfo> answer(InvocationOnMock invocation) throws Throwable {
429 (Intent) invocation.getArguments()[0],
430 (Integer) invocation.getArguments()[1]);
436 public List<ResolveInfo> answer(InvocationOnMock invocation) throws Throwable {
438 (Intent) invocation.getArguments()[0],
439 (Integer) invocation.getArguments()[1]);
449 public Void answer(InvocationOnMock invocation) throws Throwable {
496 public String answer(InvocationOnMock invocation) {
497 Object[] args = invocation.getArguments();
DAsyncBlockCheckFilterTest.java74 doAnswer(invocation -> { in testBlockNumber()
88 doAnswer(invocation -> { in testDontBlockNumber()
DCallAudioRouteStateMachineTest.java40 import org.mockito.invocation.InvocationOnMock;
169 public Object answer(InvocationOnMock invocation) throws Throwable { in testSpeakerPersistence()
170 Object[] args = invocation.getArguments(); in testSpeakerPersistence()
DCallLogManagerTest.java62 import org.mockito.invocation.InvocationOnMock;
135 public Uri answer(InvocationOnMock invocation) throws Throwable { in setUp()
136 return (Uri) invocation.getArguments()[1]; in setUp()
DBasicCallTests.java63 import org.mockito.invocation.InvocationOnMock;
405 public Bundle answer(InvocationOnMock invocation) throws Throwable { in testIncomingCallBlockCheckTimesoutIsAllowed()
815 public Bundle answer(InvocationOnMock invocation) throws Throwable { in blockNumber()
DCallAudioManagerTest.java63 doAnswer((invocation) -> { in setUp() argument
DVideoProviderTest.java25 import org.mockito.invocation.InvocationOnMock;
DTelecomSystemTest.java83 import org.mockito.invocation.InvocationOnMock;
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java42 import org.mockito.invocation.InvocationOnMock;
108 public Object answer(InvocationOnMock invocation) throws Throwable { in testInstall_OnePackage()
109 Object[] arguments = invocation.getArguments(); in testInstall_OnePackage()
134 public Object answer(InvocationOnMock invocation) throws Throwable { in testInstall_InstallFailedVersionDowngrade()
135 Object[] arguments = invocation.getArguments(); in testInstall_InstallFailedVersionDowngrade()
DDeleteNonRequiredAppsTaskTest.java58 import org.mockito.invocation.InvocationOnMock;
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java15 import org.mockito.invocation.InvocationOnMock;
75 public URLConnection answer(InvocationOnMock invocation) throws Throwable { in getActiveNetwork()
76 final URL url = (URL) invocation.getArguments()[0]; in getActiveNetwork()
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
DBlockedNumbersAutoMigratorTest.java36 import org.mockito.invocation.InvocationOnMock;
194 public Void answer(InvocationOnMock invocation) throws Throwable { in setupFilteredNumberHasBlockedNumbersExpectation()
195 ((OnHasBlockedNumbersListener) invocation.getArguments()[0]) in setupFilteredNumberHasBlockedNumbersExpectation()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DComposeMessageViewTest.java46 import org.mockito.invocation.InvocationOnMock;
113 public Object answer(InvocationOnMock invocation) throws Throwable { in testSend()
115 ((CheckDraftTaskCallback)invocation.getArguments()[2]).onDraftChecked( in testSend()
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
DMenuTest.java25 import org.mockito.invocation.InvocationOnMock;
133 public Boolean answer(InvocationOnMock invocation) throws Throwable { in setMenuVisible()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DMockCallListWrapper.java26 import org.mockito.invocation.InvocationOnMock;
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt43935 01-13 23:17:39.310 1265 1328 D TelephonyRegistry: notifySubscriptionInfoChanged: first invocation