Searched refs:resultCodeCallback (Results 1 – 2 of 2) sorted by relevance
/packages/services/Iwlan/test/com/google/android/iwlan/ |
D | IwlanDataServiceTest.java | 2462 ArrayList<Integer> resultCodeCallback = new ArrayList<>(); in testRequestNetworkValidationForUnregisteredApn() local 2464 apnName.hashCode(), Runnable::run, resultCodeCallback::add); in testRequestNetworkValidationForUnregisteredApn() 2467 assertEquals(1, resultCodeCallback.size()); in testRequestNetworkValidationForUnregisteredApn() 2470 resultCodeCallback.get(index).intValue()); in testRequestNetworkValidationForUnregisteredApn() 2511 ArrayList<Integer> resultCodeCallback = new ArrayList<>(); in testOnNetworkValidationStatusChangedForRegisteredApn() local 2528 cid, Runnable::run, resultCodeCallback::add); in testOnNetworkValidationStatusChangedForRegisteredApn() 2568 ArrayList<Integer> resultCodeCallback = new ArrayList<>(); in testGetCallListWithRequestNetworkValidationInProgress() local 2570 cid, Runnable::run, resultCodeCallback::add); in testGetCallListWithRequestNetworkValidationInProgress()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanDataService.java | 999 int cid, Executor executor, Consumer<Integer> resultCodeCallback) { in requestNetworkValidation() argument 1001 Objects.requireNonNull(resultCodeCallback, "resultCodeCallback cannot be null"); in requestNetworkValidation() 1007 new NetworkValidationInfo(cid, executor, resultCodeCallback, this)) in requestNetworkValidation() 1987 Consumer<Integer> resultCodeCallback = networkValidationInfo.mResultCodeCallback; in handleNetworkValidationRequest() local 2007 executor.execute(() -> resultCodeCallback.accept(resultCode)); in handleNetworkValidationRequest()
|