otautil: Rename dir/sys/thermal utils.

Test: mmma -j bootable/recovery
Change-Id: I32ab98549e91f993364306e4a88dc654221b3869
This commit is contained in:
Tao Bao 2018-05-03 22:41:23 -07:00
parent 13446c032b
commit 17054c051a
16 changed files with 20 additions and 20 deletions

View file

@ -49,10 +49,10 @@
#include <ziparchive/zip_archive.h>
#include "common.h"
#include "otautil/SysUtil.h"
#include "otautil/ThermalUtil.h"
#include "otautil/error_code.h"
#include "otautil/paths.h"
#include "otautil/sysutil.h"
#include "otautil/thermalutil.h"
#include "private/install.h"
#include "roots.h"
#include "ui.h"

View file

@ -40,10 +40,10 @@ cc_library_static {
target: {
android: {
srcs: [
"DirUtil.cpp",
"SysUtil.cpp",
"ThermalUtil.cpp",
"dirutil.cpp",
"mounts.cpp",
"sysutil.cpp",
"thermalutil.cpp",
],
static_libs: [

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "otautil/DirUtil.h"
#include "otautil/dirutil.h"
#include <dirent.h>
#include <errno.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "otautil/SysUtil.h"
#include "otautil/sysutil.h"
#include <errno.h> // TEMP_FAILURE_RETRY
#include <fcntl.h>

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "otautil/ThermalUtil.h"
#include "otautil/thermalutil.h"
#include <dirent.h>
#include <stdio.h>

View file

@ -67,7 +67,7 @@
#include "fuse_sideload.h"
#include "install.h"
#include "minui/minui.h"
#include "otautil/DirUtil.h"
#include "otautil/dirutil.h"
#include "otautil/error_code.h"
#include "otautil/paths.h"
#include "roots.h"

View file

@ -40,10 +40,10 @@
#include "common/test_constants.h"
#include "edify/expr.h"
#include "otautil/SysUtil.h"
#include "otautil/error_code.h"
#include "otautil/paths.h"
#include "otautil/print_sha1.h"
#include "otautil/sysutil.h"
#include "updater/blockimg.h"
#include "updater/install.h"
#include "updater/updater.h"

View file

@ -16,7 +16,6 @@
#include <errno.h>
#include <fcntl.h>
#include <gtest/gtest.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
@ -28,9 +27,10 @@
#include <android-base/file.h>
#include <android-base/stringprintf.h>
#include <android-base/test_utils.h>
#include <gtest/gtest.h>
#include "common/test_constants.h"
#include "otautil/SysUtil.h"
#include "otautil/sysutil.h"
#include "verifier.h"
using namespace std::string_literals;

View file

@ -22,7 +22,8 @@
#include <android-base/test_utils.h>
#include <gtest/gtest.h>
#include <otautil/DirUtil.h>
#include "otautil/dirutil.h"
TEST(DirUtilTest, create_invalid) {
// Requesting to create an empty dir is invalid.

View file

@ -14,14 +14,13 @@
* limitations under the License.
*/
#include <gtest/gtest.h>
#include <string>
#include <android-base/file.h>
#include <android-base/test_utils.h>
#include <gtest/gtest.h>
#include "otautil/SysUtil.h"
#include "otautil/sysutil.h"
TEST(SysUtilTest, InvalidArgs) {
MemMapping mapping;

View file

@ -23,10 +23,10 @@
#include <android-base/file.h>
#include <android-base/test_utils.h>
#include <gtest/gtest.h>
#include <otautil/SysUtil.h>
#include <ziparchive/zip_archive.h>
#include "common/test_constants.h"
#include "otautil/sysutil.h"
TEST(ZipTest, OpenFromMemory) {
std::string zip_path = from_testdata_base("ziptest_dummy-update.zip");

View file

@ -58,7 +58,7 @@
#include "edify/expr.h"
#include "otafault/ota_io.h"
#include "otautil/DirUtil.h"
#include "otautil/dirutil.h"
#include "otautil/error_code.h"
#include "otautil/mounts.h"
#include "otautil/print_sha1.h"

View file

@ -32,9 +32,9 @@
#include "edify/expr.h"
#include "otafault/config.h"
#include "otautil/DirUtil.h"
#include "otautil/SysUtil.h"
#include "otautil/dirutil.h"
#include "otautil/error_code.h"
#include "otautil/sysutil.h"
#include "updater/blockimg.h"
#include "updater/install.h"