~mir-team/mir/in-process-egl+input-conglomeration

« back to all changes in this revision

Viewing changes to 3rd_party/android-input/android_pristine/system/core/include/cutils/logd.h

Merged trunk and fixed issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2009 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_CUTILS_LOGD_H
18
 
#define _ANDROID_CUTILS_LOGD_H
19
 
 
20
 
/* the stable/frozen log-related definitions have been
21
 
 * moved to this header, which is exposed by the NDK
22
 
 */
23
 
#include <android/log.h>
24
 
 
25
 
/* the rest is only used internally by the system */
26
 
#include <time.h>
27
 
#include <stdio.h>
28
 
#include <unistd.h>
29
 
#include <stdint.h>
30
 
#include <sys/types.h>
31
 
#ifdef HAVE_PTHREADS
32
 
#include <pthread.h>
33
 
#endif
34
 
#include <cutils/uio.h>
35
 
#include <stdarg.h>
36
 
 
37
 
#ifdef __cplusplus
38
 
extern "C" {
39
 
#endif
40
 
 
41
 
int __android_log_bwrite(int32_t tag, const void *payload, size_t len);
42
 
int __android_log_btwrite(int32_t tag, char type, const void *payload,
43
 
    size_t len);
44
 
 
45
 
#ifdef __cplusplus
46
 
}
47
 
#endif
48
 
 
49
 
#endif /* _LOGD_H */