diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-06-04 14:08:29 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-06-04 14:08:29 -0700 |
commit | 2a3188672ab2b65c0ce7c9c598a463e382c47696 (patch) | |
tree | 6cd1a000ec04378c80e3b4ca921927f39f4fd233 | |
parent | 7835b0b742a36641a4005663134dc0b5d0678eab (diff) | |
parent | 8ae2335a3c93d0c00e998fdec18f64dfe43b94cb (diff) | |
download | frameworks_base-2a3188672ab2b65c0ce7c9c598a463e382c47696.zip frameworks_base-2a3188672ab2b65c0ce7c9c598a463e382c47696.tar.gz frameworks_base-2a3188672ab2b65c0ce7c9c598a463e382c47696.tar.bz2 |
Merge change 3203 into donut
* changes:
rename a few files to camel-case, add copyright notices
-rw-r--r-- | cmds/backup/backup.cpp | 17 | ||||
-rw-r--r-- | core/jni/android_backup_BackupDataOutput.cpp | 2 | ||||
-rw-r--r-- | core/jni/android_backup_FileBackupHelper.cpp | 2 | ||||
-rw-r--r-- | include/utils/BackupHelpers.h (renamed from include/utils/backup_helpers.h) | 0 | ||||
-rw-r--r-- | libs/utils/Android.mk | 4 | ||||
-rw-r--r-- | libs/utils/BackupData.cpp (renamed from libs/utils/backup_data.cpp) | 2 | ||||
-rw-r--r-- | libs/utils/BackupHelpers.cpp (renamed from libs/utils/backup_helper_file.cpp) | 2 | ||||
-rw-r--r-- | libs/utils/CharacterData.h (renamed from libs/utils/characterData.h) | 0 | ||||
-rw-r--r-- | libs/utils/Unicode.cpp | 6 | ||||
-rw-r--r-- | libs/utils/ZipEntry.cpp | 4 | ||||
-rw-r--r-- | libs/utils/ZipFile.cpp | 6 | ||||
-rw-r--r-- | libs/utils/ZipFileCRO.cpp | 4 | ||||
-rw-r--r-- | libs/utils/ZipFileRO.cpp | 6 | ||||
-rw-r--r-- | libs/utils/ZipUtils.cpp | 6 | ||||
-rw-r--r-- | tests/backup/backup_helper_test.cpp | 18 |
15 files changed, 55 insertions, 24 deletions
diff --git a/cmds/backup/backup.cpp b/cmds/backup/backup.cpp index 51ac943..22dd486 100644 --- a/cmds/backup/backup.cpp +++ b/cmds/backup/backup.cpp @@ -1,5 +1,20 @@ +/* + * Copyright (C) 2009 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. + */ -#include <utils/backup_helpers.h> +#include <utils/BackupHelpers.h> #include <utils/String8.h> #include <fcntl.h> diff --git a/core/jni/android_backup_BackupDataOutput.cpp b/core/jni/android_backup_BackupDataOutput.cpp index 8fce2a2..aab1233 100644 --- a/core/jni/android_backup_BackupDataOutput.cpp +++ b/core/jni/android_backup_BackupDataOutput.cpp @@ -20,7 +20,7 @@ #include "JNIHelp.h" #include <android_runtime/AndroidRuntime.h> -#include <utils/backup_helpers.h> +#include <utils/BackupHelpers.h> namespace android { diff --git a/core/jni/android_backup_FileBackupHelper.cpp b/core/jni/android_backup_FileBackupHelper.cpp index a05d812..a46f37b 100644 --- a/core/jni/android_backup_FileBackupHelper.cpp +++ b/core/jni/android_backup_FileBackupHelper.cpp @@ -20,7 +20,7 @@ #include "JNIHelp.h" #include <android_runtime/AndroidRuntime.h> -#include <utils/backup_helpers.h> +#include <utils/BackupHelpers.h> namespace android { diff --git a/include/utils/backup_helpers.h b/include/utils/BackupHelpers.h index 24b6c9e..24b6c9e 100644 --- a/include/utils/backup_helpers.h +++ b/include/utils/BackupHelpers.h diff --git a/libs/utils/Android.mk b/libs/utils/Android.mk index 5a1a89b..9bdd64a 100644 --- a/libs/utils/Android.mk +++ b/libs/utils/Android.mk @@ -117,8 +117,8 @@ LOCAL_SRC_FILES:= \ IPermissionController.cpp \ IServiceManager.cpp \ Unicode.cpp \ - backup_data.cpp \ - backup_helper_file.cpp + BackupData.cpp \ + BackupHelpers.cpp ifeq ($(TARGET_SIMULATOR),true) LOCAL_SRC_FILES += $(hostSources) diff --git a/libs/utils/backup_data.cpp b/libs/utils/BackupData.cpp index 95c05b7..120f23d 100644 --- a/libs/utils/backup_data.cpp +++ b/libs/utils/BackupData.cpp @@ -16,7 +16,7 @@ #define LOG_TAG "backup_data" -#include <utils/backup_helpers.h> +#include <utils/BackupHelpers.h> #include <utils/ByteOrder.h> #include <stdio.h> diff --git a/libs/utils/backup_helper_file.cpp b/libs/utils/BackupHelpers.cpp index 7ec2ce8..e8e6c45 100644 --- a/libs/utils/backup_helper_file.cpp +++ b/libs/utils/BackupHelpers.cpp @@ -16,7 +16,7 @@ #define LOG_TAG "file_backup_helper" -#include <utils/backup_helpers.h> +#include <utils/BackupHelpers.h> #include <utils/KeyedVector.h> #include <utils/ByteOrder.h> diff --git a/libs/utils/characterData.h b/libs/utils/CharacterData.h index e931d99..e931d99 100644 --- a/libs/utils/characterData.h +++ b/libs/utils/CharacterData.h diff --git a/libs/utils/Unicode.cpp b/libs/utils/Unicode.cpp index 33f535f..f92703e 100644 --- a/libs/utils/Unicode.cpp +++ b/libs/utils/Unicode.cpp @@ -14,11 +14,11 @@ * limitations under the License. */ -#include "utils/AndroidUnicode.h" -#include "characterData.h" +#include <utils/AndroidUnicode.h> +#include "CharacterData.h" #define LOG_TAG "Unicode" -#include "utils/Log.h" +#include <utils/Log.h> // ICU headers for using macros #include <unicode/utf16.h> diff --git a/libs/utils/ZipEntry.cpp b/libs/utils/ZipEntry.cpp index fbc9e67..96f9fc4 100644 --- a/libs/utils/ZipEntry.cpp +++ b/libs/utils/ZipEntry.cpp @@ -20,8 +20,8 @@ #define LOG_TAG "zip" -#include "utils/ZipEntry.h" -#include "utils/Log.h" +#include <utils/ZipEntry.h> +#include <utils/Log.h> #include <stdio.h> #include <string.h> diff --git a/libs/utils/ZipFile.cpp b/libs/utils/ZipFile.cpp index 89aa874..6f27d17 100644 --- a/libs/utils/ZipFile.cpp +++ b/libs/utils/ZipFile.cpp @@ -20,9 +20,9 @@ #define LOG_TAG "zip" -#include "utils/ZipFile.h" -#include "utils/ZipUtils.h" -#include "utils/Log.h" +#include <utils/ZipFile.h> +#include <utils/ZipUtils.h> +#include <utils/Log.h> #include <zlib.h> #define DEF_MEM_LEVEL 8 // normally in zutil.h? diff --git a/libs/utils/ZipFileCRO.cpp b/libs/utils/ZipFileCRO.cpp index d312daf..45f6c8b 100644 --- a/libs/utils/ZipFileCRO.cpp +++ b/libs/utils/ZipFileCRO.cpp @@ -14,8 +14,8 @@ * limitations under the License. */ -#include "utils/ZipFileCRO.h" -#include "utils/ZipFileRO.h" +#include <utils/ZipFileCRO.h> +#include <utils/ZipFileRO.h> using namespace android; diff --git a/libs/utils/ZipFileRO.cpp b/libs/utils/ZipFileRO.cpp index ae8c719..6c701dd 100644 --- a/libs/utils/ZipFileRO.cpp +++ b/libs/utils/ZipFileRO.cpp @@ -19,9 +19,9 @@ // #define LOG_TAG "zipro" //#define LOG_NDEBUG 0 -#include "utils/ZipFileRO.h" -#include "utils/Log.h" -#include "utils/misc.h" +#include <utils/ZipFileRO.h> +#include <utils/Log.h> +#include <utils/misc.h> #include <zlib.h> diff --git a/libs/utils/ZipUtils.cpp b/libs/utils/ZipUtils.cpp index bfbacfe..5df94cb 100644 --- a/libs/utils/ZipUtils.cpp +++ b/libs/utils/ZipUtils.cpp @@ -20,9 +20,9 @@ #define LOG_TAG "ziputil" -#include "utils/ZipUtils.h" -#include "utils/ZipFileRO.h" -#include "utils/Log.h" +#include <utils/ZipUtils.h> +#include <utils/ZipFileRO.h> +#include <utils/Log.h> #include <stdlib.h> #include <string.h> diff --git a/tests/backup/backup_helper_test.cpp b/tests/backup/backup_helper_test.cpp index 1085909..f087941 100644 --- a/tests/backup/backup_helper_test.cpp +++ b/tests/backup/backup_helper_test.cpp @@ -1,4 +1,20 @@ -#include <utils/backup_helpers.h> +/* + * Copyright (C) 2009 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. + */ + +#include <utils/BackupHelpers.h> #include <stdio.h> #include <string.h> |