Revert "Merge latest oemcrypto-v17 change"
This reverts commit 642965c678.
Reason for revert: Droidfood Blocking Bug: 217145027
Change-Id: I669b72fcd91c62e28883b5f55eb36af274d85806
(cherry picked from commit 8dbea15e5da05b371572297041454569dc166c90)
Merged-In:I669b72fcd91c62e28883b5f55eb36af274d85806
This commit is contained in:
committed by
Android Build Coastguard Worker
parent
860a48ff8c
commit
5558e492c9
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -42,7 +42,7 @@ bool supports_membarier_syscall() {
|
||||
// Reference:
|
||||
// * membarrier(2)
|
||||
// * art::jit::JitMemoryRegion::CommitCode
|
||||
int membarrier_function(int command) {
|
||||
long membarrier_function(int command) {
|
||||
static bool supports_membarier = supports_membarier_syscall();
|
||||
if (supports_membarier) {
|
||||
return syscall(__NR_membarrier, command, 0);
|
||||
@@ -55,7 +55,7 @@ int membarrier_function(int command) {
|
||||
# pragma message \
|
||||
"(info): __NR_membarrier unavailable; membarrier_function will be no-op."
|
||||
|
||||
int membarrier_function(int) {
|
||||
long membarrier_function(int) {
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ class OEMCrypto_Level3AndroidFileSystem : public OEMCrypto_Level3FileSystem {
|
||||
|
||||
private:
|
||||
std::string base_path_;
|
||||
std::unique_ptr<wvutil::FileSystem> file_system_;
|
||||
std::unique_ptr<wvcdm::FileSystem> file_system_;
|
||||
};
|
||||
|
||||
} // namespace wvoec3
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include "properties.h"
|
||||
#include "wv_cdm_types.h"
|
||||
|
||||
using wvutil::File;
|
||||
using wvutil::FileSystem;
|
||||
using wvcdm::File;
|
||||
using wvcdm::FileSystem;
|
||||
|
||||
namespace wvoec3 {
|
||||
|
||||
@@ -32,8 +32,8 @@ OEMCrypto_Level3AndroidFileSystem::OEMCrypto_Level3AndroidFileSystem()
|
||||
while (pos < size) {
|
||||
base_path_[pos] = '\0';
|
||||
if (mkdir(base_path_.c_str(), 0775) != 0 && errno != EEXIST) {
|
||||
wvutil::Log(
|
||||
"", "", 0, wvutil::LOG_ERROR,
|
||||
wvcdm::Log(
|
||||
"", "", 0, wvcdm::LOG_ERROR,
|
||||
"Could not create base directories for Level3FileSystem, error: %s\n",
|
||||
strerror(errno));
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user