blob: a5ec8e2c2ac078bd96747f79745adec20996a00d [file] [log] [blame]
Steven Moreland11a732a2017-03-07 17:44:17 -08001/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16#include <hidl/HidlTransportSupport.h>
17
18#include <hidl/HidlBinderSupport.h>
19
20namespace android {
21namespace hardware {
22
23void configureRpcThreadpool(size_t maxThreads, bool callerWillJoin) {
24 // TODO(b/32756130) this should be transport-dependent
25 configureBinderRpcThreadpool(maxThreads, callerWillJoin);
26}
27void joinRpcThreadpool() {
28 // TODO(b/32756130) this should be transport-dependent
29 joinBinderRpcThreadpool();
30}
31
32}
33}