Remove two dead files.
java_lang_Character.cpp has long been dead; I killed AndroidSystemNatives.h
this afternoon. I'm not sure how their "git rm"s didn't get included in my
earlier patch.
Change-Id: Iaa73935846a474dbd25792ed0176ccea092e9f7c
diff --git a/libcore/luni/src/main/native/java_lang_Character.cpp b/libcore/luni/src/main/native/java_lang_Character.cpp
deleted file mode 100644
index c1324d6..0000000
--- a/libcore/luni/src/main/native/java_lang_Character.cpp
+++ /dev/null
@@ -1,75 +0,0 @@
-//
-// java_lang_Character.cpp
-// Android
-//
-// Copyright 2006 The Android Open Source Project
-//
-#include "JNIHelp.h"
-#include "AndroidSystemNatives.h"
-
-//#define LOG_TAG "Character"
-//#include "utils/Log.h"
-#include "utils/AndroidUnicode.h"
-
-#include <stdlib.h>
-
-
-using namespace android;
-
-/*
- * native private static int nativeGetData(int c)
- */
-static jint getData(JNIEnv* env, jclass clazz, jint val)
-{
- return Unicode::getPackedData(val);
-}
-
-/*
- * native private static int nativeToLower(int c)
- */
-static jint toLower(JNIEnv* env, jclass clazz, jint val)
-{
- return Unicode::toLower(val);
-}
-
-/*
- * native private static int nativeToUpper(int c)
- */
-static jint toUpper(JNIEnv* env, jclass clazz, jint val)
-{
- return Unicode::toUpper(val);
-}
-
-/*
- * native private static int nativeNumericValue(int c)
- */
-static jint numericValue(JNIEnv* env, jclass clazz, jint val)
-{
- return Unicode::getNumericValue(val);
-}
-
-/*
- * native private static int nativeToTitle(int c)
- */
-static jint toTitle(JNIEnv* env, jclass clazz, jint val)
-{
- return Unicode::toTitle(val);
-}
-
-/*
- * JNI registration
- */
-static JNINativeMethod gMethods[] = {
- /* name, signature, funcPtr */
- { "nativeGetData", "(I)I", (void*) getData },
- { "nativeToLower", "(I)I", (void*) toLower },
- { "nativeToUpper", "(I)I", (void*) toUpper },
- { "nativeNumericValue", "(I)I", (void*) numericValue },
- { "nativeToTitle", "(I)I", (void*) toTitle },
-};
-int register_java_lang_Character(JNIEnv* env)
-{
- return jniRegisterNativeMethods(env, "java/lang/Character",
- gMethods, NELEM(gMethods));
-}
-
diff --git a/libnativehelper/include/nativehelper/AndroidSystemNatives.h b/libnativehelper/include/nativehelper/AndroidSystemNatives.h
deleted file mode 100644
index 90bf802..0000000
--- a/libnativehelper/include/nativehelper/AndroidSystemNatives.h
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Copyright (C) 2007 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/*
- * Registration functions for native methods in system classes.
- */
-#ifndef _NATIVEHELPER_ANDROIDSYSTEMNATIVES
-#define _NATIVEHELPER_ANDROIDSYSTEMNATIVES
-
-#include "jni.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Call this to register the methods below. Ideally, this is the only
- * symbol that needs to be exported from the library.
- */
-int jniRegisterSystemJavaMethods(JNIEnv* env);
-
-
-/*
- * Registration functions for native methods in libcore.
- */
-int register_org_apache_harmony_dalvik_NativeTestTarget(JNIEnv* env);
-
-int register_dalvik_system_TouchDex(JNIEnv* env);
-
-int register_org_apache_harmony_xml_ExpatParser(JNIEnv *env);
-
-int register_java_io_Console(JNIEnv* env);
-int register_java_io_File(JNIEnv* env);
-int register_java_io_FileDescriptor(JNIEnv* env);
-int register_java_io_ObjectOutputStream(JNIEnv* env);
-int register_java_io_ObjectInputStream(JNIEnv* env);
-int register_java_io_ObjectStreamClass(JNIEnv* env);
-
-int register_java_lang_Character(JNIEnv* env);
-int register_java_lang_Double(JNIEnv* env);
-int register_java_lang_Float(JNIEnv* env);
-int register_java_lang_Math(JNIEnv* env);
-int register_java_lang_ProcessManager(JNIEnv* env);
-int register_java_lang_StrictMath(JNIEnv* env);
-int register_java_lang_System(JNIEnv* env);
-
-int register_org_apache_harmony_luni_platform_OSFileSystem(JNIEnv* env);
-int register_org_apache_harmony_luni_platform_OSMemory(JNIEnv* env);
-int register_org_apache_harmony_luni_platform_OSNetworkSystem(JNIEnv* env);
-int register_org_apache_harmony_text_BidiWrapper(JNIEnv *env);
-
-int register_org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl(JNIEnv *env);
-int register_org_apache_harmony_xnet_provider_jsse_OpenSSLSessionImpl(JNIEnv *env);
-int register_org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl(JNIEnv *env);
-int register_org_openssl_NativeBN(JNIEnv *env);
-int register_org_apache_harmony_xnet_provider_jsse_NativeCrypto(JNIEnv *env);
-
-int register_java_util_jar_JarFile(JNIEnv* env);
-int register_java_util_zip_Adler32(JNIEnv* env);
-int register_java_util_zip_CRC32(JNIEnv* env);
-int register_java_util_zip_Deflater(JNIEnv* env);
-int register_java_util_zip_Inflater(JNIEnv* env);
-int register_java_util_zip_ZipFile(JNIEnv* env);
-int register_java_net_InetAddress(JNIEnv* env);
-int register_java_net_NetworkInterface(JNIEnv* env);
-
-int register_org_apache_harmony_luni_util_fltparse(JNIEnv *env);
-int register_org_apache_harmony_luni_util_NumberConvert(JNIEnv *env);
-
-int register_com_ibm_icu4jni_converters_NativeConverter(JNIEnv* env);
-int register_com_ibm_icu4jni_lang_UCharacter(JNIEnv* env);
-int register_com_ibm_icu4jni_text_NativeCollator(JNIEnv* env);
-int register_com_ibm_icu4jni_text_NativeBreakIterator(JNIEnv* env);
-int register_com_ibm_icu4jni_text_NativeDecimalFormat(JNIEnv* env);
-int register_com_ibm_icu4jni_regex_NativeRegEx(JNIEnv* env);
-int register_com_ibm_icu4jni_util_Resources(JNIEnv* env);
-
-int register_org_openssl_NativeBN(JNIEnv* env);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /*_NATIVEHELPER_ANDROIDSYSTEMNATIVES*/