media/omx-plugin/include/froyo/cutils/logd.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/omx-plugin/include/froyo/cutils/logd.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,49 @@
     1.4 +/*
     1.5 + * Copyright (C) 2009 The Android Open Source Project
     1.6 + *
     1.7 + * Licensed under the Apache License, Version 2.0 (the "License");
     1.8 + * you may not use this file except in compliance with the License.
     1.9 + * You may obtain a copy of the License at
    1.10 + *
    1.11 + *      http://www.apache.org/licenses/LICENSE-2.0
    1.12 + *
    1.13 + * Unless required by applicable law or agreed to in writing, software
    1.14 + * distributed under the License is distributed on an "AS IS" BASIS,
    1.15 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    1.16 + * See the License for the specific language governing permissions and
    1.17 + * limitations under the License.
    1.18 + */
    1.19 +
    1.20 +#ifndef _ANDROID_CUTILS_LOGD_H
    1.21 +#define _ANDROID_CUTILS_LOGD_H
    1.22 +
    1.23 +/* the stable/frozen log-related definitions have been
    1.24 + * moved to this header, which is exposed by the NDK
    1.25 + */
    1.26 +#include <android/log.h>
    1.27 +
    1.28 +/* the rest is only used internally by the system */
    1.29 +#include <time.h>
    1.30 +#include <stdio.h>
    1.31 +#include <unistd.h>
    1.32 +#include <stdint.h>
    1.33 +#include <sys/types.h>
    1.34 +#ifdef HAVE_PTHREADS
    1.35 +#include <pthread.h>
    1.36 +#endif
    1.37 +#include <cutils/uio.h>
    1.38 +#include <stdarg.h>
    1.39 +
    1.40 +#ifdef __cplusplus
    1.41 +extern "C" {
    1.42 +#endif
    1.43 +
    1.44 +int __android_log_bwrite(int32_t tag, const void *payload, size_t len);
    1.45 +int __android_log_btwrite(int32_t tag, char type, const void *payload,
    1.46 +    size_t len);
    1.47 +
    1.48 +#ifdef __cplusplus
    1.49 +}
    1.50 +#endif
    1.51 +
    1.52 +#endif /* _LOGD_H */

mercurial