blob: 73c0f1f5e4f2edf42299c9b1ed435cb9c08d9834 [file] [log] [blame]
Martijn Coenene6f6b8f2018-08-17 09:48:33 +02001/*
2 * Copyright (C) 2018 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
17#ifndef ANDROID_APEX_APEX_SERVICE_H
18#define ANDROID_APEX_APEX_SERVICE_H
19
Martijn Coenene6f6b8f2018-08-17 09:48:33 +020020namespace android {
21namespace apex {
Andreas Gampe602ef782018-11-12 16:51:31 -080022namespace binder {
Martijn Coenene6f6b8f2018-08-17 09:48:33 +020023
Andreas Gampe602ef782018-11-12 16:51:31 -080024void CreateAndRegisterService();
Jon Spivack1b840302020-02-06 18:34:30 -080025void AllowServiceShutdown();
Zimuzo9cc0be42019-01-09 11:37:34 +000026void StartThreadPool();
Andreas Gampe602ef782018-11-12 16:51:31 -080027void JoinThreadPool();
Andreas Gampe8eb187a2018-10-19 21:18:03 -070028
Andreas Gampe602ef782018-11-12 16:51:31 -080029} // namespace binder
Andreas Gampeb99abdd2018-10-19 19:59:17 -070030} // namespace apex
31} // namespace android
Martijn Coenene6f6b8f2018-08-17 09:48:33 +020032
Dario Freni4d3ab9b2018-08-28 12:59:06 +010033#endif // ANDROID_APEX_APEX_SERVICE_H