Home
last modified time | relevance | path

Searched refs:sysMapFile (Results 1 – 8 of 8) sorted by relevance

/bootable/recovery/tests/unit/
Dsysutil_test.cpp30 ASSERT_EQ(-1, sysMapFile(nullptr, &mapping)); in TEST()
31 ASSERT_EQ(-1, sysMapFile("/somefile", nullptr)); in TEST()
41 ASSERT_EQ(0, sysMapFile(temp_file1.path, &mapping)); in TEST()
66 ASSERT_EQ(0, sysMapFile(filename.c_str(), &mapping)); in TEST()
74 ASSERT_EQ(0, sysMapFile(filename.c_str(), &mapping)); in TEST()
82 ASSERT_EQ(0, sysMapFile(filename.c_str(), &mapping)); in TEST()
90 ASSERT_EQ(0, sysMapFile(filename.c_str(), &mapping)); in TEST()
105 ASSERT_EQ(-1, sysMapFile(filename.c_str(), &mapping)); in TEST()
108 ASSERT_EQ(-1, sysMapFile(filename.c_str(), &mapping)); in TEST()
112 ASSERT_EQ(-1, sysMapFile(filename.c_str(), &mapping)); in TEST()
[all …]
Dzip_test.cpp71 ASSERT_EQ(0, sysMapFile(zip_path.c_str(), &map)); in TEST()
/bootable/recovery/otautil/
DSysUtil.h46 int sysMapFile(const char* fn, MemMapping* pMap);
DSysUtil.cpp173 int sysMapFile(const char* fn, MemMapping* pMap) { in sysMapFile() function
/bootable/recovery/updater/
Dupdater.cpp93 if (sysMapFile(package_filename, &map) != 0) { in main()
/bootable/recovery/tests/component/
Dverifier_test.cpp43 if (sysMapFile(package.c_str(), &memmap) != 0) { in SetUp()
Dupdater_test.cpp573 ASSERT_EQ(0, sysMapFile(zip_file.path, &map));
/bootable/recovery/
Dinstall.cpp582 if (sysMapFile(path, &map) != 0) { in really_install_package()