Martijn Coenen | e6f6b8f | 2018-08-17 09:48:33 +0200 | [diff] [blame] | 1 | /* |
| 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 Coenen | e6f6b8f | 2018-08-17 09:48:33 +0200 | [diff] [blame] | 20 | namespace android { |
| 21 | namespace apex { |
Andreas Gampe | 602ef78 | 2018-11-12 16:51:31 -0800 | [diff] [blame] | 22 | namespace binder { |
Martijn Coenen | e6f6b8f | 2018-08-17 09:48:33 +0200 | [diff] [blame] | 23 | |
Andreas Gampe | 602ef78 | 2018-11-12 16:51:31 -0800 | [diff] [blame] | 24 | void CreateAndRegisterService(); |
Jon Spivack | 1b84030 | 2020-02-06 18:34:30 -0800 | [diff] [blame] | 25 | void AllowServiceShutdown(); |
Zimuzo | 9cc0be4 | 2019-01-09 11:37:34 +0000 | [diff] [blame] | 26 | void StartThreadPool(); |
Andreas Gampe | 602ef78 | 2018-11-12 16:51:31 -0800 | [diff] [blame] | 27 | void JoinThreadPool(); |
Andreas Gampe | 8eb187a | 2018-10-19 21:18:03 -0700 | [diff] [blame] | 28 | |
Andreas Gampe | 602ef78 | 2018-11-12 16:51:31 -0800 | [diff] [blame] | 29 | } // namespace binder |
Andreas Gampe | b99abdd | 2018-10-19 19:59:17 -0700 | [diff] [blame] | 30 | } // namespace apex |
| 31 | } // namespace android |
Martijn Coenen | e6f6b8f | 2018-08-17 09:48:33 +0200 | [diff] [blame] | 32 | |
Dario Freni | 4d3ab9b | 2018-08-28 12:59:06 +0100 | [diff] [blame] | 33 | #endif // ANDROID_APEX_APEX_SERVICE_H |