当前位置:网站首页>JwsManager service interface implementation class - the jni implementation
JwsManager service interface implementation class - the jni implementation
2022-08-11 04:21:00 【android framework】
#include “jni.h”
#include “JNIHelp.h”
#include <utils/Log.h>
#include “android_runtime/AndroidRuntime.h”
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <linux/rtc.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <stdio.h>
#include <sys/types.h>
#include <linux/watchdog.h>
#include <hardware/libjawestctrl.h>
#include <hardware/hardware.h>
#undef LOG_NDEBUG
#undef NDEBUG
#define LOG_NDEBUG 0
#define NDEBUG 0
#undef LOG_TAG
#define LOG_TAG “jwsjni”
#define WDT_DEV_NAME “/dev/watchdog”
#define JWS_EEPROM_DEV_NAME “/sys/devices/platform/ff160000.i2c/i2c-7/7-0050/eeprom”
#define RTC_DEV_NAME “/dev/rtc1”
#define LOGI(…) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, V
边栏推荐
猜你喜欢
干货:服务器网卡组技术原理与实践
"98 BST and Its Verification" of the 13th day of leetcode brushing series of binary tree series
【人话版】WEB3将至之“权益的游戏”
JVM 垃圾回收的概述与机制
【深度学习】基于卷积神经网络的天气识别训练
DNS separation resolution and intelligent resolution
Jetson Orin平台4-16路 GMSL2/GSML1相机采集套件推荐
【FPGA】SDRAM
Rotary array problem: how to realize the array "overall reverse, internal orderly"?"Three-step conversion method" wonderful array
LeetCode刷题第12天二叉树系列之《104 二叉树的最大深度》
随机推荐
uni-app - 城市选择索引列表 / 通过 A-Z 排序的城市列表(uview 组件库 IndexList 索引列表)
"110 Balanced Binary Tree Judgment" in leetCode's 14-day binary tree series
Audio codec, using FAAC to implement AAC encoding
.NET 服务注册
Leetcode 450. 删除二叉搜索树中的节点
洛谷P1763 埃及分数
解决多线程调用sql存储过程问题
【服务器安装mysql】centos7下使用mysql离线安装包安装mysql5.7
直播软件搭建,流式布局,支持单选、多选等
Redis:解决分布式高并发修改同一个Key的问题
"98 BST and Its Verification" of the 13th day of leetcode brushing series of binary tree series
MySQL数据库存储引擎以及数据库的创建、修改与删除
洛谷P1196 银河英雄传说
机器学习是什么?详解机器学习概念
A simple JVM tuning, learn to write it on your resume
C language recv() function, recvfrom() function, recvmsg() function
堆排序 和冒泡排序
Get Qt installation information: including installation directory and various macro addresses
How to delete statements audit log?
校园兼职平台项目反思