Home
last modified time | relevance | path

Searched refs:CallFilteringResult (Results 1 – 14 of 14) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallFilteringResult.java23 public class CallFilteringResult { class
33 public CallFilteringResult(boolean shouldAllowCall, boolean shouldReject, boolean in CallFilteringResult() method in CallFilteringResult
42 public CallFilteringResult(boolean shouldAllowCall, boolean shouldReject, boolean in CallFilteringResult() method in CallFilteringResult
55 public CallFilteringResult(boolean shouldAllowCall, boolean shouldReject, boolean in CallFilteringResult() method in CallFilteringResult
64 public CallFilteringResult(boolean shouldAllowCall, boolean shouldReject, boolean in CallFilteringResult() method in CallFilteringResult
84 public CallFilteringResult combine(CallFilteringResult other) { in combine()
112 return new CallFilteringResult( in combine()
132 private CallFilteringResult getCombinedCallFilteringResult(CallFilteringResult other, in getCombinedCallFilteringResult()
134 return new CallFilteringResult( in getCombinedCallFilteringResult()
151 CallFilteringResult that = (CallFilteringResult) o; in equals()
DCallScreeningServiceFilter.java57 void onCallScreeningFilterComplete(Call call, CallFilteringResult result, String in onCallScreeningFilterComplete()
99 mResult = new CallFilteringResult( in allowCall()
134 mResult = new CallFilteringResult( in disallowCall()
163 mResult = new CallFilteringResult( in silenceCall()
197 private CallFilteringResult mResult = new CallFilteringResult(
DDirectToVoicemailCallFilter.java46 CallFilteringResult result; in startFilterLookup()
49 result = new CallFilteringResult( in startFilterLookup()
60 result = new CallFilteringResult( in startFilterLookup()
70 result = new CallFilteringResult( in startFilterLookup()
DIncomingCallFilter.java47 private CallFilteringResult mResult = new CallFilteringResult(
88 public void onCallFilteringComplete(Call call, CallFilteringResult result) { in onCallFilteringComplete()
DAsyncBlockCheckFilter.java122 CallFilteringResult result; in onPostExecute()
124 result = new CallFilteringResult( in onPostExecute()
140 result = new CallFilteringResult( in onPostExecute()
DCallScreeningServiceController.java69 private CallFilteringResult mResult = new CallFilteringResult(
124 public void onCallScreeningFilterComplete(Call call, CallFilteringResult result, in onCallScreeningFilterComplete()
DCallFilterResultCallback.java21 void onCallFilteringComplete(Call call, CallFilteringResult result); in onCallFilteringComplete()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallFilterTest.java28 import com.android.server.telecom.callfiltering.CallFilteringResult;
67 private static final CallFilteringResult PASS_CALL_RESULT =
68 new CallFilteringResult(
75 private static final CallFilteringResult ASYNC_BLOCK_CHECK_BLOCK_RESULT =
76 new CallFilteringResult(
86 private static final CallFilteringResult DIRECT_TO_VOICEMAIL_CALL_BLOCK_RESULT =
87 new CallFilteringResult(
97 private static final CallFilteringResult CALL_SCREENING_SERVICE_BLOCK_RESULT =
98 new CallFilteringResult(
109 private static final CallFilteringResult DEFAULT_RESULT = PASS_CALL_RESULT;
[all …]
DCallScreeningServiceControllerTest.java47 import com.android.server.telecom.callfiltering.CallFilteringResult;
110 private static final CallFilteringResult PASS_RESULT = new CallFilteringResult(
232 controller.onCallScreeningFilterComplete(mCall, new CallFilteringResult( in testCarrierCallScreeningRejectCall()
247 verify(mCallback).onCallFilteringComplete(eq(mCall), eq(new CallFilteringResult( in testCarrierCallScreeningRejectCall()
278 controller.onCallScreeningFilterComplete(mCall, new CallFilteringResult( in testDefaultDialerRejectCall()
293 verify(mCallback).onCallFilteringComplete(eq(mCall), eq(new CallFilteringResult( in testDefaultDialerRejectCall()
326 controller.onCallScreeningFilterComplete(mCall, new CallFilteringResult( in testUserChosenRejectCall()
341 verify(mCallback).onCallFilteringComplete(eq(mCall), eq(new CallFilteringResult( in testUserChosenRejectCall()
DCallScreeningServiceFilterTest.java46 import com.android.server.telecom.callfiltering.CallFilteringResult;
107 private static final CallFilteringResult PASS_RESULT = new CallFilteringResult(
114 private static final CallFilteringResult PASS_RESULT_WITH_SILENCE = new CallFilteringResult(
270 verify(mCallback).onCallScreeningFilterComplete(eq(mCall), eq(new CallFilteringResult( in testDisallowCallForCarrierDefined()
303 verify(mCallback).onCallScreeningFilterComplete(eq(mCall), eq(new CallFilteringResult( in testDisallowCallForDefaultDialer()
336 verify(mCallback).onCallScreeningFilterComplete(eq(mCall), eq(new CallFilteringResult( in testDisallowCallForUserChosen()
DAsyncBlockCheckFilterTest.java36 import com.android.server.telecom.callfiltering.CallFilteringResult;
63 private static final CallFilteringResult BLOCK_RESULT = new CallFilteringResult(
74 private static final CallFilteringResult PASS_RESULT = new CallFilteringResult(
DDirectToVoicemailCallFilterTest.java27 import com.android.server.telecom.callfiltering.CallFilteringResult;
65 new CallFilteringResult( in testSendToVoicemail()
86 new CallFilteringResult( in testDontSendToVoicemail()
101 new CallFilteringResult( in testNullResponseFromLookupHelper()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java46 import com.android.server.telecom.callfiltering.CallFilteringResult;
267 void logCall(Call call, int type, boolean showNotificationForMissedCall, CallFilteringResult in logCall()
297 @Nullable LogCallCompletedListener logCallCompletedListener, CallFilteringResult result) { in logCall()
DCallsManager.java80 import com.android.server.telecom.callfiltering.CallFilteringResult;
608 onCallFilteringComplete(incomingCall, new CallFilteringResult(true, false, true, true)); in onSuccessfulIncomingCall()
640 public void onCallFilteringComplete(Call incomingCall, CallFilteringResult result) { in onCallFilteringComplete()
2883 private void rejectCallAndLog(Call incomingCall, CallFilteringResult result) {