Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallFilterGraphTest.java30 import com.android.server.telecom.callfiltering.CallFilteringResult;
54 private static final CallFilteringResult PASS_CALL_RESULT = new CallFilteringResult.Builder()
60 private static final CallFilteringResult REJECT_CALL_RESULT = new CallFilteringResult.Builder()
72 public CompletionStage<CallFilteringResult> startFilterLookup( in startFilterLookup()
73 CallFilteringResult priorStageResult) { in startFilterLookup()
80 public CompletionStage<CallFilteringResult> startFilterLookup( in startFilterLookup()
81 CallFilteringResult priorStageResult) { in startFilterLookup()
88 public CompletionStage<CallFilteringResult> startFilterLookup( in startFilterLookup()
89 CallFilteringResult priorStageResult) { in startFilterLookup()
94 CompletableFuture<CallFilteringResult> resultFuture = new CompletableFuture<>(); in startFilterLookup()
[all …]
DCallScreeningServiceFilterTest.java53 import com.android.server.telecom.callfiltering.CallFilteringResult;
86 private CallFilteringResult inputResult;
88 private static final CallFilteringResult PASS_RESULT = new CallFilteringResult.Builder()
106 inputResult = new CallFilteringResult.Builder() in setUp()
218 CompletionStage<CallFilteringResult> resultFuture = filter.startFilterLookup(inputResult); in testAllowCall()
235 CallFilteringResult expectedResult = new CallFilteringResult.Builder() in testDisallowCall()
248 CompletionStage<CallFilteringResult> resultFuture = filter.startFilterLookup(inputResult); in testDisallowCall()
269 CallFilteringResult expectedResult = new CallFilteringResult.Builder() in testSilenceCall()
279 CompletionStage<CallFilteringResult> resultFuture = filter.startFilterLookup(inputResult); in testSilenceCall()
297 CallFilteringResult expectedResult = new CallFilteringResult.Builder() in testScreenCallFurther()
[all …]
DDirectToVoicemailFilterTest.java34 import com.android.server.telecom.callfiltering.CallFilteringResult;
53 private final CallFilteringResult PASS_RESULT = new CallFilteringResult.Builder()
59 private final CallFilteringResult DIRECT_TO_VOICEMAIL_RESULT = new CallFilteringResult.Builder()
89 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testSendToVoicemail()
101 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testDontSendToVoicemail()
113 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testNullResponseAndDifferentHandleFromLookupHelper()
123 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testNullResponseAndSameHandleFromLookupHelper()
DBlockCheckerFilterTest.java45 import com.android.server.telecom.callfiltering.CallFilteringResult;
66 private static final CallFilteringResult PASS_RESULT = new CallFilteringResult.Builder()
72 private static final CallFilteringResult BLOCK_RESULT = new CallFilteringResult.Builder()
113 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testBlockNumberWhenEnhancedBlockingEnabled()
139 CompletionStage<CallFilteringResult> resultFuture = mFilter.startFilterLookup(PASS_RESULT); in testDontBlockNumberWhenEnhancedBlockingEnabled()
DIncomingCallFilterTest.java29 import com.android.server.telecom.callfiltering.CallFilteringResult;
30 import com.android.server.telecom.callfiltering.CallFilteringResult.Builder;
70 private static final CallFilteringResult PASS_CALL_RESULT =
78 private static final CallFilteringResult ASYNC_BLOCK_CHECK_BLOCK_RESULT =
89 private static final CallFilteringResult DIRECT_TO_VOICEMAIL_CALL_BLOCK_RESULT =
100 private static final CallFilteringResult CALL_SCREENING_SERVICE_BLOCK_RESULT =
113 private static final CallFilteringResult DEFAULT_RESULT = PASS_CALL_RESULT;
295 any(CallFilteringResult.class)); in testFilterTimeout()
309 any(CallFilteringResult.class)); in testFilterTimeoutDoesntTrip()
DCallsManagerTest.java93 import com.android.server.telecom.callfiltering.CallFilteringResult;
1335 CallFilteringResult result = new CallFilteringResult.Builder() in testHandleSilenceVsBackgroundScreeningOrdering()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallFilteringResult.java25 public class CallFilteringResult { class
88 public static Builder from(CallFilteringResult result) { in from()
102 public CallFilteringResult build() { in build()
103 return new CallFilteringResult(mShouldAllowCall, mShouldReject, mShouldSilence, in build()
121 private CallFilteringResult(boolean shouldAllowCall, boolean shouldReject, boolean in CallFilteringResult() method in CallFilteringResult
144 public CallFilteringResult combine(CallFilteringResult other) { in combine()
203 private CallFilteringResult getCombinedCallFilteringResult(CallFilteringResult other, in getCombinedCallFilteringResult()
225 CallFilteringResult that = (CallFilteringResult) o; in equals()
DCallScreeningServiceFilter.java59 private CompletableFuture<CallFilteringResult> mResultFuture;
61 public CallScreeningAdapter(CompletableFuture<CallFilteringResult> resultFuture) { in CallScreeningAdapter()
89 mResultFuture.complete(new CallFilteringResult.Builder() in disallowCall()
118 mResultFuture.complete(new CallFilteringResult.Builder() in silenceCall()
149 mResultFuture.complete(new CallFilteringResult.Builder() in screenCallFurther()
170 private CompletableFuture<CallFilteringResult> mResultFuture;
172 public CallScreeningServiceConnection(CompletableFuture<CallFilteringResult> resultFuture) { in CallScreeningServiceConnection()
231 public CompletionStage<CallFilteringResult> startFilterLookup( in startFilterLookup()
232 CallFilteringResult priorStageResult) { in startFilterLookup()
249 CompletableFuture<CallFilteringResult> resultFuture = new CompletableFuture<>(); in startFilterLookup()
[all …]
DIncomingCallFilterGraph.java38 public static final CallFilteringResult DEFAULT_RESULT =
39 new CallFilteringResult.Builder()
54 private CallFilteringResult mCurrentResult;
65 public CallFilteringResult whenDone(CallFilteringResult result) { in whenDone()
140 CallFilteringResult result = new CallFilteringResult.Builder() in scheduleFilter()
151 final CallFilteringResult input = result; in scheduleFilter()
153 CompletableFuture<CallFilteringResult> startFuture = in scheduleFilter()
DBlockCheckerFilter.java65 public CompletionStage<CallFilteringResult> startFilterLookup(CallFilteringResult result) { in startFilterLookup()
67 CompletableFuture<CallFilteringResult> resultFuture = new CompletableFuture<>(); in startFilterLookup()
98 CompletableFuture<CallFilteringResult> resultFuture) { in getBlockStatus()
120 private int completeResult(CompletableFuture<CallFilteringResult> resultFuture, in completeResult()
122 CallFilteringResult result; in completeResult()
124 result = new CallFilteringResult.Builder() in completeResult()
135 result = new CallFilteringResult.Builder() in completeResult()
DCallFilter.java28 public CallFilteringResult mPriorStageResult;
29 public CallFilteringResult result;
30 private CompletableFuture<CallFilteringResult> mResultFuture;
38 public CompletionStage<CallFilteringResult> startFilterLookup( in startFilterLookup()
39 CallFilteringResult priorStageResult) { in startFilterLookup()
69 public CallFilteringResult getResult() { in getResult()
DDirectToVoicemailFilter.java42 public CompletionStage<CallFilteringResult> startFilterLookup(CallFilteringResult result) { in startFilterLookup()
44 CompletableFuture<CallFilteringResult> resultFuture = new CompletableFuture<>(); in startFilterLookup()
51 resultFuture.complete(new CallFilteringResult.Builder() in startFilterLookup()
DIncomingCallFilter.java30 import com.android.server.telecom.callfiltering.CallFilteringResult.Builder;
57 private CallFilteringResult mResult = new Builder()
99 public void onCallFilteringComplete(Call call, CallFilteringResult result) { in onCallFilteringComplete()
DCallFilterResultCallback.java21 void onCallFilteringComplete(Call call, CallFilteringResult result); in onCallFilteringComplete()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java45 import com.android.server.telecom.callfiltering.CallFilteringResult;
283 void logCall(Call call, int type, boolean showNotificationForMissedCall, CallFilteringResult in logCall()
313 @Nullable LogCallCompletedListener logCallCompletedListener, CallFilteringResult result) { in logCall()
DCallsManager.java101 import com.android.server.telecom.callfiltering.CallFilteringResult;
102 import com.android.server.telecom.callfiltering.CallFilteringResult.Builder;
734 public void onCallFilteringComplete(Call incomingCall, CallFilteringResult result) { in onCallFilteringComplete()
3397 private void rejectCallAndLog(Call incomingCall, CallFilteringResult result) {