Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66ce3e08 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

system/core Replace cutils/log.h with android/log.h

Should use android/log.h instead of cutils/log.h as a good example
to all others.  Adjust header order to comply with Android Coding
standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
parent 0dd44310
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -20,12 +20,12 @@
#include <pthread.h>
#include <pthread.h>
#include <sys/resource.h>
#include <sys/resource.h>


#include <android/log.h>
#include <utils/Vector.h>

#include <adf/adf.h>
#include <adf/adf.h>
#include <adfhwc/adfhwc.h>
#include <adfhwc/adfhwc.h>


#include <cutils/log.h>
#include <utils/Vector.h>

struct adf_hwc_helper {
struct adf_hwc_helper {
    adf_hwc_event_callbacks const *event_cb;
    adf_hwc_event_callbacks const *event_cb;
    void *event_cb_data;
    void *event_cb_data;
+9 −7
Original line number Original line Diff line number Diff line
@@ -14,20 +14,22 @@
 * limitations under the License.
 * limitations under the License.
 */
 */


#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <linux/input.h>
#include <stdint.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <stdint.h>
#include <dirent.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/inotify.h>
#include <sys/inotify.h>
#include <sys/ioctl.h>
#include <sys/limits.h>
#include <sys/limits.h>
#include <sys/poll.h>
#include <sys/poll.h>
#include <linux/input.h>

#include <errno.h>
#include <memory>
#include <memory>
#include <cutils/log.h>

#include <android/log.h>


static struct pollfd* ufds;
static struct pollfd* ufds;
static char** device_names;
static char** device_names;
+5 −8
Original line number Original line Diff line number Diff line
@@ -16,20 +16,17 @@


#define LOG_TAG "fingerprintd"
#define LOG_TAG "fingerprintd"


#include <cutils/log.h>
#include <android/log.h>
#include <utils/Log.h>

#include <binder/IPCThreadState.h>
#include <binder/IPCThreadState.h>
#include <binder/IServiceManager.h>
#include <binder/IServiceManager.h>
#include <binder/PermissionCache.h>
#include <binder/PermissionCache.h>
#include <utils/String16.h>

#include <keystore/IKeystoreService.h>
#include <keystore/keystore.h> // for error codes

#include <hardware/hardware.h>
#include <hardware/hardware.h>
#include <hardware/fingerprint.h>
#include <hardware/fingerprint.h>
#include <hardware/hw_auth_token.h>
#include <hardware/hw_auth_token.h>
#include <keystore/IKeystoreService.h>
#include <keystore/keystore.h> // for error codes
#include <utils/Log.h>
#include <utils/String16.h>


#include "FingerprintDaemonProxy.h"
#include "FingerprintDaemonProxy.h"


+7 −10
Original line number Original line Diff line number Diff line
@@ -19,25 +19,22 @@
#include "IGateKeeperService.h"
#include "IGateKeeperService.h"


#include <errno.h>
#include <errno.h>
#include <stdint.h>
#include <inttypes.h>
#include <fcntl.h>
#include <fcntl.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <unistd.h>


#include <cutils/log.h>
#include <android/log.h>
#include <utils/Log.h>

#include <binder/IPCThreadState.h>
#include <binder/IPCThreadState.h>
#include <binder/IServiceManager.h>
#include <binder/IServiceManager.h>
#include <binder/PermissionCache.h>
#include <binder/PermissionCache.h>
#include <utils/String16.h>
#include <utils/Log.h>

#include <keystore/IKeystoreService.h>
#include <keystore/keystore.h> // For error code
#include <gatekeeper/password_handle.h> // for password_handle_t
#include <gatekeeper/password_handle.h> // for password_handle_t
#include <hardware/gatekeeper.h>
#include <hardware/gatekeeper.h>
#include <hardware/hw_auth_token.h>
#include <hardware/hw_auth_token.h>
#include <keystore/IKeystoreService.h>
#include <keystore/keystore.h> // For error code
#include <utils/Log.h>
#include <utils/String16.h>


#include "SoftGateKeeperDevice.h"
#include "SoftGateKeeperDevice.h"
#include "IUserManager.h"
#include "IUserManager.h"
+2 −3
Original line number Original line Diff line number Diff line
@@ -21,11 +21,10 @@
#include <stdint.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/types.h>


#include <cutils/log.h>
#include <android/log.h>

#include <utils/Errors.h>
#include <utils/SortedVector.h>
#include <utils/SortedVector.h>
#include <utils/TypeHelpers.h>
#include <utils/TypeHelpers.h>
#include <utils/Errors.h>


// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------


Loading