Move CursorWindow class from core/jni to libbinder
To allow use of the native CursorWindow class outside of the core framework jni Change-Id: I72e8dcb91a2c691130c33cdfd9a25d343da1c592 Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
@@ -24,7 +24,6 @@ LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
||||
LOCAL_SRC_FILES:= \
|
||||
ActivityManager.cpp \
|
||||
AndroidRuntime.cpp \
|
||||
CursorWindow.cpp \
|
||||
Time.cpp \
|
||||
com_google_android_gles_jni_EGLImpl.cpp \
|
||||
com_google_android_gles_jni_GLImpl.cpp.arm \
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "CursorWindow.h"
|
||||
#include "binder/CursorWindow.h"
|
||||
#include "sqlite3_exception.h"
|
||||
#include "android_util_Binder.h"
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "CursorWindow.h"
|
||||
#include "binder/CursorWindow.h"
|
||||
#include "sqlite3_exception.h"
|
||||
|
||||
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
#include <binder/IMemory.h>
|
||||
#include <utils/RefBase.h>
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
#define DEFAULT_WINDOW_SIZE 4096
|
||||
#define MAX_WINDOW_SIZE (1024 * 1024)
|
||||
#define WINDOW_ALLOCATION_SIZE 4096
|
||||
@@ -16,6 +16,7 @@
|
||||
sources := \
|
||||
Binder.cpp \
|
||||
BpBinder.cpp \
|
||||
CursorWindow.cpp \
|
||||
IInterface.cpp \
|
||||
IMemory.cpp \
|
||||
IPCThreadState.cpp \
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#define LOG_TAG "CursorWindow"
|
||||
|
||||
#include <utils/Log.h>
|
||||
#include <binder/CursorWindow.h>
|
||||
#include <binder/MemoryHeapBase.h>
|
||||
#include <binder/MemoryBase.h>
|
||||
|
||||
@@ -25,12 +26,6 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <jni.h>
|
||||
#include <JNIHelp.h>
|
||||
|
||||
#include "CursorWindow.h"
|
||||
|
||||
|
||||
namespace android {
|
||||
|
||||
CursorWindow::CursorWindow(size_t maxSize) :
|
||||
Reference in New Issue
Block a user