Searched refs:resultCodeCallback (Results 1 – 2 of 2) sorted by relevance
964 int cid, Executor executor, Consumer<Integer> resultCodeCallback) { in requestNetworkValidation() argument966 Objects.requireNonNull(resultCodeCallback, "resultCodeCallback cannot be null"); in requestNetworkValidation()972 new NetworkValidationInfo(cid, executor, resultCodeCallback, this)) in requestNetworkValidation()2284 Consumer<Integer> resultCodeCallback = networkValidationInfo.mResultCodeCallback; in handleNetworkValidationRequest() local2291 resultCodeCallback.accept( in handleNetworkValidationRequest()2302 resultCodeCallback.accept( in handleNetworkValidationRequest()2308 executor.execute(() -> resultCodeCallback.accept(DataServiceCallback.RESULT_SUCCESS)); in handleNetworkValidationRequest()
2440 ArrayList<Integer> resultCodeCallback = new ArrayList<>(); in testRequestNetworkValidationForUnregisteredApn() local2442 apnName.hashCode(), Runnable::run, resultCodeCallback::add); in testRequestNetworkValidationForUnregisteredApn()2445 assertEquals(1, resultCodeCallback.size()); in testRequestNetworkValidationForUnregisteredApn()2448 resultCodeCallback.get(index).intValue()); in testRequestNetworkValidationForUnregisteredApn()