1bf215546Sopenharmony_ci/*
2bf215546Sopenharmony_ci * Copyright (C) 2017 The Android Open Source Project
3bf215546Sopenharmony_ci *
4bf215546Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
5bf215546Sopenharmony_ci * you may not use this file except in compliance with the License.
6bf215546Sopenharmony_ci * You may obtain a copy of the License at
7bf215546Sopenharmony_ci *
8bf215546Sopenharmony_ci *      http://www.apache.org/licenses/LICENSE-2.0
9bf215546Sopenharmony_ci *
10bf215546Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
11bf215546Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
12bf215546Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13bf215546Sopenharmony_ci * See the License for the specific language governing permissions and
14bf215546Sopenharmony_ci * limitations under the License.
15bf215546Sopenharmony_ci */
16bf215546Sopenharmony_ci
17bf215546Sopenharmony_ci#pragma once
18bf215546Sopenharmony_ci
19bf215546Sopenharmony_ci#ifdef __cplusplus
20bf215546Sopenharmony_ciextern "C" {
21bf215546Sopenharmony_ci#endif
22bf215546Sopenharmony_ci
23bf215546Sopenharmony_ci/* Returns `1` if the device is debuggable or `0` if not. */
24bf215546Sopenharmony_ciint __android_log_is_debuggable();
25bf215546Sopenharmony_ci
26bf215546Sopenharmony_ci#ifdef __cplusplus
27bf215546Sopenharmony_ci}
28bf215546Sopenharmony_ci#endif
29