Loading init/first_stage_mount.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -305,11 +305,6 @@ bool FirstStageMountVBootV2::InitDevices() { return false; } } if (IsArcvm() && !block_dev_init_.InitHvcDevice("hvc1")) { return false; } return true; } Loading init/selinux.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -474,8 +474,6 @@ void SelinuxRestoreContext() { RestoreconIfExists(SnapshotManager::GetGlobalRollbackIndicatorPath().c_str(), 0); RestoreconIfExists("/metadata/gsi", SELINUX_ANDROID_RESTORECON_RECURSE | SELINUX_ANDROID_RESTORECON_SKIP_SEHASH); RestoreconIfExists("/dev/hvc1", 0); } int SelinuxKlogCallback(int type, const char* fmt, ...) { Loading init/util.h +0 −5 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ #include <sys/stat.h> #include <sys/types.h> #include <sys/unistd.h> #include <chrono> #include <functional> Loading Loading @@ -109,10 +108,6 @@ inline constexpr bool IsMicrodroid() { #endif } inline bool IsArcvm() { return !access("/is_arcvm", F_OK); } bool Has32BitAbi(); std::string GetApexNameFromFileName(const std::string& path); Loading Loading
init/first_stage_mount.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -305,11 +305,6 @@ bool FirstStageMountVBootV2::InitDevices() { return false; } } if (IsArcvm() && !block_dev_init_.InitHvcDevice("hvc1")) { return false; } return true; } Loading
init/selinux.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -474,8 +474,6 @@ void SelinuxRestoreContext() { RestoreconIfExists(SnapshotManager::GetGlobalRollbackIndicatorPath().c_str(), 0); RestoreconIfExists("/metadata/gsi", SELINUX_ANDROID_RESTORECON_RECURSE | SELINUX_ANDROID_RESTORECON_SKIP_SEHASH); RestoreconIfExists("/dev/hvc1", 0); } int SelinuxKlogCallback(int type, const char* fmt, ...) { Loading
init/util.h +0 −5 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ #include <sys/stat.h> #include <sys/types.h> #include <sys/unistd.h> #include <chrono> #include <functional> Loading Loading @@ -109,10 +108,6 @@ inline constexpr bool IsMicrodroid() { #endif } inline bool IsArcvm() { return !access("/is_arcvm", F_OK); } bool Has32BitAbi(); std::string GetApexNameFromFileName(const std::string& path); Loading