/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | IncomingCallFilterGraphTest.java | 30 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 …]
|
D | CallScreeningServiceFilterTest.java | 54 import com.android.server.telecom.callfiltering.CallFilteringResult; 87 private CallFilteringResult inputResult; 89 private static final CallFilteringResult PASS_RESULT = new CallFilteringResult.Builder() 96 private static final CallFilteringResult PASS_RESULT_WITH_NAME = 97 new CallFilteringResult.Builder() 117 inputResult = new CallFilteringResult.Builder() in setUp() 242 CompletionStage<CallFilteringResult> resultFuture = filter.startFilterLookup(inputResult); in testAllowCall() 265 CallFilteringResult expectedResult = new CallFilteringResult.Builder() in testDisallowCall() 278 CompletionStage<CallFilteringResult> resultFuture = filter.startFilterLookup(inputResult); in testDisallowCall() 303 CallFilteringResult expectedResult = new CallFilteringResult.Builder() in testSilenceCall() [all …]
|
D | DirectToVoicemailFilterTest.java | 34 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()
|
D | BlockCheckerFilterTest.java | 45 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()
|
D | MissedInformationTest.java | 51 import com.android.server.telecom.callfiltering.CallFilteringResult; 191 CallFilteringResult result = new CallFilteringResult.Builder() in testCallFiltersTimeout() 208 CallFilteringResult result = new CallFilteringResult.Builder() in testCallScreeningServiceSilence()
|
D | CallsManagerTest.java | 106 import com.android.server.telecom.callfiltering.CallFilteringResult; 1403 CallFilteringResult result = new CallFilteringResult.Builder() in testHandleSilenceVsBackgroundScreeningOrdering()
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | CallScreeningServiceFilter.java | 61 private CompletableFuture<CallFilteringResult> mResultFuture; 63 public CallScreeningAdapter(CompletableFuture<CallFilteringResult> resultFuture) { in CallScreeningAdapter() 93 CallFilteringResult result = new CallFilteringResult.Builder() in allowCall() 119 CallFilteringResult result = new CallFilteringResult.Builder() in disallowCall() 151 CallFilteringResult result = new CallFilteringResult.Builder() in silenceCall() 187 CallFilteringResult result = new CallFilteringResult.Builder() in screenCallFurther() 212 private CompletableFuture<CallFilteringResult> mResultFuture; 214 public CallScreeningServiceConnection(CompletableFuture<CallFilteringResult> resultFuture) { in CallScreeningServiceConnection() 274 public CompletionStage<CallFilteringResult> startFilterLookup( in startFilterLookup() 275 CallFilteringResult priorStageResult) { in startFilterLookup() [all …]
|
D | CallFilteringResult.java | 26 public class CallFilteringResult { class 98 public static Builder from(CallFilteringResult result) { in from() 114 public CallFilteringResult build() { in build() 115 return new CallFilteringResult(mShouldAllowCall, mShouldReject, mShouldSilence, in build() 135 private CallFilteringResult(boolean shouldAllowCall, boolean shouldReject, boolean in CallFilteringResult() method in CallFilteringResult 162 public CallFilteringResult combine(CallFilteringResult other) { in combine() 222 private CallFilteringResult getCombinedCallFilteringResult(CallFilteringResult other, in getCombinedCallFilteringResult() 240 private static void combineScreeningResponses(Builder builder, CallFilteringResult r1, in combineScreeningResponses() 241 CallFilteringResult r2) { in combineScreeningResponses() 268 CallFilteringResult that = (CallFilteringResult) o; in equals()
|
D | IncomingCallFilterGraph.java | 38 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()
|
D | CallFilter.java | 28 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()
|
D | BlockCheckerFilter.java | 65 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()
|
D | DirectToVoicemailFilter.java | 42 public CompletionStage<CallFilteringResult> startFilterLookup(CallFilteringResult result) { in startFilterLookup() 44 CompletableFuture<CallFilteringResult> resultFuture = new CompletableFuture<>(); in startFilterLookup() 51 resultFuture.complete(new CallFilteringResult.Builder() in startFilterLookup()
|
D | CallFilterResultCallback.java | 21 void onCallFilteringComplete(Call call, CallFilteringResult result, boolean timeout); in onCallFilteringComplete()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallLogManager.java | 47 import com.android.server.telecom.callfiltering.CallFilteringResult; 236 void logCall(Call call, int type, boolean showNotificationForMissedCall, CallFilteringResult in logCall() 266 @Nullable LogCallCompletedListener logCallCompletedListener, CallFilteringResult result) { in logCall() 313 result = new CallFilteringResult.Builder() in logCall()
|
D | CallsManager.java | 108 import com.android.server.telecom.callfiltering.CallFilteringResult; 109 import com.android.server.telecom.callfiltering.CallFilteringResult.Builder; 750 public void onCallFilteringComplete(Call incomingCall, CallFilteringResult result, in onCallFilteringComplete() 3626 private void autoMissCallAndLog(Call incomingCall, CallFilteringResult result) {
|