Searched refs:answer (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/tests/utils/testutils/java/android/app/test/
H A DMockAnswerUtil.java32 * Answer that calls the method in the Answer called "answer" that matches the type signature of
38 public final Object answer(InvocationOnMock invocation) throws Throwable { method in class:MockAnswerUtil.AnswerWithArguments
41 Method implementation = getClass().getMethod("answer", method.getParameterTypes());
43 throw new RuntimeException("Found answer method does not have expected return "
51 throw new RuntimeException("Error invoking answer method", e);
56 throw new RuntimeException("Could not find answer method with the expected args "
H A DTestAlarmManager.java139 public void answer(int type, long triggerAtMillis, String tag, method in class:TestAlarmManager.SetListenerAnswer
147 public void answer(AlarmManager.OnAlarmListener listener) { method in class:TestAlarmManager.CancelListenerAnswer
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DMockAnswerUtil.java32 * Answer that calls the method in the Answer called "answer" that matches the type signature of
38 public final Object answer(InvocationOnMock invocation) throws Throwable { method in class:MockAnswerUtil.AnswerWithArguments
41 Method implementation = getClass().getMethod("answer", method.getParameterTypes());
43 throw new RuntimeException("Found answer method does not have expected return "
51 throw new RuntimeException("Error invoking answer method", e);
56 throw new RuntimeException("Could not find answer method with the expected args "
H A DMockKeyStore.java43 public Boolean answer(InvocationOnMock invocation) throws Throwable {
54 public Boolean answer(InvocationOnMock invocation) throws Throwable {
64 public Boolean answer(InvocationOnMock invocation) throws Throwable {
73 public Boolean answer(InvocationOnMock invocation) throws Throwable {
82 public Boolean answer(InvocationOnMock invocation) throws Throwable {
H A DMockAlarmManager.java140 public void answer(int type, long triggerAtMillis, String tag, method in class:MockAlarmManager.SetListenerAnswer
148 public void answer(AlarmManager.OnAlarmListener listener) { method in class:MockAlarmManager.CancelListenerAnswer
H A DMockWifiMonitor.java58 public void answer(String iface, int what, Handler handler) { method in class:MockWifiMonitor.RegisterHandlerAnswer
H A DWifiConnectivityManagerTest.java152 // do a synchronous answer for the ScanListener callbacks
154 public void answer(ScanSettings settings, ScanListener listener,
160 public void answer(ScanSettings settings, ScanListener listener,
179 public void answer(ScanSettings settings, PnoSettings pnoSettings,
185 public void answer(ScanSettings settings, PnoSettings pnoSettings,
805 public void answer(ScanSettings settings, ScanListener listener,
844 public void answer(ScanSettings settings, ScanListener listener,
885 public void answer(ScanSettings settings, ScanListener listener,
914 public void answer(ScanSettings settings, ScanListener listener,
H A DConfigurationMapTest.java86 public List<UserInfo> answer(int userId) {
H A DWifiLoggerTest.java374 public boolean answer(WifiNative.TxFateReport[] fates) {
387 public boolean answer(WifiNative.RxFateReport[] fates) {
507 public boolean answer(WifiNative.TxFateReport[] fates) {
516 public boolean answer(WifiNative.RxFateReport[] fates) {
H A DWifiStateMachineTest.java195 public IpManager answer(
208 public WifiConfigManager answer(Context context, WifiNative wifiNative,
569 public boolean answer(int netId, String name, String value) {
583 public boolean answer(int netId, String name, Map<String, String> values) {
596 public String answer(int netId, String name) throws Throwable {
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java418 String answer = createAnswer(sessionDescription).encode();
419 mSipSession.answerCall(answer, SESSION_TIMEOUT);
547 String answer = createAnswer(sessionDescription).encode();
548 newSession.answerCall(answer, SESSION_TIMEOUT);
694 * @throws SipException if the SIP service fails to answer the call
700 throw new SipException("No call to answer");
753 SimpleSessionDescription answer =
769 Media reply = answer.newMedia(
785 answer.setAttribute("sendonly", "");
787 answer
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DIccPhoneBookInterfaceManagerTest.java76 public Void answer(InvocationOnMock invocation) throws Throwable {
104 public Void answer(InvocationOnMock invocation) throws Throwable {
/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DIConnectionService.aidl49 void answer(String callId);
/frameworks/volley/src/test/java/com/android/volley/
H A DRequestQueueIntegrationTest.java75 public NetworkResponse answer(InvocationOnMock invocationOnMock) throws Throwable {
113 public NetworkResponse answer(InvocationOnMock invocationOnMock) throws Throwable {
146 public NetworkResponse answer(InvocationOnMock invocationOnMock) throws Throwable {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTrackerTest.java90 public Void answer(InvocationOnMock invocation) throws Throwable {
101 public Void answer(InvocationOnMock invocation) throws Throwable {
114 public Void answer(InvocationOnMock invocation) throws Throwable {
126 public Void answer(InvocationOnMock invocation) throws Throwable {
154 public Integer answer(InvocationOnMock invocation) throws Throwable {
164 public ImsCall answer(InvocationOnMock invocation) throws Throwable {
173 public ImsCall answer(InvocationOnMock invocation) throws Throwable {
H A DImsPhoneConnectionTest.java196 public Void answer(InvocationOnMock invocation) throws Throwable {
219 public Void answer(InvocationOnMock invocation) throws Throwable {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewCacheTest.java107 public RecyclerView.ViewHolder answer(InvocationOnMock invocation)
167 public RecyclerView.ViewHolder answer(InvocationOnMock invocation)
217 public RecyclerView.ViewHolder answer(InvocationOnMock invocation)
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java114 public Void answer(InvocationOnMock invocation) throws Throwable {
229 public Void answer(InvocationOnMock invocation) throws Throwable {
H A DDpmMockContext.java329 public UserInfo answer(InvocationOnMock invocation) throws Throwable {
343 public List<UserInfo> answer(InvocationOnMock invocation) throws Throwable {
352 public int[] answer(InvocationOnMock invocation) throws Throwable {
/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConnection.java865 * Instructs this {@link Connection#STATE_RINGING} {@code RemoteConnection} to answer.
867 public void answer() { method in class:RemoteConnection
870 mConnectionService.answer(mConnectionId);
877 * Instructs this {@link Connection#STATE_RINGING} {@code RemoteConnection} to answer.
878 * @param videoState The video state in which to answer the call.
881 public void answer(int videoState) { method in class:RemoteConnection
H A DConnectionService.java72 * receives call-commands such as answer, reject, hold and disconnect.
166 public void answer(String callId) {
325 answer((String) msg.obj);
805 findConnectionForAction(callId, "answer").onAnswer(videoState);
808 private void answer(String callId) { method in class:ConnectionService
809 Log.d(this, "answer %s", callId);
810 findConnectionForAction(callId, "answer").onAnswer();
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java496 public List<ResolveInfo> answer(InvocationOnMock invocation) throws Throwable {
505 public List<ResolveInfo> answer(InvocationOnMock invocation) throws Throwable {
533 public String answer(InvocationOnMock invocation) {
H A DTelephonyTest.java373 public IccRecords answer(InvocationOnMock invocation) {
396 public IccRecords answer(InvocationOnMock invocation) {
H A DSubscriptionInfoUpdaterTest.java325 public Void answer(InvocationOnMock invocation) throws Throwable {
/frameworks/base/core/tests/coretests/src/android/print/
H A DIPrintManagerParametersTest.java114 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) {
117 public Void answer(InvocationOnMock invocation) {

Completed in 451 milliseconds

12